Skip to content
Qibla Direction

Qibla Direction

Find the direction of the Kaaba from your current location

We need your location to calculate the Qibla direction

or select your city

What is Qibla?

Qibla refers to the direction that Muslims face during their five daily prayers (Salah). It points toward the Kaaba, the sacred cubic structure located in the Grand Mosque (Masjid al-Haram) in Mecca, Saudi Arabia. Facing the Qibla is a fundamental requirement for the validity of prayer in Islam, uniting over 1.8 billion Muslims worldwide in a single direction of worship. The word "Qibla" comes from the Arabic root meaning "to face" or "to be opposite."

Quranic Reference

"So turn your face toward al-Masjid al-Haram. And wherever you [believers] are, turn your faces toward it [in prayer]."
Surah Al-Baqarah (2:144)

How Does This Tool Work?

Our Qibla finder uses your device's GPS to pinpoint your location and calculates the precise great-circle bearing to the Kaaba (21.4225°N, 39.8262°E) using spherical trigonometry. If your device has a compass sensor, the tool overlays a live compass dial showing the Qibla direction in real time. On desktop, a map with the great-circle arc is displayed instead.

Why Does Qibla Matter?

Facing the Qibla is one of the conditions (shurut) for the validity of Salah according to all four Sunni schools of jurisprudence. Beyond its legal requirement, the unified direction symbolizes the oneness of the Muslim Ummah: regardless of language, ethnicity, or geography, every Muslim turns toward the same point on Earth five times a day.

Qibla Direction from Morocco

From Morocco, the Qibla points approximately east. The bearing ranges from approximately 89° in Agadir (southwest) to about 99° in Oujda (northeast). Casablanca's Qibla is 93.7° from true north, almost exactly due east. The distance to Mecca varies between 4,300 km and 5,700 km depending on the city.

Qibla Bearings for Major Moroccan Cities (Degrees from North)

CityDegrees from NorthMagnetic CompassDistance
Casablanca93.7°96.1°4,824 km
Rabat94.6°96.8°4,758 km
Marrakech91.4°93.5°4,851 km
Fes95.8°97.4°4,590 km
Tangier97.2°98.5°4,687 km
Agadir89.3°91.5°5,004 km
Oujda98.7°100.1°4,317 km
Meknes95.3°97.1°4,638 km
Kenitra95.0°96.8°4,737 km
Tetouan97.3°98.6°4,642 km
Safi91.4°93.6°4,971 km
Essaouira90.3°92.5°5,019 km
Nador98.6°99.9°4,417 km
Laayoune84.7°87.2°5,370 km
Dakhla80.8°83.5°5,697 km

Frequently Asked Questions

The Qibla is the direction toward the Kaaba in Mecca, Saudi Arabia. All Muslims around the world face this direction during their five daily prayers. The exact angle varies depending on your geographic location.