AfricaEastern Africa

Somalia Facts: Capital, Population, Languages and Geography

Flag of SomaliaFederal Republic of SomaliaCapital: Mogadishu

Aerial view of the old coastal town of Bargal on a sandy bay of the Indian Ocean, with dry hills behind, in Bari region, northeastern Somalia
Aerial view of the old coastal town of Bargal on a sandy bay of the Indian Ocean, with dry hills behind, in Bari region, northeastern Somalia. Photo: Rahim Alpa (Public domain), Wikimedia Commons

Somalia is a country on the Horn of Africa, the easternmost country of the African mainland, with a long coast on the Gulf of Aden and the Indian Ocean. It is home to about 19.7 million people (World Bank estimate for 2025) and covers 637,657 km² (246,200 sq mi). Its capital and largest city is Mogadishu.

Contents

Where is Somalia?

Somalia occupies the tip of the Horn of Africa, the peninsula that juts into the Arabian Sea in northeastern Africa. It borders Djibouti to the northwest, Ethiopia to the west and Kenya to the southwest. The Gulf of Aden lies to the north, separating Somalia from Yemen on the Arabian Peninsula, and the Indian Ocean lies to the east.

Somalia is part of the UN subregion of Eastern Africa and is counted among the countries in Africa. Ras Hafun, a rocky headland in the northeast, is the easternmost point of the African mainland, and nearby Cape Guardafui marks the very tip of the Horn.

FactSomalia
Area637,657 km² (246,200 sq mi)
Populationabout 19.7 million (World Bank, 2025)
CapitalMogadishu
NeighborsDjibouti, Ethiopia, Kenya
Calling code+252
Internet domain.so

Geography and climate

Somalia’s coastline is the longest of any country on the African mainland, about 3,000 km (1,900 mi), although sources measure it slightly differently. The north is rugged: the Golis and Cal Madow ranges rise steeply behind the Gulf of Aden coast, and Shimbiris, at about 2,416 m (7,927 ft), is the highest point in the country. Central Somalia is a dry plateau, and the south is a low plain.

Only two rivers flow all year: the Jubba and the Shabelle, both of which rise in the Ethiopian Highlands. The Jubba reaches the Indian Ocean near Kismayo, while the Shabelle usually fades into swamps and sand before reaching the sea. The land between the two rivers is the country’s main farming area.

The climate is hot and mostly arid or semi-arid. Life follows four seasons: the main rains, called Gu, from about April to June; a dry season called Hagaa; a second, shorter rainy season called Deyr around October and November; and the long dry season Jilaal. When the rains fail, droughts can hit herders and farmers hard.

History

Ancient Egyptian records describe trade with the “Land of Punt” for incense, gold and ebony, and many historians place Punt on the Horn of Africa, possibly including northern Somalia. Rock paintings at Laas Geel, near Hargeisa in the northwest, are thought to be around 5,000 years old. In the 1st century AD, the Greek “Periplus of the Erythraean Sea” listed trading ports along the Somali coast.

Islam reached the coast early, and towns such as Mogadishu, Merca, Barawa and Zeila grew rich on Indian Ocean trade. Mogadishu was a leading city of the East African coast in the Middle Ages, and inland states such as the Adal Sultanate and the Ajuran Sultanate controlled trade routes and water resources.

In the late 19th century, European powers divided the Somali lands. Britain created the protectorate of British Somaliland in the north, Italy built the colony of Italian Somaliland in the south and east, France held what is now Djibouti, and other Somali-inhabited areas became part of Ethiopia and Kenya. From 1899 to 1920, the Dervish movement led by Mohammed Abdullah Hassan resisted British, Italian and Ethiopian forces.

After World War II, the former Italian colony became a UN Trust Territory under Italian administration (1950-1960). British Somaliland gained independence on 26 June 1960, and the trust territory followed on 1 July 1960; the two united the same day as the Somali Republic. A military coup in October 1969 brought Siad Barre to power, and the country was renamed the Somali Democratic Republic. His government adopted a Latin alphabet for Somali in 1972, and the 1977-1978 Ogaden War with Ethiopia ended in defeat for Somalia.

Barre’s government fell in 1991, and the central state collapsed into a long civil war. In the same year the northwest declared itself the independent Republic of Somaliland. Transitional governments were formed from 2000 onward, and in 2012 the Federal Government of Somalia was established under a Provisional Constitution. Somalia joined the East African Community in 2024, and it was elected a non-permanent member of the UN Security Council for 2025-2026.

Government and politics

Somalia is a federal parliamentary republic governed under the Provisional Constitution adopted on 1 August 2012. The Federal Parliament has two chambers, the House of the People and the Upper House. The president is head of state and appoints a prime minister, who leads the Council of Ministers and must have the confidence of the House of the People. The constitution was amended in 2024, and the details of the electoral system remain a subject of political negotiation.

The country is divided into federal member states, including Puntland, Jubaland, South West State, Hirshabelle and Galmudug, while Mogadishu forms the separate Banadir Regional Administration. Federal member states have their own presidents and assemblies, and the division of powers with the federal government is still being worked out.

Somaliland, in the northwest, has run its own administration since 1991. The federal government and the African Union regard it as part of Somalia, and Somaliland is not a member of the United Nations. Somalia itself has been a UN member since 1960 and also belongs to the African Union and the Arab League.

People and languages

Most people are ethnic Somalis, who traditionally organize society through large clan families. Minorities include Bantu communities along the southern rivers, the Benadiri of the old coastal towns, and the Bajuni of the southern islands. Nearly all Somalis are Sunni Muslims, and Islam is the state religion under the constitution.

