How to Pray Tahajjud: Steps, Time and Rakats

Tahajjud is the voluntary night prayer, prayed in sets of two rakats with no fixed limit; the best time is the last third of the night, and it is closed with Witr.

Last updated:

How Many Rakats Is Tahajjud?

There is no minimum or maximum. Two rakats is enough, and the Prophet ﷺ prayed more. His night prayer is described as 11 rakats (Aisha) and, in another report, 13 rakats (Ibn Abbas), in Bukhari and Muslim; this describes his own practice, not an upper limit.

Number of rakats in Tahajjud
RakatsSource
2The least that counts as night prayer, prayed in a set of two.
11Aisha: the Prophet ﷺ did not exceed 11 rakats in Ramadan or outside it (Bukhari, Muslim).
13Ibn Abbas described 13 rakats in the Prophet’s night prayer (Bukhari, Muslim).
MoreAllowed. The Prophet ﷺ said: the night prayer is two by two (Bukhari, Muslim).

How to Pray Tahajjud Step by Step

  1. Sleep first if you can, then wake for prayer. Tahajjud means the prayer after waking; if you cannot sleep, any night prayer after Isha still counts as qiyam.
  2. Make wudu and make the intention in your heart for Tahajjud.
  3. Begin with two light rakats (Sahih Muslim), then pray the rest in sets of two, each ending with the salam.
  4. Recite what you know, as long as you like, and make your sujood long. The Prophet ﷺ stood so long that his feet swelled.
  5. Make dua in sujood and after the salam, especially in the last third of the night.
  6. End the night prayer with Witr.

The Best Time for Tahajjud

Any time between Isha and Fajr is valid. The most excellent time is the last third of the night, when, as the Prophet ﷺ said, our Lord descends to the nearest heaven and asks who is calling on Him that He may answer (Bukhari, Muslim). The most beloved night prayer to Allah is the prayer of Dawud: he slept half the night, stood for a third, and slept the sixth (Bukhari, Muslim). The Prophet ﷺ also said the best prayer after the obligatory prayers is the night prayer (Sahih Muslim).

Tahajjud, Taraweeh and Witr

Taraweeh is the Ramadan night prayer, prayed after Isha, usually in congregation. Tahajjud is prayed after sleeping, and Witr is the odd-numbered prayer that closes the night. Many people pray all three in Ramadan.

Sources

  • General guidance from widely cited hadith. The schools differ on some details, so follow a scholar you trust for your own case.
  • Sahih al-Bukhari and Sahih Muslim: 11 and 13 rakats of the Prophet’s night prayer; “the night prayer is two by two”; the prayer of Dawud; the descent of Allah in the last third of the night.
  • Sahih Muslim: begin the night prayer with two light rakats; the best prayer after the obligatory is the night prayer.

Frequently Asked Questions

Never lose count in salah again

Prayer Memory keeps the count for you, silently, so you can give your attention to the prayer. Free to download, with an optional Pro upgrade inside the app.