Navigation
Settings

Tahajjud Time

Last Third of the Night Calculator

When does the last third of the night begin tonight? Below is the exact time for your location — with a live countdown until the Tahajjud window opens. Tap Set manually if you'd rather enter your own Maghrib and Fajr times.

What is the last third of the night?

The last third of the night, called thuluth al-layl al-akhir (ثُلُث اللَّيْل الآخِر) in Arabic, is the final one-third of the period between sunset (Maghrib) and the true dawn (Fajr). It is the Sunnah-defined prime window for Tahajjud, witr, du'a, and istighfar. The calculator above shows you exactly when it begins tonight in your timezone.

This is not a poetic phrase. It is a precise time block taken straight from the hadith corpus. The Prophet Muhammad ﷺ pointed to it repeatedly as the hour Allah singles out for those who rise to worship Him. Scholars from every major school of fiqh treat it as the highest-merit slot for voluntary night prayer, more virtuous than the first or middle third.

A common misunderstanding is to assume "the last third" starts after midnight on the clock, or after Isha. Neither is correct. The third depends entirely on when Maghrib and Fajr fall at your location on that specific date, which is why the times move every day and shift dramatically between summer and winter.

The calculator above pulls your latitude and longitude, computes Maghrib and Fajr using standard astronomical methods (the same ones used by major prayer-time apps), and then divides the night into thirds. You can also override Maghrib and Fajr manually if you prefer a different calculation method or a printed local timetable.

How to calculate the last third of the night

To calculate the last third of the night manually, find the total minutes between Maghrib and Fajr, divide that span by three, and add two of those thirds to your Maghrib time. The result is the moment the final third begins. A worked example makes this concrete.

A worked example

Say Maghrib falls at 7:42 PM and Fajr the next morning is at 5:18 AM. The night spans:

  • 7:42 PM to midnight = 4 hours 18 minutes
  • midnight to 5:18 AM = 5 hours 18 minutes
  • Total night = 9 hours 36 minutes = 576 minutes

Divide 576 by 3:

  • One third = 192 minutes = 3 hours 12 minutes

Now place the markers:

  • First third ends / second third begins: 7:42 PM + 3h 12m = 10:54 PM
  • Middle of the night (halfway point): 7:42 PM + 4h 48m = 12:30 AM
  • Last third begins: 7:42 PM + 6h 24m = 2:06 AM
  • Last third ends at Fajr: 5:18 AM

So on this night you should aim to be awake, in wudu, and starting Tahajjud by 2:06 AM at the latest, with the window closing at the Fajr adhan.

A shortcut formula

If you want a one-line version:

Last third start = Fajr − (Night length / 3)

Using the same example: 5:18 AM minus 3h 12m equals 2:06 AM. Same answer, faster.

Why the calculator beats a manual calc

The arithmetic is straightforward, but two things trip people up: crossing midnight (most calculator apps subtract incorrectly across the day boundary) and converting between local time and the underlying UTC offset on DST changeover nights. The tool above handles both automatically and updates in real time as the date rolls over.

Why the calculation starts at Maghrib (not Isha)

The majority position across the Hanafi, Maliki, Shafi'i, and Hanbali schools is that the "Islamic night" for the purpose of dividing thirds runs from Maghrib (sunset) to Fajr (true dawn), not from Isha to Fajr. This is the calculation method scholars at Darul Iftaa Birmingham and IslamQA both endorse.

The Hanafi position is stated explicitly in a fatwa from Darul Iftaa Birmingham: "The night begins from sunset (Maghrib) and ends at the break of dawn (Fajr). The duration between these two times is divided into three equal parts" (IslamQA Hanafi 245428).

A minority opinion does count the night from Isha to Fajr, on the basis that "night" liturgically begins when full darkness sets in. In practice this view is rare and even those who hold it usually concede the Maghrib-to-Fajr calculation when locating the last third for Tahajjud purposes. The reason is structural: the hadith about Allah's descent describes a fixed cosmic event tied to the astronomical night, and the astronomical night begins at sunset.

If you ever want to cross-check your local timetable against the calculator above, look at how it computes the midpoint. If "midnight" sits roughly halfway between your Maghrib and Fajr times rather than at 12:00 on the clock, the tool is using the correct (Maghrib-to-Fajr) definition.

The hadith about the last third

The single most-cited proof for the virtue of the last third is the hadith of divine descent, narrated by Abu Hurairah (RA) and reported in both Bukhari and Muslim. The Prophet ﷺ said:

"Our Lord, the Blessed and the Exalted, descends every night to the lowest heaven when the last third of the night remains, and says: 'Who is calling upon Me, that I may answer him? Who is asking of Me, that I may give him? Who is seeking My forgiveness, that I may forgive him?'"

