Agriculture in Kenya dominates Kenya's economy. 15–17 percent of Kenya's total land area has sufficient fertility and rainfall to be farmed, and 7–8 percent can be classified as first-class land. In 2006, almost 75 percent of working Kenyans made their living by farming, compared with 80 percent in 1980. About one-half of Kenya's total agricultural output is non-marketed subsistence production.
Agriculture is also the largest contributor to Kenya’s gross domestic product (GDP). In 2005, agriculture, including forestry and fishing, accounted for about 24 percent of the GDP, as well as 18 percent of wage employment and 50 percent of revenue from exports.
Farming is the most important economic sector in Kenya, although less than 8 percent of the land is used for crop and feed production, and less than 20 percent is suitable for cultivation. Kenya is a leading producer of tea and coffee, as well as the third-leading exporter of fresh produce, such as cabbages, onions and mangoes. Small farms grow most of the corn and also produce potatoes, bananas, beans and peas.
The most common varieties that Kenyan sweet potato farmers grow are white, red and purple. The yellow-fleshed sweet potato's popularity has increased, due to nutritionists promoting it as a source of vitamin A, which is lacking in the Kenyan diet. The vitamin A deficiency is not fatal, but it leaves the immune system depleted and susceptible to measles, malaria and diarrhoea. The deficiency also may cause blindness.
Despite efforts to develop completely resistant plants, little has been achieved so far. Therefore, attention is turning to pseudo-resistance, which includes mitigating weevil damage through deeper storage roots formation and short-season varieties, which are exposed to weevil infestation for less time. Where farmers piecemeal their sweet potato harvest, there can be up to a 10 percent crop loss due to disease and weevils. Beetle pests can completely destroy sweet potato plantations.
Kenya is the world's 3rd largest exporter of cut flowers. Roughly half of Kenya's 127 flower farms are concentrated around Lake Naivasha, 90 kilometers northwest of Nairobi. To speed their export, Nairobi airport has a terminal dedicated to the transport of flowers and vegetables.