Tahajjud at a glance:

Status: confirmed sunnah (sunnah muakkadah), not obligatory
Time: after Isha until just before Fajr; best in the last third of the night
Rakats: minimum 2, the Prophet's norm was 8 plus 3 Witr
Condition: must have slept first (even briefly) to be technically Tahajjud
Quranic basis: "And from the night, wake for it as an additional prayer for you" (17:79)
Key hadith: Allah descends to the lowest heaven in the last third of the night (Muslim 758)

There are prayers that fulfill an obligation, and then there are prayers that build a relationship. The five daily prayers are the foundation of Islam's architecture of worship. Tahajjud is what the believer builds on top of that foundation, voluntarily, in the dark, when no one is watching except Allah.

The Prophet ﷺ prayed Tahajjud throughout his life, in health and in illness, during the years of ease and during the years of siege and hardship. Aisha (RA), who knew his private worship more closely than anyone, said: "He used to pray eleven rakats at night. When he had finished, he would lie on his right side until the muezzin came to him, and then he would pray two light rakats" (Sahih al-Bukhari 1123). He did not abandon it, and he recommended it with urgency to his community.

This guide covers everything you need: the Quranic and hadith basis, the correct time window, how many rakats, what to recite, and a practical step-by-step for someone who has never prayed Tahajjud before.

Quran and hadith basis for Tahajjud

The primary Quranic command for Tahajjud is direct and addressed to the Prophet ﷺ, and by extension to his community:

"And from the night, wake for it as an additional devotion for you; perhaps your Lord will raise you to a praised station." (Qur'an 17:79)

The phrase "an additional devotion for you" (nafilatan lak) indicates that Tahajjud is a supererogatory act, above and beyond the five obligatory prayers. The promised station, the Maqam Mahmud, is understood by the classical commentators to be the station of intercession on the Day of Judgment. The night prayer, therefore, is not merely personal piety; it is connected to the Prophet's role as intercessor for his Ummah.

A second Quranic passage paints a vivid portrait of those who pray at night:

"Indeed, the righteous will be among gardens and springs, accepting what their Lord has given them. Indeed, they were before that doers of good. They used to sleep but little of the night, and in the hours before dawn they would ask forgiveness." (Qur'an 51:15-18)

This passage identifies night prayer and pre-dawn istighfar as characteristic marks of the people of Paradise. Sleep is not condemned; sleeping "but little" of the night is held up as a quality of the righteous, not as an ascetic extreme. Most of the classical scholars, including al-Nawawi and Ibn Qudamah, commented that this refers to regular, habitual night worship rather than all-night vigils.

The hadith basis is equally strong. The most important is the hadith of divine descent:

"Our Lord, blessed is He and exalted, descends each night to the lowest heaven when the last third of the night remains, and He says: Who is calling upon Me so that I may answer him? Who is asking of Me so that I may give to him? Who is seeking My forgiveness so that I may forgive him?" (Sahih Muslim 758)

This hadith is mutawatir in meaning, reported by over a dozen companions in slightly different wording. Al-Bukhari and Muslim both recorded it. It establishes that the last third of the night is an open window of divine response, and Tahajjud is precisely positioned within that window.

The Prophet ﷺ also said: "The best prayer after the obligatory prayers is the night prayer" (Sahih Muslim 1163). This places Tahajjud at the top of the hierarchy of voluntary worship, above the sunnah rawatib, above Duha, above anything else that is not fard.

When is Tahajjud time?

Tahajjud time begins after the Isha prayer and extends until the Fajr adhan. Within this window, the scholars identify three periods:

The first third of the night: valid but not the most recommended time. This is soon after Isha, when the night has only just begun.

The middle third of the night: better. The Prophet ﷺ reportedly prayed in this portion on some occasions.

The last third of the night: the best and most emphasized. This is when the hadith of divine descent applies. The last third begins approximately at the two-thirds mark of the total night, calculated from Maghrib sunset to Fajr dawn. If Maghrib is at 7 PM and Fajr is at 5 AM, the total night is 10 hours. The last third begins at 7 PM plus 6 hours and 40 minutes, or approximately 1:40 AM.

Calculating the exact last-third time requires knowing the precise local Maghrib and Fajr times. FivePrayer calculates this automatically for your location.

Regarding sleeping first: the word Tahajjud derives from the Arabic root meaning to struggle against sleep. The classical definition requires that one have slept before this prayer, even briefly. If you pray without sleeping, the prayer is called Qiyam al-Layl (standing at night) rather than Tahajjud in the strictest linguistic sense. Both carry reward. However, sleeping, even for an hour or two, then waking for the prayer most closely follows the prophetic model and the linguistic meaning of the word.

The Prophet ﷺ would often sleep after Isha, wake in the last third, pray his night prayer, then lie back down briefly before Fajr (Sahih al-Bukhari 1123). This pattern of intentional sleep followed by intentional waking is itself part of the sunnah of Tahajjud.

How many rakats?

Tahajjud has no obligatory fixed number of rakats. The minimum is 2 rakats (since all voluntary prayers are prayed in pairs), and there is no scholarly-established maximum. The Prophet ﷺ prayed a range of totals at night depending on circumstances.

The most well-known narration describes eleven rakats total:

"The Prophet ﷺ prayed eleven rakats at night: he prayed eight rakats and then performed Witr and then prayed two rakats sitting." (Sahih al-Bukhari 1147)

Aisha (RA) described this as his consistent practice, though she also narrated that he prayed thirteen on some nights (Sahih al-Bukhari 1140). On the thirteen-rakat count, two are understood to be the light sunnah of Isha or the two light rakats after waking, leaving eleven as the core night prayer.

Ibn Umar (RA) narrated the Prophet's guidance on the structure: "Night prayer is two by two, and if you fear the approach of Fajr, pray one rakat to make what you have prayed odd" (Sahih al-Bukhari 993). This establishes the format clearly: pairs of 2 rakats, closed with a single Witr rakat.

Practical options by effort level:

Minimal (beginners): 2 rakats Tahajjud + 1 rakat Witr = 3 total. This is fully valid and should be considered a complete Tahajjud for someone beginning the practice.

Moderate: 4 rakats Tahajjud (2+2) + 3 rakats Witr = 7 total. This is a well-established narrated amount.

Prophetic norm: 8 rakats Tahajjud (four sets of 2) + 3 rakats Witr = 11 total.

Extended: 12 rakats Tahajjud + 1 rakat Witr = 13 total, or more. Some companions prayed more than this.

The Prophet ﷺ cautioned against suddenly taking on more than you can sustain: "The most beloved deed to Allah is the most regular and consistent even if it were little" (Sahih al-Bukhari 6464). Begin with 2+1 and build over time.

Niyyah and how to begin

The niyyah (intention) for Tahajjud is made in the heart before starting the prayer. There is no prescribed verbal formula for niyyah in the Sunnah; the heart's intention is sufficient. You may say internally: "I intend to pray two rakats of voluntary night prayer for the sake of Allah."

Step-by-step to begin:

1. Ensure you are in a state of wudu. If your wudu is intact from Isha, you do not need to renew it unless it was broken. Many people prefer to make a fresh wudu when waking in the night as it aids in alertness and complete presence.

2. Wake during the last third of the night. Set an alarm. The Prophet ﷺ would set Bilal (RA) to wake him (Sahih al-Bukhari 1132). Using a tool or alarm to ensure you wake is fully in line with the prophetic approach.

3. Open with the recommended du'a upon waking. The Prophet ﷺ said, upon waking at night: "La ilaha illallahu wahdahu la sharika lah, lahul mulku wa lahul hamd, wa huwa ala kulli shay'in qadir..." and then made du'a, then made wudu and prayed (Sahih al-Bukhari 1154).

4. Open the prayer with two light rakats. The Prophet ﷺ opened his night prayer with two short rakats, reportedly reciting Surah Al-Kafirun and Surah Al-Ikhlas in them (Sahih Muslim 767). This serves as a warmup for the longer prayer to follow.

5. Continue with however many rakats you have set as your target. Each set of 2 rakats is a complete prayer unit, with its own Fatiha, surah, ruku, sujud, and tashahhud at the end.

6. End with Witr. Do not sleep without Witr if you plan to sleep after the prayer. The Prophet ﷺ said: "Make Witr your last prayer of the night" (Sahih al-Bukhari 998).

What to recite in Tahajjud

There is no obligatory surah for Tahajjud beyond Surah Al-Fatiha in each rakat. However, the prophetic practice gives strong guidance:

Opening du'a (after Takbirat al-Ihram): The Prophet ﷺ would begin his night prayer with a long opening supplication:

"Allahumma lakal-hamd, anta qayyimus-samawati wal-ard wa man fihinn. Wa lakal-hamd, laka mulkus-samawati wal-ard wa man fihinn. Wa lakal-hamd, anta nurus-samawati wal-ard. Wa lakal-hamd, antal-haqq, wa wa'dukal-haqq..." (Sahih al-Bukhari 1120)

This translates as: "O Allah, to You belongs all praise. You are the Sustainer of the heavens and earth and all they contain. To You belongs all praise; to You belongs the dominion of the heavens and earth and all they contain. To You belongs all praise; You are the Light of the heavens and earth. To You belongs all praise; You are the Truth, and Your promise is truth..."

Surahs in the body of the prayer: The Prophet ﷺ would recite long surahs in Tahajjud, sometimes spending a single night on a few verses, pausing to reflect. He recited Al-Baqarah, Al-Imran, and An-Nisa in sequence in one narration that kept the companion Abu Dharr (RA) standing with him all night (Sahih al-Bukhari 1135). He also frequently recited the Mufassal surahs (the shorter chapters from Al-Hujurat onward) when his time was limited.

For a beginner: reciting Surah Al-Ikhlas, Al-Falaq, and An-Nas repeatedly in each rakat is perfectly valid and carries its own reward. The goal is connection, not performance. As your memorization grows, your Tahajjud recitation can grow with it.

Sujud in Tahajjud: Prostration in the night prayer carries particular weight. The Prophet ﷺ said: "The closest that a servant is to his Lord is when he is in prostration, so make much supplication in it" (Sahih Muslim 482). In Tahajjud's extra-long sujud, many Muslims pour out their specific needs and supplications to Allah.

Witr: the seal of the night prayer

Witr is the odd-numbered rakat that closes the night prayer. Its status is debated: the Hanafi school considers it wajib (obligatory in the night prayer cycle), while the other three schools consider it a confirmed sunnah. All schools agree it should not be abandoned.

The Prophet ﷺ said: "Allah is witr (odd) and He loves the witr. So pray Witr, O people of the Quran" (Abu Dawud 1416, authenticated). He also said: "Make Witr your last prayer of the night" (Sahih al-Bukhari 998).

Witr can be prayed as 1, 3, 5, 7, 9, or 11 rakats. The Prophet ﷺ prayed all these numbers on different occasions. The most common narrated practices are 1 rakat or 3 rakats. When praying 3, the Hanafi practice is to pray them continuously as a single unit of 3 with one set of two sittings and a final sitting. The Hanbali and Shafi'i practice is to pray 2 rakats, give salam, then pray 1 more.

In the third rakat of Witr (or the single rakat if praying 1), the Prophet ﷺ would recite Surah Al-A'la (87), Surah Al-Kafirun (109), and Surah Al-Ikhlas (112) in the three rakats respectively, or Al-A'la, Al-Kafirun, Al-Ikhlas plus Al-Falaq and An-Nas in other narrations. The recommended du'a after Witr is Qunut, raised hands, made after ruku in the last rakat, asking for guidance and protection.

If you prayed Witr after Isha and then woke for Tahajjud, you do not repeat Witr. The Prophet ﷺ said: "There are no two Witrs in one night" (Abu Dawud 1439, authenticated). You pray your Tahajjud sets without Witr at the end if you have already prayed it.

Du'a in Tahajjud

One of the most powerful aspects of Tahajjud is the opportunity for personal supplication. The hadith of divine descent (Muslim 758) makes clear that Allah's response during the last third of the night is active and immediate. This is the optimal time for du'a.

Du'a can be made: in sujud (prostration) within the prayer, between rakats, and after the salam. All are established from the Sunnah. The Prophet ﷺ would make du'a in his night prayer at length, sometimes an entire rakat was effectively a prolonged du'a interspersed with Quranic recitation and reflection.

Ibn Abbas (RA) narrated a complete du'a the Prophet ﷺ made when rising for Tahajjud: "Allahumma lakal-hamd, anta nurus-samawati wal-ard... Allahumma anta al-haqq, wa qawluka al-haqq, wa liqauka al-haqq, wal-jannatu haqq, wannaru haqq, wan-nabiyyuna haqq, wa Muhammadun haqq... Allahumma laka aslamtu, wa bika amantu, wa alayka tawakkaltu, wa ilayka anabtu, wa bika khasamt, wa ilayka hakamtu, faghfirliy ma qaddamtu wa ma akhartu..." (Sahih al-Bukhari 1120).

After Tahajjud and Witr, the time just before Fajr is the Sahur time of du'a, which the Quran identifies separately: "And in the hours before dawn, they would ask for forgiveness" (51:18). Even sitting quietly making istighfar in the last minutes before Fajr is a Quranic act of the righteous.

Benefits and spiritual station of Tahajjud

The scholars have written at length about Tahajjud's effect on the soul. Ibn al-Qayyim described it in Madarij al-Salikin as the single most powerful tool for polishing the heart and strengthening the connection to Allah. He wrote that the one who prays Tahajjud regularly attains a light (nur) in the face that others recognize without knowing its source.

The Prophet ﷺ made the connection between night prayer and worldly dignity: "Adhere to the night prayer, for it was the practice of the righteous before you. Indeed, night prayer is a means of nearness to Allah, an expiation of sins, a prevention from wrongdoing, and a repeller of illness from the body" (Al-Tirmidhi 3549, declared hasan).

The Quran's description in 17:79 promises the Maqam Mahmud, the praised station, for one who maintains the night prayer. The classical exegetes (including Ibn Kathir and al-Tabari) understood this primarily as the station of intercession that Allah will give the Prophet ﷺ on the Day of Judgment, but they also noted that maintaining Tahajjud elevates any believer's rank.

From a practical standpoint, the discipline of waking consistently for Tahajjud reshapes your relationship with sleep, time, and intention. People who pray Tahajjud regularly report that the five daily prayers feel lighter and more connected as a result. The night prayer is the anchor that holds the day's worship in place.

Starting Tahajjud practically

Here is a realistic approach for someone who has never prayed Tahajjud before:

Week 1: Set an alarm for 30 minutes before Fajr, two nights per week. Pray 2 rakats and 1 Witr. That is all. Three rakats total, twice a week, in the last thirty minutes before dawn. Make this consistent before adding anything.

Week 2-3: Add a third night. Extend the duration slightly: pray 4 rakats and 1 Witr.

Month 2: Aim for every night, or every night except one (which is the Prophet's advice to Abdullah ibn Amr when he was fasting and praying every night without break, Sahih al-Bukhari 1131). Settle on a number of rakats you can maintain without burning out.

Long term: The goal is continuity, not volume. "The most beloved deed to Allah is the most regular and consistent even if it were little" (Sahih al-Bukhari 6464). Two consistent rakats of Tahajjud every night for ten years is worth more than an extraordinary night prayer followed by months of absence.

Tools that help: set a FivePrayer alert for the beginning of the last third of the night. Prepare your wudu before sleeping so you do not have a barrier when you wake. Keep a cup of water near your bed. Sleep with the intention of Tahajjud already formed; the scholars note that sleeping with this niyyah earns reward for the entire night even if you do not wake.

FAQ

Can I pray Tahajjud without sleeping first?

You can pray voluntary night prayer (Qiyam al-Layl) without sleeping, and it is rewarded. Strictly speaking, Tahajjud implies waking from sleep, so if you pray all night without sleeping, the prayer is Qiyam al-Layl rather than Tahajjud in the precise linguistic sense. The reward is similar. However, sleeping briefly and then waking is the prophetic model and most scholars recommend it.

What if I fall asleep and miss Tahajjud?

The Prophet ﷺ addressed this directly: "Whoever sleeps and misses his wird (regular night prayer), let him pray it between Fajr and Dhuhr, and it will be recorded as if he had prayed it at night" (Sahih Muslim 747). You can make up a missed Tahajjud in the morning. This is not a full substitute but it is a mercy; the intention counts for much.

Is Tahajjud the same as Qiyam al-Layl?

Qiyam al-Layl means "standing at night" and refers broadly to all voluntary night prayer. Tahajjud is a type of Qiyam al-Layl specifically after having slept. All Tahajjud is Qiyam al-Layl, but not all Qiyam al-Layl is technically Tahajjud. In common usage, the terms are often used interchangeably in Islamic literature.

Should I pray Tahajjud before or after Witr?

Tahajjud is prayed first, then Witr closes the night prayer session. If you have already prayed Witr after Isha, do not repeat it when you wake for Tahajjud. Simply pray your Tahajjud sets of 2 without a closing Witr. The Prophet ﷺ prohibited praying two Witrs in one night (Abu Dawud 1439).

Can women pray Tahajjud during menstruation?

Women in a state of menstruation (hayd) cannot pray the formal prayer (salah). However, they can maintain their connection to Allah's last-third window through dhikr, du'a, reciting Quran from memory without touching the mushaf (according to most scholars), and seeking istighfar. The spiritual practice of being awake in the last third is available to everyone, even when formal prayer is not.

Get accurate prayer times and Qibla direction anywhere in the world.