This is narrated in Sahih al-Bukhari 1145, Sahih Muslim 758b, and again in Sahih al-Bukhari 7494 in the Book of Tawhid. The wording is consistent across all three transmissions: the descent happens when the last third remains, not at midnight, not at Isha, not at a fixed clock hour.

Dawud's pattern of night prayer

The Prophet ﷺ also held up the night prayer of Dawud (David) as the most beloved to Allah. He said:

"The most beloved prayer to Allah is the prayer of Dawud, and the most beloved fasting to Allah is the fasting of Dawud. He used to sleep half the night, pray for a third, and then sleep for a sixth of it."

This is recorded in Sahih al-Bukhari 1131. The arithmetic of Dawud's pattern lines up exactly with the last-third window: sleep through the first half, rise for the third quarter (which is the last third of the night), then sleep through the final sixth to give the body rest before Fajr.

This is why, in classical fiqh manuals, the recommended Tahajjud schedule is: pray Isha, sleep, wake for the last third, pray, then either go back to sleep briefly or stay up for Fajr. The calculator above gives you the wake-up target.

How some scholars understand the descent

A note on the descent itself. Sunni orthodoxy affirms the descent literally as it is reported, without specifying its modality (bila kayf). Some scholars, particularly within the Ash'ari and Maturidi traditions, interpret the descent metaphorically, attributing it to the descent of Allah's mercy or to the descent of an angel by His command. SeekersGuidance summarises both positions in their answer on the descent hadith (SeekersGuidance). Either way, the practical point stands: the last third is the answered hour.

Quranic references for night prayer

The Quran commands and praises night prayer repeatedly. Four verses are foundational, and any serious treatment of the last third has to pass through them.

Quran 17:79, Surah al-Isra

"And from [part of] the night, pray with it as additional [worship] for you; it is expected that your Lord will resurrect you to a praised station (Maqam Mahmud)."

