Qibla · El Oro

Qibla direction in Machala

To face the Kaaba in Machala, turn to 67.3° measured clockwise from true north, which is north-east (22.7° north of east). The Sacred Mosque in Mecca lies 13,215 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Machala should follow.

The compass rose shows the Qibla of Machala as a needle at 67.3°. With a phone app set to true north, simply turn until it reads 67°. 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 Machala

Stand where you will pray and find north first. Then turn towards east and move a further 22.7° towards north: the result is the bearing of 67.3°. A small error of a few degrees is forgiven by most scholars, but aiming simply at east would leave you about 23° off.

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 Machala, 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

A straight line drawn on a flat (Mercator) map from Machala to Mecca points to 78.1° (east), 10.8° away from the correct 67.3°. That map line is a rhumb line: it keeps the same compass heading all the way, but it is 116 km longer than the true shortest route. The Qibla follows the great circle, the shortest path on the curved Earth, which is why the bearing differs.

The value of 67.3° is the direction in which the shortest route from 3.2589° S, 79.9588° 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 Machala to Mecca and Medina

Mecca is 13,215 km from Machala as the crow flies, and Medina, the city of the Prophet ﷺ, is 13,139 km away. A direct flight would take roughly 16 h 03 min, although most pilgrims from Machala connect through Jeddah or Medina airport.

Clocks in Machala 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 Machala rather than those of Mecca.

Finding the Qibla with the sun in Machala

On 167 days of 2027, the sun passes exactly through the Qibla direction of Machala while it is well above the horizon. At that moment, facing the sun means facing Mecca. The effect is most frequent in May (31 days); for example, on 15 March 2027 it happens at 12:17 local time.

On 139 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 October (31 days), for instance on 15 January 2027 at 16:20.

Sun in the Qibla direction in Machala, 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——
15 January 2027—16:20
1 February 2027—15:07
15 February 2027—14:10
1 March 2027—13:13
15 March 202712:17—
1 April 202711:09—
15 April 202710:12—
1 May 202709:07—
15 May 202708:10—
1 June 202706:54—
15 June 2027——
1 July 2027——
15 July 202707:21—
1 August 202708:35—
15 August 202709:29—
1 September 202710:29—
15 September 202711:16—
1 October 2027—12:10
15 October 2027—12:59
1 November 2027—14:04
15 November 2027—15:04
1 December 2027—16:24
15 December 2027——

Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both happen at night in Machala (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 Machala points straight to Mecca.

Machala compared with other cities

Compared with Quito, 373 km away, the Qibla in Machala is turned 1.2° further clockwise (67.3° against 66.1°), and Mecca is 280 km farther away. The nearest city with its own Qibla page, Cuenca (114 km), prays towards 67.2°, the same bearing to the tenth of a degree.

Across the 16 cities in Ecuador on this site, the Qibla ranges from 65.3° in Esmeraldas to 67.8° in Loja, a spread of 2.5°. The difference is small, yet each city should still use its own bearing.

See all cities on the Qibla page for Ecuador.

Qibla in cities near Machala

Qibla in Machala: questions and answers

What is the Qibla direction in Machala?

It is 67.3° from true north, which is north-east: 22.7° north of east.

How far is Machala from Mecca?

13,215 km in a straight line over the globe, and 13,139 km to Medina.

When does the sun show the Qibla in Machala?

On 167 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 Machala not the direction shown on a map?

Flat maps distort directions. The line on a map points to 78.1°, but the shortest route on the globe leaves Machala at 67.3°, and that is the Qibla.

Does the Qibla change during the year?

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

More for Machala