Prayer

Terawih Prayer: How to Perform It and 8 vs 20 Raka'at

Rows of worshippers on prayer mats in a softly lit mosque hall at night during Ramadan, seen from behind
Short answer

Terawih is a sunnah night prayer in Ramadan, prayed after Isyak in sets of two raka'at. MUIS accepts both 8 and 20 raka'at as valid, each followed by an odd-numbered witr — so choose the number you can keep up with consistently.

Terawih is the special night prayer of Ramadan — a highly encouraged sunnah prayed after Isyak, in sets of two raka’at. This guide walks through how to perform it, how to form the intention, the well-known question of whether it is 8 or 20 raka’at, and the witr prayer that closes the night, following MUIS and the mainstream Shafi’i practice in Singapore. For the wider month — dates, fasting hours and zakat fitrah — see our Ramadan in Singapore guide. For a ruling on your own case, ask an ARS-recognised asatizah or the Office of the Mufti.

What Terawih is

Terawih is a prayer offered only during Ramadan, and it “begins right after the congregational Isyak prayer.” It carries a great reward: the Prophet s.a.w. said that “whoever stands (in worship) in Ramadan out of faith and hope for the rewards (from Allah), his past sins will be forgiven.”

It is one of the acts that gives Ramadan nights their character — alongside the recitation of the Quran and, in the last ten nights, the search for Laylatul Qadar. Most mosques also set aside dedicated spaces for Muslimah so women can join the congregation.

How to perform Terawih

Terawih is prayed two raka’at at a time, each unit ending with its own salam, exactly like any other two-rak’ah sunnah prayer. If you know the daily prayer, you already know the movements — the opening takbir, Al-Fatihah and a short surah standing, ruku’, i’tidal, two sujud, the final tahiyyat and salam. Our step-by-step solat guide covers each posture in full, and you will need wudu first — see how to perform wudu.

Two points are specific to Terawih:

  • It is recited aloud. Terawih is among the prayers in which recitation is said aloud, like Subuh and the first two raka’at of Maghrib and Isyak.
  • Al-Fatihah in every unit. As in all prayer, Surah Al-Fatihah is an integral — “a Solat will not be accepted if one does not recite Surah Al-Fatihah in every raka’at” — so recite it in each raka’at, whether you lead, follow or pray alone.

The intention for Terawih

Terawih begins, like every prayer, with the niyyah in the heart, formed as you make the opening takbir. Praying on your own, the intention is:

Usolli sunnata-taraawiihi rak’ataini lillah ta’ala — “I intend to pray the Sunnah prayer of tarawih two raka’at for Allah ta’ala.”

In congregation, the one leading adds “imaamam” (“…as the Imam…”) and a follower adds “makmumam” (“…as the Makmum…”). Voicing the intention is a help to focus; what counts is the intention in the heart.

8 or 20 raka’at: what MUIS says

This is the question newcomers ask most, and MUIS answers it plainly: both are valid. When Terawih was first prayed, “it is narrated that Rasulullah s.a.w. prayed 8 rakaat.” Sayyidatina Aishah r.a. described his night prayer as four, then four, then “3 rakaat (witir)” — eleven in all. Later, “Umar Al-Khattab r.a. … decided to unite the Muslim community to perform tarawih in congregation with a single Imam and 20 rakaat.”

Card: one Terawih set is two raka’at ended with salam; 8 raka’at is four sets and 20 raka’at is ten sets; then an odd-numbered witr, usually three

How the raka’at are grouped, before witr.

Both practices come from the earliest generations, which is why you will see mosques do each. In MUIS’s words, “whether one chooses to pray in congregation at the mosques or at home, or whether to pray 8 or 20 rakaat, tarawih is a highly encouraged practice.”

The arithmetic is simple because each unit is two raka’at: 8 raka’at is four sets of two, and 20 raka’at is ten sets of two, each set closed with salam before the next.

At the mosque or at home

Through Ramadan, Singapore’s mosques “never fail to provide and lead the Tarawih prayers,” and congregational prayer is “sunnah muakkadah (highly commendable).” Praying in congregation carries extra reward and keeps you consistent.

But Terawih is not confined to the mosque — MUIS explicitly includes praying “at the mosques or at home” as valid. If you cannot get out — young children, illness, a late shift — you can pray it at home, alone or leading your family. To find a mosque, a void-deck Qaryah or women’s spaces near you, MUIS gathers every venue on its Ramadan page at go.gov.sg/ramadan each year.

Ending the night with witr

After Terawih, “it is encouraged to end the night with the witr prayer.” Witr is a highly encouraged sunnah (sunnah mu’akkadah) in the Shafi’i school — so valued that the Prophet s.a.w. “never missed” it, keeping it even while travelling.

Witr is always an odd number of raka’at — “usually done in 3 raka’at,” and up to a maximum of eleven. The common three-raka’at witr is prayed as two raka’at with salam, then one raka’at with salam. You pray witr once a night: if you intend to pray Qiyamullail (late-night prayers) in the last ten nights, you can delay your witr to the very end of the night instead.

Frequently asked questions

Is Terawih obligatory? No. It is a highly encouraged sunnah prayed only in Ramadan. Missing it is not sinful, but it carries great reward and is strongly recommended.

Should I pray 8 or 20 raka’at? Either — MUIS accepts both as valid. Pray with whichever congregation you join, or choose at home the number you can keep up with consistently through the month.

Do I have to pray Terawih at the mosque? No. Congregation is more rewarding and helps consistency, but you may pray Terawih at home, alone or leading your household.

How many raka’at is witr, and when do I pray it? An odd number, usually three (two then one), up to eleven. Pray it once, after Terawih — or at the end of the night if you will pray Qiyamullail later.

Is Terawih recited aloud or silently? Aloud, like Subuh and the opening raka’at of Maghrib and Isyak.

Sources

  1. How to perform solat Tarawih — step by step guide — Muslim.Sg, part of MUIS (with the Asatizah Youth Network) (as of 5 November 2026)
  2. Is the sunnah of Tarawih prayer 8 or 20 rakaat? — Majlis Ugama Islam Singapura (MUIS) (as of 5 November 2026)
  3. Guide to Witr prayer: what, how and when to perform it — Muslim.Sg, part of MUIS (with the Asatizah Youth Network) (as of 5 November 2026)
  4. Ramadan: everything you need to know, plus greetings — Muslim.Sg, part of MUIS (with the Asatizah Youth Network) (as of 5 November 2026)
  5. How to pray in congregation at home (intention, Al-Fatihah as rukun) — Muslim.Sg, part of MUIS (with the Asatizah Youth Network) (as of 5 November 2026)