Regional capital · Shanghai Municipality

Prayer times in Shanghai

This page shows today’s prayer times in Shanghai, Shanghai Municipality, worked out for the city’s exact coordinates. You will find the time of Fajr, Sunrise, Dhuhr, Asr, Maghrib and Isha, a live countdown to the next prayer, a monthly timetable ready to print and the Qibla direction. The times use the Muslim World League method, which is commonly used in China.

Adhan times in Shanghai today

  

  1. Fajr
  2. Sunrise
  3. Dhuhr
  4. Asr
  5. Maghrib
  6. Isha
Calculation settings

Calculated with the Muslim World League method.

Every country has its own usual method for the prayer times, and in China we use the Muslim World League method (Fajr at 18°, Isha when the sun is 17° below the horizon). Times are shown in local time (UTC+8) and follow daylight saving time automatically where it is used. Small differences of a minute or two with the local mosque are normal, as some mosques add a few minutes of precaution.

Prayer calendar for Shanghai

 
DayHijriFajrSunriseDhuhrAsrMaghribIsha
Loading the monthly timetable…

Prayer times in Shanghai by season

It helps to know how prayer times in Shanghai move with the seasons. Fajr varies between 3:12 AM on 21 June and 5:22 AM on 21 December, a shift of 2 h 10 min, while Maghrib moves between 4:56 PM and 7:01 PM. Daylight peaks at 14 h 11 min in the summer solstice and falls to 10 h 07 min in the winter solstice. Use these figures to plan your day, your travel and your work around the prayers.

Estimated prayer times in Shanghai (2027)
DayFajrSunriseDhuhrAsrMaghribIsha
20 MarchSpring equinox4:38 AM5:59 AM12:02 PM3:29 PM6:05 PM7:21 PM
21 JuneSummer solstice3:12 AM4:50 AM11:56 AM3:34 PM7:01 PM8:34 PM
23 SeptemberAutumn equinox4:22 AM5:43 AM11:47 AM3:14 PM5:50 PM7:06 PM
21 DecemberWinter solstice5:22 AM6:48 AM11:52 AM2:37 PM4:56 PM6:17 PM

Shanghai is located 1,068 km south-east of Beijing, so Dhuhr in Shanghai is called about 20 minutes earlier than in Beijing. The gap is due to longitude: each degree moves solar noon by about four minutes, which is why the timetable of the capital should not be used in Shanghai.

Qibla in Shanghai and distance to Makkah

NSEW

In Shanghai you face towards the west, at an angle of 284.7° from true north; the Kaaba is 8,032 km away. This bearing is calculated with spherical trigonometry from the coordinates of Shanghai and those of the Kaaba (21.4225° N, 39.8262° E). Note that a compass points to magnetic north, which can differ by a few degrees from true north.

Fasting hours in Shanghai during Ramadan

Ramadan 1448 AH is expected to begin around 8 February 2027, depending on the sighting of the crescent. On the first day, imsak in Shanghai is around 5:10 AM and iftar at 5:35 PM, so the fast lasts 12 h 15 min. At the end of the month (9 March 2027) imsak is around 4:42 AM and iftar to 5:58 PM, for a fast of 13 h 06 min. The daily timetable appears in the monthly table above when the month arrives.

Shanghai on the map

Shanghai is located at 31.2222° N, 121.4581° E, in Shanghai Municipality, in China. Nearby places include Xuhui (3 km), Changning (4 km), and Hongkou (4 km). We use these coordinates directly to calculate the prayer times and the Qibla, and they come from the open GeoNames database.

Name
Shanghai
Type
Regional capital
Part of
Shanghai Municipality, China
Population
24,874,500
Coordinates
31.22222, 121.45806
Time zone
UTC+8
Calculation method
Muslim World League
Qibla direction
284.7° (west)
Distance to Makkah
8,032 km

Asr and Jumu‘ah in Shanghai

The default timetable uses the standard opinion (Shafi‘i, Maliki and Hanbali) for Asr. With the Hanafi method, Asr in Shanghai comes roughly 77 minutes later around the summer solstice (4:51 PM instead of 3:34 PM). Jumu‘ah is prayed at Dhuhr time, around 12:02 PM around the spring equinox, with small changes over the year.

The Prophet ﷺ said that the most beloved deed to Allah is prayer at its proper time. May this page help you keep your prayers on time in Shanghai and organise your day around them.

Nearby cities to Shanghai

Frequently asked questions about prayer times in Shanghai

When is Maghrib in Shanghai?

Maghrib is at sunset: between 4:56 PM on 21 December and 7:01 PM on 21 June. Today’s time is in the card above.

What is the Qibla direction in Shanghai?

The Qibla in Shanghai is 284.7° from true north, towards the west. The Kaaba in Makkah is 8,032 km away.

When is Fajr in Shanghai?

Fajr in Shanghai changes with the seasons: about 3:12 AM on 21 June and about 5:22 AM on 21 December. Today’s exact time is shown at the top of this page.

How long is the fast in Shanghai during Ramadan?

Roughly 12 h 15 min at the start of Ramadan 1448 AH and 13 h 06 min at its end, according to astronomical calculation.

Do prayer times in Shanghai differ from Beijing?

Yes. Shanghai is 1,068 km from Beijing, towards the south-east, and Dhuhr in Shanghai is called roughly 20 minutes earlier than in Beijing.

Prayer times in other cities of Shanghai Municipality

All prayer times in Shanghai Municipality →