Constitutions and laws

Laws of Somalia: sources and main codes

In simple words

Somali law draws on three systems: civil law, Islamic law (Sharia) and the customary law called xeer. The 2012 Provisional Constitution says no law may go against the general principles of Sharia. The main codes still date from the Somali Republic and the Somali Democratic Republic: the Penal Code (1962, in force 1964), the Criminal Procedure Code (1963), the Civil Code (Law No. 37 of 2 June 1973) and the Family Law of 1975. Since 2012 the Federal Parliament has added laws on citizenship, elections, parties, data protection, payments, cybercrime and more.

Last checked 2026-11-17 7 sources Reading time: 3 min

Where does Somali law come from?

Formal Somali law draws on three systems: civil law, Islamic law (Sharia) and xeer, the Somali customary law (Wikipedia, Xeer, citing the CIA World Factbook). Under xeer, elders known as xeer begti act as mediators and judges, taking precedent and custom into account (same source). Different groups interpret xeer differently (same source).

Before 1960, British Somaliland used laws from the British system and Italian Somaliland used Italian laws (Wikimedia Commons, Copyright rules by territory: Somalia). After union in 1960 the Somali Republic replaced these with national codes, listed below.

The constitution

The Provisional Constitution of 2012 is the top law of the Federal Republic. It states that no law may be enacted that does not comply with the general principles and objectives of Sharia (Article 2; Constitute Project, Somalia's Constitution of 2012). Member states have their own constitutions, such as the Constitution of Puntland.

The main codes

Code Law and date In force Notes Source
Penal Code Legislative Decree No. 5, 1 December 1962 1964 three books: offences in general, crimes, contraventions; "still largely applied" FAOLEX via UNEP LEAP
Criminal Procedure Code 1963 — part of the framework in force EUAA, June 2026
Prison Law and Custodial Corps Act 1972 — part of the framework in force EUAA
Civil Code Law No. 37, 2 June 1973 1 July 1973 958 articles on obligations, contracts and property; official versions in Arabic and Italian FAOLEX via UNEP LEAP
Family Law January 1975 — equal inheritance for women and men Library of Congress Country Study
Copyright Law Law No. 66, 7 September 1977 — life plus 30 years Copyright law of Somalia
Prison Regulation 1984 — rules for the country's prisons EUAA

The 1975 Family Law

In early January 1975 Siad Barre announced a new family law that gave women the right to inherit on an equal basis with men. Twenty-three religious leaders in Mogadishu protested inside their mosques; they were arrested and charged with acting for a foreign power and violating state security, and ten were executed (Library of Congress, Somalia: A Country Study, "Islam in the Colonial Era and After"). For the period, see Siad Barre era, 1969–1991.

Laws passed since 2012

These federal laws each have their own page:

Treaties

For the human rights treaties Somalia has joined, see Human rights treaties of Somalia and ICCPR and Somalia.

Courts and officials

Sources

  1. Wikipedia, Xeer · en.wikipedia.org
  2. Wikimedia Commons, Copyright rules by territory: Somalia · commons.wikimedia.org
  3. Constitute Project, Somalia's Constitution of 2012 · constituteproject.org
  4. FAOLEX via UNEP LEAP · leap.unep.org
  5. EUAA, June 2026 · euaa.europa.eu
  6. FAOLEX via UNEP LEAP · leap.unep.org
  7. Library of Congress Country Study · countrystudies.us

Same era

Keep reading