Skip to main content
Islamic Portal
Join freeJoin free
Islamic Portal
Explore everything
Theme

Learn

How to pray Tahajjud

The voluntary prayer of the night, prayed after waking from sleep — two rak'ahs at a time, in the quiet hours before dawn.

What is Tahajjud?

Tahajjud is the voluntary prayer prayed at night after waking from sleep. The word comes from a root meaning to leave sleep. It is not one of the five obligatory prayers, but it was the constant practice of the Prophet ﷺ and is one of the most beloved acts of worship.

وَمِنَ ٱلَّيْلِ فَتَهَجَّدْ بِهِۦ نَافِلَةًۭ لَّكَ عَسَىٰٓ أَن يَبْعَثَكَ رَبُّكَ مَقَامًۭا مَّحْمُودًۭا

79And some part of the night awake for it, a largess for thee. It may be that thy Lord will raise thee to a praised estate.

Al-Isra 17:79 · Marmaduke Pickthall (en.pickthall)
بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ يَٰٓأَيُّهَا ٱلْمُزَّمِّلُ قُمِ ٱلَّيْلَ إِلَّا قَلِيلًۭا نِّصْفَهُۥٓ أَوِ ٱنقُصْ مِنْهُ قَلِيلًا أَوْ زِدْ عَلَيْهِ وَرَتِّلِ ٱلْقُرْءَانَ تَرْتِيلًا

1O thou wrapped up in thy raiment! 2Keep vigil the night long, save a little - 3A half thereof, or abate a little thereof 4Or add (a little) thereto - and chant the Qur'an in measure,

Al-Muzzammil 73:1–4 · Marmaduke Pickthall (en.pickthall)

When does the last third of the night begin?

Enter tonight's Maghrib and tomorrow's Fajr times.

This is a simple guide; check your local prayer times. Prayer times

Why pray at night?

The quiet of the night, when the world is asleep, is a time of closeness and sincerity. Its reward is described as among the greatest of the voluntary prayers.

Sources 2
تَتَجَافَىٰ جُنُوبُهُمْ عَنِ ٱلْمَضَاجِعِ يَدْعُونَ رَبَّهُمْ خَوْفًۭا وَطَمَعًۭا وَمِمَّا رَزَقْنَٰهُمْ يُنفِقُونَ

16Who forsake their beds to cry unto their Lord in fear and hope, and spend of that We have bestowed on them.

As-Sajdah 32:16 · Marmaduke Pickthall (en.pickthall)
Abu Hurairah (May Allah be pleased with him) reported: The Messenger of Allah (ﷺ) said, "The best month for observing Saum (fasting) next after Ramadan is the month of Allah, the Muharram; and the best Salat (prayer) next after the prescribed Salat is Salat at night (Tahajjud prayers)."
Riyad us-Saliheen 1246 · Related by Muslim (رواه مسلم) Sahih

When to pray it

Tahajjud may be prayed any time after Isha and before Fajr, after having slept. The last third of the night is the most recommended time. To find it, take the time between Maghrib and Fajr, divide it into three, and the last part is the last third.

Sources 1
Jabir (May Allah be pleased with him)reported: The Messenger of Allah (ﷺ) said, "He who apprehends that he may not get up in the later part of the night, should observe the Witr prayer in the first part of it; and he who is certain to get up in the last part of it, he should observe Witr at the end of the night, because Salat at the end of the night is attended (by the angels), and that is better."
Riyad us-Saliheen 1138 · Related by Muslim (رواه مسلم) Sahih

How many rak'ahs?

Tahajjud is prayed two rak'ahs at a time, each pair ending with a salam. There is no fixed number: two is a beautiful beginning, and the Prophet ﷺ usually prayed eight before closing with Witr. Pray what you can keep up — a small, regular habit is better than a long one you cannot sustain.

