The simple version
In Ramadan, a lot of people go to the mosque at night and pray for an hour or more, and if you're newer to it, it's easy to lose track of which part is which.
So the order is this. Isha comes in, the mosque prays the four rak'ahs of Isha together, and then the two sunnah rak'ahs after it. Then tarawih starts, in sets of two rak'ahs, and it usually ends with witr.
The first part, Isha, is obligatory whether it's Ramadan or not. Tarawih is extra. If you only have time for one, Isha is the one you can't skip.
| Isha | Tarawih | |
|---|---|---|
| Status | Obligatory, one of the five daily prayers | Voluntary night prayer |
| When in the year | Every night | Only in Ramadan |
| When in the night | From the end of twilight | After Isha, until Fajr |
| Rak'ahs | 4 (2 if shortening while travelling) | No single fixed number, commonly 8 or 20 |
| Congregation | Prayed in the mosque or at home | Commonly prayed in the mosque, also at home |
Where tarawih comes from
Tarawih is the name for qiyam, standing in prayer at night, during Ramadan. In Sahih al-Bukhari 2009, Abu Hurairah narrates that the Prophet ﷺ said whoever prays at night throughout Ramadan out of faith and hoping for reward from Allah will have their past sins forgiven.
'Aisha describes in Sahih al-Bukhari 2012 how the Prophet ﷺ prayed in the mosque one night in Ramadan and people prayed behind him. More came the next night, and more the next. On the fourth night the mosque was full, and he didn't come out until Fajr. He told them afterwards that he'd seen them, but he was afraid the night prayer would be made obligatory on them and they wouldn't be able to keep it up.
Then in Sahih al-Bukhari 2010, 'Abdur-Rahman bin 'Abdul Qari describes going to the mosque with 'Umar during his caliphate and finding people praying in scattered groups. 'Umar gathered them behind one reciter, Ubayy bin Ka'b, and that's the congregational tarawih we have today.
8 or 20 rak'ahs
This is the question people argue about most, and honestly it doesn't need to be an argument.
'Aisha says in Sahih al-Bukhari 1147 that the Prophet ﷺ never prayed more than eleven rak'ahs at night, in Ramadan or outside it. In Imam Malik's Muwatta, book 6, hadith 4, as-Sa'ib ibn Yazid says 'Umar told Ubayy and Tamim ad-Dari to lead the people in eleven rak'ahs. The very next narration, book 6, hadith 5, has Yazid ibn Ruman saying that in 'Umar's time people prayed twenty-three rak'ahs in Ramadan.
A fatwa on islamqa.info sets out the positions. Twenty is reported from al-Sarkhasi of the Hanafi school, Ibn Qudamah of the Hanbali school and al-Nawawi of the Shafi'i school. Ibn Qudamah reports that Malik said thirty-six. Ibn 'Uthaymin called the matter broad, and Ibn Taymiyyah said twenty, thirty-six, thirteen or eleven are all fine because nothing fixes the number.
So if your mosque prays eight and you're used to twenty, or the other way round, both are following something real.
Common mix-ups
One is people arriving late and joining tarawih while they still haven't prayed Isha. If you get there and tarawih has started, pray your Isha first, on your own or with others who also came late.
Another is leaving after Isha and thinking you've missed the point of the night. Tarawih is a big reward, but there's no sin in going home after Isha if you need to. And if you want the reward without the long night out, our page on praying tarawih at home covers that.
Prayd in Ramadan
Prayd tracks the five obligatory prayers, so in Ramadan Isha is the one it holds you to at night, and tarawih is between you and Allah. If you're at the mosque and didn't bring your mat, the honour-system option appears after 12 seconds on the scan screen. Prayd doesn't have a suhoor or iftar timetable, so for those use your mosque's Ramadan timetable.
Questions people ask
Can I pray tarawih without praying Isha?
Tarawih is prayed after Isha. If you arrive and tarawih has started, pray Isha first.
Is tarawih obligatory?
No. Sahih al-Bukhari 2012 records the Prophet ﷺ holding back from leading it every night because he feared it would become obligatory.
How many rak'ahs is tarawih, 8 or 20?
Both have a basis. Malik's Muwatta records eleven (6:4) and twenty-three (6:5) in 'Umar's time, and Ibn Taymiyyah said no number is fixed, as cited on islamqa.info.
Is witr part of tarawih?
Witr is usually prayed at the end of tarawih in the mosque, to make the night's prayer odd, as in Sahih al-Bukhari 990.
Can women pray tarawih at the mosque?
Many mosques have a women's area for tarawih. Check with your local mosque about space and times.
Sources
- Sahih al-Bukhari 2009Night prayer in Ramadan out of faith forgives past sinsChecked 4 December 2026
- Sahih al-Bukhari 2012The Prophet ﷺ feared it would be made obligatoryChecked 4 December 2026
- Sahih al-Bukhari 2010'Umar gathered people behind Ubayy bin Ka'bChecked 4 December 2026
- Sahih al-Bukhari 1147Never more than eleven rak'ahsChecked 4 December 2026
- Sahih al-Bukhari 990Witr ends the night prayerChecked 4 December 2026
- Muwatta Malik, book 6, hadith 4'Umar ordered eleven rak'ahsChecked 4 December 2026
- Muwatta Malik, book 6, hadith 5Twenty-three rak'ahs in 'Umar's timeChecked 4 December 2026
- islamqa.info 9036, number of rak'ahs in tarawihPositions of the schools, Ibn 'Uthaymin and Ibn TaymiyyahChecked 4 December 2026
- Prayd guide: prayer-mat verification12-second honour-system optionChecked 4 December 2026