Agriculture of Somalia () is the largest economic sector in Somalia and the country's major source of employment. It contributes more than 65% to the national GDP from domestic distribution and exports to other parts of the continent, Asia and Europe.

History

Civilian Era 1960-1969 A U.S. Peace Corps volunteer who worked closely with the pre-1969 government's Ministry of Agriculture wrote in his memoir that the Somali ministry of agriculture was effectively a “non-virtual entity,” describing it as taking no meaningful interest in the advancement of Somali agriculture despite the presence of capable individuals who could have driven progress but showed little inclination to do so."From my personal vantage point as a volunteer in the bush, the Ministry has proved to be a virtual nonentity—and a very poorly organized and inefficient non-entity at that. During my four months in Gorisane, for example, the local agriculture agent deigned to show up a total of three days, during which time his activity was limited to drinking tea in his pal's mundul."

Barre era 1969-1991 In the early 1970s, the CIA issued a special assessment of Somalia's economy, describing the task facing the new government as a “Herculean task” given the country's arid terrain, limited resources, and largely undeveloped economy, in which most of its 2.8 million people relied on nomadic herding and subsistence agriculture for their livelihood. The report attributed this difficult starting position in part to the civilian era's development programs, which it characterised as inefficiently administered, having accomplished little beyond giving Somalia a reputation for squandering foreign aid.

Addressing the country's resource constraints, the Barre government adopted seawater desalination technology developed in 1964 by Ukrainian-Israeli chemist Alexander Zarchin. This method, which removed salt particles from seawater, was adapted by Barre's government in the early 1970s, leading to the construction of a desalination plant that expanded access to clean water and irrigation. Barre identified reducing the disparity between northern and southern Somalia as a central goal of his agricultural policy, alongside broader programs to combat overgrazing and boost food production. In 1973, government ministers were dispatched to Gabiley in north-western Somalia to instruct local communities on the importance and methods of improved food production.

These efforts contributed to substantial gains over the following decade: sorghum production rose 87 percent, from an average of 139,000 tons in the 1970s to 260,000 tons by 1985, while maize production increased 162 percent over the same period, from 107,000 tons to 280,000 tons, leaving Somalia largely self-sufficient in both crops. A UNICEF report from the period found that levels of absolute poverty and malnutrition in Somalia appeared markedly lower than in most other low-income sub-Saharan African economies, and noted no evidence of secular deterioration in these conditions over time.

Under Barre, Somalia achieved caloric self-sufficiency. The country reached a per capita calorie availability of more than 2,800 calories per day, with 69 percent of total calories supplied by domestically produced food. Agricultural productivity was notably high by African standards. Somali farmers could produce enough food to meet their own needs while generating a surplus to support one additional non-farming person. Although farmers made up only about one-third of the population, they produced enough surplus to sustain a substantial non-agricultural population.

Experts highlighted this as exceptional in Africa. In contrast, many other African countries at the time had agricultural sectors in which farmers constituted three-quarters or more of the population, yet their output frequently failed to adequately feed the remaining non-farming quarter of society."In 1984, two Somali farmers managed to produce enough of a surplus to feed one non-farmer. While this may not seem enormous, the same cannot be said for many other African countries. The relevant point here is that in Somalia farmers comprise only around one-third of the total population whereas in most other African countries they form three-quarters or more. Those three-quarters have gradually lost their capacity to feed the remaining one-quarter non-farmers. In Somalia a much smaller farm population not only feeds itself but produces a surplus large enough to feed a sizeable part of the non-farm population. Thus if Somalia is food-deficient on the whole, and has to import food, it is not because the farmers fail to produce enough for themselves, but because the nomads who comprise the majority of the population fail to do so."The government's largest infrastructure undertaking in this period was the Fanole Dam, built with Chinese technical assistance. Construction began in 1977 and was completed in 1982; the project created thousands of jobs for Somalis and supplied electricity to southern Somalia.

Pastoralism Somalia's economy consists of both traditional and modern production, with a gradual shift in favor of modern industrial techniques taking root. Agriculture is the most important economic sector. It accounts for about 65% of the GDP and employs 65% of the workforce. Livestock alone contributes about 40% to GDP and more than 50% of export earnings.

According to the Central Bank of Somalia, about 80% of the population are nomadic or semi-nomadic pastoralists, who keep camels, goats, sheep and cattle. The herders also gather resins and gums to supplement their income.

Camel, sheep and goat herding are the main types of local pastoralism, particularly in the northern part of the country. Livestock include the Somali goat and the Blackheaded Somali and Somali Arab breeds of sheep. The Somali goat is used primarily for the production of meat. Both males and females have horns, although females are often polled. The goats are drought tolerant and, when milked, can each yield one to three kilograms of milk daily, even when access to water is limited. The Somali sheep is the direct forebear of the Blackhead Persian, the latter of which was bred in South Africa between the late 19th century to early 20th century and has been extensively used for crossbreeding in many tropical areas. It belongs to the fat-tail type, and both of the breed's genders are polled. The animal is mainly reared for meat production,A. Nyanjom & J. Konyango, Certificate Agriculture Form 1, (East African Publishers), p.133. and is a major export of the Somali economy, particularly to the Arabian Peninsula.