This verse, found in Surah al-Isra 17:79, is the only place in the Quran where Tahajjud is explicitly named. The "praised station" is understood by the majority of mufassirin as the right of intercession (shafa'ah) on the Day of Judgement, granted to the Prophet ﷺ.

Quran 73:1-4, Surah al-Muzzammil

"O you who wraps himself [in clothing], arise [to pray] the night, except for a little, half of it, or subtract from it a little, or add to it, and recite the Quran with measured recitation."

This is the original Tahajjud command, in Surah al-Muzzammil 73:1-4. The instruction to choose half, slightly less, or slightly more of the night is what the third-division gives practical structure to.

Quran 51:17-18, Surah adh-Dhariyat

"They used to sleep but little of the night, and in the hours before dawn they would ask forgiveness."

Surah adh-Dhariyat 51:17-18 describes the righteous specifically by their pre-dawn istighfar. The "hours before dawn" (al-ashar) is the linguistic equivalent of the last third.

Quran 32:16, Surah as-Sajdah

"Their sides part from [their] beds; they supplicate their Lord in fear and aspiration, and from what We have provided them, they spend."

Surah as-Sajdah 32:16 is recited at Fajr on Fridays in many masjids precisely because it describes the people of Tahajjud. The phrase "their sides part from their beds" became a classical figure of speech for one who leaves a warm bed for the prayer mat.

Middle of the night (Nisf al-Layl) vs last third

Islamic midnight, called Nisf al-Layl, is the exact halfway point between Maghrib and Fajr. The last third is the final one-third of that same span. They are two different markers on the same night and the calculator above displays both.

Using the earlier example (Maghrib 7:42 PM, Fajr 5:18 AM):

  • Nisf al-Layl (Islamic midnight): 12:30 AM
  • Last third begins: 2:06 AM

The two are nearly two hours apart on this particular night. They are never the same point unless the night is divided by zero, which would be a mathematical fiction.

Nisf al-Layl matters for one specific fiqh ruling: the latest acceptable time for praying Isha. The strict opinion (which the Shafi'i school treats as the preferred limit) is that Isha should be prayed before the halfway point of the night. After Nisf al-Layl you have prayed it late, though still validly until Fajr in the majority view.

The last third, by contrast, doesn't bound any obligatory prayer. It is purely the prime window for voluntary night prayer, du'a, istighfar, and Quran recitation. You can check the start of the last third tonight against the prayer times tool which shows your full daily timetable.

What time zones and Daylight Saving Time do to the calculation

The last third is a strictly local calculation. Your timezone, your DST status, and your latitude all change Maghrib and Fajr, but because both endpoints move together, the third just shifts with them. This is a content gap most other tools ignore.

DST changeover nights

On the night the clocks "spring forward" (typically March in the Northern Hemisphere), the wall clock jumps from 2:00 AM directly to 3:00 AM. If the last third on that night was supposed to start at 2:30 AM, your clock will show 3:30 AM when it actually begins, because the wall clock skipped an hour. The astronomical night itself didn't change, only the labels on your phone.

The reverse happens in autumn: clocks "fall back," giving you an extra hour and shifting the last-third start earlier on your clock face.

The calculator above re-reads the device's timezone every time the page is loaded, so it accounts for DST automatically. The only edge case is if you set your phone to "manual time" and forget to update it. Always trust the calculator over your memory of last night's time.

Travel across timezones

If you fly from New York to Riyadh, the last third in Riyadh tonight starts about 7 hours earlier on your home clock, but in local Riyadh time it is roughly the same hour it always is for Riyadh residents. Pray by local time, not by where your brain still thinks you are.

A note for high-latitude locations

In cities above roughly 48 degrees north latitude, including Stockholm, Edinburgh, Anchorage, and Reykjavik, Fajr and Isha can converge or even disappear during high summer because the sun never dips far enough below the horizon to produce true astronomical night.

When this happens, the standard rulings are to follow the nearest reasonable latitude (the "Aqrab al-Bilad" method), apply a fixed-portion division of the day, or follow your local fatwa council's printed schedule. For those weeks consult a local imam rather than rely on raw astronomy.

Frequently Asked Questions

What time is the last third of the night tonight?

It depends on your location and date. Using a typical mid-latitude city with Maghrib around 7:42 PM and Fajr around 5:18 AM, the last third begins around 2:06 AM. The calculator above shows the exact time for your coordinates tonight, including a live countdown to the start of the window.

How do I calculate the last third of the night?

Take the number of minutes between Maghrib and Fajr, divide by three, then add two of those thirds to your Maghrib time. Or equivalently, subtract one third from your Fajr time. For a 9-hour 36-minute night, each third is 3 hours 12 minutes, so the last third starts 6 hours 24 minutes after Maghrib.

Is the last third calculated from Maghrib or Isha?

The majority position in all four Sunni madhhabs is that the night for calculating thirds runs from Maghrib (sunset) to Fajr (true dawn). This is the view stated by Darul Iftaa Birmingham and IslamQA. A minority opinion counts from Isha to Fajr, but it is uncommon in practice.

Can I pray Tahajjud after Isha without sleeping first?

Yes, any voluntary prayer after Isha and before Fajr counts as Qiyam al-Layl. Technically, Tahajjud specifically refers to night prayer offered after sleeping, which is why the linguistic root (h-j-d) carries the meaning of waking from sleep. If you can sleep first and wake for the last third, that matches the Prophet's ﷺ practice most closely.

What is the difference between Tahajjud and Qiyam al-Layl?

Qiyam al-Layl is the general term for any night-time standing prayer between Isha and Fajr. Tahajjud is the specific subset prayed after sleeping. Witr is the closing odd-numbered prayer. All three can overlap: a person who sleeps, wakes for the last third, prays eight rak'ahs followed by three rak'ahs of witr is performing Qiyam, Tahajjud, and Witr in a single sitting.

How many rak'ahs is Tahajjud prayer?

There is no fixed number. The Prophet ﷺ usually prayed 11 or 13 rak'ahs at night, including witr, as narrated by Aisha (RA). The minimum is two rak'ahs and there is no maximum. Pray in sets of two, with the intention of Tahajjud, and close with one or three rak'ahs of witr.

What is Islamic midnight (Nisf al-Layl)?

Nisf al-Layl is the exact halfway point between Maghrib and Fajr, not 12:00 AM on the clock. If Maghrib is 7:42 PM and Fajr is 5:18 AM, Islamic midnight is 12:30 AM. It marks the latest preferred time for Isha in the stricter opinion of the Shafi'i school and is shown by the calculator above.

Can I pray Tahajjud at 12 AM or 1 AM if I can't wake up later?

Yes, any time after Isha qualifies as Qiyam al-Layl and you will be rewarded for it. The last third carries the highest virtue because of the descent hadith, but praying earlier in the night is far better than missing it entirely. The Prophet ﷺ told one companion to pray witr before sleeping if he feared not waking up.

What du'a should I recite during the last third of the night?

There is no fixed text. The Prophet ﷺ used to ask for forgiveness, recite long portions of the Quran, and make personal du'a in his own words. Ask Allah by His names, including Ar-Rahman, seek forgiveness, and bring your real needs to Him.

Why do some scholars explain Allah's descent metaphorically?

Within Sunni orthodoxy, the Athari position affirms the descent as reported without specifying how (bila kayf), while Ash'ari and Maturidi scholars interpret it as the descent of Allah's mercy or of an angel by His command, on the basis that literal movement would imply attributes Allah's transcendence rules out. Both positions agree the last third is the answered hour, which is the practical point for the worshipper.