Skip to content
  1. Home
  2. How to do tahajjud

Salah

How to Do Tahajjud: How to Pray Tahajjud Namaz Step by Step and How Many Rakats It Has

The night prayer after sleep: preparing, the rakats in twos, the duas the Prophet said, and ending with witr

To do tahajjud, sleep after Isha, wake in the night before dawn, make wudu and pray at least two rakats of voluntary prayer, in sets of two, then make dua and finish with witr. There is no fixed number: two rakats is tahajjud, and the Prophet (peace be upon him) usually prayed eight, with witr making eleven. The best time is the last third of the night. Here is how to pray tahajjud step by step, how many rakats to pray, what to recite and the duas he said when he woke for it.

Card titled How to do tahajjud: wake before dawn, pray 2 or more rakats in twos, make dua, end with witr

How to do tahajjud step by step

( الْحَمْدُ للَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا، وَإِلَيْهِ النُّشُورُ )

(Alhamdu lillahil-lathee ahyana baAAda ma amatana wa-ilayhin-nushoor.)

(All praise is for Allah who gave us life after having taken it from us and unto Him is the resurrection.)

Hisn al-Muslim 1
  • Intend before you sleep: pray Isha, and intend to wake for tahajjud. Set an alarm for the last third of the night (see tahajjud time).
  • On waking: wipe the sleep from your face and say the dua on waking, shown above.
  • Make wudu: the Prophet would use the miswak and make wudu when he rose at night.
  • Pray two rakats: intend two rakats of tahajjud (nafl). Pray them as any two-rakat prayer: Al-Fatiha and a surah in each, ruku, sajdahs, tashahhud and salam. Many begin with two light rakats.
  • Pray more in twos: as many pairs as you can, each ending with salam.
  • Make dua: in sujood and after the prayer. This is a time when dua is answered.
  • End with witr: if you did not pray witr after Isha, pray it now as your last prayer. See witr namaz.

Tahajjud ki namaz ka tarika in short

Tahajjud is prayed like any nafl: two rakats at a time, recited quietly or aloud as suits you and does not disturb others. Long recitation and long sujood are the heart of it.

How many rakats in tahajjud?

  • Least: 2 rakats.
  • Most common sunnah: 8 rakats, then 3 witr, 11 in all. Aishah reported that the Prophet did not pray more than eleven rakats at night, in Ramadan or at other times (Sahih al-Bukhari 1147).
  • Also reported: 13 with witr, and other numbers. There is no upper limit; pray what you can sustain.

The Prophet said: the night prayer is two by two (Sahih al-Bukhari and Sahih Muslim). So pray tahajjud in pairs, not as four with one salam, by most views.

Small but regular

He also said the most beloved deeds to Allah are the most regular, even if small (Sahih al-Bukhari and Sahih Muslim). Two rakats every night is better than eight once a month.

What to recite in tahajjud

((اللَّهُمَّ لَكَ الْحَمْدُ، أَنْتَ نُورُ السَّمَوَاتِ وَالأَرْضِ وَمَنْ فِيهِنَّ، وَلَكَ الْحَمْدُ أَنْتَ قَيِّمُ السَّمَوَاتِ وَالأَرْضِ وَمَنْ فِيهِنَّ، [وَلَكَ الْحَمْدُ أَنْتَ رَبُّ السَّمَواتِ وَالأَرْضِ وَمَنْ فِيهِنَّ] [وَلَكَ الْحَمْدُ لَكَ مُلْكُ السَّمَوَاتِ وَالأَرْضِ وَمَنْ فِيهِنَّ] [وَلَكَ الْحَمْدُ أَنْتَ مَلِكُ السَّمَوَاتِ وَالأَرْضِ] [وَلَكَ الْحَمْدُ] [أَنْتَ الْحَقُّ، وَوَعْدُكَ الْحَقُّ، وَقَوْلُكَ الْحَقُّ، وَلِقاؤُكَ الْحَقُّ، وَالْجَنَّةُ حَقٌّ، وَالنَّارُ حَقٌّ، وَالنَّبِيُّونَ حَقٌّ، وَمحَمَّدٌ صلى الله عليه وسلم حَقٌّ، وَالسّاعَةُ حَقٌّ] [اللَّهُمَّ لَكَ أَسْلَمتُ، وَعَلَيْكَ تَوَكَّلْتُ، وَبِكَ آمَنْتُ، وَإِلَيْكَ أَنَبْتُ، وَبِكَ خاصَمْتُ، وَإِلَيْكَ حاكَمْتُ. فَاغْفِرْ لِي مَا قَدَّمْتُ، وَمَا أَخَّرْتُ، وَمَا أَسْرَرْتُ، وَمَا أَعْلَنْتُ] [وَمَا أَنْتَ أَعْلَمُ بِهِ مِنِّي] [أَنْتَ المُقَدِّمُ، وَأَنْتَ المُؤَخِّرُ لاَ إِلَهَ إِلاَّ أَنْتَ] [أَنْتَ إِلَهِي لاَ إِلَهَ إِلاَّ أَنْتَ] [وَلاَ حَوْلَ وَلاَ قُوَّةَ إِلاَّ بِاللَّهِ])).

