Browse the guide
Tarawih prayer in a medieval Andalusian mosque

Tarawih Prayer: Ruling, Method, Number of Rakahs and Key Questions

All praise belongs to Allah, Lord of the worlds. May Allah send salah and peace upon our Prophet Muhammad, his family and his Companions.

Some mosques pray eight rakahs before Witr, while others pray twenty. Someone praying at home may manage only two. Are all these forms valid? Is it better to leave after a particular number or stay until the imam finishes?

Tarawih is part of Ramadan night prayer. It is an emphasised Sunnah, not an obligatory prayer. Its virtue and the Prophet's practice of leading people in it are established. Understanding how he prayed, and distinguishing a preferred number from the numbers that are valid, helps a Muslim pray with humility without restricting what is permitted or neglecting the prayer's essential acts.

The Ruling and Virtue of Tarawih

Tarawih is an emphasised Sunnah for men and women. Leaving it is not itself sinful, but praying it sincerely for Allah carries great reward.

The Messenger of Allah, peace and blessings be upon him, said:

«مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ».

Meaning: Whoever stands in prayer during Ramadan with faith and seeking reward will have their previous sins forgiven. Al-Bukhari 2009. Faith and seeking reward mean believing Allah's promise and praying for His reward, not for show or merely because others are doing so.

This promise is not permission to persist in sin. Major sins require repentance, and the rights of other people do not disappear merely through night prayer. Other texts concerning expiation are qualified by avoiding major sins, as in Muslim 233.

Tarawih is not a condition of a valid fast. Someone who fasts but does not pray Tarawih has a valid fast if its conditions are met. Missing Tarawih does not require making up that fast or paying an expiation.

Why Tarawih Is Prayed in Congregation

The Prophet led people in the mosque on several nights of Ramadan, then did not come out to lead them on the fourth night. He explained:

«وَلَكِنِّي خَشِيتُ أَنْ تُفْتَرَضَ عَلَيْكُمْ فَتَعْجِزُوا عَنْهَا».

Meaning: But I feared it would be made obligatory for you and you would be unable to fulfil it. Al-Bukhari 2012, excerpt. He stopped leading it regularly because of that concern, not because congregational prayer was impermissible.

During Umar's caliphate, he gathered people behind Ubayy ibn Kab, after they had been praying separately or in small groups. Al-Bukhari 2010. After the Prophet's death, revelation had ended and the possibility of this prayer becoming obligatory had passed. Umar therefore brought people together for an established Sunnah; he did not invent a new prayer.

His description of this arrangement as a good new practice, using the word bidah, is understood in its linguistic sense, not as introducing worship Allah had not prescribed, as Ibn Baz explained. It cannot be used to justify inventing religious rituals.

Its Time and Relationship to Night Prayer

Tarawih is prayed after performing Isha and before true dawn. It is not prayed before Isha, and its time does not end at midnight. Aishah described the Prophet's prayer between finishing Isha and dawn, with salam after each two rakahs and a single rakah for Witr. Muslim 736.

Pray the two-rakah Sunnah of Isha after the obligatory prayer's remembrances and before Tarawih, as Ibn Baz recommended. Tarawih remains valid if you miss this Sunnah prayer; it is not a condition of Tarawih.

Tarawih may be prayed early or late at night, and part of the night prayer may be offered after Isha with more offered later. For someone able to attend the mosque congregation, joining it is preferable even if they usually pray at another time.

Tarawih and Tahajjud are both night prayer. What people call the prayer of the last ten nights does not have a different set of pillars. Some scholars use Tahajjud specifically for prayer after sleeping. For more, see Qiyam al-Layl and Tahajjud: Time, Method and Rakahs.

How Is Tarawih Prayed?

Pray two rakahs at a time, ending each pair with salam. The Prophet said:

«صَلَاةُ اللَّيْلِ مَثْنَى مَثْنَى، فَإِذَا خَشِيَ أَحَدُكُمُ الصُّبْحَ صَلَّى رَكْعَةً وَاحِدَةً، تُوتِرُ لَهُ مَا قَدْ صَلَّى».

