The Bill and Melinda Gates Foundation has donated Ksh1bn ($10m) to help fight locusts in the East African region.
The contribution will be given to the UN's Food and Agriculture Organisation (FAO) that appealed for funds to fight the locust invasion that is threatening food security.
FAO Director-General QU Dongyu has thanked the foundation for its donation and urged other philanthropists to help protect the livelihoods of farmers in the affected region.
The Bill and Melinda Gates Foundation is the charity established by the founder of Microsoft.
The UN has so far raised $33m and had appealed for $138m to help fight the locusts.
Desert locusts have invaded six countries in the East African region devouring crops.
The invasion is the worst in 70 years for Kenya and the worst in 25 years for Somalia and Ethiopia.
The locusts are a huge threat to food security as a small swarm covering one sq km can eat the same amount of food in one day as 35,000 people, according to FAO.
The locusts reproduce rapidly under the right weather conditions and could multiply 500 times in the next six months.