- Published on
How to Pray Tahajjud: Step-by-Step Guide
- Authors
- Name
- Sih C.
- Role
- Founder & Islamic Content Researcher โข Islamful

Tahajjud is the prayer of those who rise while the world sleeps. It is a voluntary night prayer, offered after you have slept and woken, in the quiet hours before dawn. The Prophet Muhammad (peace be upon him) called it the best prayer after the obligatory ones: "The most excellent prayer after what is prescribed is the prayer during the night" (Sahih Muslim 1163a).
This guide covers exactly when Tahajjud is best prayed, how many rakahs to offer, the simple two-by-two method, and what to recite โ plus the mistakes people make most.
What you'll learn:
- What Tahajjud is and why its timing carries special reward
- The best time to pray it and how many rakahs
- The full step-by-step method, prayed two rakahs at a time
- Common mistakes and how to build a lasting habit
What Is Tahajjud and Why Does It Matter?
Tahajjud (ุชูููุฌููุฏ) is the voluntary night prayer offered after waking from sleep. The word itself comes from rising in the night. Allah (SWT) addressed the Prophet ๏ทบ directly about it:
ููู ููู ุงูููููููู ููุชูููุฌููุฏู ุจููู ููุงููููุฉู ููููู ุนูุณูููฐ ุฃูู ููุจูุนูุซููู ุฑูุจูููู ู ูููุงู ูุง ู ููุญูู ููุฏูุง
Wa mina al-layli fa-tahajjad bihi nafilatan laka asa an yabathaka Rabbuka maqaman mahmuda
"And from part of the night, pray with it as additional worship for you; it is expected that your Lord will raise you to a praised station." โ Surah Al-Isra, 17:79
That "praised station" (maqam mahmud) is among the highest honors mentioned in the Quran. Tahajjud is also how Allah described the righteous: "They used to sleep but little of the night, and in the hours before dawn they would seek forgiveness" (Surah Adh-Dhariyat, 51:17-18). It is private worship, with no audience but Allah โ which is exactly what makes it so sincere.
When Is the Best Time for Tahajjud?
Tahajjud can be prayed any time after Isha and after you have slept, up until true dawn. But the last third of the night is the most blessed window. The Prophet ๏ทบ explained why:
"Our Lord descends every night to the lowest heaven when the last third of the night remains, and says: Who will call upon Me, that I may answer him? Who will ask of Me, that I may give him? Who will seek My forgiveness, that I may forgive him?" โ Narrated by al-Bukhari (Sahih al-Bukhari 1145) and Muslim
To find the last third, take the hours between Maghrib and Fajr, divide by three, and the final block is the prime time. A quick way: if Isha is around 9 PM and Fajr around 4:30 AM, the last third begins roughly 2 AM. Because these times shift through the year, check your accurate local prayer times so you can set a realistic alarm and know when dawn cuts the window off.
How Many Rakahs Is Tahajjud?
Tahajjud has no fixed number. You pray it two rakahs at a time, and you may stop after any pair. The Prophet ๏ทบ set the basic pattern:
"The night prayer is two by two. If one of you fears the approach of dawn, let him pray one rakah as Witr to make odd what he has prayed." โ Narrated by al-Bukhari (Sahih al-Bukhari 990)
Aisha (may Allah be pleased with her) described his usual practice:
"Allah's Messenger never exceeded eleven rakahs, in Ramadan or otherwise." โ Narrated by al-Bukhari (Sahih al-Bukhari 1147)
| Level | Rakahs | Notes |
|---|---|---|
| Minimum | 2 | A single pair counts as Tahajjud |
| Prophet's common practice | 8 + 3 Witr | Aisha's report of eleven total |
| Maximum | No fixed limit | Pray as many pairs as you can, then seal with Witr |
Start with what you can sustain. Two sincere rakahs every night are better than eight you cannot keep up.
Step-by-Step: How to Pray Tahajjud
Tahajjud is prayed like any voluntary prayer, two rakahs at a time. Make sure you have valid wudu โ if you need it, see our guide on how to perform wudu. Then face the qiblah and make your intention in your heart to pray Tahajjud.
Wake and prepare. Rise in the night, renew your wudu, and find a clean, quiet place. The Prophet ๏ทบ would begin with light, short rakahs to ease into the prayer.
Opening takbir. Stand, raise your hands, and say:
ุงูููููู ุฃูููุจูุฑ โ Allahu Akbar โ "Allah is the Greatest."
First rakah. Recite Surah Al-Fatiha, then any portion of the Quran you know โ short or long. Tahajjud is recited quietly, between a whisper and a low voice. Then bow (ruku) and prostrate twice as usual.
Second rakah. Stand and pray the second rakah the same way. After the second prostration, sit for the tashahhud, send blessings on the Prophet ๏ทบ, and give salam to end this pair.
Repeat in pairs. Pray as many further pairs as you wish โ two, four, six, eight โ each ending with its own salam. There is no fixed cap.
Make dua. The last third of the night is a prime time for supplication. After your rakahs, raise your hands and ask Allah for whatever you need, in any language, for this is the hour He answers.
Seal with Witr. End your night prayer with an odd Witr if you have not already prayed it. For the full method, see our guide on how to pray Witr.
Search your city or use your location
Use the prayer times above to find when Fajr begins where you live, then count back to know when the blessed last third of the night starts.
Tahajjud vs. Qiyam al-Layl vs. Tarawih
People often mix these terms. They overlap but are not identical.
| Prayer | When | Sleep first? | Ruling |
|---|---|---|---|
| Tahajjud | After sleeping, before dawn | Yes | Voluntary (sunnah) |
| Qiyam al-layl | Any voluntary night prayer | Not required | Voluntary (sunnah) |
| Tarawih | After Isha in Ramadan | No | Emphasized sunnah, Ramadan only |
Qiyam al-layl is the broad term for any standing in prayer at night. Tahajjud is the specific portion offered after you wake from sleep. Tarawih is the congregational night prayer particular to Ramadan. All three are forms of night worship, differing in their timing and context.
Free Islamic Tools
See all โCommon Mistakes to Avoid
- Skipping sleep to "pray Tahajjud" right after Isha. Tahajjud classically means prayer after waking. Praying before sleep is still rewarded as night prayer, but the specific virtue of Tahajjud is in rising.
- Overcommitting and burning out. Aisha reported the Prophet ๏ทบ loved the deeds done consistently, even if small (Sahih al-Bukhari 6464). Two steady rakahs beat a one-time marathon you cannot repeat.
- Praying an even count and forgetting Witr. Always seal your night with an odd Witr if you have not prayed it yet.
- Rushing through the rakahs. Tahajjud is meant to be unhurried โ calm recitation, full bowing and prostration. Quality of stillness matters more than speed.
- Ignoring the dua window. The last third of the night is when Allah invites you to ask. Do not pray your rakahs and skip the supplication that follows.
Frequently Asked Questions
Can I pray Tahajjud without sleeping first? The specific virtue of Tahajjud comes from rising after sleep. If you pray voluntary rakahs before sleeping, that is still rewarded night prayer (qiyam al-layl), but to capture Tahajjud as the Prophet ๏ทบ practiced it, sleep first and then rise.
What if I miss the last third of the night? Any night prayer after Isha and after sleep counts as Tahajjud, even if it is not the last third. The last third is best, but praying earlier in the night is still highly rewarded. If you sleep through it, the Prophet ๏ทบ taught that your sincere intention is recorded.
Is Tahajjud obligatory? No. Tahajjud is a voluntary (nafl) prayer โ strongly encouraged, never required. It was obligatory upon the Prophet ๏ทบ specifically, but for the rest of the community it remains a beloved, optional act that draws you nearer to Allah. Begin with Isha and the five daily prayers first.
Summary
Tahajjud is the prayer of the quiet night, the worship Allah ties to the praised station and to His own descent to the lowest heaven.
- Pray it after sleeping, ideally in the last third of the night, before Fajr.
- It has no fixed number โ pray two rakahs at a time, then seal your night with Witr.
- The Prophet's usual practice was eight rakahs plus Witr (Sahih al-Bukhari 1147), but two consistent rakahs are enough to begin.
Set your alarm, rise while others sleep, and meet your Lord in the hour He answers. And Allah knows best (ูุงููู ุฃุนูู ).
Frequently Asked Questions
What is the best time to pray Tahajjud?
The best time for Tahajjud is the last third of the night, just before Fajr. The Prophet, peace be upon him, said Allah descends to the lowest heaven in the last third of the night, asking who will call on Him so He may answer. Tahajjud can be prayed any time after Isha and sleep, until true dawn.
How many rakahs is Tahajjud prayer?
Tahajjud has no fixed number of rakahs. It is prayed two rakahs at a time, with a minimum of two. Aisha reported the Prophet usually prayed eight rakahs of night prayer followed by Witr, totaling eleven. You may pray as few as two or as many as you are able, always in pairs.
Do you have to sleep before praying Tahajjud?
Yes, classically Tahajjud means the night prayer offered after you have slept and then woken. The word tahajjud comes from rising from sleep. Night prayer offered before sleeping is called qiyam al-layl in general terms, but Tahajjud specifically refers to standing in prayer after waking during the night.
What do you recite in Tahajjud?
In each rakah of Tahajjud you recite Surah Al-Fatiha followed by any portion of the Quran you know. There is no fixed surah; the Prophet would recite long passages. Tahajjud is also a time for personal dua, so after your rakahs, ask Allah for your needs, especially in the last third of the night.