QuestionSomalia
What Is the Capital of Somalia? Mogadishu Explained

Mogadishu is the capital of Somalia and the country’s largest city. It lies on the Indian Ocean coast in the south of the country and is home to the federal government, the Federal Parliament and the Central Bank. Known locally as Xamar, it has been a trading port for more than a thousand years.
Contents
Mogadishu: the capital of Somalia
Mogadishu (Muqdisho in Somali) is the seat of the Federal Government of Somalia. The president’s office at Villa Somalia, the Federal Parliament, the ministries and most foreign embassies are located in the city. Its port and international airport are the busiest in the country.
The city forms its own administrative unit, the Banadir Regional Administration, rather than belonging to one of the federal member states. It is divided into numerous districts, from the historic coastal quarters of Hamar Weyne and Shingani to newer neighborhoods that have spread inland.
| Fact | Mogadishu |
|---|---|
| Local names | Muqdisho, Xamar |
| Location | Indian Ocean coast, Banadir region |
| Capital since | 1 July 1960 (Somali Republic) |
| Earlier role | Capital of Italian Somaliland (from 1905) |
| Population (Banadir) | about 1.65 million (UNFPA survey, 2014) |
Population
Somalia has not held a full national census since the 1970s, so the size of Mogadishu is uncertain. The UNFPA-supported Population Estimation Survey of 2014 counted about 1.65 million people in the Banadir region, which covers the city. Later estimates by UN agencies and researchers are considerably higher, because the city has grown quickly with returning residents and people displaced by drought and conflict.
Whatever the exact number, Mogadishu is by far the largest city in Somalia. Other large cities include Hargeisa in the northwest, Baidoa, Bosaso, Kismayo and Garowe. Somalia as a whole has about 19.7 million people (World Bank estimate for 2025).
How Mogadishu became the capital
Mogadishu grew from a medieval port into one of the richest cities on the East African coast. From around the 10th century it was the center of the Sultanate of Mogadishu, trading gold, ivory, textiles and livestock with Arabia, Persia, India and China. The Moroccan traveler Ibn Battuta visited in 1331 and described a large, prosperous city.
Italy gradually took control of the southern Somali coast in the late 19th century, and in 1905 Mogadishu became the capital of Italian Somaliland. The Italians called it Mogadiscio and built new avenues, a cathedral and government buildings. After World War II, the city was the capital of the UN Trust Territory of Somaliland under Italian administration (1950-1960).
On 1 July 1960, the trust territory united with the former British Somaliland, which had become independent on 26 June, to form the Somali Republic. Mogadishu, the largest city and the seat of the southern government, became the capital of the united country. British Somaliland had been governed from Berbera and later from Hargeisa, but neither became the national capital.
War and rebuilding
The civil war that followed the fall of the central government in 1991 devastated Mogadishu. Rival armed groups fought for control of the city for years, and many historic buildings, including the Italian-era cathedral, were badly damaged. Transitional governments often had difficulty working from the capital.
Since the early 2010s, large parts of Mogadishu have been rebuilt. New hotels, shops, apartment blocks and roads have appeared, the airport and seaport have been modernized, and the beachfront has become a popular place to spend weekends and holidays. Security remains a concern, and the city is still under reconstruction.
Landmarks of Mogadishu
- Hamar Weyne and Shingani: the oldest quarters of the city, with narrow lanes and coral-stone houses close to the old harbor.
- Fakr ad-Din Mosque and Arba’a Rukun Mosque: two mosques dated by inscriptions to the 1260s, among the oldest on the East African coast.
- Mogadishu Cathedral: a Norman Gothic cathedral built in 1928 under Italian rule, modeled on the cathedral of Cefalu in Sicily; it has been in ruins since the civil war.
- Lido Beach: a long sandy beach lined with cafes and restaurants, the city’s most popular place to relax.
- National Theatre of Somalia: opened in 1967 and later rebuilt, a center for music, drama and poetry.
- Mogadishu Lighthouse: an Italian-era lighthouse on the old waterfront near Hamar Weyne.
Common confusions
Hargeisa is not the national capital. Hargeisa is the main city of Somaliland, the northwestern region that declared independence in 1991. Somaliland runs its own administration from Hargeisa, but the federal government regards the region as part of Somalia, and Somaliland is not a UN member.
Mogadishu and Banadir. Banadir is the name of the region that covers Mogadishu, and historically of the wider southern coast. In official usage, the capital and the Banadir Regional Administration are almost the same area.
Somalia’s other capitals. Each federal member state has its own seat of government, such as Garowe in Puntland and Kismayo in Jubaland, but these are regional capitals, not national ones.
To learn more about the country, see What language is spoken in Somalia? and the flag of Somalia.
Frequently asked questions
What is the capital of Somalia?
The capital of Somalia is Mogadishu, a port city on the Indian Ocean in the south of the country. It is also Somalia's largest city and the seat of the federal government and parliament.
What is Mogadishu called in Somali?
In Somali the city is called Muqdisho, and locals often call it Xamar (pronounced roughly Hamar). The old quarter Hamar Weyne, meaning big Hamar, carries the same name.
How many people live in Mogadishu?
The UNFPA Population Estimation Survey of 2014 counted about 1.65 million people in the Banadir region, which is the Mogadishu area. Later estimates are considerably higher, but Somalia has not held a full census in decades, so figures vary widely.
Has Somalia always had Mogadishu as its capital?
Mogadishu has been the capital since the Somali Republic was formed on 1 July 1960. Before that, it was the capital of Italian Somaliland and of the UN Trust Territory, while British Somaliland in the north was governed from Berbera and later Hargeisa.
Is Hargeisa the capital of Somalia?
No. Hargeisa is the main city of Somaliland, the northwestern region that declared independence in 1991 and runs its own administration. The national capital of Somalia is Mogadishu.
What is the oldest building in Mogadishu?
Among the oldest surviving buildings are the Fakr ad-Din Mosque and the Arba'a Rukun Mosque, both dated by inscriptions to the 1260s. They are among the oldest mosques on the East African coast.
Sources and further reading
- Provisional Constitution of the Federal Republic of Somalia (2012)
- UNFPA, "Population Estimation Survey 2014 for the 18 Pre-war Regions of Somalia"
- Encyclopaedia Britannica, "Mogadishu"
Cite this page
“What Is the Capital of Somalia? Mogadishu Explained.” Countries of the World, https://countries.bigworldlist.com/questions/what-is-the-capital-of-somalia/.
Somalia: more questions and guides
- Country profileSomalia Facts: Capital, Population, Languages and Geography
- FlagFlag of Somalia: Meaning, Colors, Star and History
- QuestionWhat Currency Does Somalia Use? The Somali Shilling Explained
- QuestionWhat Is Somalia Known For? Camels, Poetry, Coast and Culture
- QuestionWhat Language Is Spoken in Somalia? Somali, Arabic and More