Short answer
Midnight is the middle of the night
IslamQA's answer on the five daily prayer times says Isha runs until midnight, and that this midnight is the halfway point between sunset and the start of true dawn (Fajr). Its two examples are easy to check:
| Sunset | Fajr | Night length | Midnight |
|---|---|---|---|
| 5:00 pm | 5:00 am | 12 hours | 11:00 pm |
| 5:00 pm | 6:00 am | 13 hours | 11:30 pm |
Half of 12 hours is 6 hours after 5:00 pm, which is 11:00 pm. Half of 13 hours is 6 hours 30 minutes after 5:00 pm, which is 11:30 pm. In both cases the Islamic midnight is before the clock midnight, by an hour in the first and half an hour in the second.
Two ways to measure the night
PrayTimes.org describes two versions of midnight.
- Astronomical midnight is the midpoint between sunset and sunrise.
- Legal midnight is the ending time for Isha and is generally calculated as the midpoint between sunset and Fajr.
The AMJA fatwa (number 87614, by Dr. Hatem al-Haj, 19 October 2012) takes the sunrise route and calculates midnight as the midpoint between sunset and sunrise. The two results differ because Fajr comes before sunrise, so a night counted to Fajr is shorter.
A worked comparison
Take an illustrative day with sunset (Maghrib) at 21:20, Fajr at 02:50 and sunrise at 04:50. These numbers are made up to show the arithmetic, not taken from any city.
- Sunset to Fajr is 5 hours 30 minutes. Half is 2 hours 45 minutes. Midnight on this convention is 21:20 plus 2:45, which is 00:05.
- Sunset to sunrise is 7 hours 30 minutes. Half is 3 hours 45 minutes. Midnight on this convention is 21:20 plus 3:45, which is 01:05.
One hour of difference comes only from the choice of convention. This is why you should not copy a midnight time from a friend in another city or from a source that does not say how it measured.
The last third of the night
Darul Ifta Birmingham, in an answer by Maulana Abdul Malik that was checked by Mufti Mohammed Tosir Miah, describes the night as running from sunset to the break of dawn (Fajr). Divide that into three equal parts, and the final part is the last third. If sunset to Fajr is nine hours, the last third begins three hours before dawn.
Using the same illustrative day above: the night from sunset to Fajr is 5 hours 30 minutes, a third of it is 1 hour 50 minutes, and the last third starts 1 hour 50 minutes before Fajr, at 01:00.
What the sources disagree on
The AMJA fatwa reports that Imam Ahmad held that delaying Isha past midnight without a valid reason is not permitted, while the majority hold it is disliked. It says the majority rely on a hadith that there is no negligence in sleeping, only in not praying until the next prayer's time comes, while Ahmad's position rests on the hadith that the time of Isha lasts until midnight. It adds that holders of both positions accept both reports, and it describes the majority view as stronger and Ahmad's as safer. This page does not rule between those positions. If you are unsure when to pray Isha, ask a qualified scholar or your local imam.
How to find your own numbers
You need the times for your place and date: Maghrib (sunset), Fajr and, if your community uses it, sunrise. Your local mosque timetable gives them, and so does a prayer times app. Then do the division yourself, or use the Islamic midnight and last third calculator, which shows the arithmetic under each convention. Night length changes through the year, so the answer changes too. In places where the usual angles fail in summer, see Isha and Fajr in summer at high latitudes. For why prayer times differ between methods at all, see prayer time calculation methods.
Calculates the five daily prayer times on the phone, with alerts, a Qibla compass and the Qur'an.
Get it on Google PlayFree with a small banner ad on the Zakat, Monthly timetable, More and Settings screens only. One optional one-time purchase unlocks the memorisation companion and also removes the banner. There is no subscription.
Miqat calculates the five daily prayer times on your phone from your location and the method you choose, and works offline, with a Qibla compass and the Qur'an. It does not show Islamic midnight or the last third of the night, so use the times it gives you as inputs for the calculation above.