🗺 Country
Somalia
Country in East Africa
Also known as Federal Republic of Somalia
🗺 Country dashboard: geography, cities, heritage, live data →- Capital
- Mogadishu
- Area
- 637,657 km²
- Population
- 11,031,386
21 min read
Somalia, officially the Federal Republic of Somalia, is the easternmost country in continental Africa. Stretching across the Horn of Africa, it borders Ethiopia to the west, Djibouti to the northwest, Kenya to the southwest, the Gulf of Aden to the north, and the Indian Ocean to the east. Somalia has the longest coastline on Africa's mainland. Somalia has an estimated population over 19 million, of which 2.7 million live in the capital and largest city, Mogadishu. As one of Africa's most ethnically homogeneous countries, around 85% of its residents are ethnic Somalis. The official and national language of the country is Somali, and Arabic is recognised as a second language. The overwhelming majority of the population are Sunni Muslims.
In ancient history, Somalia was an important commercial centre. During the Middle Ages, several powerful Somali empires dominated the regional trade, including the Ajuran Sultanate, Adal Sultanate, and the Sultanate of the Geledi. In the late 19th century, the Somali sultanates were colonised by the Italian and British empires, who merged these tribal territories into two colonies: Italian Somaliland and British Somaliland. In 1960, the two territories united to form the independent Somali Republic under a civilian government. Siad Barre of the Supreme Revolutionary Council (SRC) seized power in 1969 and established the Somali Democratic Republic, launching a failed invasion of Ethiopia which triggered major instability in Somalia and brutally attempting to quash the Somaliland War of Independence in the north of the country.
The SRC collapsed in 1991 with the onset of the Somali Civil War. Instability continued through periods of reduced conflict under transitional governments in the early 2000s. At the end of 2006, a US-backed Ethiopian invasion overthrew the Islamic Courts Union (ICU), leading to the installation of the Transitional Federal Government of Somalia (TFG) in Mogadishu under an Ethiopian military occupation. The subsequent insurgency which emerged saw the ICU fragment into various rebel factions, including the militant group al-Shabaab, which waged a protracted conflict against Ethiopian forces, the two powers exchanging control of territories through mid-2012. A new provisional constitution was passed in August 2012, reforming Somalia as a federation and began reconstruction under the Federal Government of Somalia. Insurgents still control much of central and southern Somalia and influence government-controlled areas.
Somalia is among the least developed countries in the world because of its low GDP per capita and the Human Development Index. It has maintained an informal economy mainly based on livestock, remittances from Somalis working abroad, and telecommunications. It is a member of the United Nations, the Arab League, African Union, Non-Aligned Movement, East African Community, and the Organisation of Islamic Cooperation.
In 2026 the United Nations and the World Food Programme warned that six million people or one third of Somalia's population were facing food crises and that 1.9 million children faced acute malnutrition, primarily due to a severe drought and cut in aid expenditures.
Etymology
Samaale, the last common ancestor of several Somali clans, is generally regarded as the source of the ethnonym Somali. Another theory is that the name is derived from the words soo and maal, which together mean "go" and "milk". This interpretation varies depending on region, with northern Somalis believing it means "camel's milk," and southern Somalis using the transliteration "sa maal", which refers to cow's milk. This is a reference to the pastoralism of the Somali people. Another proposed etymology is that the term Somali is derived from the Arabic ذوو مال, transliterated as dhawu māl and meaning "wealthy", again referring to Somali riches in livestock.
The first written reference of the sobriquet Somali dates back to the early 15th century AD during the reign of Ethiopian Emperor Yeshaq I, who had one of his court officials compose a hymn celebrating a military victory over the Sultanate of Ifat. Simur was also an ancient Harari alias for the Somali people.
History
Prehistory
Somalia was likely one of the first lands to be settled by early humans due to its location. Hunter-gatherers who would later migrate out of Africa likely settled here before their migrations. During the Stone Age, the Doian and Hargeisan cultures flourished here. The oldest evidence of burial customs in the Horn of Africa comes from cemeteries in Somalia dating back to the 4th millennium BC. The stone implements from the Jalelo site in the north were also characterised in 1909 as important artefacts demonstrating the archaeological universality during the Paleolithic between the East and the West.
According to linguists, the first Afroasiatic-speaking populations arrived in the region during the ensuing Neolithic period from the family's proposed urheimat ("original homeland") in the Nile Valley, or the Near East.
The Laas Geel complex on the outskirts of Hargeisa in northwestern Somalia dates back approximately 5,000 years, and has rock art depicting both wild animals and decorated cows. Other cave paintings are found in the northern Dhambalin region, which feature one of the earliest known depictions of a hunter on horseback. The rock art is dated to 1,000 to 3,000 BC. Additionally, between the towns of Las Khorey and El Ayo in northern Somalia lies Karinhegane, the site of numerous cave paintings, which collectively have been estimated to be around 2,500 years old.
The camel is believed to have been domesticated in the Horn region between the 2nd and 3rd millennium BC. From there, it spread to Egypt and the Maghreb.
Classical era
Ancient pyramidical structures, mausoleums, ruined cities and stone walls, such as the Wargaade Wall, are evidence of an old civilisation that once thrived in the Somali peninsula. This civilisation enjoyed a trading relationship with ancient Egypt and Mycenaean Greece since the second millennium BC, supporting the hypothesis that Somalia or adjacent regions were the location of the ancient Land of Punt. The Puntites native to the region traded myrrh, spices, gold, ebony, short-horned cattle, ivory and frankincense with the Egyptians, Phoenicians, Babylonians, Indians, Chinese and Romans through their commercial ports. An Egyptian expedition sent to Punt by the 18th dynasty Queen Hatshepsut is recorded on the temple reliefs at Deir el-Bahari, during the reign of the Puntite King Parahu and Queen Ati.
In the classical era, the Macrobians, who may have been ancestral to Somalis, established a powerful kingdom that ruled large parts of modern Somalia. They were reputed for their longevity and wealth, and were said to be the "tallest and handsomest of all men". The Macrobians were warrior herders and seafarers. According to Herodotus' account, the Persian Emperor Cambyses II, upon his conquest of Egypt in 525 BC, sent ambassadors to Macrobia, bringing luxury gifts for the Macrobian king to entice his submission. The Macrobian ruler, who was elected based on his stature and beauty, replied instead with a challenge for his Persian counterpart in the form of an unstrung bow: if the Persians could manage to draw it, they would have the right to invade his country; but until then, they should thank the gods that the Macrobians never decided to invade their empire. The Macrobians were a regional power reputed for their advanced architecture and gold wealth, which was so plentiful that they shackled their prisoners in golden chains.
During the classical period, the Barbara city-states of Mosylon, Opone, Mundus, Isis, Malao, Avalites, Essina, Nikon and Sarapion developed a lucrative trade network, connecting with merchants from Ptolemaic Egypt, Ancient Greece, Phoenicia, Parthian Persia, Saba, the Nabataean Kingdom, and the Roman Empire. They used the ancient Somali maritime vessel known as the beden to transport their cargo.
After the Roman conquest of the Nabataean Empire and the Roman naval presence at Aden to curb piracy, Arab and Somali merchants agreed with the Romans to bar Indian ships from trading in the free port cities of the Arabian peninsula to protect the interests of Somali and Arab merchants in the lucrative commerce between the Red and Mediterranean Seas. However, Indian merchants continued to trade in the port cities of the Somali peninsula, which was free from Roman interference. For centuries, Indian merchants brought large quantities of cinnamon to Somalia and Arabia from Ceylon and the Spice Islands. The source of the cinnamon and other spices is said to have been the best-kept secret of Arab and Somali merchants in their trade with the Roman and Greek world; the Romans and Greeks believed the source to have been the Somali peninsula. The collusive agreement among Somali and Arab traders inflated the price of Indian and Chinese cinnamon in North Africa, the Near East, and Europe, and made the cinnamon trade a very profitable revenue generator, especially for the Somali merchants.
Islamic era
Islam was introduced to the area early on by the first Muslims of Mecca fleeing prosecution during the first Hejira with Masjid al-Qiblatayn in Zeila being built before the Qiblah towards Mecca. It is one of the oldest mosques in Africa. In the late 9th century, Al-Yaqubi wrote that Muslims were living along the northern Somali seaboard. He also mentioned that the Adal Kingdom had its capital in the city. According to Leo Africanus, the Adal Sultanate was governed by local Somali dynasties and its realm encompassed the geographical area between the Bab-el-Mandeb and Cape Guardafui. It was thus flanked to the south by the Ajuran Empire and to the west by the Abyssinian Empire.
Throughout the Middle Ages, Arab immigrants arrived in Somaliland, a historical experience which would later lead to the legendary stories about Muslim sheikhs such as Daarood and Ishaaq bin Ahmed (the purported ancestors of the Darod and Isaaq clans, respectively) travelling from Arabia to Somalia and marrying into the local Dir clan. The oldest writing in Somalia dates to this time, with the funerary inscription of Ḥajj Shānid in the al-Jami mosque in Barawa dating to 1104 or 1105 CE (year 498 AH). Although these medieval inscriptions are in Arabic, they were clearly written by people who were well-integrated into Somali culture and society. For example, an inscription from 1365 CE calls this year a Saturday year, using the traditional Somali calendar where years are named after the weekday on which the year begins.
In 1332, the Zeila-based King of Adal was slain in a military campaign aimed at halting Abyssinian emperor Amda Seyon I's march toward the city. When the last Sultan of Ifat, Sa'ad ad-Din II, was also killed by Emperor Dawit I in Zeila in 1410, his children escaped to Yemen, before returning in 1415. In the early 15th century, Adal's capital was moved further inland to the town of Dakkar, where Sabr ad-Din II, the eldest son of Sa'ad ad-Din II, established a new base after his return from Yemen.
Muslim Chinese diplomat Zheng He visited Mogadishu in his voyages to the horn of Africa.
Adal's headquarters were again relocated the following century, this time southward to Harar. From this new capital, Adal organised an effective army led by Imam Ahmad ibn Ibrahim al-Ghazi, (Ahmad "Gurey" or "Gran"; both meaning "the left-handed") and his closest top general and brother in law Garad Matan. Imam Ahmed clan is documented to be from the Geri Koombe, a sub clan of Darod. This 16th-century campaign is historically known as the Conquest of Abyssinia (Futuh al-Habash). During the war, Imam Ahmad pioneered the use of cannons supplied by the Ottoman Empire, which he imported through Zeila and deployed against Abyssinian forces and their Portuguese allies led by Cristóvão da Gama.
During the Ajuran Sultanate period, the city-states and republics of Merca, Mogadishu, Barawa, Hobyo and their respective ports flourished and had a lucrative foreign commerce with ships sailing to and from Arabia, India, Venetia, Persia, Egypt, Portugal, and as far away as China. Vasco da Gama, who passed by Mogadishu in the 15th century, noted that it was a large city with houses several storeys high and large palaces in its centre, in addition to many mosques with cylindrical minarets. The Harla, an early Hamitic group of tall stature who inhabited parts of Somalia, Tchertcher and other areas in the Horn, also erected various tumuli. These masons are believed to have been ancestral to ethnic Somalis.
In the 16th century, Duarte Barbosa noted that many ships from the Kingdom of Cambaya in modern-day India sailed to Mogadishu with cloth and spices, for which they in return received gold, wax and ivory. Barbosa also highlighted the abundance of meat, wheat, barley, horses, and fruit on the coastal markets, which generated enormous wealth for the merchants. Mogadishu, the centre of a thriving textile industry known as toob benadir (specialised for the markets in Egypt, among other places), together with Merca and Barawa, also served as a transit stop for Swahili merchants from Mombasa and Malindi and for the gold trade from Kilwa. Jewish merchants from the Hormuz brought their Indian textile and fruit to the Somali coast in exchange for grain and wood.
Trading relations were established with Malacca in the 15th century, with cloth, ambergris and porcelain being the main commodities of the trade. Giraffes, zebras and incense were exported to the Ming Empire of China, which established Somali merchants as leaders in the commerce between East Asia and the Horn. Hindu merchants from Surat and Southeast African merchants from Pate, seeking to bypass both the Portuguese India blockade (and later the Omani interference), used the Somali ports of Merca and Barawa (which were out of the two powers' direct jurisdiction) to conduct their trade in safety and without interference.
Modern era
In the early modern period, successor states to the Adal Sultanate and Ajuran Sultanate began to flourish in Somalia. These included the Hiraab Imamate, the Isaaq Sultanate led by the Guled dynasty, the Habr Yunis Sultanate led by the Ainanshe dynasty, the Sultanate of the Geledi (Gobroon dynasty), the Majeerteen Sultanate (Migiurtinia), and the Sultanate of Hobyo (Obbia). They continued the tradition of castle-building and seaborne trade established by previous Somali empires.
Sultan Yusuf Mahamud Ibrahim, the third Sultan of the House of Gobroon, started the golden age of the Gobroon Dynasty. His army came out victorious during the Bardheere Jihad, which restored stability in the region and revitalised the East African ivory trade. He also had cordial relations and received gifts from the rulers of neighbouring and distant kingdoms such as the Omani, Witu and Yemeni Sultans.
Sultan Ibrahim's son Ahmed Yusuf succeeded him as one of the most important figures in 19th-century East Africa, receiving tribute from Omani governors and creating alliances with important Muslim families on the East African coast.
In Somaliland, the Isaaq Sultanate was established in 1750. The Isaaq Sultanate was a Somali kingdom that ruled parts of the Horn of Africa during the 18th and 19th centuries. It spanned the territories of the Isaaq clan, descendants of the Banu Hashim clan, in modern-day Somaliland and Ethiopia. The sultanate was governed by the Rer Guled branch established by the first sultan, Sultan Guled Abdi, of the Eidagale clan. According to oral tradition, prior to the Guled dynasty the Isaaq clan-family were ruled by a dynasty of the Tolje'lo branch starting from, descendants of Ahmed nicknamed Tol Je'lo, the eldest son of Sheikh Ishaaq's Harari wife. There were eight Tolje'lo rulers in total, starting with Boqor Harun (Somali: Boqor Haaruun) who ruled the Isaaq Sultanate for centuries starting from the 13th century. The last Tolje'lo ruler Garad Dhuh Barar (Somali: Dhuux Baraar) was overthrown by a coalition of Isaaq clans. The once strong Tolje'lo clan were scattered and took refuge amongst the Habr Awal with whom they still mostly live.
In the late 19th century, after the Berlin Conference of 1884, European powers began the Scramble for Africa. In that year, a British protectorate was declared over part of Somalia, on the African coast opposite South Yemen. Initially, this region was under the control of the Indian Office, and so administered as part of the Indian Empire; in 1898 it was transferred to control by London. In 1889, the protectorate and later colony of Italian Somalia was officially established by Italy through various treaties signed with a number of chiefs and sultans; Sultan Yusuf Ali Kenadid first sent a request to Italy in late December 1888 to make his Sultanate of Hobyo an Italian protectorate before later signing a treaty in 1889.
The Dervish movement successfully repulsed the British Empire four times and forced it to retreat to the coastal region. The Darawiish defeated the Italian, British, Abyssinian colonial powers on numerous occasions, most notably, the 1903 victory at Cagaarweyne commanded by Suleiman Aden Galaydh, forcing the British Empire to retreat to the coastal region in the early 1900s. The Dervishes were finally defeated in 1920 by British airpower.
The dawn of fascism in the early 1920s heralded a change of strategy for Italy, as the north-eastern sultanates were soon to be forced within the boundaries of La Grande Somalia ("Greater Somalia") according to the plan of Fascist Italy. With the arrival of Governor Cesare Maria De Vecchi on 15 December 1923, things began to change for that part of Somaliland known as Italian Somaliland. De Vecchi was responsible for an aggressive expansion campaign and large construction projects, including the cathedral of Mogadishu. The last piece of land acquired by Italy in Somalia was Oltre Giuba, present-day Jubaland region, in 1925.The Italians began local infrastructure projects, including the construction of hospitals, farms and schools. Fascist Italy, under Benito Mussolini, attacked Abyssinia (Ethiopia) in 1935, with an aim to colonise it. The invasion was condemned by the League of Nations, but little was done to stop it or to liberate occupied Ethiopia. In 1936, Italian Somalia was integrated into Italian East Africa, alongside Eritrea and Ethiopia, as the Somalia Governorate. On 3 August 1940, Italian troops, including Somali colonial units, crossed from Ethiopia to invade British Somaliland, and by 14 August, succeeded in taking Berbera from the British.
A British force, including troops from several African countries, launched the campaign in January 1941 from Kenya to liberate British Somaliland and Italian-occupied Ethiopia and conquer Italian Somaliland. By February most of Italian Somaliland was captured and, in March, British Somaliland was retaken from the sea. The forces of the British Empire operating in Somaliland comprised the three divisions of South African, West African, and East African troops. They were assisted by Somali forces led by Abdulahi Hassan with Somalis of the Isaaq, Dhulbahante, and Warsangali clans prominently participating. The number of Italian Somalis began to decline after World War II, with fewer than 10,000 remaining in 1960.
Independence and post-independence
Following World War II, Britain controlled both British Somaliland and Italian Somaliland. During the 1945 Potsdam Conference, the United Nations granted Italy Italian Somaliland, on the condition that Somalia achieve independence within ten years, due to pressure from Somali organisations. British Somaliland remained a protectorate of Britain until 1960.
The trusteeship gave Somalis the opportunity to gain experience in Western political education and self-government. These were advantages that British Somaliland lacked, as it was to be incorporated into the new Somali state. In the 1950s British officials attempted, to improve various administrative development efforts. However, the protectorate stagnated administratively. The disparity between the two territories would cause difficulties integrating.
In 1948, pressured by their allies and disappointing the Somalis, the British returned the Haud, an important Somali grazing area, and the Somali Region to Ethiopia, based on a treaty they signed in 1897 in which the British ceded Somali territory to the Ethiopian Emperor.
Britain stipulated that Somali residents would retain autonomy, but Ethiopia ignored this, prompting an unsuccessful bid by Britain to repurchase the lands. Britain also granted almost exclusively Somali-inhabited Northern Frontier District to Kenyan nationalists. This was despite a plebiscite where almost all of the territory's ethnic Somalis favoured joining Somalia.
A referendum was held in neighbouring French Somaliland in 1958, to decide whether to join the Somali Republic or to remain with France. The referendum turned out in favour of a continued association with France, largely due to a combined yes vote by the sizeable Afar ethnic group and resident Europeans. There was also widespread vote rigging, with the French expelling thousands of Somalis before voting commenced. The majority of those who voted "no" were Somalis, who strongly supported joining Somalia.
British Somaliland obtained independence on 26 June 1960, and Italian Somaliland followed on 1 July, with the two uniting to form the Somali Republic, within boundaries drawn up by Italy and Britain. A government was formed by members of the former trusteeship and protectorate governments, with Abdulcadir Muhammed Aden as President of the Somali National Assembly, Aden Abdullah Osman Daar as President of the Somali Republic, and Abdirashid Ali Shermarke as Prime Minister (later to become president from 1967 to 1969). On 20 July 1961, a popular referendum, was ratified by the people of Italian Somalia. Most people did not participate, although only a small number voted against the new constitution. In 1967, Muhammad Haji Ibrahim Egal became Prime Minister, a position to which he was appointed by Shermarke. Egal would later become the President of the autonomous Somaliland region in northwestern Somalia.
On 15 October, when President Abdirashid Ali Sharmarke was touring Las Anood, his bodyguard killed him, he was acting on his own accord, according to Henry Kissinger. Six days later, on 21 October, General Siad Barre led a military coup which overthrew the parliamentary government. The coup was motivated by corruption. The bodyguard was tried and executed by the Supreme Revolutionary Council (SRC). He came from the same clan background as the president.
Alongside Barre, the SRC was led by Brigadier General Mohamed Ainanshe Guled, Lieutenant Colonel Salaad Gabeyre Kediye, and Chief of Police Jama Korshel. Kediye officially held the title "Father of the Revolution", and afterwards, Barre became the head of the SRC. The SRC subsequently renamed the country to the Somali Democratic Republic, dissolved the parliament and the Supreme Court, and suspended the constitution.
The revolutionary government developed infrastructure and implemented a literacy campaign, dramatically increasing the literacy rate to 70%, then one of the highest in Africa. The new regime's foreign policy emphasised Somalia's links with the Arab world, eventually joining the Arab League. That same year, Barre also served as chairman of the Organisation of African Unity (OAU).
In July 1976, Barre's SRC disbanded and established the Somali Revolutionary Socialist Party (SRSP), a government based on scientific socialism and Islam. The SRSP was established to reconcile the state ideology with the state religion by adapting Marxist precepts. Emphasis was placed on principles of social progress, equality, and justice, and on self-sufficiency, public participation, popular control, the direct ownership of the means of production. While the SRSP encouraged limited private investment, the administration was communist.
In July 1977, the Ogaden War started after Barre's government used national liberation to justify the incorporation of the predominantly Somali Ogaden of Ethiopia into a Greater Somalia. Ogaden had rich agricultural lands, infrastructure, and strategically important areas. In the first week, Somali forces took southern and central Ogaden. For most of the war, the Somali army scored continuous victories over the Ethiopian army, pursuing till Sidamo. By September 1977, Somalia controlled 90% of the Ogaden and captured strategic cities such as Jijiga and pressured Dire Dawa, threatening the train route from the city to Djibouti. After the siege of Harar, a massive, unprecedented Soviet intervention of 20,000 Cuban forces and several thousand Soviet experts came to aid Ethiopia's communist Derg. By 1978, the Somali troops were ultimately pushed out of the Ogaden. This shift in support by the Soviets motivated the Barre government to seek allies elsewhere. It eventually settled on the Soviets' Cold War rival, the United States, which had been courting the Somali government for some time. Somalia's initial friendship with the Soviet Union and later partnership with the United States enabled it to build the largest army in Africa. A new constitution was promulgated in 1979, under which elections for a People's Assembly were held. In October 1980, the SRSP was disbanded, and the Supreme Revolutionary Council was reestablished.
The regime was weakened further in the 1980s as the Cold War drew to a close and Somalia's strategic importance was diminished. The government became increasingly authoritarian, and resistance movements, encouraged by Ethiopia, sprang up across the country, eventually leading to the Somali Civil War. Among the militia groups were the Somali Salvation Democratic Front (SSDF), United Somali Congress (USC), Somali National Movement (SNM) and the Somali Patriotic Movement (SPM), together with the non-violent political oppositions of the Somali Democratic Movement (SDM), the Somali Democratic Alliance (SDA) and the Somali Manifesto Group (SMG).
As the moral authority of Barre's government was gradually eroded, many Somalis became disillusioned with life under military rule. By the mid-1980s, resistance movements supported by Ethiopia's communist Derg administration had sprung up across the country. Barre responded by ordering punitive measures against those he perceived as locally supporting the guerrillas, especially in the northern regions. The clampdown included bombing of cities, with the northwestern administrative centre of Hargeisa, a Somali National Movement (SNM) stronghold, among the targeted areas in 1988.
The clampdown initiated by Barre's government extended its reach beyond the initial bombings in the north to encompass various regions across the country. This reproduction of aggressive strategies aimed at stifling dissent and retaining authority over the populace was a hallmark of the government's repressive actions in the South. One of the most notable instances occurred in 1991, when Barre's regime initiated a ruthless aerial assault that led to the deaths of numerous individuals in the town of Beledwene, situated in southern Somalia.
Another notable instance of Barre's repressive policies occurred in the city of Baidoa, which earned the nickname 'the city of death' due to the events that unfolded there during the famine and civil war. Hundreds of thousands of individuals lost their lives as a consequence of governmental strategies specifically aimed at the Rahanweyn community residing in these areas.
During 1990, in the capital city of Mogadishu, the residents were prohibited from gathering publicly in groups greater than three or four. Fuel shortages, inflation, and currency devaluation impacted the economy. A thriving black market existed in the centre of the city as banks experienced shortages of local currency for exchange. Harsh exchange control regulations were introduced to prevent export of foreign currency. Although no travel restrictions were placed on foreigners, photographing many locations was banned. During daytime in Mogadishu, the appearance of any government military force was extremely rare. Alleged late-night operations by government authorities, however, included "disappearances" of individuals from their homes.
In 1991, the Barre administration was ousted by a coalition of clan-based opposition groups, backed by Ethiopia's then-ruling Derg regime and Libya. Following a meeting of the Somali National Movement and northern clans' elders, the northern former British portion of the country declared its independence as the Republic of Somaliland in May 1991. Although de facto independent and relatively stable compared to the tumultuous south, it was not recognised by any foreign government, until Israel recognised it in 2025.
Many of the opposition groups subsequently began competing for influence in the power vacuum that followed the ouster of Barre's regime. In the south, armed factions led by USC commanders General Mohamed Farah Aidid and Ali Mahdi Mohamed, in particular, clashed as each sought to exert authority over the capital.
Article text from Wikipedia, licensed CC BY-SA 4.0.