Somalia occupies about 637,657 square kilometres in the eastern Horn of Africa, with Djibouti to the northwest, Ethiopia to the west, Kenya to the southwest, the Gulf of Aden to the north and the Indian Ocean along its eastern and southern flank. Its roughly 3,300-kilometre coast is the longest on the African mainland and faces sea routes linking the western Indian Ocean with the Red Sea. Mogadishu stands on the southern coast. Behind the narrow, arid Guban plain in the north, the land rises into the Golis and Cal Madow ranges before opening onto the Ogo and Haud plateaus and broad central plains. Farther south, lower relief and deeper soils characterize the inter-riverine country between the Juba and Shabelle, Somalia’s only permanent rivers, both originating in the Ethiopian highlands. These northern escarpments, pastoral plateaus, central semi-desert and river-fed southern lowlands create the basic geographic framework for settlement, farming and transport.
Climate varies by elevation, distance from the sea and the highly variable seasonal movement of rain-bearing winds. Most of Somalia is arid or semi-arid, but the northern uplands are cooler than the Gulf of Aden coastal strip, where summer heat can be extreme, while the southwest is appreciably wetter than the central and northeastern plains. Southern annual rainfall is commonly around 400 millimetres and can reach roughly 600–700 millimetres in wetter southwestern and Lower Juba localities, although totals fluctuate sharply between years. Rural life follows two rainy seasons: the Gu, generally from April to June, and the shorter Deyr from October to December, separated by the dry Hagaa and Jilaal seasons. Rainfall failure rapidly reduces pasture and water availability, while intense rains can flood the Juba and Shabelle valleys. Repeated multi-season droughts during the 2020s, interspersed with destructive flooding, illustrate Somalia’s exposure to alternating water scarcity and excess rather than drought alone.
Those climatic gradients support Acacia-Commiphora bushland, grassland and semi-desert across much of the interior, montane woodland in the northern ranges, riverine forest and seasonally inundated land along the Juba and Shabelle, and mangroves, coral communities and coastal forest mosaics in selected shoreline areas. The Horn of Africa drylands contain unusually high levels of plant and animal endemism, giving Somalia biodiversity significance despite its predominantly arid appearance. Land use is dominated spatially by pastoralism and agropastoralism: camels, goats, sheep and cattle depend on extensive rangelands and mobile access to water. Rain-fed sorghum and maize are important in the better-watered south-central interior, while irrigated river valleys support sesame, bananas, vegetables and fruit. Overgrazing, charcoal production, tree cutting, erosion and recurrent drought degrade vegetation and soils, while riverine clearance and pressure on coastal habitats add more localized stresses. The condition of rangelands, rivers and groundwater therefore has immediate consequences for food production, livestock movements, settlement and household income.
Human occupation of the Somali peninsula reaches deep into prehistory, and its coast was integrated early into Red Sea and Indian Ocean exchange; the wider region is often associated with ancient Egyptian accounts of Punt, although Punt’s precise location remains debated. Islam reached coastal communities in the early centuries of the faith through maritime contact with Arabia, and ports such as Zeila, Berbera, Mogadishu, Merca and Barawa linked the Horn with Yemen, the Persian Gulf, India and the Swahili coast. In the northwestern Horn, the Muslim sultanates of Ifat and later Adal became major regional powers; Adal’s sixteenth-century campaigns under Ahmad ibn Ibrahim al-Ghazi against the Christian Ethiopian kingdom drew Ottoman and Portuguese intervention. In southern and central Somalia, the Ajuran Sultanate controlled important riverine and trading zones before successor polities such as Geledi emerged, while Majeerteen and Hobyo became influential northeastern sultanates in the nineteenth century. Pastoral communities also maintained decentralized clan alliances, customary law and negotiated access to wells and grazing. European imperial expansion therefore encountered a politically diverse landscape with established commercial and legal institutions.
Late nineteenth-century imperial partition divided Somali-inhabited territories among Britain, Italy, France and Ethiopia. Britain established a protectorate in the north, Italy expanded over much of the south and northeast, France retained what became Djibouti, and Ethiopia consolidated the Ogaden. The Dervish movement led by Mohammed Abdullah Hassan resisted British, Ethiopian and Italian authority from 1899 to 1920. After wartime British administration, former Italian Somaliland became a UN trust territory under Italian administration in 1950. British Somaliland gained independence on 26 June 1960 and united on 1 July with the former trust territory to form the Somali Republic. Parliamentary rule ended with Mohamed Siad Barre’s 1969 military coup; his “scientific socialist” regime adopted the Latin script for Somali in 1972 but was weakened by defeat in the 1977–1978 Ogaden War. Repression and insurgency intensified in the 1980s, and Barre’s overthrow in 1991 brought state collapse and civil war. Somaliland declared restored independence that year and has since governed itself de facto; Puntland formed an autonomous administration in 1998. Transitional arrangements produced federal institutions in 2012. Parliament approved final constitutional revisions in March 2026, but federal-regional power sharing and electoral rules remain contested.
Somalia’s economy is led by private services, trade, livestock and crop agriculture, with telecommunications, construction, transport and finance more developed than its limited formal industrial base. The Somali National Bureau of Statistics estimates real GDP growth at 3.1% in 2025, down from 4.0% in 2024, while GDP at current prices rose from about US$12.3 billion to US$13.2 billion. Livestock remains central to rural livelihoods and exports, especially shipments to Gulf markets; sesame, fisheries and other agricultural products provide additional foreign earnings. Somalia imports large volumes of food, fuel, manufactured goods and equipment, creating a persistent external deficit. Diaspora remittances, aid and a highly dollarized commercial system sustain consumption, while mobile money compensates for weak conventional banking reach. Completion of the HIPC debt-relief process in December 2023 sharply reduced external debt and reopened concessional financing, but lower foreign aid and drought slowed activity in 2025. Widespread poverty and informal employment mean aggregate growth has not translated evenly into household security or public services.
Somalia’s population remains difficult to measure because no fully published nationwide census has been completed since the mid-1970s; a census undertaken in the 1980s was never released, and the current census process remains unfinished. UNFPA’s World Population Dashboard, using the UN’s 2024 population revision, estimated 19.7 million inhabitants in 2025, equivalent to roughly 31 people per square kilometre, although settlement is highly uneven. Population is concentrated in Mogadishu and other cities, the better-watered northwest, port corridors and the Juba-Shabelle agricultural zone, while arid interiors support dispersed pastoral communities. Hargeisa, Bosaso, Kismayo, Baidoa, Galkayo and Garowe are major regional centres, although Hargeisa is administered by self-governing Somaliland. Drought, conflict and displacement have accelerated urban growth and expanded peripheral settlements. The federal system combines national institutions, federal member-state administrations and Banadir around Mogadishu, but territorial authority remains uneven. Long-established minority communities include Somali Bantu/Jareer, Benadiri and Bajuni populations, whose histories differ from dominant clan genealogies.
Somali is the principal national language and, under the constitutional framework, Maay and Maxaa-tiri are recognized forms of the official language, while Arabic has second-language status. Maxaa-tiri varieties underpin much standard written Somali; Maay is especially important in the south-central inter-riverine region. English is widely used in higher education, business and international administration, while Italian is mainly a historical linguistic influence. Islam is the state religion and the population is overwhelmingly Sunni Muslim, encompassing long-established Sufi traditions and later reformist currents. Oral culture remains central: poetry genres such as gabay and buraanbur have served as art, social commentary, historical memory and political argument. Adoption of a standardized Latin orthography in 1972 enabled mass literacy campaigns and broader publishing, while authors such as Nuruddin Farah brought Somali political and social themes into international literature. Coral-stone architecture in older coastal towns and customary xeer dispute-resolution practices likewise reflect centuries of interaction among maritime trade, Islam, pastoral society and local political institutions.
Transport and energy infrastructure remain major constraints on national integration. Government investment data describe a road network of roughly 21,900 kilometres, of which only about 2,860 kilometres, or 13%, is paved, with much of the primary network in poor condition; flooding and weak maintenance further reduce rural reliability. Somalia has no operating national railway, so roads, aviation and coastal shipping carry nearly all long-distance movement. Mogadishu, Berbera, Bosaso and Kismayo are the principal seaports, while airports at Mogadishu, Hargeisa, Bosaso, Garowe and Kismayo partly compensate for difficult overland travel. Electricity is supplied mainly through fragmented private systems: the 2022 Integrated Household Budget Survey estimated household access at 61.9% nationally, compared with 80.1% in urban areas, 39.4% in rural areas and 8.7% among nomadic households. Diesel remains important, although solar generation is expanding. ITU data placed individual internet use at 27.9% in 2024, showing that strong mobile and digital-finance entrepreneurship still coexists with substantial connectivity gaps.
Somalia’s regional importance follows directly from geography: its Indian Ocean coast faces routes from eastern Africa and Asia, while the Gulf of Aden shore lies on the approach to the Bab el-Mandeb and Red Sea, tying maritime security to global shipping. Its borders also connect it to Ethiopian and Kenyan markets. Somalia acceded to the East African Community treaty in December 2023 and became a full member on 4 March 2024, complementing its roles in IGAD, the African Union, the Arab League and the United Nations. Security remains inseparable from development: al-Shabaab continues an insurgency, and the African Union Support and Stabilization Mission remained active in 2026. Contested federal relations, climate-driven displacement, water stress, weak roads, limited state revenue and dependence on imports, aid and remittances remain structural constraints. Fisheries, livestock processing, ports, renewable energy and digital services provide diversification possibilities, but their wider impact depends on stronger institutions, connectivity and political accommodation.