Tahajjud Time: When and How to Pray Tahajjud
Tahajjud time runs from after Isha until the start of Fajr — but the sweet spot is the last third of the night, when the Prophet ﷺ told us our Lord descends to the lowest heaven asking who is calling on Him. Here's how to calculate that window for your city, how many rakat to pray, and a realistic way to begin tonight.
When is tahajjud?
Tahajjud is voluntary night prayer, classically prayed after a period of sleep. Its valid time is broad: any point after Isha and before true dawn (the start of Fajr). Within that window, the most virtuous time is the last third of the night, based on the famous hadith in Bukhari and Muslim: in the last third, Allah — exalted beyond all comparison — draws near to His servants and calls out: Who is calling upon Me, that I may answer? Who is asking of Me, that I may give? Who seeks My forgiveness, that I may forgive?
The absolute cutoff is Fajr. Once dawn enters, the time for tahajjud (and witr) has ended.
How to calculate the last third of the night
The "night," for this calculation, is commonly measured from sunset (Maghrib) to the start of Fajr; some scholars compute it from Isha instead — both approaches are in use, so don't stress over minutes. The method is simple:
- Take tonight's Maghrib (or Isha) time and tomorrow's Fajr time.
- Count the hours between them and divide by three.
- The final portion, ending at Fajr, is the last third.
Example: Maghrib at 9:00 p.m., Fajr at 6:00 a.m. → the night is 9 hours, each third is 3 hours, so the last third runs from 3:00 a.m. to 6:00 a.m. Anywhere in that window — even the last twenty minutes before Fajr — counts. These times shift daily and vary by city and calculation method, so work from a reliable local timetable; our prayer times guide explains why apps sometimes differ.
How many rakat is tahajjud?
There is no fixed number, and that is a feature, not a gap. Night prayer is offered two rakat at a time — pray two, give salam, and continue if you have more in you. The Prophet ﷺ most commonly prayed eight rakat, unhurried and long, then closed with witr for eleven in total. But he also taught that the night prayer is "two by two," with no minimum beyond a single pair.
Two calm rakat where your heart is present are worth more than eight distracted ones. Recite what you know, take your time in sujud, and make dua in your own language there — the last third of the night is the time scholars across all schools describe as one of the moments dua is most readily answered.
Why tahajjud is worth losing sleep over
The Prophet ﷺ said the best prayer after the obligatory prayers is prayer in the depths of the night. The Quran describes the believers as those whose sides forsake their beds to call on their Lord in fear and hope (32:16), and promises the one who rises by night a maqam mahmud — a praised station (17:79). Tahajjud is private by design: no congregation, no audience, nothing but you choosing Allah over your pillow. That privacy is exactly what makes it heavy on the scale.
Know your Fajr time, even offline
Hayya computes prayer times on-device and caches 12 months offline — so you can work out your last third anywhere, and never miscalculate the Fajr cutoff. Free forever, no ads.
Download Hayya FreeA realistic on-ramp: start with two rakat before Fajr
Most people fail at tahajjud because they start like sprinters: 2 a.m. alarm, eight rakat, three nights, burnout. Build it like a habit instead:
- Weeks 1–2: set your Fajr alarm just 15–20 minutes earlier and pray two short rakat before the fard. You're already waking up anyway — you're only moving the line slightly.
- Weeks 3–4: lengthen those two rakat, or add a second pair. Add a few minutes of dua in sujud.
- Then: if you want more, shift your witr to the end of the night so it seals your tahajjud — and only chase the deep last-third wake-ups once the pre-Fajr pair feels automatic.
- Any night you can't wake: pray two rakat after Isha before bed instead. It isn't classical tahajjud, but it is night prayer, and it keeps the thread unbroken.
The Prophet ﷺ taught that the most beloved deeds to Allah are the most consistent, even if small. A pair of rakat every night at 5:40 a.m. will change you more than a heroic 3 a.m. vigil you quit by Thursday. And if you miss a night, you have not "broken" anything — start again the next night without ceremony.
Small things that make waking easier
The mechanics are the same as waking for Fajr — sleep early, wudu before bed, alarm across the room — and our Fajr guide covers the full system. Two tahajjud-specific additions: keep a glass of water by the bed (dry mouth at 4 a.m. is a surprisingly effective excuse), and decide before you sleep exactly which surahs you'll recite, so the half-asleep version of you has zero decisions to make.
FAQ
When is tahajjud time?
Any time after Isha and before Fajr, ideally after some sleep. The best window is the last third of the night — divide the time from sunset (or Isha) to Fajr by three, and take the final portion.
How many rakat is tahajjud?
No fixed number — pray two at a time. The Prophet ﷺ commonly prayed eight plus witr, but even a single pair of rakat counts as night prayer.
Do I have to sleep first for tahajjud to count?
Strictly speaking, tahajjud means night prayer after sleep, while any voluntary night prayer is qiyam al-layl. Praying before bed still earns the reward of night prayer; waking to pray is the higher form.