Complete Guide: How to Pray Tahajjud Prayer Step by Step — Time, Niyat, Rakats and Dua

You’ve heard the night prayer is special, and you want to start. The trouble is that nobody ever walked you through it. When do you wake up? How many rakats? What do you actually say? This guide covers how to pray tahajjud from the first alarm to the last dua, in plain steps you can follow tonight.

Quick Answer: How Do You Pray Tahajjud?

To pray tahajjud, sleep first, then wake up, ideally in the last third of the night. Make wudu, face the qibla, and intend in your heart to pray tahajjud. Pray at least two rakats, then continue in pairs of two if you can (eight is common), finish with witr, and make dua. Everything should end before Fajr time begins.

That’s the whole shape of it. The rest of this guide fills in each piece.

What Is Tahajjud Prayer?

Tahajjud is a voluntary prayer offered at night, between Isha and Fajr. It isn’t one of the five daily prayers. It’s a sunnah, meaning it’s strongly encouraged, but you won’t be sinful for missing it.

Most scholars define tahajjud as the night prayer you offer after waking from sleep. Qiyam al-layl is the wider term for any prayer at night, whether you slept first or not. In everyday speech, people use the two names almost interchangeably, and you’ll see that here too.

Why do it at all? The Quran points to it more than once. Surah Al-Isra (17:79) tells the Prophet ﷺ to pray part of the night as an extra prayer. Surah As-Sajdah (32:16) describes believers whose sides part from their beds as they call on their Lord. And a hadith in Sahih Muslim says the best prayer after the obligatory ones is the night prayer.

There’s a quieter reason, too. The house is silent, your phone isn’t buzzing, and nobody needs anything from you. It’s one of the few times the day gives you for free.

When Is the Best Time to Pray Tahajjud?

The best time to pray tahajjud is the last third of the night. You can pray it any time between Isha and the start of Fajr, but the final third is the most recommended.

Why that window? A hadith recorded in Bukhari and Muslim says Allah descends to the lowest heaven in the last third of the night and asks who is calling on Him, so that He may answer. Many Muslims plan their tahajjud around that.

How to Calculate the Last Third of the Night

Here’s a method that works anywhere:

  1. Find the length of the night: the time from Maghrib to Fajr.
  2. Divide that number by three.
  3. Subtract one-third from the Fajr time. That’s when the last third begins.

A quick example. Say Maghrib is at 5:30 PM and Fajr is at 5:00 AM. The night is 11.5 hours long. A third of that is roughly 3 hours 50 minutes. So the last third starts around 1:10 AM.

Some scholars count the night from Isha instead, which shifts the number slightly. If you want certainty, ask your local imam which method your community follows. You also can read, “Best Dua for Marriage: How to Get Married Soon in Islam”

Tahajjud Time Windows at a Glance

WindowStatus
Right after Isha, before sleepingCounts as night prayer (qiyam), though tahajjud proper follows sleep
Middle of the nightGood
Last third of the nightBest
After Fajr beginsToo late for tahajjud; pray the Fajr sunnah and fard instead

What If You Can’t Wake Up in the Last Third?

Don’t skip it altogether. Pray whenever you do wake, even at 11 PM. A hadith in Sahih Muslim also advises that if you fear you won’t wake before Fajr, you should pray your witr before sleeping. If you hope to wake, pray witr at the end of the night, because that prayer is witnessed.

What Is the Niyat for Tahajjud?

The niyat (intention) for tahajjud lives in your heart. There are no required Arabic words, and you don’t have to say anything aloud.

If it helps you focus, you can say something simple in your own language, like “I’m praying two rakats of tahajjud for the sake of Allah.” That’s a support for your mind, not a requirement.

One habit worth building: make the intention before you go to bed. Telling yourself “I’ll wake for tahajjud tonight” and meaning it seems to make waking up easier. Many people find they wake a few minutes before the alarm.

How to Pray Tahajjud Step by Step

Tahajjud is prayed like any two-rakat voluntary prayer. If you already know how to pray Fajr sunnah, you already know the mechanics. Here are the steps in order.

Step 1: Wake Up and Make Wudu

Wake up, wash your face if you need to, and perform wudu properly. Take your time. The cold water helps with the sleepiness, and nobody’s timing you.

Step 2: Find a Quiet Spot and Face the Qibla

Pick a clean spot where you won’t be disturbed. A prayer mat is ideal. Keep lights low if you like, though that’s personal preference, not a rule.

Step 3: Make the Niyat

Intend in your heart to pray two rakats of tahajjud, as covered above.

Step 4: Begin the First Rakat

Raise your hands and say Allahu Akbar. Then:

  • Recite the opening supplication (thana) if you know it. It’s optional.
  • Say A’udhu billahi minash-shaytanir-rajim and Bismillah.
  • Recite Surah Al-Fatiha.
  • Recite another passage from the Quran (more on this below).

Step 5: Bow and Prostrate

Say Allahu Akbar and go into ruku. Say Subhana Rabbiyal Azim at least three times. Stand up saying Sami’Allahu liman hamidah, then Rabbana wa lakal hamd. Go into sujud, say Subhana Rabbiyal A’la three times, sit briefly, and prostrate a second time.

Step 6: Pray the Second Rakat

Stand for the second rakat. Recite Al-Fatiha and a surah again, bow, and prostrate as before. After the second sujud, sit for the tashahhud.

Step 7: Finish With Tashahhud, Durood and Salam

Recite At-Tahiyyat, then the Salawat upon the Prophet ﷺ (the Ibrahimiyya version most people recite in every prayer). End with the salam to the right and left. You’ve now completed two rakats.

Step 8: Repeat in Pairs if You Wish

