Qibla direction in Morocco
The Qibla in Morocco lies towards the east. Depending on the city the angle from true north ranges from 84.9° in Smara to 98.9° in Ahfir, and the Kaaba is between 4,291 km and 5,227 km away. The table gives the exact bearing for 176 cities.
Stand facing true north, then turn clockwise by the angle of your city. A phone compass shows magnetic north, which in Morocco can differ from true north by a few degrees; our Qibla finder corrects this automatically when your phone reports true heading.
Why the Qibla changes across the country
Between the cities in the table the Qibla angle varies by 14.0°. Bouarfa is the closest to the Kaaba (4,291 km) and Smara the farthest (5,227 km). The farther apart two cities are, the more their bearings to Makkah diverge, which is why the angle of the capital, 94.6°, should not be used everywhere.
Inside a mosque, the mihrab already shows the Qibla. Elsewhere, a compass app, the position of the sun or our Qibla finder can be used; scholars agree that facing the general direction is enough when the exact angle cannot be known.
Qibla in Morocco: questions
What is the Qibla direction in Rabat?
94.6° from true north, towards the east, 4,757 km from the Kaaba.
Which city in Morocco is closest to Makkah?
Bouarfa, 4,291 km from the Kaaba, among the 176 cities listed.
Does a phone compass show the right Qibla?
Only if it is calibrated and corrected for magnetic declination. Turn the phone in a figure 8 and keep it away from metal; our Qibla finder uses the true heading when the phone provides it.
| City | Qibla | Direction | Distance to Makkah |
|---|---|---|---|
| Agadir | 89.3° | east | 5,004 km |
| Agouraï | 95.0° | east | 4,638 km |
| Aguelmous | 94.3° | east | 4,659 km |
| Ahfir | 98.9° | east | 4,339 km |
| Aïn Attig | 94.4° | east | 4,769 km |
| Aïn Beni Mathar | 97.8° | east | 4,318 km |
| Ain El Aouda | 94.4° | east | 4,752 km |
| Aïn Harrouda | 93.8° | east | 4,811 km |
| Aïn Taoujdat | 95.6° | east | 4,608 km |
| Ait Melloul | 89.3° | east | 4,995 km |
| Ait Ourir | 91.5° | east | 4,820 km |
| Ait Yazza | 89.8° | east | 4,927 km |
| Al Aaroui | 98.3° | east | 4,422 km |
| Al Brouj | 92.8° | east | 4,780 km |
| Al Fqih Ben Çalah | 93.1° | east | 4,733 km |
| Al Hoceima | 97.9° | east | 4,509 km |
| Amizmiz | 90.8° | east | 4,874 km |
| Aoulouz | 90.3° | east | 4,868 km |
| Aourir | 89.4° | east | 5,007 km |
| Arfoud | 93.3° | east | 4,495 km |
| Asilah | 96.7° | east | 4,701 km |
| Asni | 91.0° | east | 4,850 km |
| Assa | 87.6° | east | 4,993 km |
| Azemmour | 92.9° | east | 4,892 km |
| Azilal | 92.5° | east | 4,719 km |
| Azla | 97.4° | east | 4,631 km |
| Azrou | 95.0° | east | 4,603 km |
| Bejaâd | 93.5° | east | 4,707 km |
| Ben Ahmed | 93.3° | east | 4,788 km |
| Ben Guerir | 92.1° | east | 4,850 km |
| Ben Jerrar | 89.2° | east | 4,995 km |
| Ben Taieb | 98.0° | east | 4,462 km |
| Beni Enzar | 98.7° | east | 4,419 km |
| Beni Mellal | 93.1° | east | 4,700 km |
| Beni Yakhlef | 93.9° | east | 4,801 km |
| Benslimane | 94.0° | east | 4,781 km |
| Berkane | 98.7° | east | 4,358 km |
| Berrechid | 93.4° | east | 4,821 km |
| Bir Jdid | 93.2° | east | 4,860 km |
| Bni Bouayach | 97.8° | east | 4,498 km |
| Bou Izakarn | 88.0° | east | 5,018 km |
| Bouarfa | 96.0° | east | 4,291 km |
| Boujniba | 93.4° | east | 4,743 km |
| Bouknadel | 94.8° | east | 4,750 km |
| Boumia | 94.3° | east | 4,586 km |
| Bouskoura | 93.5° | east | 4,829 km |
| Bouznika | 94.2° | east | 4,786 km |
| Casablanca | 93.7° | east | 4,826 km |
| Chefchaouen | 96.9° | east | 4,627 km |
| Chichaoua | 90.9° | east | 4,925 km |
| Dar Bouazza | 93.5° | east | 4,844 km |
| Demnate | 92.1° | east | 4,759 km |
| Deroua | 93.5° | east | 4,817 km |
| Douar Toulal | 95.3° | east | 4,643 km |
| Driouch | 98.0° | east | 4,455 km |
| Echemmaia Est | 91.5° | east | 4,913 km |
| El Aïoun | 98.2° | east | 4,369 km |
| El Gara | 93.6° | east | 4,788 km |
| El Hajeb | 95.2° | east | 4,620 km |
| El Harhoura | 94.5° | east | 4,766 km |
| El Jadida | 92.8° | east | 4,907 km |
| El Kelaa des Srarhna | 92.2° | east | 4,798 km |
| El Ksiba | 93.5° | east | 4,671 km |
| El Mansouria | 94.0° | east | 4,798 km |
| Errachidia | 93.8° | east | 4,517 km |
| Essaouira | 90.3° | east | 5,020 km |
| Fes | 95.8° | east | 4,589 km |
| Fnidek | 97.6° | east | 4,645 km |
| Goulmima | 93.2° | east | 4,565 km |
| Guelmim | 87.7° | east | 5,052 km |
| Guercif | 97.1° | east | 4,441 km |
| Gueznaia | 97.1° | east | 4,691 km |
| Had Soualem | 93.4° | east | 4,847 km |
| Ifrane | 95.2° | east | 4,594 km |
| Imi-n-Tanout | 90.5° | east | 4,932 km |
| Imouzzer Kandar | 95.5° | east | 4,587 km |
| Imzouren | 97.9° | east | 4,500 km |
| Inezgane | 89.3° | east | 4,998 km |
| Jerada | 98.1° | east | 4,334 km |
| Karia Ba Mohamed | 96.1° | east | 4,613 km |
| Kasba Tadla | 93.4° | east | 4,694 km |
| Kelaat Mgouna | 92.0° | east | 4,674 km |
| Kenitra | 95.0° | east | 4,737 km |
| Khemisset | 94.9° | east | 4,685 km |
| Khenifra | 94.2° | east | 4,640 km |
| Khouribga | 93.3° | east | 4,755 km |
| Ksar El Kebir | 96.3° | east | 4,683 km |
| Laâttaouia | 92.0° | east | 4,788 km |
| Lahraouyine | 93.7° | east | 4,818 km |
| Lalla Mimouna | 96.0° | east | 4,696 km |
| Larache | 96.3° | east | 4,708 km |
| Lqoliaa | 89.3° | east | 4,991 km |
| Marrakesh | 91.4° | east | 4,852 km |
| Martil | 97.4° | east | 4,635 km |
| Mdiq | 97.4° | east | 4,640 km |
| Méchouar-Kasba | 91.4° | east | 4,851 km |
| Mechraa Bel Ksiri | 95.8° | east | 4,683 km |
| Mediouna | 93.6° | east | 4,816 km |
| Mehdya | 95.0° | east | 4,745 km |
| Meknes | 95.3° | east | 4,638 km |
| Mers El Kheir | 94.4° | east | 4,765 km |
| Midar | 97.9° | east | 4,468 km |
| Midelt | 94.4° | east | 4,552 km |
| Missour | 95.3° | east | 4,486 km |
| Mohammedia | 93.9° | east | 4,805 km |
| Moulay Ali Cherif | 93.1° | east | 4,497 km |
| Mrirt | 94.5° | east | 4,633 km |
| My Drarga | 89.3° | east | 4,992 km |
| Nador | 98.6° | east | 4,417 km |
| Oadar Temsia | 89.4° | east | 4,986 km |
| Ouarzazate | 91.2° | east | 4,746 km |
| Oued Zem | 93.5° | east | 4,724 km |
| Ouezzane | 96.3° | east | 4,651 km |
| Ouislane | 95.4° | east | 4,633 km |
| Oujda | 98.7° | east | 4,317 km |
| Oulad Ayad | 92.7° | east | 4,742 km |
| Oulad Barhil | 90.1° | east | 4,896 km |
| Oulad Tayeb | 95.7° | east | 4,588 km |
| Oulad Teïma | 89.5° | east | 4,967 km |
| Oulmes | 94.5° | east | 4,676 km |
| Outat Oulad Al Haj | 95.9° | east | 4,462 km |
| Rabat | 94.6° | east | 4,757 km |
| Ras el Ma | 95.7° | east | 4,598 km |
| Reçani | 93.1° | east | 4,497 km |
| Ribat Al Khayr | 96.0° | east | 4,532 km |
| Rich | 94.1° | east | 4,526 km |
| Sabaa Aiyoun | 95.4° | east | 4,622 km |
| Safi | 91.4° | east | 4,971 km |
| Salé | 94.7° | east | 4,755 km |
| Salé Al Jadida | 94.7° | east | 4,749 km |
| Sebt Gzoula | 91.3° | east | 4,956 km |
| Sefrou | 95.7° | east | 4,571 km |
| Selouane | 98.4° | east | 4,417 km |
| Settat | 93.1° | east | 4,822 km |
| Setti Fatma | 91.1° | east | 4,821 km |
| Sidi Allal El Bahraoui | 94.8° | east | 4,730 km |
| Sidi Bennour | 92.2° | east | 4,896 km |
| Sidi Ifni | 88.0° | east | 5,062 km |
| Sidi Kacem | 95.6° | east | 4,656 km |
| Sidi Rahal | 93.4° | east | 4,855 km |
| Sidi Slimane | 95.5° | east | 4,677 km |
| Sidi Slimane Echcharaa | 98.7° | east | 4,361 km |
| Sidi Taibi | 94.9° | east | 4,745 km |
| Sidi Yahia El Gharb | 95.3° | east | 4,712 km |
| Skhirate | 94.3° | east | 4,774 km |
| Smara | 84.9° | east | 5,227 km |
| Souk El Arbaa | 95.9° | east | 4,688 km |
| Souk et Tnine Jorf el Mellah | 96.0° | east | 4,641 km |
| Souq Larb’a al Gharb | 95.9° | east | 4,688 km |
| Souq Sebt Oulad Nemma | 92.8° | east | 4,733 km |
| Tabount | 91.2° | east | 4,748 km |
| Tahla | 96.2° | east | 4,537 km |
| Tamallalt | 91.9° | east | 4,807 km |
| Tamansourt | 91.5° | east | 4,863 km |
| Tamesna | 94.4° | east | 4,763 km |
| Tan-Tan | 86.7° | east | 5,157 km |
| Tangier | 97.2° | east | 4,684 km |
| Taounate | 96.6° | east | 4,563 km |
| Taourirt | 97.7° | east | 4,402 km |
| Taroudant | 89.7° | east | 4,935 km |
| Tata | 89.4° | east | 4,848 km |
| Taza | 96.7° | east | 4,501 km |
| Temara | 94.5° | east | 4,763 km |
| Tétouan | 97.3° | east | 4,642 km |
| Tiflet | 94.8° | east | 4,708 km |
| Tine Biougra | 89.2° | east | 4,983 km |
| Tinghir | 92.6° | east | 4,618 km |
| Tirhanimîne | 97.9° | east | 4,510 km |
| Tit Mellil | 93.7° | east | 4,814 km |
| Tiznit | 88.5° | east | 5,018 km |
| Youssoufia | 91.7° | east | 4,904 km |
| Zagora | 91.1° | east | 4,643 km |
| Zaïo | 98.4° | east | 4,396 km |
| Zawyat an Nwaçer | 93.5° | east | 4,825 km |
| Zawyat ech Cheïkh | 93.7° | east | 4,662 km |
| Zeghanghane | 98.5° | east | 4,423 km |
