Qibla finder / Morocco

Qibla direction from Oujda, 98.7° east

From Oujda, face 98.7° clockwise from true north to face the Kaaba in Makkah, 4,317 km away. With a magnetic compass, face 97.7°.

Qibla from Oujda98.7°

east (E), from true north

Distance to the Kaaba
4,317 km (2,683 miles)
Magnetic compass bearing
97.7°
Magnetic declination
1.0° east
City centre
34.6867, -1.9114

How to face the qibla

Stand with a compass and turn until it reads 97.7°. That is 98.7° from true north, adjusted for the 1.0° east magnetic declination in Oujda. Or open the live compass on your phone.

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

Guide

Why the qibla is east from Oujda

The qibla is the direction of the Kaaba, measured along the shortest path over the globe. From Oujda that path leaves heading east, at 98.7° 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 Oujda is 1.0° east of true north this year, by the World Magnetic Model 2025. That is why the compass bearing, 97.7°, 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
Rabat94.6°E
Marrakesh91.4°E
Fes95.8°E
Tangier97.2°E
Agadir89.3°E
Meknes95.3°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 Oujda?

The qibla from Oujda is 98.7° from true north, which is east. With an ordinary magnetic compass, face 97.7°.

How far is Oujda from Makkah?

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

Why is the qibla east from Oujda?

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.