← Muhasaba

Ramadan prayer

Taraweeh Prayer: How to Pray It, Rakats & Meaning

The Prophet ﷺ prayed it three nights running, then stopped on purpose. Here is what taraweeh actually is, why the rakat count is debated, and how to pray it whether you are standing in a packed mosque or alone in your living room.

By Zaman Ishtiyaq · August 2026

Add Muhasaba as a preferred source on Google

9 min read

In this guide
  1. 01Why the Prophet ﷺ prayed it, then stopped
  2. 02How the congregation came back under Umar
  3. 038 rakats or 20? The honest answer is both
  4. 04How to pray taraweeh, step by step
  5. 05Praying taraweeh at home
  6. 06Taraweeh, tahajjud and qiyam al-layl
  7. 07What is recited during taraweeh
  8. 08How long does taraweeh take
  9. 09A few practical notes for beginners
  10. 10Frequently Asked Questions
  11. 11Close your taraweeh nights with reflection, free on iOS.

Definition

Taraweeh (Arabic: التراويح) is the extra night prayer offered after Isha throughout Ramadan, prayed in pairs of two rakats with a short rest between every four. The word comes from tarwihah, "a rest," describing the pause the earliest Muslims took between sets. It is sunnah muakkadah: strongly recommended, not obligatory, and it closes with Witr.

Walk into almost any mosque on a Ramadan night and you will find it fuller than at any other point in the year. Rows that stay half-empty for the five daily prayers fill to the doors for taraweeh. It has become, for many Muslims, the defining image of the month itself: long standing, long recitation, the Quran moving forward night by night toward its final juz. But the prayer that draws that crowd has a more careful history than the image suggests, and a rakat count that is still argued over, respectfully, fourteen centuries later.

Why the Prophet ﷺ prayed it, then stopped

Aisha (رضي الله عنها) narrated that the Prophet ﷺ went out in the middle of the night and prayed in the mosque, and some men prayed behind him. In the morning, word spread, and a larger group gathered the second night to pray behind him again. By the third night, the mosque could barely hold everyone who came.

"Your presence was not hidden from me, but I feared that this prayer might be made obligatory upon you, and you would not be able to keep up with it."

— the Prophet ﷺ, explaining why he did not come out on the fourth night (Sahih al-Bukhari 2012)

That single decision shaped everything that followed. Because the Prophet ﷺ deliberately avoided making the congregational night prayer a fixed, expected practice, it remained what it still is today: a strongly recommended sunnah, not a sixth pillar. The concern was not the prayer itself. It was the burden that obligation would place on people who could not sustain it every single night of Ramadan for the rest of their lives.

How the congregation came back under Umar

After the Prophet ﷺ passed away, and through the caliphate of Abu Bakr, Muslims returned to praying the night prayer individually or in small, scattered clusters around the mosque, exactly as they had before the Prophet ﷺ briefly led it in congregation. Under the caliph Umar ibn al-Khattab, that changed. Seeing the mosque full of people praying alone or in mismatched small groups, Umar gathered them behind a single imam, Ubayy ibn Ka'b, and remarked that this was an excellent thing to have revived. This is a report found in Sahih al-Bukhari, though this page will not attach an exact hadith number to the specific wording, since sources vary slightly on it.

From that point on, taraweeh in congregation became the normal practice of the ummah, carried forward without interruption to the mosques standing today. What Umar restored was not a new prayer. It was the communal shape the Prophet ﷺ had shown for three nights and then, out of mercy, set aside.

8 rakats or 20? The honest answer is both

This is the question that generates the most debate, and also the one where certainty is least available. Two separate bodies of evidence point in two directions, and classical scholarship never fully closed the gap between them.

01

The case for 8

Aisha (رضي الله عنها) was asked how the Prophet ﷺ prayed at night in Ramadan. Her answer, recorded in Sahih al-Bukhari and Sahih Muslim, was that he never prayed more than eleven rakats, in Ramadan or outside it, commonly counted as 8 rakats plus 3 for Witr. This is the strongest single description of the Prophet's ﷺ own personal night prayer that has come down to us.

02

The case for 20

