Skip to content
Quran Daily
All guides

Prayer & daily practice

Tahajjud time: how to calculate the last third of the night

Work out the last third using sunset and the next Fajr time, with a clear example and the narrations behind late-night prayer.

Published · Updated

View 2 sources

To estimate the last third of the night, measure the time from local sunset to the following dawn, divide it into three equal parts, and count back one part from dawn. Use the Maghrib and next-day Fajr times from the timetable you follow. The result changes through the year.

Why the last third matters

Sahih al-Bukhari 1145 records a narration about the last third of the night and calling on Allah, asking Him and seeking forgiveness. Sahih Muslim 755a also describes prayer at the end of the night as witnessed and preferable, while advising someone who fears they will not wake to pray Witr earlier. Read both linked narrations for their full wording.

The calculation below identifies that portion of the night. It does not prescribe a number of units of prayer or settle questions about repeating Witr; those need their own evidence and guidance.

Calculate it in three steps

  1. Find tonight’s Maghrib and tomorrow’s Fajr for the same location and calculation settings. Do not combine an old sunset time with today’s dawn.
  2. Count the hours and minutes across midnight, then divide the total by three.
  3. Subtract that third from tomorrow’s Fajr. That is the estimated start of the last third.

A worked example

Suppose sunset is at 6:00 PM and the next Fajr is at 6:00 AM. That is a 12-hour night. One third is four hours, so the final third runs from 2:00 AM to 6:00 AM. These are example times, not a current timetable for any city.

Use minutes when the result is not a whole number of hours. For example, 6:15 PM to 5:45 AM is 690 minutes; one third is 230 minutes. Counting back 3 hours 50 minutes from 5:45 AM gives 1:55 AM.

Choose times you can rely on

Open prayer times, confirm the selected city, local date, time zone and method, and check the following day’s Fajr. Twilight methods can produce different dawn times, so follow the timetable and qualified local guidance you normally use. In places without a normal sunset or dawn, this simple arithmetic is not enough to determine a religious schedule.

Allow time to wake and prepare, and use a separate alarm if needed. Reading a countdown in a browser does not guarantee an alarm will sound while the device is asleep.

If waking late is uncertain

The narration in Sahih Muslim explicitly addresses this concern by distinguishing a person who fears missing the end of the night from one who expects to wake. It offers a useful starting point for discussing a manageable routine with a teacher. An ambitious alarm setting is less useful than a routine you can actually follow.

Common questions

Do I calculate from Isha or Maghrib?

The calculation in this guide uses sunset (Maghrib) to the following dawn (Fajr). Starting at Isha gives a different interval and is not the method shown here.

Sources & further reading

Open the original passage to read its wording and context. Hadith numbering can differ between editions.

  1. Sahih al-Bukhari 1145

    Narration about the last third of the night; collection reference Book 19, Hadith 26.

  2. Sahih Muslim 755a

    Witr earlier or at the end of the night; collection reference Book 6, Hadith 195. Numbering varies by edition.

Continue in Quran Daily