Meaning: Night prayer is two by two. If someone fears dawn is approaching, they pray one rakah to make their prayer odd-numbered. Al-Bukhari 990.

If praying alone, make wudu, face the qiblah, cover the required parts of the body and intend the prayer in your heart without a spoken intention formula. Begin with the opening takbir, recite al-Fatihah and what you can from the Quran, and complete the bowing, prostration and sitting properly. Recite the tashahhud and end the pair with salam. Repeat according to your ability, then finish with Witr if you have not already prayed it.

Behind an imam, follow him without moving ahead of him and maintain the prayer's remembrances and tranquillity. Under Ibn Baz's ruling, quietly recite al-Fatihah, then listen to the imam, with the exceptions explained in the questions below. For the details of a rakah and its remembrances, see How to Pray Salah Correctly Step by Step.

How Many Rakahs Are There?

Aishah, may Allah be pleased with her, said:

«مَا كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يَزِيدُ فِي رَمَضَانَ وَلَا فِي غَيْرِهِ عَلَى إِحْدَى عَشْرَةَ رَكْعَةً».

Meaning: The Messenger of Allah did not exceed eleven rakahs in Ramadan or outside it. Al-Bukhari 1147, excerpt. Ibn Abbas also reported that the Prophet prayed thirteen rakahs at night. Muslim 764.

According to Ibn Baz's preferred ruling, eleven or thirteen rakahs including Witr are best, with good recitation and tranquillity. Eleven may be eight followed by three for Witr, or ten followed by one for Witr. It does not mean eleven Tarawih rakahs followed by an additional Witr.

Eleven is not, however, an absolute maximum that may never be exceeded. The Prophet explained that night prayer is two by two without giving the questioner such a limit. Scholars have allowed twenty rakahs followed by Witr and other totals. In his commentary after hadith 806, al-Tirmidhi recorded the practice of scholars who prayed twenty.

Someone praying twenty followed by three for Witr should not be condemned. Someone praying eight followed by Witr follows an established form of the Prophet's practice. Someone able to manage only two followed by Witr should not give up prayer because they think Tarawih needs a large number. The permitted range should not become a reason for quarrelling in the congregation.

Tranquillity Matters More Than Finishing Quickly

Allah says:

{قَدْ أَفْلَحَ الْمُؤْمِنُونَ . الَّذِينَ هُمْ فِي صَلَاتِهِمْ خَاشِعُونَ}

Meaning: The believers have succeeded, those who are humble in their prayers. Al-Muminun 23:1-2.

Khushu means a humble, attentive heart before Allah. Tranquillity, or tumaninah, is settling in the physical pillars of prayer, and it is not optional. The Prophet told a man who had not performed the prayer properly to repeat it, then taught him to be settled in bowing, prostrating and sitting. Al-Bukhari 757.

Shorter recitation is permitted. Rushing through bowing and prostration or moving between the pillars without tranquillity is not. The imam should consider the congregation's ability, with clear recitation and correct prayer, rather than aim to complete the rakah count as quickly as possible.

Tarawih is voluntary, but it still has conditions and essential acts. See Conditions, Pillars and Obligatory Acts of Salah for those distinctions.

Staying Until the Imam Finishes

The Prophet said:

«إِنَّهُ مَنْ قَامَ مَعَ الْإِمَامِ حَتَّى يَنْصَرِفَ كُتِبَ لَهُ قِيَامُ لَيْلَةٍ».

Meaning: Whoever prays with the imam until he finishes has the prayer of a night recorded for them. Al-Tirmidhi 806, which he graded hasan sahih.

Finish the prayer with the imam, including Witr, to seek this promised reward. This means completing his prayer, not waiting until he leaves the mosque. Leaving after some rakahs is permitted because the prayer is voluntary, but the promise quoted here concerns finishing with him.