Sources 2
Ibn 'Umar (May Allah be pleased with them) reported: The Prophet (ﷺ) said, "Salat during the night should consist of pairs of but if you fear that morning is near, then pray one Rak'ah as Witr."
Riyad us-Saliheen 1168 · Agreed upon (al-Bukhari and Muslim) (متفق عليه) Sahih
'Aishah (May Allah be pleased with her) reported: The Messenger of Allah (ﷺ) used to perform eleven Rak'ah (of Tahajjud) prayers at night. He (ﷺ) would prostrate so long as one of you might recite fifty Ayat (of the Qur'an). Thereafter, he would perform two Rak'ah before Fajr prayers and would lie down on his right side till the Mu'adhdhin would come and inform him about the time of (Fajr) prayer..
Riyad us-Saliheen 1171 · Related by al-Bukhari (رواه البخاري) Sahih

How to pray it, step by step

  1. Wake up and remember Allah; make wudu.
  2. Intend in your heart to pray Tahajjud.
  3. Pray two rak'ahs exactly like any two-rak'ah prayer: takbir, Al-Fatihah and a surah, bowing, prostrations, tashahhud and salam. Many begin with two short rak'ahs.
  4. Continue in pairs for as long as you wish, reciting longer passages if you can.
  5. Close with Witr if you did not pray it after Isha.
  6. Make supplication. The night is a precious time to ask Allah for what is in your heart.
Sources 1
Abu Hurairah (May Allah be pleased with him) reported: The Prophet (ﷺ) said, "When one of you gets up at night to perform (Tahajjud) prayer, let him start Salat with two short Rak'ah."
Riyad us-Saliheen 1179 · Related by Muslim (رواه مسلم) Sahih

Practise a two-rak'ah prayer

Tahajjud is prayed two rak'ahs at a time, just like the two sunnah rak'ahs of Fajr. Walk through them at your own pace.

Start the walkthrough

Tahajjud and Witr

Witr is the last prayer of the night. If you are confident you will wake up, you can delay Witr until after Tahajjud; if not, pray Witr after Isha and pray Tahajjud later without repeating Witr. How Witr itself is prayed differs between the schools.

Sources 1
Ibn 'Umar (May Allah be pleased with them) reported: The Prophet (ﷺ) said, "Make Witr prayer the last of your Salat at night."
Riyad us-Saliheen 1134 · Agreed upon (al-Bukhari and Muslim) (متفق عليه) Sahih

Tips for waking up

  • Sleep a little earlier, and make your intention before sleeping.
  • Set an alarm 20–30 minutes before Fajr; the last third often begins well before dawn.
  • Start with two rak'ahs once or twice a week, then grow.
  • Keep water for wudu close by, and a short surah or two you love ready to recite.

Witr and the night prayer

Witr — the odd prayer

Witr closes the night with an odd number of rak'ahs. It may be prayed any time after Isha until dawn: early if you may not wake, or at the end of the night after Tahajjud if you will.

Its shape differs between the schools — see Where the schools differ. The walkthrough lets you practise three rak'ahs of Witr as part of Isha.

Sources 2
Ibn 'Umar (May Allah be pleased with them) reported: The Prophet (ﷺ) said, "Make Witr prayer the last of your Salat at night."
Riyad us-Saliheen 1134 · Agreed upon (al-Bukhari and Muslim) (متفق عليه) Sahih
Jabir (May Allah be pleased with him)reported: The Messenger of Allah (ﷺ) said, "He who apprehends that he may not get up in the later part of the night, should observe the Witr prayer in the first part of it; and he who is certain to get up in the last part of it, he should observe Witr at the end of the night, because Salat at the end of the night is attended (by the angels), and that is better."
Riyad us-Saliheen 1138 · Related by Muslim (رواه مسلم) Sahih

Tahajjud — the night prayer

Tahajjud is the voluntary prayer of the night, prayed after waking from sleep. It is prayed two rak'ahs at a time, as many as you wish, and is then closed with Witr.

Read the full guide: how to pray Tahajjud, when, and how to begin.

Sources 2
وَمِنَ ٱلَّيْلِ فَتَهَجَّدْ بِهِۦ نَافِلَةًۭ لَّكَ عَسَىٰٓ أَن يَبْعَثَكَ رَبُّكَ مَقَامًۭا مَّحْمُودًۭا

79And some part of the night awake for it, a largess for thee. It may be that thy Lord will raise thee to a praised estate.

Al-Isra 17:79 · Marmaduke Pickthall (en.pickthall)
Abu Hurairah (May Allah be pleased with him) reported: The Messenger of Allah (ﷺ) said, "The best month for observing Saum (fasting) next after Ramadan is the month of Allah, the Muharram; and the best Salat (prayer) next after the prescribed Salat is Salat at night (Tahajjud prayers)."
Riyad us-Saliheen 1246 · Related by Muslim (رواه مسلم) Sahih
How the schools pray Witr
My school
Hanafi
Wajib (necessary). Three rak'ahs with a single salam, sitting after the second; in the third rak'ah, before bowing, you say a takbir raising the hands and recite the qunut supplication.
Maliki
A strongly emphasised sunnah: one rak'ah, prayed after two rak'ahs (the shaf') that end with their own salam. No qunut in Witr.
Shafi'i
A strongly emphasised sunnah of one to eleven rak'ahs; commonly two rak'ahs with a salam, then one. The qunut is recited after bowing in the last rak'ah during the second half of Ramadan.
Hanbali
A strongly emphasised sunnah of one to eleven rak'ahs; commonly two then one. The qunut is recited after bowing in the last rak'ah, throughout the year.