Somalia's Laws for Foreigners: Alcohol, Religion, ID and Speech
Alcohol is banned, religion is not a subject for conversation, and a dance video can get you arrested. The rules a visitor to Somalia needs.
Last updated 16 Nov 2026 · 6 min read
In Somalia the law isn't one thing. There's the written law of the federal state, which the government began reviewing again in 2025 and which Human Rights Watch calls outdated. There's Sharia, adopted but applied unevenly. There are military courts that try terrorism cases. And in areas they control, armed groups impose their own rules by force. A foreign professional inside the airport zone meets only a small part of this, but that part is strict. This article lists what applies to you.
The laws that apply to you
Somalia has adopted Sharia law, though the Foreign Office says it isn't fully implemented, and armed groups such as al-Shabaab hold extreme interpretations of it. Drinking and selling alcohol are banned. Drug offences are treated seriously and can mean long prison sentences without bail. Same-sex sexual activity is illegal; Human Rights Watch gives the penalty as up to three years. For Somali Muslims, converting from Islam or promoting any other religion is illegal, which means a foreigner should never discuss faith in a way that could be read as persuasion. You should carry your passport and visa as ID.
Alcohol
The ban covers drinking as well as selling. There's no exemption in the published advice for non-Muslims or for private premises. Whatever you may hear about what happens inside particular compounds, the law is the law, your organisation's code of conduct will repeat it, and a bottle in your luggage at customs is a problem you chose. Don't bring it and don't accept it.
This is one of the modules in the Somalia field guide.
Religion
For Somali Muslims it's illegal to convert from Islam or to promote any other religion. A foreigner isn't the target of that law, but can easily create a problem for a Somali under it. Don't give anyone religious literature. Don't debate belief. If you're asked about your own faith, answer briefly and respectfully and move on. Carry nothing in your bags that could be taken for missionary material.
Ramadan
The fasting month brings rules for public behaviour. The Foreign Office's list: no eating, drinking, smoking or chewing gum in public during daylight; no loud music, dancing or swearing in public; observe the dress code. They apply to non-Muslims as well, and inside a compound the considerate course is to follow them anywhere Somali staff can see you.
Same-sex relationships
Same-sex sexual activity is illegal. The Foreign Office adds that partners shouldn't show affection in public, and Human Rights Watch gives the maximum sentence as three years. Staff this affects should raise it with their employer before deployment, and should assume that a phone can be inspected.
Drugs
Drug offences are treated seriously, with lengthy prison sentences and no bail. Carry medicine in original packaging with a prescription or doctor's letter.
Speech, cameras and phones
Human Rights Watch records a tightening of control over information in 2025. On 6 March the information minister announced a ban on reporting about issues that could pose a security threat. After the 18 March bombing of the presidential convoy, police briefly detained at least 22 journalists and media workers and closed a media outlet. In September four TikTok users and another person were arrested over a dance video said to insult the president. A UN expert raised concerns about the broad powers of the National Security Agency. For a visitor the rule is simple: photograph nothing to do with security, post nothing about it, and offer no opinions about the country's leaders.
Military courts and security powers
Human Rights Watch reports that military courts, which don't meet basic fair-trial standards, tried terrorism cases and handed down death sentences, and that a UN special rapporteur raised concerns about due process and the powers of the National Security Agency. The agency is also the body that staffs the checkpoints on the airport road and, according to the EU asylum agency's report, vets newcomers who want to rent or buy property in Mogadishu. In other words the security service is the part of the state you'll meet most. Be polite, be patient and have your documents ready.
Identification and checkpoints
Carry your passport and visa. Government forces, militias and armed groups all operate checkpoints, and the advice is to follow the instructions of police and military closely. In the city, vehicles are screened against a government database and unregistered ones are turned back; near the presidential palace only vehicles with special authorisation pass. None of this is negotiable at the barrier. If something is wrong, your driver and your security officer sort it out, not you.
Ransom
One UK law reaches you in Somalia. The Foreign Office states that the Terrorism Act 2000 makes payments to terrorists illegal, ransom included, and that the government's policy is to make no substantive concessions to hostage takers. It's a reason to work only for an organisation with a proper kidnap response plan.
Dual nationals
British nationals of Somali or Somaliland descent are treated by the local authorities as dual nationals. The Foreign Office says it can offer only limited consular support in those cases, on top of the fact that there's no in-person support in Mogadishu at all.
Why this series doesn't cover meeting Somali citizens
Some country guides talk about social life with local people. This one can't. A foreigner in Mogadishu can't move without an armed escort, and the ordinary places where people meet, hotels, restaurants, the beach, are the places the Foreign Office lists as attack targets and kidnap hotspots. Sharia law is in force in part and enforced in extreme form by armed groups. Human Rights Watch reports that gender-based violence is widespread and that parliament has failed to pass a sexual violence bill. A Somali woman seen with a foreign man would carry a risk he couldn't judge and couldn't share. Keep every relationship with Somali citizens professional.
Property, evictions and business
Renting or buying property in Mogadishu requires registration with local government, usually with local guarantors. Human Rights Watch reports waves of forced evictions in the city. Business visitors should take local legal advice through their sponsor before signing anything involving land or premises.
Visas as a legal matter
Entering without the right visa is an offence like any other. Mogadishu requires a federal eVisa obtained before travel, and Somaliland issues its own on arrival and doesn't accept the federal one. Our article on flights and visas explains how the two fit together.
If you're stopped or held
Do what police and soldiers tell you, which is the Foreign Office's own wording. Hand over your passport and visa when asked. Say who employs you and that your office knows your whereabouts. Don't argue, don't film, and don't sign a document you can't read. Ask for your organisation to be told and keep asking. British consular staff won't come to you in Mogadishu, so the first people able to act will be your employer's.
The bottom line
Don't bring or drink alcohol. Don't discuss religion. Respect Ramadan in public. Carry your passport and visa. Take no photographs of anything connected with security and post nothing about the government. Keep medicine documented. Understand that the security service has wide powers and that British consular help is in Nairobi. None of this is difficult inside the zone, provided you know it before you land.
Common questions
Is alcohol legal in Somalia?
No. The FCDO says drinking and selling alcohol are banned.
Does Somalia have Sharia law?
Sharia law is adopted but not fully implemented, according to the FCDO. Armed groups hold extreme interpretations.
Is homosexuality illegal in Somalia?
Yes. HRW says consensual same-sex conduct is criminalised with up to three years in prison.
What ID should I carry in Somalia?
Your passport and visa.
Can I eat in public during Ramadan in Somalia?
The FCDO advises not eating, drinking, smoking or chewing gum in public during the daytime in Ramadan.
From the Journal: how the high-end dating apps compare
Get the update by email
The monthly country update — what changed in the guides, and what's on next month. No spam, one email a month.
- FCDO — Somalia travel advice (current Nov 2026)
- FCDO — Somalia safety and security
- FCDO — Somalia regional risks
- FCDO — Somalia entry requirements
- Human Rights Watch — World Report 2026, Somalia
- EU Agency for Asylum — Mogadishu: mobility and accessibility, May 2025
- FlightConnections — non-stop flights to Mogadishu
- Office Holidays — Somalia holidays 2027
- The Irish Times — Halane camp, Mogadishu Letter, Apr 2022
- Preply — Somali travel phrases