Published on

How to Pray Tahajjud: Step-by-Step Guide

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education • DeenUp

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

In the name of God, the Most Gracious, the Most Merciful.

A solitary worshipper in predawn darkness praying Tahajjud night prayer by soft lamplight

There is something transformative about rising before Fajr when the world is quiet and standing before Allah in prayer. Tahajjud — the voluntary night prayer — is described throughout the Quran and Sunnah as one of the highest acts of devotion a Muslim can offer.

Yet for many Muslims, Tahajjud remains a practice they want to build but struggle to start. The alarm feels cruel at 3am. The pillow wins. This guide gives you the complete method for praying Tahajjud and, more importantly, a realistic path to making it consistent.

What Is Tahajjud and Why the Quran Emphasizes It

Tahajjud (تهجد) is the voluntary prayer performed during the night after sleeping. Allah addresses it directly in the Quran, giving it a status unlike almost any other voluntary act:

"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." — (Surah Al-Isra 17:79)

The "praised station" — maqam mahmoud — is understood by scholars to refer to the station of intercession on the Day of Judgment. This one verse alone reveals why generations of Muslims have guarded their Tahajjud.

Allah also describes the true believers in Surah Az-Zariyat:

"They used to sleep but little of the night, and in the hours before dawn they would seek forgiveness." — (Surah Az-Zariyat, 51:17-18)

The Prophet Muhammad ﷺ was the most consistent practitioner of night prayer. Aisha (رضي الله عنها) narrated:

"The Prophet used to pray at night until his feet became swollen. I said to him: 'O Messenger of Allah, why do you do this when Allah has already forgiven your past and future sins?' He said: 'Should I not be a grateful servant?'" — (Sahih Bukhari 1130)

This is the heart of Tahajjud: not fear of punishment, not seeking reward alone — but gratitude to Allah who deserves our worship beyond any ledger of sins and rewards.

For those building their broader prayer foundation, the complete salah guide covers all the movements and recitations you will draw on in Tahajjud as well.

Step-by-Step: How to Pray Tahajjud

Tahajjud is prayed in sets of two rakats, identical in form to any other voluntary prayer. Here is the full method:

Step 1: Wake Up and Perform Wudu

Set an alarm for the last third of the night (approximately 90 minutes before Fajr). Make a fresh wudu (ablution). The act of rising and washing is itself an act of devotion — your body prepares alongside your intention. For a detailed wudu walkthrough see the how to perform wudu guide.

Step 2: Begin with Two Short Rakats

The Prophet ﷺ taught:

"When any one of you gets up to pray at night, let him open with two short rakats." — (Sahih Muslim 768)

This warms the body into prayer and signals your heart that the night vigil has begun. Recite shorter surahs in these opening rakats.

Step 3: Make Your Intention

In your heart, intend to pray the voluntary night prayer — qiyam al-layl or salat at-tahajjud — for the sake of Allah alone. No verbal declaration is required.

Step 4: Complete Your Desired Rakats in Sets of Two

Pray as many pairs as you can manage with focus and presence. The Prophet ﷺ typically prayed 8 rakats of night prayer, though he sometimes varied this. Start with 2 rakats if you are new to Tahajjud and increase gradually.

In each rakat:

  • Recite Surah Al-Fatihah
  • Follow with a portion of the Quran — longer recitations are recommended during night prayer when the mind is clear and the world is quiet
  • Complete the bowing (ruku), prostrations (sujood), and standing as in any prayer

Step 5: Add Witr to Close

The Prophet ﷺ said: "Make Witr the last of your night prayers." (Sahih Bukhari 998). Witr — typically 3 rakats — closes the Tahajjud session. Do not sleep after Witr until Fajr without this intention in mind.

Step 6: Make Extended Dua in Sujood

One of the most powerful elements of Tahajjud is lingering in prostration:

"The closest a servant is to his Lord is when he is in prostration, so increase in supplication." — (Sahih Muslim 482)

After the formal recitation in sujood, remain in the position and speak to Allah freely — in Arabic, in your own language, for yourself, your family, your community. This is the conversation that Tahajjud makes possible.

Build a consistent Tahajjud habit

DeenUp helps you track your night prayers, set Tahajjud alarms, and receive daily Quranic verses to reflect on during your early morning worship.

Download DeenUp — Free on iOS

Building a Consistent Tahajjud Habit

Most Muslims who struggle with Tahajjud do not have a willpower problem — they have a systems problem. Here is how to build the habit sustainably:

Start small. Two rakats two nights a week is more spiritually valuable than eight rakats once a month. The Prophet ﷺ said: "The most beloved deeds to Allah are those done consistently, even if they are small." (Sahih Bukhari 6465). Begin with what you can actually repeat.