The Prophet ﷺ taught that the night prayer is offered two rakats at a time. So if you want more, start a fresh two-rakat prayer with a new takbir. Many people pray four or eight rakats this way.

Step 9: Close With Witr and Dua

End your night prayer with witr. Then sit and make dua. We’ll cover that shortly.

What Should You Recite in Tahajjud?

Recite whatever you know. Beginners do well with Al-Fatiha plus a short surah such as Al-Ikhlas or Al-Kafirun, or the last verses of Al-Baqarah. Ayat al-Kursi is another favorite.

The Prophet ﷺ was known for long recitation and long standing. A companion, Hudhayfah, reported praying behind him and hearing him recite Al-Baqarah, An-Nisa and Al Imran in a single rakat (Sahih Muslim). That’s the ideal to grow toward, not the starting line. A short, focused tahajjud beats a long one you quit after three nights.

How Many Rakats Is Tahajjud?

The minimum is two rakats. There’s no fixed maximum, but the best-known pattern is eight rakats followed by witr.

LevelRakatsNotes
Minimum2Fully valid on its own
Common practice8, in pairs, plus witrWidely followed
Prophet’s usual total11 including witrReported by Aisha (Bukhari and Muslim); some reports mention 13

A note on witr, since schools differ. The Hanafi school prays witr as three rakats with one salam. Other schools allow one, three, or more rakats. Follow the practice of your own school, and ask a qualified scholar if you’re unsure.

What Dua Should You Make After Tahajjud?

Make dua in sujud and after your salam. The Prophet ﷺ taught that a servant is closest to their Lord in prostration, so sujud is a strong place to ask.

The Prophet ﷺ also had a specific dua he recited when he stood for the night prayer (recorded in Sahih al-Bukhari). It begins Allahumma lakal-hamd, anta qayyimus-samawati wal-ard, which means “O Allah, all praise is Yours; You are the Sustainer of the heavens and the earth.” The full text is worth learning with a teacher or a trusted source.

You don’t need fancy Arabic to make dua. Speak plainly in the language you think in. People often ask for:

  • Forgiveness for specific mistakes they’re still carrying
  • Guidance in a decision they’re stuck on
  • Health, provision and ease for family
  • Relief from a hardship they’ve been dealing with quietly

If you want a short Quranic dua, Rabbana atina fid-dunya hasanatan wa fil-akhirati hasanatan wa qina adhaban-nar (2:201) covers a lot in one line.

Tips to Wake Up for Tahajjud

Most people don’t struggle with how to pray tahajjud. They struggle with getting out of bed. These habits help.

  • Sleep early. You can’t wake at 3 AM if you went to bed at 2 AM. Aim to sleep within an hour of Isha.
  • Start small. Set your alarm 40 minutes before Fajr this week. Next week, move it 10 minutes earlier. Keep going until you reach the last third.
  • Put the alarm across the room. If you can reach it from bed, you’ll snooze it. Standing up is half the battle.
  • Eat light at night. A heavy dinner makes the night feel like a fight.
  • Take a short midday nap. The Prophet ﷺ encouraged the qaylulah, a brief nap before or after Dhuhr, and it helps you wake later.
  • Keep your wudu water and prayer mat ready. Fewer decisions at 3 AM means fewer excuses.
  • Don’t wait for a perfect streak. Missing a night isn’t failure. Start again the next one.

If you do miss a habit you’d kept, there’s a report in Sahih Muslim that when the Prophet ﷺ missed his night prayer because of sleep or illness, he prayed twelve rakats in the daytime. Scholars treat this as a recommended way to make up a regular practice, not an obligation.

Frequently Asked Questions About Tahajjud

Can I pray tahajjud without sleeping first?

Many scholars say tahajjud technically refers to a prayer after sleeping. If you stay up and pray at night, it’s still qiyam al-layl, and it carries great reward. The prayer itself is valid either way.

What is the minimum number of rakats for tahajjud?

Two rakats. You can pray more in pairs, but two done sincerely are enough.

Can women pray tahajjud during their period?

No. Prayer isn’t offered during menstruation. You can still wake at night to make dhikr, istighfar and dua, and that time isn’t wasted.

Is tahajjud obligatory?

No. It’s a voluntary prayer, strongly recommended in the sunnah, and you aren’t sinful for leaving it.

Can I pray tahajjud sitting down?

Standing is the norm for those who can stand. A hadith in Sahih al-Bukhari says the sitting prayer gets half the reward of the standing prayer for someone able to stand, so if you have a real need, sit. Don’t let tiredness alone convince you to stay down.

Your First Tahajjud Starts Tonight

You now know how to pray tahajjud: wake, make wudu, intend in your heart, pray two rakats (or more in pairs), close with witr, and spend a few quiet minutes in dua. That’s it.

So here’s the next step. Before you sleep tonight, set one alarm, put your prayer mat out, and make the intention. Just two rakats. If this guide helped, share it with someone who’s been meaning to start, and come back after your first week to tell us how it went.

Note: This guide gives general information based on mainstream Sunni sources. For rulings specific to your school of thought or situation, consult a qualified scholar.

I share authentic Islamic knowledge based on the Holy Quran, authentic Hadith, trusted Islamic books, and reliable scholarly sources. My articles cover Hadith, Duas, Islamic stories, history, and everyday Islamic guidance. My mission is to make Islamic knowledge simple, accessible, and beneficial for everyone. Deen Truth Hub – Sharing Islamic Knowledge, Inspiring Faith, and Spreading Truth.

2 thoughts on “Complete Guide: How to Pray Tahajjud Prayer Step by Step — Time, Niyat, Rakats and Dua”

Leave a Comment