(Allahumma lakal-hamd anta noorus-samawati wal-ardi waman feehin, walakal-hamd, anta qayyimus-samawati walardi waman feehin, [walakal-hamd, anta rabbus-samawati walardi waman feehin], [walakal-hamd, laka mulkus-samawati walardi waman feehin] [walakal-hamd, anta malikus-samawati walard] [walakal-hamd] [antal-haq, wawaAAdukal-haq, waqawlukal-haq, waliqa-okal-haq, waljannatu haq wannaru haq, wannabiyyoona haq, wa Muhammadun haq, wassaAAatu haq] [allahumma laka aslamt, waAAalayka tawakkalt, wabika amant, wa-ilayka anabt, wabika khasamt, wa-ilayka hakamt, faghfir lee ma qaddamt, wama akhkhart, wama asrart, wama aAAlant] [antal-muqaddim, wa-antal-mu-akhkhir, la ilaha illa ant] [anta ilahee la ilaha illa ant .)

(O Allah, to You belongs all praise, You are the Light of the heavens and the Earth and all that is within them. To You belongs all praise, You are the Sustainer of the heavens and the Earth and all that is within them. To You belongs all praise. You are Lord of the heavens and the Earth and all that is within them. To You belongs all praise and the kingdom of the heavens and the Earth and all that is within them. To You belongs all praise, You are the King of the heavens and the Earth and to You belongs all praise. You are The Truth, Your promise is true, your Word is true, and the Day in which we will encounter You is true, the Garden of Paradise is true and the Fire is true, and the Prophets are true, Muhammad is true and the Final Hour is true. O Allah, unto You I have submitted, and upon You I have relied, and in You I have believed, and to You I have turned in repentance, and over You I have disputed, and to You I have turned for judgment. So forgive me for what has come to pass of my sins and what will come to pass, and what I have hidden and what I have made public. You are Al-Muqaddim and Al-Mu-akhkhir. None has the right to be worshipped except You, You are my Deity, none has the right to be worshipped except You.)(Meaning of Al-Muqaddim and Al-Mu-akhkhir: Allah puts forward and favours whom He wills from amongst His creation just as He defers and holds back whom He wills in accordance to His wisdom. E.g. Favouring man over the rest of creation, favouring the Prophets over the rest of mankind, favouring Muhammad over all the Prophets and Messengers…etc.)

Hisn al-Muslim 32

The Prophet opened his night prayer with the dua above, reported by Ibn Abbas in Sahih al-Bukhari. Hisn al-Muslim also gives a second opening he used at night, beginning “Allahumma Rabba Jibra’il…”.

  • Long surahs if you know them: he recited long, and stopped at a verse of mercy to ask, at a verse of punishment to seek refuge.
  • Short surahs if not: recite what you know. Repeating a surah you love is fine.
  • In sujood: the servant is nearest to his Lord in sujood, so make much dua there (Sahih Muslim). Many make dua in their own language in nafl prayers; the Hanafi school prefers words from the Quran and sunnah inside the prayer and your own words after it.

Why tahajjud is so loved

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

wamina al-layli fatahajjad bihi nāfilatan laka ʿasā an yabʿathaka rabbuka maqāman maḥmūdan

And from [part of] the night, pray with it [i.e., recitation of the Qur’ān] as additional [worship] for you; it is expected that your Lord will resurrect you to a praised station.

Quran, Al-Isra 17:79

تَتَجَافَىٰ جُنُوبُهُمۡ عَنِ ٱلۡمَضَاجِعِ يَدۡعُونَ رَبَّهُمۡ خَوۡفٗا وَطَمَعٗا وَمِمَّا رَزَقۡنَٰهُمۡ يُنفِقُونَ ١٦

tatajāfā junūbuhum ʿani l-maḍājiʿi yadʿūna rabbahum khawfan waṭamaʿan wamimmā razaqnāhum yunfiqūna

Their sides part [i.e., they arise] from [their] beds; they supplicate their Lord in fear and aspiration, and from what We have provided them, they spend.

Quran, As-Sajdah 32:16
  • Best voluntary prayer: the Prophet said the best prayer after the obligatory prayers is the prayer at night (Sahih Muslim 1163).
  • Allah’s nearness: our Lord descends to the lowest heaven when the last third of the night remains and says: who is calling on Me that I may answer him, who is asking of Me that I may give him, who is seeking My forgiveness that I may forgive him (Sahih al-Bukhari 1145).

Tahajjud and qiyam al-layl

Qiyam al-layl means any prayer at night. Many scholars use tahajjud for the night prayer prayed after sleeping, from the meaning of the word; others use the two names for the same thing. If you could not sleep, prayer in the night before dawn is still qiyam and still rewarded.

Written for DonateOpenly from the sources it cites, and awaiting review by ulama. Dates are worked out from the Islamic calendar and depend on the moon sighting.

Choose a charity, then give on its own website

Every registered UK Muslim charity has a page on DonateOpenly: what it does, where its work reaches people and where donors review it.

Find a charity

How to do tahajjud: questions

How do you pray tahajjud?

Sleep after Isha, wake before dawn, make wudu, and pray at least two rakats of nafl in pairs. Make dua, and end with witr if you have not prayed it.

How many rakats in tahajjud?

At least 2. The Prophet usually prayed 8, then 3 witr, as Aishah reported in Sahih al-Bukhari 1147.

Do I have to sleep before tahajjud?

Many scholars say tahajjud is prayer after sleeping. Prayer in the night without sleeping is still qiyam al-layl and is rewarded.

Can I pray tahajjud without praying Isha?

Pray Isha first. Tahajjud is a voluntary prayer, and the obligatory prayer comes before it.

What is the niyyah for tahajjud?

The intention is in the heart: to pray two rakats of tahajjud for Allah. You do not need set words.

Can women pray tahajjud?

Yes, in the same way. A woman does not pray it during menstruation, but she can wake and make dua and dhikr.