Sleep with intention. Make a firm intention (niyyah) before sleeping that you will rise for Tahajjud. The Prophet ﷺ said that whoever intends to pray at night but sleep overtakes them, Allah records for them the reward of their intention. (Sahih Muslim 746).

Protect your Isha. Those who pray Isha at its time and then sleep early find the pre-Fajr window much more accessible. Review your evening routine with the lens of the how to pray Fajr guide — many of the habit-formation principles apply equally to Tahajjud.

Use the last third of the night. Allah descends (in a manner befitting His majesty) to the lowest heaven in the last third of each night and calls out: "Is there anyone making dua so I may respond? Is there anyone seeking forgiveness so I may forgive?" (Sahih Bukhari 1145). This window is precious.

Track and build streaks. Accountability transforms intention into habit. Many Muslims find that logging their night prayer — even a simple tally — creates the continuity that sustains the practice. The DeenUp app includes daily habit tracking designed around Islamic practices including Tahajjud.

For related guidance on the spiritual benefits of night prayer more broadly, the Deen Back guide to qiyam al-layl explores how consistent night worship reshapes the soul's relationship with sleep, productivity, and tawakkul.

The Demi Manifest piece on building night prayer habits is also worth reading for its practical take on preparing the environment — light, temperature, and alarm strategies — to make the pre-Fajr wake-up sustainable long-term.

A Dua for Tahajjud

The Prophet ﷺ would begin Tahajjud with this supplication:

اللَّهُمَّ لَكَ الْحَمْدُ أَنْتَ نُورُ السَّمَاوَاتِ وَالأَرْضِ وَمَنْ فِيهِنَّ

"O Allah, to You belongs all praise. You are the Light of the heavens and the earth and all that is in them." — (Sahih Bukhari 1120)

This opening reorients the heart — you are not stumbling out of bed half-awake; you are entering the presence of the Light of the heavens. Begin with this and let the prayer flow from that awareness.

For those who want to deepen the supplication practice within their night prayer, the daily duas for Muslim life guide contains additional authentic supplications that integrate naturally into the Tahajjud session.

Common Questions

Can I pray Tahajjud if I have not prayed all my obligatory prayers? First make up any missed obligatory prayers (qada). Voluntary prayers do not substitute for obligatory ones. But you do not need to delay Tahajjud until you have fully made up past missed prayers — begin the voluntary practice now and make up obligations alongside it.

What if I wake up and feel too tired to pray properly? Pray two short rakats rather than zero. Even a brief, sincere prayer in the darkness is worth more than sleeping through the window. Quality of presence matters more than length.

Is Tahajjud different from Qiyam al-Layl? Technically, Tahajjud refers specifically to night prayer after sleeping, while Qiyam al-Layl (قيام الليل) refers to all voluntary night prayer including before sleep. In common usage and in many hadith, the terms are used interchangeably.

Can I combine Tahajjud and Witr with Taraweeh in Ramadan? Yes. In Ramadan, many Muslims pray Taraweeh at the masjid and then add additional rakats at home before Fajr. The Witr prayed with Taraweeh typically serves for the night; adding more rakats before Fajr is permitted without repeating Witr. For Ramadan-specific night prayer guidance see the how to pray Taraweeh guide.


Tahajjud is a conversation between you and Allah at the hour most of the world has given to sleep. Every time you rise for it, you are choosing that conversation over comfort — and Allah does not let that choice go unnoticed.

Begin tonight. Set one alarm. Pray two rakats. Let that be enough for now, and build from there. The path to a lasting Tahajjud practice is paved with small, sincere beginnings.

Never miss Tahajjud again

Set Tahajjud reminders, track your night prayer streaks, and start each day with a Quranic verse — DeenUp is your companion for the hours before Fajr.

Download DeenUp — Free on iOS

Frequently Asked Questions

How many rakats is Tahajjud?

There is no fixed minimum. The Prophet prayed 8 rakats of night prayer then 3 witr, but 2 rakats is a perfectly valid starting point. Focus on quality over quantity.

What time can I pray Tahajjud?

After Isha prayer and before Fajr. The last third of the night — roughly 90 minutes before Fajr — is the most virtuous time, but any portion of the night is valid.

Do I need to sleep first before Tahajjud?

Technically yes — Tahajjud means to rise from sleep. However, many scholars consider night voluntary prayer valid even without prior sleep, particularly if you intend it as qiyam al-layl.

What should I recite in Tahajjud?

Recite whatever you know of the Quran. Long recitations are recommended when able, but even a few short surahs recited slowly and with reflection are deeply rewarding.

Can I make Tahajjud part of my daily routine?

Absolutely. The Prophet encouraged regular Tahajjud and praised those who establish it consistently. Start with 2 rakats a few nights a week and build gradually.