Somali, a Cushitic language, is the official language, and Arabic is named as the second language. Somali has several main varieties, including Maxaa-tiri, on which the standard written language is based, and Maay, spoken mainly in the southwest. Italian and English are remnants of colonial rule, and English is widely used in higher education. Read more in What language is spoken in Somalia?

Somalia has a very young population, and a large share of people are nomadic or semi-nomadic herders. A big Somali diaspora lives in neighboring countries, the Gulf states, Europe and North America.

Economy

Livestock is the backbone of the economy. Somali herders keep camels, goats, sheep and cattle, and live animals are exported across the Gulf of Aden to the Arabian Peninsula, especially in the weeks before the Hajj pilgrimage. Somalia has one of the largest camel populations in the world. Other exports include fish, sesame, bananas and frankincense.

Money sent home by Somalis abroad, called remittances, is a major source of income and is handled by money-transfer companies known as hawala firms. Mobile phone payments are unusually widespread, and private telecommunications companies are among the largest businesses. The national currency is the Somali shilling, but the US dollar is widely used for larger payments.

The main ports are Mogadishu, Bosaso, Berbera and Kismayo. Large parts of the economy are informal, and reliable official statistics are limited.

Culture and traditions

Somalia is often called a nation of poets. Oral poetry, with strict rules of alliteration, has long been used to record history, settle disputes and comment on public life, and it is still recited and broadcast today. Modern writers include the novelist Nuruddin Farah, winner of the Neustadt International Prize for Literature in 1998.

Somali food mixes African, Arab, Indian and Italian influences. Typical dishes include canjeero (a spongy flatbread), bariis iskukaris (spiced rice, often with goat or camel meat), suqaar (small pieces of stewed meat) and pasta, a legacy of Italian rule. Meals often end with sweet spiced tea, and homes are scented with frankincense. Football is the most popular sport, and Independence Day on 1 July is a major national holiday.

Famous landmarks

  • Mogadishu’s old quarters: Hamar Weyne and Shingani hold some of the oldest mosques in East Africa, including the Arba’a Rukun Mosque and the Fakr ad-Din Mosque, both from the 13th century.
  • Lido Beach: the busiest seaside promenade in Mogadishu, popular on weekends and holidays.
  • Laas Geel: rock shelters near Hargeisa with brightly painted cattle and human figures, among the best preserved rock art in Africa.
  • Cal Madow mountains: forested highlands in the north, home to frankincense trees and endemic plants.
  • Bargal and the northeastern coast: old trading towns near Cape Guardafui, the tip of the Horn of Africa.

Facts and misconceptions

  • “Somalia and Somaliland are the same thing.” Somaliland is the northwestern part of the country that declared independence in 1991; it is administered separately but is not a UN member and is regarded by the federal government as part of Somalia.
  • “Somalia is landlocked desert.” Somalia has the longest mainland coastline in Africa, and the south has fertile river valleys.
  • “Somali is written in Arabic letters.” Somali has been officially written in the Latin alphabet since 1972, although Arabic script and the Osmanya alphabet were used earlier.
  • “The Somali people live only in Somalia.” Large Somali communities also live in Djibouti, eastern Ethiopia and northeastern Kenya.

Flag

The flag of Somalia is light blue with a white five-pointed star in the center. It was adopted in 1954, before independence, and the five points of the star stand for the five areas where Somalis live. Mogadishu has been the capital since 1960; read more in What is the capital of Somalia?

Somalia: more questions and guides

Other countries in Eastern Africa

BurundiComorosDjiboutiEritreaEthiopiaKenyaMadagascarMalawiMauritiusMozambiqueRwandaSeychellesSouth SudanTanzaniaUgandaZambiaZimbabwe

More on Big World List

Frequently asked questions

What is the capital of Somalia?

The capital of Somalia is Mogadishu, a port city on the Indian Ocean and the country's largest city. It has been the capital since independence and union in 1960, and before that it was the capital of Italian Somaliland.

How many people live in Somalia?

About 19.7 million people (World Bank estimate for 2025). Somalia has not held a full national census since the 1970s, so population figures are estimates based on surveys and models.

What language do people speak in Somalia?

Almost everyone speaks Somali, the official language, which is written in the Latin alphabet since 1972. Arabic is named in the constitution as the second language and is widely learned through Quranic schools.

Is Somaliland part of Somalia?

Somaliland, the former British Somaliland in the northwest, declared independence in 1991 and runs its own government, currency and institutions. The federal government of Somalia and the African Union regard it as part of Somalia, and it is not a member of the United Nations.

Does Somalia have the longest coastline in Africa?

Yes, Somalia has the longest coastline of any country on the African mainland, about 3,000 km (1,900 mi) along the Gulf of Aden and the Indian Ocean. Madagascar, an island country, has a longer coastline overall.

When did Somalia become independent?

British Somaliland became independent on 26 June 1960, and the UN Trust Territory of Somaliland under Italian administration followed on 1 July 1960. The two united the same day to form the Somali Republic, so 1 July is celebrated as Independence Day.

Sources and further reading

  • Provisional Constitution of the Federal Republic of Somalia (2012)
  • World Bank, "World Development Indicators: Population, total"
  • United Nations, "Member States"
  • Encyclopaedia Britannica, "Somalia"

Cite this page

“Somalia Facts: Capital, Population, Languages and Geography.” Countries of the World, https://countries.bigworldlist.com/countries/somalia/.