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.

Bearing from true north, measured clockwise
CityQiblaDirectionDistance to Makkah
Agadir89.3°east5,004 km
Agouraï95.0°east4,638 km
Aguelmous94.3°east4,659 km
Ahfir98.9°east4,339 km
Aïn Attig94.4°east4,769 km
Aïn Beni Mathar97.8°east4,318 km
Ain El Aouda94.4°east4,752 km
Aïn Harrouda93.8°east4,811 km
Aïn Taoujdat95.6°east4,608 km
Ait Melloul89.3°east4,995 km
Ait Ourir91.5°east4,820 km
Ait Yazza89.8°east4,927 km
Al Aaroui98.3°east4,422 km
Al Brouj92.8°east4,780 km
Al Fqih Ben Çalah93.1°east4,733 km
Al Hoceima97.9°east4,509 km
Amizmiz90.8°east4,874 km
Aoulouz90.3°east4,868 km
Aourir89.4°east5,007 km
Arfoud93.3°east4,495 km
Asilah96.7°east4,701 km
Asni91.0°east4,850 km
Assa87.6°east4,993 km
Azemmour92.9°east4,892 km
Azilal92.5°east4,719 km
Azla97.4°east4,631 km
Azrou95.0°east4,603 km
Bejaâd93.5°east4,707 km
Ben Ahmed93.3°east4,788 km
Ben Guerir92.1°east4,850 km
Ben Jerrar89.2°east4,995 km
Ben Taieb98.0°east4,462 km
Beni Enzar98.7°east4,419 km
Beni Mellal93.1°east4,700 km
Beni Yakhlef93.9°east4,801 km
Benslimane94.0°east4,781 km
Berkane98.7°east4,358 km
Berrechid93.4°east4,821 km
Bir Jdid93.2°east4,860 km
Bni Bouayach97.8°east4,498 km
Bou Izakarn88.0°east5,018 km
Bouarfa96.0°east4,291 km
Boujniba93.4°east4,743 km
Bouknadel94.8°east4,750 km
Boumia94.3°east4,586 km
Bouskoura93.5°east4,829 km
Bouznika94.2°east4,786 km
Casablanca93.7°east4,826 km
Chefchaouen96.9°east4,627 km
Chichaoua90.9°east4,925 km
Dar Bouazza93.5°east4,844 km
Demnate92.1°east4,759 km
Deroua93.5°east4,817 km
Douar Toulal95.3°east4,643 km
Driouch98.0°east4,455 km
Echemmaia Est91.5°east4,913 km
El Aïoun98.2°east4,369 km
El Gara93.6°east4,788 km
El Hajeb95.2°east4,620 km
El Harhoura94.5°east4,766 km
El Jadida92.8°east4,907 km
El Kelaa des Srarhna92.2°east4,798 km
El Ksiba93.5°east4,671 km
El Mansouria94.0°east4,798 km
Errachidia93.8°east4,517 km
Essaouira90.3°east5,020 km
Fes95.8°east4,589 km
Fnidek97.6°east4,645 km
Goulmima93.2°east4,565 km
Guelmim87.7°east5,052 km
Guercif97.1°east4,441 km
Gueznaia97.1°east4,691 km
Had Soualem93.4°east4,847 km
Ifrane95.2°east4,594 km
Imi-n-Tanout90.5°east4,932 km
Imouzzer Kandar95.5°east4,587 km
Imzouren97.9°east4,500 km
Inezgane89.3°east4,998 km
Jerada98.1°east4,334 km
Karia Ba Mohamed96.1°east4,613 km
Kasba Tadla93.4°east4,694 km
Kelaat Mgouna92.0°east4,674 km
Kenitra95.0°east4,737 km
Khemisset94.9°east4,685 km
Khenifra94.2°east4,640 km
Khouribga93.3°east4,755 km
Ksar El Kebir96.3°east4,683 km
Laâttaouia92.0°east4,788 km
Lahraouyine93.7°east4,818 km
Lalla Mimouna96.0°east4,696 km
Larache96.3°east4,708 km
Lqoliaa89.3°east4,991 km
Marrakesh91.4°east4,852 km
Martil97.4°east4,635 km
Mdiq97.4°east4,640 km
Méchouar-Kasba91.4°east4,851 km
Mechraa Bel Ksiri95.8°east4,683 km
Mediouna93.6°east4,816 km
Mehdya95.0°east4,745 km
Meknes95.3°east4,638 km
Mers El Kheir94.4°east4,765 km
Midar97.9°east4,468 km
Midelt94.4°east4,552 km
Missour95.3°east4,486 km
Mohammedia93.9°east4,805 km
Moulay Ali Cherif93.1°east4,497 km
Mrirt94.5°east4,633 km
My Drarga89.3°east4,992 km
Nador98.6°east4,417 km
Oadar Temsia89.4°east4,986 km
Ouarzazate91.2°east4,746 km
Oued Zem93.5°east4,724 km
Ouezzane96.3°east4,651 km
Ouislane95.4°east4,633 km
Oujda98.7°east4,317 km
Oulad Ayad92.7°east4,742 km
Oulad Barhil90.1°east4,896 km
Oulad Tayeb95.7°east4,588 km
Oulad Teïma89.5°east4,967 km
Oulmes94.5°east4,676 km
Outat Oulad Al Haj95.9°east4,462 km
Rabat94.6°east4,757 km
Ras el Ma95.7°east4,598 km
Reçani93.1°east4,497 km
Ribat Al Khayr96.0°east4,532 km
Rich94.1°east4,526 km
Sabaa Aiyoun95.4°east4,622 km
Safi91.4°east4,971 km
Salé94.7°east4,755 km
Salé Al Jadida94.7°east4,749 km
Sebt Gzoula91.3°east4,956 km
Sefrou95.7°east4,571 km
Selouane98.4°east4,417 km
Settat93.1°east4,822 km
Setti Fatma91.1°east4,821 km
Sidi Allal El Bahraoui94.8°east4,730 km
Sidi Bennour92.2°east4,896 km
Sidi Ifni88.0°east5,062 km
Sidi Kacem95.6°east4,656 km
Sidi Rahal93.4°east4,855 km
Sidi Slimane95.5°east4,677 km
Sidi Slimane Echcharaa98.7°east4,361 km
Sidi Taibi94.9°east4,745 km
Sidi Yahia El Gharb95.3°east4,712 km
Skhirate94.3°east4,774 km
Smara84.9°east5,227 km
Souk El Arbaa95.9°east4,688 km
Souk et Tnine Jorf el Mellah96.0°east4,641 km
Souq Larb’a al Gharb95.9°east4,688 km
Souq Sebt Oulad Nemma92.8°east4,733 km
Tabount91.2°east4,748 km
Tahla96.2°east4,537 km
Tamallalt91.9°east4,807 km
Tamansourt91.5°east4,863 km
Tamesna94.4°east4,763 km
Tan-Tan86.7°east5,157 km
Tangier97.2°east4,684 km
Taounate96.6°east4,563 km
Taourirt97.7°east4,402 km
Taroudant89.7°east4,935 km
Tata89.4°east4,848 km
Taza96.7°east4,501 km
Temara94.5°east4,763 km
Tétouan97.3°east4,642 km
Tiflet94.8°east4,708 km
Tine Biougra89.2°east4,983 km
Tinghir92.6°east4,618 km
Tirhanimîne97.9°east4,510 km
Tit Mellil93.7°east4,814 km
Tiznit88.5°east5,018 km
Youssoufia91.7°east4,904 km
Zagora91.1°east4,643 km
Zaïo98.4°east4,396 km
Zawyat an Nwaçer93.5°east4,825 km
Zawyat ech Cheïkh93.7°east4,662 km
Zeghanghane98.5°east4,423 km

Qibla finder