Night prayer times explained: Maghrib to Fajr
What Islamic midnight actually is, how the last third is calculated, and why your app's times differ from someone else's.
References checked against Sahih al-Bukhari · Last updated 12 August 2026
The "night" in Islamic law is not midnight on a clock. It is the span from sunset to dawn, and it is divided from there.
The markers
- Maghrib — sunset. The night begins.
- Isha — when the twilight has gone.
- Islamic midnight — the midpoint between Maghrib and Fajr, not 12:00am. In summer at high latitudes this can fall well after 1am.
- The last third — divide Maghrib-to-Fajr into three; the final part is the time of descent described by the Prophet ﷺ. (Sahih al-Bukhari 1145)
- Fajr — true dawn. The night prayer ends.
- Sunrise — no prayer is offered in the moments of the sun rising.
Why times differ between apps
Two things:
- Calculation method. Muslim World League, Umm al-Qura, ISNA, Egyptian and Karachi each use different sun angles for Fajr and Isha. Choose the one your local mosque uses.
- Location and timezone. Times shift by minutes across a single city and change nightly. Daylight saving changes them again.
The Tonight page in this app calculates from your chosen location and method, and follows your device timezone including DST.
The best portion
The Prophet ﷺ said: "The most beloved prayer to Allah is the prayer of Dawud: he would sleep half the night, stand a third of it, and sleep a sixth of it." (Sahih al-Bukhari 1131) Sleeping first, then rising, is the pattern.
If you are unsure
Follow your local mosque's timetable where it differs, and ask a qualified scholar about your circumstances.
References
Sahih al-Bukhari — 1145hadith
The last third of the night.
Sahih al-Bukhari — 1131hadith
The prayer of Dawud.
Islamic educational content is provided with references. For personal religious rulings, please consult a qualified scholar.
Put this into practice tonight
See Isha, Islamic midnight, the last third and Fajr calculated for your own location.
Open tonight's timesKeep reading
How to pray Tahajjud
A simple, practical walkthrough of praying Tahajjud, from waking to Witr.
The best time to pray Tahajjud
The night is divided into halves and thirds. Understanding the last third — and why no single clock time is required.
How many rak'ahs is Tahajjud?
There is no fixed maximum. What the Sunnah shows, and why two rak'ahs is a complete beginning.
Tahajjud and Witr
How Witr closes the night, how many rak'ahs it can be, and what to do if you have already prayed it.
