Tahajjud: The Night Prayer
The best voluntary prayer after the obligatory prayers: its time, how to pray it, and what the authentic hadith say about the last third of the night.
What is Tahajjud?
Tahajjud comes from hujud, to wake from sleep. Scholars say it is the night prayer prayed after having slept, while qiyam al-layl is the general term for standing in prayer at night. It is recommended (Sunnah), and not obligatory for the ummah. Allah mentions it in the Quran: “And from [part of] the night, pray with it as additional [worship] for you” (Quran 17:79).
Evidence from the Sunnah
Abu Hurairah reported that the Prophet ﷺ said the best fast after Ramadan is Allah’s month al-Muharram, and the best prayer after the obligatory prayers is the prayer at night.
Source: Sahih Muslim 1163 · Sunnah.com
The Prophet ﷺ said that Allah descends to the lowest heaven in the last third of each night and says: “Is there anyone to invoke Me, that I may respond? Is there anyone to ask of Me, that I may give? Is there anyone seeking forgiveness, that I may forgive him?”
Source: Sahih al-Bukhari 1145 · Sunnah.com
Aisha reported that the Prophet’s night prayer never exceeded eleven rak’ahs, in Ramadan or outside it: four, then four, then three.
Source: Sahih al-Bukhari 1147 · Sunnah.com
Best time
Tahajjud can be prayed anytime between Isha and Fajr, preferably after sleeping. The most virtuous time is the last third of the night, as in the hadith above. If you fear you won’t wake up, pray Witr before sleeping and add voluntary prayers if you wake. See the dua to wake up for Fajr for help rising.
Number of rak’ahs
There is no fixed minimum except that it is prayed in pairs (two by two), followed by Witr. The Prophet ﷺ usually prayed around eleven rak’ahs including Witr, per Aisha’s report above. Scholars permit praying fewer, such as two, or more according to ability. Choose an amount you can keep consistently.
How to start the habit
Begin small: two rak’ahs after waking a little before Fajr, then increase gradually. Make dua in sujud and in the last third of the night; our Tahajjud dua page lists supplications, and the etiquette of dua helps your asking. Keep a record with the Salah Tracker and read the salah guide if you need a refresher on the method.
Frequently asked questions
Do I have to sleep before Tahajjud?
Many scholars say Tahajjud specifically follows sleep, but qiyam al-layl after Isha, even before sleeping, also earns reward.
Is Tahajjud obligatory?
No, it is a Sunnah and highly recommended.
How many rak’ahs is the minimum?
Two rak’ahs, followed by Witr if you have not prayed it.
Can women pray Tahajjud?
Yes, it is recommended for both men and women.
Can I pray Tahajjud with a missed Fajr qaza?
Prioritize obligatory prayers, then voluntary ones. See our Qaza tracker.
Written by Muhammad Iqbal, editor at DuaForAll. References link to Sunnah.com. For fiqh questions, please consult a local scholar.
Related guides
Further reading: Sahih Muslim 1163 · Quran 17:79 · SeekersGuidance