How to Pray Tahajjud: A Gentle Beginner's Guide
Maybe it started with a night you couldn't sleep. It was some time after three, the house was completely still, and you remembered someone saying this is the hour when prayers are answered. You didn't get up. You typed "how to pray tahajjud" into your phone instead. That's a beginning, and a better one than you think.
Here is everything for your first night, from the time to the witr, and then the part most guides skip: how to actually wake up.
What tahajjud is
Tahajjud is the voluntary prayer of the night. The word comes from an Arabic root connected to sleep, and in its classic sense it means leaving your sleep to stand before Allah. It isn't obligatory. The Quran calls it something extra:
وَمِنَ ٱلَّيۡلِ فَتَهَجَّدۡ بِهِۦ نَافِلَةٗ لَّكَ عَسَىٰٓ أَن يَبۡعَثَكَ رَبُّكَ مَقَامٗا مَّحۡمُودٗا
"And from [part of] the night, pray with it as additional [worship] for you; it is expected that your Lord will resurrect you to a praised station."
Al-Isra 17:79
The Prophet ﷺ kept the night prayer for the rest of his life, and he stated its rank plainly:
"The best prayer after the obligatory prayers is the night prayer." (Sahih Muslim 1163)
When to pray it
The window opens after Isha and closes when Fajr comes in. Aisha (may Allah be pleased with her) described the Prophet ﷺ praying eleven rak'ahs between finishing Isha and dawn, with a salam after every two (Sahih Muslim 736).
The most precious part of that window is the last third of the night. The Prophet ﷺ said:
"Our Lord, Blessed and Exalted is He, descends every night 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)
Finding the last third
Take the time from Maghrib to Fajr, divide it by three, and count back from Fajr. With Maghrib at 6:30 pm and Fajr at 5:30 am, the night is eleven hours long. A third is 3 hours and 40 minutes, so the last third begins at about 1:50 am.
The good news: the last third runs right up to Fajr, so waking twenty minutes before the adhan puts you inside it.
How many rak'ahs
A man asked the Prophet ﷺ about the night prayer, and he answered: "The night prayer is two by two, and if one of you fears the dawn, let him pray one rak'ah, which makes what he has prayed odd" (Sahih al-Bukhari 990). So you pray in pairs, two rak'ahs and then salam, as many pairs as you like, and close with an odd-numbered witr.
The minimum is two, and there is no fixed maximum. Aisha said the Prophet ﷺ did not go beyond eleven rak'ahs at night, in Ramadan or outside it, and said not to ask how beautiful and how long they were (Sahih al-Bukhari 1147).
You don't need eleven. The Prophet ﷺ said: "When one of you gets up at night, let him begin his prayer with two short rak'ahs" (Sahih Muslim 768). In the Hanafi school, night prayer may also be prayed four at a time with one salam, but pairs are the easiest place to start.
How to pray tahajjud, step by step
- Wake and remember Allah. Say the waking dua below before your feet touch the floor.
- Make wudu. Cold water on your face does half the waking for you.
- Intend it in your heart. No set formula is needed.
- Pray two rak'ahs like any two-rak'ah prayer: Al-Fatiha and a surah in each rak'ah, ruku, two prostrations, then the tashahhud and salam. If you can pray Fajr, you can pray this.
- Repeat in pairs if you want to. Two is enough on a sleepy night.
- Make dua. More on this below.
- End with witr, unless you already prayed it after Isha.
الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ
Alhamdu lillahil-ladhi ahyana ba'da ma amatana wa ilayhin-nushur.
"All praise is for Allah, who gave us life after He had caused us to die, and to Him is the return."
Sahih al-Bukhari 6312
Ibn Abbas once watched the Prophet ﷺ wake, wipe the sleep from his face with his hand and recite the last ten verses of Surah Al Imran (3) before making wudu (Sahih al-Bukhari 183). They begin: "Indeed, in the creation of the heavens and the earth and the alternation of the night and the day are signs for those of understanding." If you don't know them yet, open the window for a moment and look at the sky.
What to recite
Al-Fatiha in every rak'ah, then whatever you know. Short surahs are completely fine. The same surah every night is fine.
يَـٰٓأَيُّهَا ٱلۡمُزَّمِّلُ قُمِ ٱلَّيۡلَ إِلَّا قَلِيلٗا نِّصۡفَهُۥٓ أَوِ ٱنقُصۡ مِنۡهُ قَلِيلًا أَوۡ زِدۡ عَلَيۡهِ وَرَتِّلِ ٱلۡقُرۡءَانَ تَرۡتِيلًا
"O you who wraps himself [in clothing]. Arise [to pray] the night, except for a little. Half of it - or subtract from it a little. Or add to it, and recite the Qur'an with measured recitation."
Al-Muzzammil 73:1–4
For a beginner, the last phrase matters most: measured recitation. The night is not a race. Let each ayah finish before you start the next. Later in the same surah the command is eased for the believers: "so recite what is easy [for you] of the Qur'an" (Al-Muzzammil 73:20).
In witr, the Prophet ﷺ used to recite Surah Al-A'la (87), Surah Al-Kafirun (109) and Surah Al-Ikhlas (112) (Sunan an-Nasa'i 1700, Ibn Majah 1171).
Making dua in the night
The hadith of the last third holds three invitations, and together they make a ready outline for your dua:
- Call on Him. Begin with praise, using the names of Allah you know.
- Ask. Name the actual thing: the job, the illness, the fear you haven't told anyone.
- Seek forgiveness. The Quran describes the people of the night this way: "And in the hours before dawn they would ask forgiveness" (Adh-Dhariyat 51:18).
The Prophet ﷺ said: "The nearest a servant is to his Lord is when he is in prostration, so increase your dua" (Sahih Muslim 482). Scholars differ on dua in your own language inside the prayer, so many people use the Arabic duas they know in sujud, then ask in their own words after the salam, for as long as they want.
Ending with witr
The Prophet ﷺ said: "Make witr the last of your prayer at night" (Sahih al-Bukhari 998). If you trust yourself to wake, save it for after tahajjud. If you don't, pray it after Isha. The Prophet ﷺ gave exactly that choice, adding that prayer at the end of the night is witnessed, and that is better (Sahih Muslim 755).
Many scholars allow witr as one rak'ah, three, or another odd number. In the Hanafi school, followed in Turkey and much of South Asia, it is three rak'ahs with one salam and a qunut supplication in the third. Pray it the way you were taught.
How to actually wake up
Most people don't lose tahajjud in the prayer. They lose it at the alarm.
- Set the alarm 20 to 30 minutes before Fajr, not for 3 am. You're still in the last third, and you can pray tahajjud, witr and Fajr in one waking.
- Sleep half an hour earlier. That is most of the trick.
- Put the phone across the room and a glass of water by the bed.
- Go to bed intending it. The Prophet ﷺ said that whoever goes to bed intending to pray at night and is overcome by sleep until morning has what he intended written for him, and his sleep is a charity from his Lord (Sunan an-Nasa'i 1787, Ibn Majah 1344).
He also described three knots that Satan ties on a sleeper: remembering Allah on waking undoes the first, wudu the second, and prayer the third (Sahih al-Bukhari 1142). Use it as a checklist. Dua, then wudu, then prayer, and the phone only after all three.
A realistic first month
The usual story is one heroic night at 3 am and then nothing for a year. The Prophet ﷺ said the most beloved deed to Allah is the most regular, even if it is small (Sahih al-Bukhari 6464). And he told one companion, "Do not be like so-and-so, who used to pray at night and then stopped" (Sahih al-Bukhari 1152).
- Week 1: two nights. Alarm 20 minutes before Fajr. Two short rak'ahs, one minute of dua, witr if you haven't prayed it, then Fajr.
- Week 2: three nights. The same two rak'ahs, recited more slowly.
- Week 3: on one night, add a second pair and move the alarm ten minutes earlier.
- Week 4: choose the two or three nights you will keep, and protect them like an appointment.
A month from now you will have a small, honest habit. Grow it slowly from there. The night will still be waiting.
Something calm for the quiet hours
Sereni gives you one quiet minute with the Quran each day — a verse, a hadith and a dua — chosen for whatever you’re carrying.
Frequently asked questions
Do I have to sleep before praying tahajjud?
In its classic meaning, tahajjud comes after some sleep, and that was the usual way of the Prophet ﷺ. Voluntary prayer after Isha before bed is still night prayer; scholars differ on whether to call it tahajjud or simply qiyam al-layl. If you are unlikely to wake, two rak'ahs before bed are better than none.
What is the minimum number of rak'ahs for tahajjud?
Two, prayed as a pair (Sahih al-Bukhari 990). There is no fixed maximum; the Prophet ﷺ did not go beyond eleven at night, witr included (Sahih al-Bukhari 1147).
Can I pray tahajjud if I already prayed witr after Isha?
Yes. Pray in pairs and don't repeat witr. Many scholars base this on the hadith “There are no two witrs in one night” (Abu Dawud 1439, Tirmidhi 470).
What if I miss tahajjud?
Nothing is owed, because it is voluntary. Aisha reported that when the Prophet ﷺ missed his night prayer through sleep or illness, he prayed twelve rak'ahs during the day (Sahih Muslim 746).
Keep reading: Duas to read before sleep · Sayyid al-Istighfar: the master dua for forgiveness · The best time of day to read Quran