The earliest evidence is fragmentary. Laas Geel in Somaliland contains rock art showing cattle, sheep, goats and people; early phases are generally placed in the third to second millennia BCE, although dating and interpretation remain debated. Mobile pastoral and agro-pastoral systems became long-term features of life in the region. Camels appear clearly later in Horn of Africa rock art and economic systems, roughly from the end of the first millennium BCE to the first century CE. Rock art does not provide a reliable linear account of Somali ethnic origins. Ancient sources connect the Horn of Africa to Red Sea, Arabian and Indian Ocean trade. Egyptian references to the Land of Punt describe incense, myrrh, ivory and other valuable goods, but they do not securely identify Punt with present-day Somalia or Puntland. The Periplus of the Erythraean Sea, usually dated to about 40–70 CE, describes ports including Opone, commonly associated with Ras Hafun, although that identification remains hypothetical. Malao is often associated with Berbera, but such identifications also require caution. Ceramics from Ras Hafun and other evidence show long-distance contact, not the existence of one unified ancient Somali kingdom. Islam spread through coastal centers from about the seventh century. Zeila, also called Saylac, Mogadishu, also called Xamar, Marka, Baraawe, Berbera and Hafun became ports, trading centers and places of scholarship. Arabic sources are valuable but selective. Ifat and Adal, with Zeila as a major center, were involved in changing relations and wars with Christian Ethiopia. The campaigns led by Ahmad ibn Ibrahim al-Ghazi from 1529 to 1543 connect the late medieval period with the early modern era. The Ajuran Sultanate influenced parts of southern and central Somalia through water management, river and coastal control, although its dates and territorial reach remain disputed. Coral-stone mosques and urban remains provide material evidence. Political life combined clan, port, sultanate, Islamic and trading orders rather than following a continuous national-state model. During the sixteenth century, Portuguese attacks, Ottoman influence and conflicts around the Red Sea changed regional trade paths. From the seventeenth to the nineteenth century, local sultanates and emirates including Geledi, Hobyo and Majeerteen shaped coastal trade, caravan connections, farming along the Shabelle and Juba rivers and pastoral economies. Historical territories and names from these periods should not be mapped directly onto modern borders. Slavery, forced dependency and related trading systems were also part of regional history, although evidence differs by place and period. Colonial rule divided Somali-inhabited territories among several administrations. British Somaliland, Italian Somaliland, French Somaliland, Ethiopian borderlands and the Kenya borderlands developed under different authorities. Britain established a protectorate through agreements from 1884 to 1889, while Italy obtained protection agreements and coastal control from 1889 onward. The Dervish resistance led by Sayyid Maxamed Cabdulle Xasan lasted from 1899 to 1920 and opposed British, Italian and Ethiopian power before its military defeat. In 1925, Jubaland was transferred from Kenya to Italy. Italy's war against Ethiopia in 1935–1936 incorporated the territory into Italian East Africa, and Britain administered much of the area militarily from 1941. From 1950 to 1960, the United Nations Trust Territory of Somaliland was administered by Italy. British Somaliland became independent on 26 June 1960 and united with the Trust Territory on 1 July 1960 to form the Somali Republic. The colonial administrations left different legal systems, schools, infrastructure and political elites, creating a dual institutional inheritance. Colonial borders and the idea of Greater Somalia continued to influence regional conflicts and political claims. The Somali Republic was a parliamentary, unitary republic from 1960 to 1969. Its 1961 constitution and referendum accompanied difficult integration between the former British and Italian systems. Party competition, clan alliances and the policy of Greater Somalia shaped the early state. Somalia fought Ethiopia in 1964 and pursued claims concerning Somali-inhabited areas in Ethiopia, Kenya and Djibouti. President Abdirashid Ali Shermarke was assassinated on 15 October 1969. On 21 October 1969, Maxamed Siyaad Barre took power through a military coup, suspended political parties and the constitution and established the Supreme Revolutionary Council. The government introduced Scientific Socialism in 1970, centralized authority and nationalized major parts of the economy. It adopted a modified Latin alphabet for Somali in 1972 and joined the Arab League in 1974. The Ogaden War of 1977–1978 ended in Somali defeat after the Soviet Union shifted support to Ethiopia. The war intensified militarization and political opposition. The Somali Salvation Democratic Front emerged in 1978, the Somali National Movement in 1981, and later the Somali Democratic Movement, Somali Patriotic Movement and United Somali Congress became major armed organizations. An agreement with Ethiopia in 1988 was followed by intensified fighting in the north, including severe destruction in Hargeisa and other areas. The regime collapsed in 1991. Interpreting this period requires more than one explanation: colonial institutions and borders, authoritarian rule, the Ogaden War, Cold War intervention, economic exclusion, land and resource policy, drought, famine and militarization all contributed to later state failure. From 1991 to 2000, southern and central Somalia experienced state collapse and civil war, while political authority continued in different forms elsewhere. Mogadishu was divided among armed factions. Somaliland declared its independence in 1991 and developed de facto institutions, although it has not received international recognition as a sovereign state. Puntland established an autonomous administration in 1998. The United Nations imposed an arms embargo in 1992 and created United Nations Operation in Somalia, followed by the United States-led Unified Task Force and a second United Nations operation between 1993 and 1995. These interventions combined humanitarian relief with external attempts at peace-making and state reconstruction but did not create a stable national settlement. The Arta Conference in 2000 produced a Transitional National Government and the 4.5 power-sharing formula, which allocated political representation through a negotiated clan-based system. The Transitional Federal Government followed in 2004. In 2006, the Islamic Courts Union controlled Mogadishu before an Ethiopian intervention at the end of that year displaced it and contributed to the rise of Al-Shabaab. The African Union Mission in Somalia began operating in 2007. The 2012 Provisional Federal Constitution created the Federal Government of Somalia and formally ended the transition. Several Federal Member States were established or consolidated from 2013 to 2016, but disputes over authority, borders and resources continued between the federal government and member states. A peaceful transfer of power took place in 2017. Electoral delays in 2020 and 2021 maintained an indirect election model. Hassan Sheikh Mohamud returned as president in 2022. Government offensives against Al-Shabaab in 2022 and 2023 recovered some territory but were followed by counterattacks and displacement. Somalia reached the Heavily Indebted Poor Countries completion point in 2023 and joined the East African Community in 2024. Constitutional changes adopted in 2024 aimed toward direct presidential elections and produced disputes with opposition groups and Federal Member States. Puntland distanced itself from the federal government, conflict continued around Jubaland, and Sool and Sanaag remained contested. The African Union Transition Mission in Somalia was replaced by the African Union Support and Stabilization Mission in Somalia on 1 January 2025. The United Nations Assistance Mission in Somalia became the United Nations Transitional Mission in Somalia on 31 October 2024, with transition and closure planned by 31 October 2026. Several themes connect different periods. Monsoon winds, Red Sea routes and Indian Ocean shipping linked Somali ports to Arabia, East Africa and South Asia. Pastoralism, river agriculture, port commerce and migration interacted rather than forming separate histories. Islam, clan-based social organization and xeer influenced cooperation and dispute settlement. Xeer is a set of orally transmitted customary rules whose content varies between communities and is not one uniformly codified national law. Somali poetry and oral tradition preserve political memory, genealogy and social knowledge; women, elders and local communities are central to transmission. Drought, climate shocks, migration and disputes over land and resources repeatedly created historical breaks and new forms of cooperation. Research uses archaeological sites, Arabic geographies and chronicles, the Periplus of the Erythraean Sea, Egyptian evidence concerning Punt, European colonial archives, state and UN documents, oral history, genealogies, poetry, radio records and documentary archives. Public digital collections from the United Nations, UNESCO, the Library of Congress and the World Bank are generally freely accessible. Field research and access to sites depend on security, protection status and local consent, which vary considerably. Research coverage is especially incomplete in southern and central Somalia because of conflict and limited access. Oral accounts are essential evidence but do not automatically provide a fixed chronology; they should be compared with material, written and recorded sources. The Federal Ministry of Information, Culture and Tourism, its Department of Culture, the Somalia Academy of Science and Arts, the Somali National Commission for UNESCO, universities, Federal Member State and Somaliland authorities, museums, libraries, media archives, elders and local communities all contribute to historical and heritage work. The National Museum, National Library and National Theatre have reopened after roughly three decades of conflict-related interruption. The Radio Mogadishu Archive functions as a living national memory resource. Somalia ratified the UNESCO World Heritage Convention and the 2003 Convention for the Safeguarding of the Intangible Cultural Heritage, with both taking effect on 23 October 2020. As of 2025, Somalia had no UNESCO World Heritage sites and three sites on the Tentative List. Heritage remains exposed to war, looting, urbanization, weak protection capacity and insecure field access. No single national archive or uniform national access process covers all historical material. Historical memory is contested. Somaliland presents a different institutional and political history from the Federal Government's claim to territorial unity. Memories of Greater Somalia include Somali-inhabited areas in Ethiopia, Kenya and Djibouti and should not be treated as a description of the present-day republic. The 1991 collapse ended central government control in much of southern and central Somalia but did not eliminate all governance. The legacy of Siyaad Barre combines state-led modernization and Somali nationalism with repression and centralization, depending on the sources and communities considered. Reliable history therefore compares official records, local testimony, clan and diaspora memories, material evidence and external accounts instead of treating one narrative as complete.
History in Somalia
History in Somalia traces changing societies, economies, political orders and connections from prehistoric pastoral communities to the present. Evidence includes archaeology, Arabic and European records, state and UN documents, archives, oral history, genealogies and poetry, but coverage is uneven, especially in southern and central Somalia. Coastal trade, Islam, community organization, colonial partition, state-building, conflict and diaspora memory shaped the country without forming one continuous centralized Somali state. Historical interpretation must distinguish present-day Somalia from wider Somali regions and compare competing official, local and community memories.
VivAVia can make mistakes. Check important information.