With the advantage of being located near the Arabian Peninsula, Somali traders have increasingly begun to challenge Australia's traditional dominance over the Gulf Arab livestock and meat market, offering quality animals at very low prices. In response, Gulf Arab states have started to make strategic investments in the country, with Saudi Arabia building livestock export infrastructure and the United Arab Emirates purchasing large farmlands.The Arab countries demand Australian sheep and lamb - Farmonline Most livestock is exported through the northern port of Bosaso as well as Berbera in neighbouring Somaliland. In March 2013, livestock traders also resumed exports from the southern Port of Mogadishu. After inspection at a newly constructed animal quarantine facility in Mogadishu, 13,000 goats and 2,435 camels were sent to markets in Egypt, the UAE, Saudi Arabia and Bahrain. A ten-year-old manufacturing, distributing, wholesale and import/export company, the Bosaso Tannery processes wet salted, dry salted, wet blue, limed, pickled, and air/frame dried sheep and goat hides and skin. It has some of the highest quality natural skins on the continent. The firm exports a little over 90,000 tonnes of hides and skins every year from Bosaso to Ethiopia, Turkey, Pakistan, India, China and Italy. Raw camel hides and sheep and goat skin are also dispatched to the United Arab Emirates. The wet blue type is exported to the Middle East and various parts of Europe. As of 2012, the company is moving toward ready-made leather production for eventual exportation to consumer markets in the Middle East and other areas.

In 2007, the Burao city authority in collaboration with development organizations and local traders opened the Burco Meat and Produce complex. Burao along with the nearby town of Yirowe are home to the largest livestock markets, known in Somali as seylad, in the Horn of Africa, with as many as 10,000 heads of sheep and goats sold daily, many of whom shipped to Gulf states via the port of Berbera. The market handles livestock from all over the Horn of Africa. One year in the making, the market has two main halls and can accommodate more than 2,000 merchants.A New Market Complex for Burco, Togdheer In conjunction with the Italian government, the Puntland authorities are also slated to open a new livestock market in Galkayo.

In June 2014, the European Union (EU) and African Union InterAfrican Bureau for Animal Resources (AU-IBAR) jointly launched the new Reinforcing Animal Health Services in Somalia (RAHS) project in Mogadishu. A 4 million EUR (US$5.4 million) program, it aims to promote livestock production for over 250,000 local pastoralists, further strengthen the capacity, quality, access and sustainability of national animal health services delivery, and sustain exportation. RAHS is also expected to support private sector development initiatives in the livestock industry, and to enhance public-private partnerships.

According to the FAO, Somalia exported a record 5 million units of livestock to markets in the Gulf region in 2014. Valued at US$300 million, the exports included 4.6 million sheep and goats, 340,000 cattle and 77,000 camels. The enhanced trade was facilitated by greater sectoral investment by the Somali government in conjunction with the FAO, which centered on livestock infrastructure, livestock vaccination and treatment services, and fodder production. Additionally, modern slaughterhouses, meat and animal husbandry markets have buttressed the livestock commerce. In order to tap into value added livestock products, a program aimed at ameliorating the quality of milk production was also launched in the country's northwestern region, with assistance provided by the EU. In May 2015, 150 local workers are slated to receive further training by the FAO in leather curing.

Farming

Somalia produced, in 2018, 209 thousand tons of sugarcane, 138 thousand tons of maize, 129 thousand tons of sorghum, 92 thousand tons of cassava, 75 thousand tons of vegetable, in addition to smaller productions of other agricultural products, like beans, banana, sesame seed, tomato, coconut, orange and date.Somalia production in 2018, by FAO

Somalia's farming areas are concentrated in the southern part of the country, in the Gedo, Middle Juba, Lower Juba, Lower Shebelle, Middle Shebelle and Hiran regions. The Juba River and Shabelle River pass through these provinces, rendering the soil more conducive to crop cultivation than the comparatively arid north, where pastoralism has instead traditionally been practiced.

Principal crop exports include bananas; sugar, sorghum and corn are products for the domestic market.CIA - The World Factbook - Somalia (2008) According to the Central Bank of Somalia, imports of goods total about $460 million per year, and have recovered and even surpassed aggregate imports prior to the start of the civil war in 1991. Exports, which total about $270 million annually, have also surpassed pre-war aggregate export levels but still lead to a trade account deficit of about $190 million US dollars per year. However, this trade deficit is far exceeded by remittances sent by Somalis in the diaspora, which have helped sustain the import level.