Reports describe Ubayy ibn Ka'b leading the congregation Umar had gathered with 20 rakats, and this became the practice that spread and stabilized across the generations after the Companions, without recorded objection at the time. Imam Malik's al-Muwatta and later Hanafi and Shafi'i scholarship carried this count forward as the congregational standard still followed in most mosques across South Asia, the Gulf, and North Africa today.

03

Why both are accepted

Because taraweeh is voluntary, its length was never fixed by revelation the way the rakats of the five daily prayers are. Scholars across schools of thought have accepted both 8 and 20 as valid, differing on which practice they consider preferable rather than on whether the other is permitted. If your mosque prays 20, praying 20 is taraweeh. If your local practice is 8, praying 8 is also, fully, taraweeh.

How to pray taraweeh, step by step

The mechanics are simpler than the historical debate around them. Every rakat of taraweeh follows the same structure of salah you already know from the five daily prayers.

01

Pray Isha first

Taraweeh comes after the four fard rakats of Isha and its regular sunnah rakats. It is not a substitute for Isha and cannot be prayed before it.

02

Set your niyyah

The intention is simple and silent: you are standing to pray taraweeh, or qiyam Ramadan, for the sake of Allah. No specific wording is required; the intention in the heart is what counts.

03

Pray in pairs of two rakats

Each unit of taraweeh is a standard two-rakat prayer, opened with takbir, closed with tasleem, exactly like the sunnah prayers you already know from the five daily salahs.

04

Take the rest after every four

Traditionally, a short pause follows every two sets (four rakats). This pause is the origin of the name taraweeh. In the mosque it is often a moment for the congregation to sit, catch their breath, or make quiet dhikr before standing again.

05

Continue to 8 or 20 rakats

Keep praying in twos until you reach whichever count your mosque or your own practice follows, commonly 8 or 20. There is no requirement to finish every rakat for the prayer you have offered to count; a shorter taraweeh is still valid taraweeh.

06

Close with Witr

Taraweeh ends with Witr, an odd-numbered prayer, usually three rakats. Witr is the formal close of the night’s voluntary prayer and is itself confirmed sunnah, distinct from taraweeh but almost always prayed immediately after it.

For the exact rakat totals of every prayer, including how Witr fits into the count, the prayer rakats chart lays out fard, sunnah, and nafl rakats for all five daily prayers alongside Witr in one place.

Praying taraweeh at home

Because taraweeh is voluntary, it does not require a mosque or a congregation. You can pray it alone, or lead your family through it, following the same pairs-of-two structure described above, at any time between Isha and the start of Fajr. This matters for anyone who is unwell, caring for young children, working a night shift, or simply finds a quieter environment more conducive to actual presence in the prayer: the khushoo that a rushed, crowded congregation can sometimes make harder to hold onto.

If you are praying behind an imam and join a set late, or lose track of how many rakats you have missed, the practical rule is simple: stay with the imam until he finishes his rakats, then stand on your own and complete whatever you missed before moving to Witr. You are not required to catch every single rakat perfectly for the night's taraweeh to count.

Women are equally encouraged to pray taraweeh, whether at the mosque or at home, and most mosques set aside a dedicated space for women during Ramadan precisely because attendance tends to be higher than for the five daily prayers. Praying at home carries no loss of reward for a woman compared to praying in congregation. If mosque space, childcare, or a long commute make nightly attendance difficult, praying taraweeh at home each night, and joining the congregation on the nights that are easier to manage, is a sound way to stay connected to the prayer without treating it as all-or-nothing.

Taraweeh, tahajjud and qiyam al-layl

These three names describe, at their core, the same category of prayer: a voluntary night prayer beyond the five obligatory ones, under different labels depending on timing and season. Qiyam al-layl, "standing in the night," is the broadest term and can apply any night of the year. Taraweeh is the name given specifically to that night prayer during Ramadan, usually prayed early, right after Isha, in congregation. Tahajjud names the same underlying prayer outside Ramadan, or prayed later in the night after some sleep, most often alone.

Nothing stops a person from also rising later in a Ramadan night, after taraweeh, for additional rakats in the last third of the night. Many do exactly this during the last ten nights, drawn by the search for Laylatul Qadr. At that point the label matters less than the fact that the night is being spent standing before Allah.

What is recited during taraweeh

