Qibla finder / Morocco

Qibla direction from Rabat, 94.6° east

From Rabat, face 94.6° clockwise from true north to face the Kaaba in Makkah, 4,758 km away. With a magnetic compass, face 94.9°.

Qibla from Rabat94.6°

east (E), from true north

Distance to the Kaaba
4,758 km (2,957 miles)
Magnetic compass bearing
94.9°
Magnetic declination
0.2° west
City centre
34.0209, -6.8416

How to face the qibla

Stand with a compass and turn until it reads 94.9°. That is 94.6° from true north, adjusted for the 0.2° west magnetic declination in Rabat. Or open the live compass on your phone.

Worked out for the centre of Rabat. Across the city the direction changes by less than a degree.

Guide

Why the qibla is east from Rabat

The qibla is the direction of the Kaaba, measured along the shortest path over the globe. From Rabat that path leaves heading east, at 94.6° from true north. Flat maps distort this route, so it can look wrong on a map even though it is the true direction.

A compass points to magnetic north, which in Rabat is 0.2° west of true north this year, by the World Magnetic Model 2025. That is why the compass bearing, 94.9°, differs from the true bearing.

Hanafi position

Someone far from Makkah faces the direction (jihah) of the Kaaba. A small turn to the left or right does not affect the prayer, and a prayer made after a genuine effort stays valid even if you later learn you were slightly off.

Other madhhabs
Shafi'i
The stronger view is to aim at the Kaaba itself by your best effort, even from far away.
Maliki, Hanbali
Facing the direction is enough, as in the Hanafi school.

Qibla from other cities in Morocco

CityQiblaDirection
Casablanca93.7°E
Marrakesh91.4°E
Fes95.8°E
Tangier97.2°E
Agadir89.3°E
Meknes95.3°E
Oujda98.7°E
Tetouan97.3°E

Checked by our team. For a more accurate answer to your own situation, consult a scholar.

Questions

Good to know

What is the qibla direction from Rabat?

The qibla from Rabat is 94.6° from true north, which is east. With an ordinary magnetic compass, face 94.9°.

How far is Rabat from Makkah?

About 4,758 km (2,957 miles) in a straight line over the globe.

Why is the qibla east from Rabat?

The qibla follows the shortest route over the curved Earth to the Kaaba, called a great circle. On a flat map this route looks curved, so the direction can look different from what a map suggests.

How exact do I need to be?

In the Hanafi school, someone far from Makkah faces the general direction of the Kaaba. A small turn to either side does not affect the prayer. Do your best, or follow the direction of your local masjid.