Qibla · Quintana Roo

Qibla direction in Cancún

To face the Kaaba in Cancún, turn to 54.1° measured clockwise from true north, which is north-east (35.9° north of east). The Sacred Mosque in Mecca lies 12,536 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Cancún should follow.

The compass rose shows the Qibla of Cancún as a needle at 54.1°. With a phone app set to true north, simply turn until it reads 54°. A traditional magnetic compass also works, provided you allow for the local difference between magnetic and true north.

Find the Qibla with your phone

How to face the Qibla in Cancún

Stand where you will pray and find north first. Then turn towards east and move a further 35.9° towards north: the result is the bearing of 54.1°. Because the angle sits far from the cardinal points, a rough guess such as “east” would be off by more than 30°, which is why a measured bearing matters in Cancún.

The scholars distinguish two cases: the one who sees the Kaaba aims at the building itself, while the one who cannot see it, as anywhere in Cancún, aims at its direction as well as he reasonably can. Comparing with the mihrab of a local mosque is a quick way to confirm the result. If you travel or move house, check the angle again, since it changes from place to place.

Why a flat map shows a different direction

This is a place where maps mislead badly: a straight line on a flat map from Cancún to Mecca points to 89.9° (east), a full 35.8° away from the true Qibla of 54.1° (north-east). The map line keeps one compass heading and is 587 km longer than the great-circle route. Because the Earth is a sphere, the shortest way to Mecca from Cancún first heads north-east, and that is the direction to face.

The value of 54.1° is the direction in which the shortest route from 21.1743° N, 86.8466° W sets off towards the Kaaba at 21.4225° N, 39.8262° E. Every accurate Qibla calculator, and the plans of well-oriented mosques, arrive at the same angle for this point.

Distance from Cancún to Mecca and Medina

Mecca is 12,536 km from Cancún as the crow flies, and Medina, the city of the Prophet ﷺ, is 12,318 km away. A direct flight would take roughly 15 h 15 min, although most pilgrims from Cancún connect through Jeddah or Medina airport.

Clocks in Cancún run 8 hours behind Mecca all year. Prayer times, however, depend on the sun at your own location, so always use the prayer times of Cancún rather than those of Mecca.

Finding the Qibla with the sun in Cancún

On 51 days of 2027, the sun passes exactly through the Qibla direction of Cancún while it is well above the horizon. At that moment, facing the sun means facing Mecca. The effect is most frequent in June (30 days); for example, on 1 June 2027 it happens at 12:40 local time.

On 312 days the sun stands exactly opposite the Qibla: then the shadow of any vertical object, a pole, a door frame or a plumb line, points straight towards Mecca. This is most frequent in January (31 days), for instance on 1 January 2027 at 16:34.

Sun in the Qibla direction in Cancún, 2027 (local time, 24-hour clock). — means it does not happen that day.
DateSun in the Qibla direction (face the sun)Sun opposite (shadows point to the Qibla)
1 January 2027—16:34
15 January 2027—16:28
1 February 2027—16:09
15 February 2027—15:47
1 March 2027—15:20
15 March 2027—14:51
1 April 2027—14:16
15 April 2027—13:47
1 May 2027—13:18
15 May 2027—12:57
1 June 202712:40—
15 June 202712:35—
1 July 202712:40—
15 July 202712:52—
1 August 2027—13:12
15 August 2027—13:31
1 September 2027—13:55
15 September 2027—14:15
1 October 2027—14:38
15 October 2027—14:59
1 November 2027—15:26
15 November 2027—15:49
1 December 2027—16:12
15 December 2027—16:27

Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both happen at night in Cancún (04:18 and 04:27 local time), so they cannot be used here. Instead, on 13 January 2027 at 16:29 and 28 November 2027 at 16:09 the sun is over the point opposite the Kaaba, and every vertical shadow in Cancún points straight to Mecca.

Cancún compared with other cities

Compared with Mexico City, 1,295 km away, the Qibla in Cancún is turned 7.4° further clockwise (54.1° against 46.6°), and Mecca is 1,111 km closer. The nearest city with its own Qibla page, Playa del Carmen (65 km), prays towards 54.1°, a difference of 0.1°.

Across the 99 cities in Mexico on this site, the Qibla ranges from 25.5° in Rosarito to 54.2° in Chetumal, a spread of 28.7°. That is too large to use one national direction, so each city has its own bearing.

See all cities on the Qibla page for Mexico.

Qibla in cities near Cancún

Qibla in Cancún: questions and answers

What is the Qibla direction in Cancún?

It is 54.1° from true north, which is north-east: 35.9° north of east.

How far is Cancún from Mecca?

12,536 km in a straight line over the globe, and 12,318 km to Medina.

When does the sun show the Qibla in Cancún?

On 51 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.

Why is the Qibla in Cancún not the direction shown on a map?

Flat maps distort directions. The line on a map points to 89.9°, but the shortest route on the globe leaves Cancún at 54.1°, and that is the Qibla.

Does the Qibla change during the year?

No. The direction of 54.1° is fixed; only the times when the sun lines up with it change from day to day.

More for Cancún