Someone who wants to pray again later may complete Witr with the imam, then pray in pairs without another Witr. The Prophet said:

«لَا وِتْرَانِ فِي لَيْلَةٍ».

Meaning: There are no two Witrs in one night. Abu Dawud 1439, authenticated by al-Albani. Ibn Baz preferred completing Witr with the imam, then praying again later if desired, with the first Witr being sufficient.

For Witr's forms and Qunut, see Rawatib Sunnah Prayers and Witr.

Recitation, Qunut and Remembrances

No particular surahs are assigned to each Tarawih rakah. After al-Fatihah, recite what is manageable, including the short surahs you know. Completing the Quran in prayer is recommended by scholars when possible while considering the congregation, but it is not a condition of valid Tarawih. A full juz every night is not required.

Ibn Baz allowed reading from a mushaf when needed in Ramadan night prayer. Limited memorisation need not stop you praying.

Qunut in Witr is supplication within Witr, not a dua required after each pair of Tarawih rakahs. An established supplication taught by the Prophet to Hasan ibn Ali begins with asking Allah to guide him among those He has guided: "Allahumma ihdini fiman hadayt." Abu Dawud 1425. Ibn Baz explained that Qunut may be recited every night or left on some nights; it is not a condition of valid Witr. Followers say amin to the imam's supplication, and the imam should avoid unnecessary length that burdens people.

No assigned remembrance is established after every two or four Tarawih rakahs, and a coordinated group chant between them should not be introduced. During a rest, someone may remember Allah, make dua or recite without assigning a special formula or count as a Tarawih Sunnah.

After the salam of Witr, say:

«سُبْحَانَ الْمَلِكِ الْقُدُّوسِ» three times.

Meaning: Glory be to the Sovereign, the Most Holy. Al-Nasai 1699 records the three repetitions; the remembrance itself is also in Abu Dawud 1430, authenticated by al-Albani. It belongs after Witr, not as an assigned remembrance between Tarawih rakahs.

Frequently Asked Questions

Is my fast valid if I do not pray Tarawih?

Yes. Tarawih is a Sunnah, not a condition of a valid fast. Missing it does not require making up the fast. Still, try to pray whatever you can, even if little, and never neglect an obligatory prayer for a voluntary one.

Does Tarawih start before the first day of fasting?

Yes. It begins after Isha on the first night established as part of Ramadan, because the night precedes its day. Once Shawwal begins, Ramadan night prayer has ended. That night is not treated as a Tarawih night, although ordinary night prayer remains prescribed throughout the year.

Are eight rakahs enough? May I pray fewer?

Yes. You may pray eight and then Witr, or fewer according to your ability. No rakah count is compulsory for Tarawih. Two rakahs followed by Witr are part of Ramadan night prayer. When eleven rakahs are mentioned, Witr is included in that total.

My imam prays twenty rakahs. Should I leave after eight?

It is better to finish with him if able, to seek the promised reward. More than eight is permitted; following him for twenty is not a forbidden departure from the Sunnah. Leaving after some rakahs is not sinful.

I arrived during Tarawih without having prayed Isha. What should I do?

Give priority to obligatory Isha; Tarawih cannot replace it. Ibn Baz allowed joining the Tarawih imam with the intention of Isha and completing the obligatory prayer after his salam. If you are a resident and prayed both rakahs with him, add two after his salam to complete Isha's four, then join Tarawih. This follows his ruling allowing an obligatory prayer behind someone praying voluntarily; jurists do not all agree on that question.

I caught only one rakah of a Tarawih pair. Is that enough?

No. Complete the missed rakah after the imam's salam, then join him for the next pair. The Prophet instructed someone arriving for prayer to pray what they catch and complete what they miss. Al-Bukhari 635. You do not have to make up every pair that finished before you arrived before following the imam.

Should I recite al-Fatihah behind the Tarawih imam?

Under Ibn Baz's ruling, the follower quietly recites al-Fatihah in each rakah, including prayers in which the imam recites aloud. Use a pause if the imam leaves one. Otherwise, recite it while he is reciting, then listen to the rest. The imam is not required to leave a long pause for this purpose.