There is no special recitation unique to taraweeh beyond what is recited in any other salah: Surah al-Fatiha in every rakat, followed by a portion of the Quran chosen by the imam or, when praying alone, by you. What distinguishes taraweeh in practice is scale: many mosques divide the entire Quran into thirty roughly equal portions and complete one each night, so that the final rakat of the final night of Ramadan closes the last verse of Surah an-Nas. This is called a khatm, a completion, and it is one of the reasons taraweeh nights tend to run considerably longer than any other congregational prayer of the year.

Witr, prayed at the close of taraweeh, commonly includes dua qunoot, recited standing in the final rakat before bowing. It is a good place to add personal requests in your own words, in whatever language you pray in, after the set Arabic supplication.

How long does taraweeh take

This varies enormously by mosque and by night. A mosque reciting a full juz per night in slow, measured tajweed can easily run 90 minutes to two hours for 20 rakats plus Witr. A mosque reciting shorter, already-memorized surahs, or one praying only 8 rakats, might finish in 30 to 45 minutes. Neither pace is more correct than the other; both are simply different choices about how much of the Quran to move through each night versus how unhurried each rakat is. Some communities pick up the pace in the final third of Ramadan once the khatm target is in sight, and slow back down for the last ten nights, when many worshippers stay afterward for additional individual prayer.

If a two-hour prayer feels unmanageable on a work night, that is a reasonable thing to plan around rather than push through. Praying the first four or eight rakats at the mosque, then completing the rest, or simply Witr, at home once you are less rushed, is a legitimate way to stay consistent across the month instead of burning out in the first week and skipping the rest.

A few practical notes for beginners

Arrive with wudu already made. Most mosques are at their most crowded right at taraweeh, and finding space at the ablution area gets harder as the prayer time nears. Wudu done calmly at home beats a rushed one at the mosque door.

Do not feel obligated to stay for every rakat the first time you attend. Long recitation and standing for twenty rakats is a habit that most people build over several Ramadans, not something expected fully formed on night one. Praying four rakats with attention beats praying twenty while distracted, tired, or resentful of the length.

And if the whole month feels like a lot to sustain, remember that taraweeh sits inside your existing daily routine built around the five prayers, not on top of it. Ramadan does not ask you to invent new time; it asks you to spend the hours after Isha, which most nights go to something else anyway, standing instead.

Frequently Asked Questions

What is taraweeh prayer?

Taraweeh is the extra night prayer offered after Isha during Ramadan, prayed in sets of two rakats with a short rest between each set. It is a confirmed sunnah, not an obligation, and it is the practice most associated with the spiritual atmosphere of Ramadan nights in the mosque.

Is taraweeh obligatory?

No. Taraweeh is sunnah muakkadah, a strongly emphasized sunnah, not fard. The Prophet ﷺ deliberately stopped leading it in congregation for several nights specifically so it would not be mistaken for an obligation on the whole ummah.

How many rakats is taraweeh: 8 or 20?

Both are practiced validly today. Reports describe the Prophet ﷺ praying 8 rakats plus Witr in Ramadan, while 20 rakats became the standard congregational practice under the caliph Umar ibn al-Khattab and is still followed in most Hanafi and Shafi'i mosques. There is no single rakat count that all scholars agree is the only correct one.

Can taraweeh be prayed alone at home?

Yes. Taraweeh does not require a congregation or a mosque. You can pray it alone, or lead your family, in sets of two rakats followed by Witr, at any point between Isha and the start of Fajr.

What is the difference between taraweeh and tahajjud?

They are the same underlying night prayer with different names depending on timing and season. Taraweeh is the name used for that prayer specifically in Ramadan, usually prayed early in the night after Isha. Tahajjud is the same voluntary night prayer prayed outside Ramadan, or later in the night after sleeping.

What happens if you miss rakats behind the imam in taraweeh?

If you join late and miss some rakats, stay with the imam until he finishes, then stand and complete the rakats you missed on your own before making your own Witr, or before joining him for Witr if he has not yet prayed it.

After the last rakat

Close your taraweeh nights with reflection, free on iOS.

The Muhasaba app guides a five-minute nightly reflection, written or spoken, so the hours you spend standing in Ramadan carry into how you review each day.

Download on the App Store

New to muhasaba? Learn what muhasaba al-nafs means →

Discuss on X