Qibla · Medina Region
Qibla direction in Al-Madinah al-Munawwarah
To face the Kaaba in Al-Madinah al-Munawwarah, turn to 176.3° measured clockwise from true north, which is south (3.7° east of south). The Sacred Mosque in Mecca lies 339 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Al-Madinah al-Munawwarah should follow.
Line up the top of your phone or compass with the green needle: it marks 176.3°, the Qibla of Al-Madinah al-Munawwarah. Phone compasses usually display true north, so a reading of 176° is all you need; a needle compass reads magnetic north and needs the local declination added or subtracted first.
Find the Qibla with your phone
How to face the Qibla in Al-Madinah al-Munawwarah
Stand where you will pray and find north first. Then turn towards south and move a further 3.7° towards east: the result is the bearing of 176.3°. The direction is close to due south, which makes it easy to remember.
Facing the Qibla is a condition of the prayer. Whoever prays inside the Sacred Mosque faces the Kaaba itself; whoever is far away, as in Al-Madinah al-Munawwarah, faces its direction and makes a sincere effort to be accurate. Any of the mosques of Al-Madinah al-Munawwarah is a handy reference, because the prayer rows were aligned when it was built. Once you know the direction at home, a discreet mark on the wall saves you from checking again.
Why a flat map shows a different direction
On a flat (Mercator) map, the straight line from Al-Madinah al-Munawwarah to Mecca points to 176.3°, only 0.0° away from the true Qibla. Here the two methods practically agree, so a map gives a usable first idea, although the 176.3° bearing remains the exact one.
How is the figure of 176.3° obtained? From the coordinates of Al-Madinah al-Munawwarah (24.4686° N, 39.6142° E) and of the Kaaba (21.4225° N, 39.8262° E), spherical trigonometry gives the starting bearing of the great circle joining them. Mosque architects and astronomical Qibla tables rely on exactly the same calculation.
Distance from Al-Madinah al-Munawwarah to Mecca and Medina
Mecca is 339 km from Al-Madinah al-Munawwarah as the crow flies, and Medina, the city of the Prophet ﷺ, is less than 1 km away. The distance is short enough that many pilgrims from Al-Madinah al-Munawwarah travel to the Hijaz by road.
Clocks in Al-Madinah al-Munawwarah run the same time as Mecca all year. Prayer times, however, depend on the sun at your own location, so always use the prayer times of Al-Madinah al-Munawwarah rather than those of Mecca.
Finding the Qibla with the sun in Al-Madinah al-Munawwarah
On 365 days of 2027, the sun passes exactly through the Qibla direction of Al-Madinah al-Munawwarah while it is well above the horizon. At that moment, facing the sun means facing Mecca. The effect is most frequent in January (31 days); for example, on 1 January 2027 it happens at 12:13 local time.
The sun is never opposite the Qibla of Al-Madinah al-Munawwarah during daylight, so the shadow method does not apply here; the left-hand column is the one to use.
| Date | Sun in the Qibla direction (face the sun) | Sun opposite (shadows point to the Qibla) |
|---|---|---|
| 1 January 2027 | 12:13 | — |
| 15 January 2027 | 12:19 | — |
| 1 February 2027 | 12:25 | — |
| 15 February 2027 | 12:26 | — |
| 1 March 2027 | 12:26 | — |
| 15 March 2027 | 12:24 | — |
| 1 April 2027 | 12:20 | — |
| 15 April 2027 | 12:18 | — |
| 1 May 2027 | 12:16 | — |
| 15 May 2027 | 12:16 | — |
| 1 June 2027 | 12:19 | — |
| 15 June 2027 | 12:22 | — |
| 1 July 2027 | 12:25 | — |
| 15 July 2027 | 12:27 | — |
| 1 August 2027 | 12:26 | — |
| 15 August 2027 | 12:23 | — |
| 1 September 2027 | 12:17 | — |
| 15 September 2027 | 12:11 | — |
| 1 October 2027 | 12:04 | — |
| 15 October 2027 | 11:59 | — |
| 1 November 2027 | 11:56 | — |
| 15 November 2027 | 11:55 | — |
| 1 December 2027 | 11:59 | — |
| 15 December 2027 | 12:05 | — |
Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both moments are in daylight in Al-Madinah al-Munawwarah: at 12:18 and 12:27 local time, face the sun and you face the Qibla exactly, anywhere in the city.
Al-Madinah al-Munawwarah compared with other cities
Compared with Riyadh, 719 km away, the Qibla in Al-Madinah al-Munawwarah is turned 67.9° further anticlockwise (176.3° against 244.2°), and Mecca is 454 km closer. The nearest city with its own Qibla page, Yanbu (163 km), prays towards 148.3°, a difference of 28.0°.
Across the 27 cities in Saudi Arabia on this site, the Qibla ranges from 96.4° in Jeddah to 330.8° in Jizan, a spread of 234.5°. That is too large to use one national direction, so each city has its own bearing.
See all cities on the Qibla page for Saudi Arabia.
Qibla in cities near Al-Madinah al-Munawwarah
Qibla in Al-Madinah al-Munawwarah: questions and answers
What is the Qibla direction in Al-Madinah al-Munawwarah?
It is 176.3° from true north, which is south: 3.7° east of south.
How far is Al-Madinah al-Munawwarah from Mecca?
339 km in a straight line over the globe, and less than 1 km to Medina.
When does the sun show the Qibla in Al-Madinah al-Munawwarah?
On 365 days of 2027 the sun stands in the Qibla direction; the table on this page gives the exact time for the 1st and 15th of each month.
Is the Qibla the same everywhere in Saudi Arabia?
No. It ranges from 96.4° to 330.8° across the country, so each city has its own bearing.
Does the Qibla change during the year?
No. The direction of 176.3° is fixed; only the times when the sun lines up with it change from day to day.