The Prophet said:

«لَا صَلَاةَ لِمَنْ لَمْ يَقْرَأْ بِفَاتِحَةِ الْكِتَابِ».

Meaning: There is no prayer for someone who does not recite the Opening of the Book. Al-Bukhari 756. Ibn Baz explained that someone who says the opening takbir and catches the imam's bowing before he rises, without having caught the standing, is excused from al-Fatihah and counts that rakah. If they miss the bowing, that rakah does not count. Under his preferred position, a follower who omitted al-Fatihah through forgetfulness or ignorance also has a valid prayer. Jurists differ on the follower's recitation, so this should not become a blanket declaration that people's previous prayers were invalid.

May I pray at home? Is the mosque better for a woman?

Tarawih at home is valid, alone or with the family. Ibn Baz preferred men praying it with the mosque congregation. For a woman, prayer at home is better, while she may attend the mosque with proper covering, without perfume, display of adornment or causes of fitnah.

The Prophet said:

«لَا تَمْنَعُوا نِسَاءَكُمُ الْمَسَاجِدَ وَبُيُوتُهُنَّ خَيْرٌ لَهُنَّ».

Meaning: Do not prevent your women from attending the mosques, but their homes are better for them. Abu Dawud 567, authenticated by al-Albani. A woman praying at home should not be made to feel her prayer is invalid or that mosque attendance is obligatory.

May a menstruating or postpartum woman pray Tarawih or make it up later?

A woman does not pray during menstruation or postpartum bleeding, whether obligatory prayer or Tarawih, and does not make up these prayers after becoming pure. Aishah explained that women were instructed to make up their fasts, but not their prayers. Muslim 335. Ibn Baz explained that this applies to both menstruation and postpartum bleeding.

She may remember Allah and make dua. Once pure, she performs ghusl and resumes prayer; she need not make up the Tarawih rakahs missed during those days.

May I pray Tarawih sitting down?

Yes. It is voluntary, so sitting is permitted even for someone able to stand. Sitting without an excuse brings half the reward of standing, as in al-Bukhari 1116. Someone whose usual standing prayer is prevented by illness may hope for the reward of that accustomed practice: the Prophet explained that an ill person or traveller has their usual deeds in health and residence recorded for them. Al-Bukhari 2996. Do not apply the voluntary-prayer rule to obligatory prayer, where standing is required for someone able to do it.

I know only short surahs. May I read from a mushaf?

You may recite the surahs you know and repeat them; memorising the whole Quran is not required. Ibn Baz allowed reading from a mushaf when needed in Tarawih. If following an imam, ordinarily listen to his recitation rather than become occupied with turning pages and following along in a mushaf you carry without a need.

Must the Quran be completed for Tarawih to count?

No. Completing it is not a condition of valid Tarawih or receiving the reward of night prayer itself. Scholars have recommended letting the congregation hear the whole Quran when possible without hardship, but reciting part of it is valid. The twenty-seventh night is not an assigned deadline for completing it.

I prayed Witr with the imam. May I pray Tahajjud later?

Yes. Pray what you can in pairs, keeping your first Witr; do not repeat Witr that night.

Is the prayer invalid if the imam leaves Qunut?

No. Omitting Witr's Qunut invalidates neither Witr nor Tarawih; it is a prescribed supplication, not a pillar of the prayer. Continue following the imam even if he leaves it out.

Protect the Obligatory Prayer and Pray the Sunnah Well

Choose night prayer you can maintain and try to understand the Quran you hear. Do not stay awake for voluntary prayer and then neglect Fajr. Nor should disagreement over rakah counts distract you from praying correctly and attentively. Allah has allowed a broad range here: follow the Sunnah and pray well within your ability.

We ask Allah to help us stand in Ramadan with faith and seeking His reward. May Allah send salah and peace upon our Prophet Muhammad, his family and his Companions.