At a glance
- Mogadishu, the capital: 345°, north-north-west, 2,237 km from the Kaaba.
- The Qibla turns by 40° across the country, from 313° in El Dibir to 353° in Kismayo.
- Closest to Makkah: Boorama, 1,327 km. Farthest: Kismayo, 2,440 km.
- Around Mogadishu, magnetic north and true north are less than a degree apart, so a needle compass can be read as it is.
Qibla from every city in Somalia
Cities of 100,000 people or more, largest first.
| City | Qibla | Direction | Distance to the Kaaba (km) |
|---|---|---|---|
| Mogadishu | 345° | north-north-west | 2,237 |
| Boorama | 345° | north-north-west | 1,327 |
| Hargeisa | 342° | north-north-west | 1,395 |
| Berbera | 336° | north-north-west | 1,341 |
| Kismayo | 353° | north | 2,440 |
| Merca | 347° | north-north-west | 2,256 |
| El Dibir | 313° | north-west | 1,619 |
| Ruqi | 344° | north-north-west | 1,330 |
| Baidoa | 349° | north | 2,077 |
| Cabudwaaq | 338° | north-north-west | 1,823 |
Not on the list? Search any town or use your location on the live compass.
Reading these numbers
Each bearing is measured clockwise from true north along the shortest path over the globe, a great circle, which is how the Qibla is worked out. A flat map can mislead, because the Earth is round.
Phone compasses work best after calibrating with a figure-8, away from metal and magnetic cases. Our guide to finding the Qibla also covers the sun, the local mosque and praying when unsure.
Qibla in other countries
Algeria Angola Congo - Kinshasa Egypt Ethiopia Kenya Morocco Nigeria South Africa Sudan Tanzania Uganda
City data: GeoNames (CC BY 4.0). Magnetic declination: the World Magnetic Model 2025 (NOAA and the British Geological Survey).