Five times a day, Muslims across Massachusetts turn toward the same place: the Kaaba in the Sacred Mosque in Mecca. That direction is called the qibla, from an Arabic word that simply means "direction." In a masjid, the work is already done; the mihrab, the niche in the front wall, shows which way to stand. But in a new apartment, a hotel room in the Berkshires, a conference room in Kendall Square or a rest stop on the Mass Pike, many of us reach for a phone app and are sometimes surprised by the answer.
Point at Mecca on a classroom wall map and your finger drifts to the southeast. Yet almost every qibla app used in Massachusetts tells you to face roughly northeast. This is not a glitch. It is a lesson in the shape of the Earth, and it has a real history in American Muslim life.
The command, and the flexibility around it
The qibla rests on the Qur'an. In Surah al-Baqarah (2:144), believers are told to turn their faces toward al-Masjid al-Haram, wherever they are. Islamic tradition holds that this change of direction, from Jerusalem to Mecca, came in the second year after the Prophet's migration to Medina, around 623 CE.
The same surah also reminds believers that the east and the west belong to God, and that wherever one turns, there is the Face of God (2:115). Scholars have long held that facing the qibla is a condition of a valid prayer in normal circumstances. Many, including Abu Hanifa, have also held that a person far from Mecca only needs to face its general direction (called jihat al-ka'ba), because hitting a building less than 20 meters wide from thousands of miles away is not humanly possible. As always, questions about your own prayer belong with your local imam or a scholar you trust.
Why the answer is northeast: the great circle
The Earth is a sphere (very nearly), and the shortest route between two points on a sphere follows what geographers call a great circle: a circle whose center is the center of the Earth. Airline routes follow great circles, which is why a flight from Boston to Europe arcs up toward Newfoundland and Ireland instead of tracing a straight line across a flat map.
Most Muslim astronomers and nearly all qibla apps define the qibla as the direction in which that great circle leaves your location on its way to the Kaaba. Flat world maps, especially the Mercator projection used in many classrooms, stretch the far north and south. A straight line on that kind of map (a "rhumb line") is not the shortest path, and from North America it points southeast, while the great circle points northeast.
The numbers for Massachusetts
We ran the standard spherical-trigonometry formula for several Massachusetts locations using the Kaaba's coordinates (about 21.42° N, 39.83° E). The results, measured clockwise from true north:
- Boston: about 60° (northeast, a little more east than north)
- Worcester: about 60°
- Springfield: about 59°
- Pittsfield: about 59°
- Provincetown: about 61°
The straight-line distance along the Earth's surface from Boston to Mecca works out to roughly 10,000 kilometers, or about 6,200 miles. Across the state, the qibla barely changes, by only about two degrees from the Berkshires to the tip of Cape Cod.
To put those numbers in perspective: Wikipedia's qibla article, drawing on published research, notes that building a mosque can easily introduce an error of up to five degrees, and laying out prayer rugs can add a few more. A difference of a degree or two between apps is nothing to worry about.
The compass catch: magnetic north is not true north
Here is where many people go wrong. The angles above are measured from true north, the direction of the North Pole. A magnetic compass points to magnetic north, and in Massachusetts the two are noticeably apart.
According to NOAA's World Magnetic Model (WMM2025), which we checked for this fall, magnetic declination is about 14 degrees west in Boston and about 13 degrees west in Springfield and Pittsfield. In practice, that means if you use an old-fashioned magnetic compass here, you add the declination to the true bearing:
- In the Boston area, face roughly 74° on a magnetic compass (60° + 14°).
- In Western Massachusetts, roughly 72° to 73° magnetic.
Most smartphone qibla apps correct for this automatically using your location, but some compass apps let you switch between "true north" and "magnetic north." If two apps disagree by about 14 degrees, that setting is the likely reason. Keep the phone away from steel desks, car dashboards and laptop speakers, which can throw off the magnetic sensor. Declination also drifts slowly over the years, so NOAA's free online calculator is the best place to check your exact town.
A real American debate
This is not just a classroom puzzle. When the Islamic Center of Washington, D.C., was built in the 1950s, its orientation, slightly north of east, puzzled some observers, including Muslims, because a map suggested Mecca lay to the southeast. According to historians cited in Wikipedia's qibla article, most early mosques in the United States faced east or southeast for exactly that reason.
In 1978, the American Muslim scientist S. Kamal Abdali published a book arguing that the correct qibla from North America is north or northeast, following the great circle. His conclusion spread widely, and some mosques were reoriented as a result. In 1993, two religious scholars, Riad Nachef and Samir Kadi, published a book arguing for a southeastern qibla instead. A period of debate followed. Eventually, most North American Muslims accepted the north/northeast direction, while a minority still follow east or southeast. Respect for both positions, and for the people who hold them, is part of our tradition too.
A thousand-year-old science
Long before smartphones, Muslim astronomers treated the qibla as a serious mathematical problem. From the mid-9th century, scholars including Habash al-Hasib, al-Nayrizi, Ibn Yunus, Ibn al-Haytham and al-Biruni developed methods equivalent to today's spherical formula. In 14th-century Damascus, the timekeeper Shams al-Din al-Khalili compiled a qibla table covering 2,880 sets of coordinates. Their main obstacle was not the math but the data: accurate longitudes were not widely available until mapping surveys of the 18th and 19th centuries.
Faith gave these scholars a reason to measure the world carefully, and careful measurement served their worship. That is a partnership worth remembering, without claiming more for either side than the record shows.
Practical tips for Massachusetts Muslims
- At home: Once you know the direction, mark it. A small sticker, a piece of tape on a shelf or a framed print on the qibla wall saves guesswork for guests and kids.
- At a masjid: Follow the mihrab or the lines on the carpet, even if your app says something slightly different. The Shafi'i legal tradition, for example, advises following the local mosque's qibla when you are far from Mecca.
- In a hotel or office: Use a qibla app with location turned on, stand away from metal, and if in doubt, face your best estimate of northeast.
- Teach it: The qibla is a great kitchen-table lesson for kids. Pull up a globe, stretch a string from Boston to Mecca and compare it to a flat map.
The bottom line
From anywhere in Massachusetts, the qibla is about 59 to 61 degrees east of true north, or roughly 72 to 74 degrees on a magnetic compass. It looks wrong on a flat map because flat maps distort a round world. The math behind it was refined by Muslim scholars more than a thousand years ago, and the flexibility to face the general direction is rooted in the tradition itself.
