Taraweeh Prayer: Rak'ahs, History, How to Pray and Common Questions
Taraweeh explained: its status, how it began, why 8, 20 and 36 rak'ahs are all practised, how to pray it, praying at home, completing the Quran and women.
What this guide covers
Taraweeh is the voluntary night prayer offered after Isha in Ramadan, prayed in units of two rak'ahs with a short rest after every four and usually followed by Witr. The Hanafi and Shafi'i accounts cited here call it an emphasised Sunnah for men and women. Communities pray eight or twenty rak'ahs, and Madinah historically prayed thirty-six: this is a recognised difference, so follow your mosque or teacher without condemning others.
Scope: A practical Sunni overview for people praying Taraweeh at a mosque or at home. It reports the main school positions and the evidence each cites without choosing between legitimate views. It is not a fatwa: for questions of validity, missed prayers or leading others in prayer, follow your school and a qualified teacher.
Key takeaways
- Taraweeh is prayed after Isha in Ramadan, two rak'ahs at a time, with Witr usually at the end.
- Sahih al-Bukhari 2012 records the Prophet leading it for a few nights, then stopping so that it would not be made obligatory.
- Umar gathered the people behind Ubayy ibn Ka'b, as Sahih al-Bukhari 2010 reports.
- Eight, twenty and thirty-six rak'ahs each have a documented basis, and scholars on each side warn against denouncing others.
- Praying at home is valid; men are encouraged to join the mosque congregation, and women may attend or pray at home.

Ramadan nights gather worshippers for prayer in pairs of rak’ahs. The guide below explains how Taraweeh began, why communities pray different numbers of rak’ahs and how to pray it at the mosque or at home.
AI illustrationTaraweeh is the voluntary night prayer offered in Ramadan after the Isha prayer, and it is not compulsory. The name is the plural of tarwihah, a rest: Egypt's Dar al-Ifta cites the lexicographer Ibn Manzur explaining that it was named after the pause taken after each set of four rak'ahs.
Hanafi and Shafi'i answers on SeekersGuidance describe it as an emphasised Sunnah (sunna mu'akkada) for men and women. Muwatta Malik records that the Prophet encouraged night prayer in Ramadan without commanding it, and Sahih al-Bukhari 2009 promises forgiveness of previous sins to whoever prays at night in Ramadan out of faith and hope of reward.
Taraweeh began with the Prophet leading night prayer in the mosque for a few nights of Ramadan. Aisha's report in Sahih al-Bukhari 2012 describes the crowd growing each night until, on the fourth, he did not come out, explaining that he feared the night prayer would be made obligatory for them.
People then prayed individually or in small groups, which Ibn Shihab says in Sahih al-Bukhari 2009 continued under Abu Bakr and early in Umar's caliphate. Sahih al-Bukhari 2010 describes Umar gathering the scattered groups behind one reciter, Ubayy ibn Ka'b.
Umar called the arrangement an excellent bid'ah. Shaykh Faraz Rabbani explains on SeekersGuidance that Umar used the word in its linguistic sense of something not done before, and that the Companions accepted it because it matched the Prophet's guidance. Umar added that prayer at the end of the night, which people slept through, was better still.
Taraweeh is commonly prayed as eight or twenty rak'ahs before Witr, and thirty-six was the historical practice of Madinah; each number has a documented basis. Aisha said in Sahih al-Bukhari 2013 that the Prophet did not pray more than eleven rak'ahs in Ramadan or at other times, and Muwatta Malik records Umar instructing Ubayy ibn Ka'b and Tamim ad-Dari to lead eleven.
The Muwatta also records twenty-three rak'ahs in the time of Umar. In his Arabic commentary to hadith 806, Imam at-Tirmidhi says most scholars follow the twenty reported from Umar, Ali and other Companions, while some held forty-one including Witr, the view and practice of Madinah. Egypt's Dar al-Ifta calls twenty the relied-upon position of the Hanafi, Shafi'i and Hanbali schools and the well-known Maliki view, and quotes al-Nafrawi that Madinah prayed thirty-six besides Witr in the time of Umar ibn Abd al-Aziz, the number Imam Malik chose in al-Mudawwanah.
Institutions differ in the number they prefer: Dar al-Ifta argues for twenty, while IslamQA regards eleven as following the Prophet's own practice. IslamQA nonetheless quotes Ibn Taymiyyah that twenty, thirty-six, thirteen or eleven are all acceptable because nothing fixes the number, and says neither practice should be denounced.
| Count before Witr | Basis commonly cited | Where it is held or practised |
|---|---|---|
| Eight (eleven with Witr) | Aisha's report in Sahih al-Bukhari 2013; Umar's instruction of eleven in Muwatta Malik | Many mosques today; IslamQA describes it as following the Prophet's practice |
| Twenty (twenty-three with Witr) | The twenty-three rak'ahs reported in Umar's time; the practice Tirmidhi reports from Umar, Ali and others | Relied-upon position of the Hanafi, Shafi'i and Hanbali schools and the well-known later Maliki view, per Dar al-Ifta |
| Thirty-six (plus Witr) | The practice of Madinah in the time of Umar ibn Abd al-Aziz, as al-Nafrawi records | Reported from Imam Malik in al-Mudawwanah; Tirmidhi records forty-one with Witr as the Madinan view |
Taraweeh is prayed after Isha in units of two rak'ahs, each closed with salam. This follows Sahih Muslim 749a, which describes night prayer in pairs, and the Shafi'i account on SeekersGuidance describes twenty rak'ahs with ten salams.
The Shafi'i source recommends praying Witr in congregation after Taraweeh unless you intend to pray Tahajjud later, in which case Witr waits until after it. The Witr guide explains the forms taught by each school.
- Pray Isha first; al-Dardir, quoted by Dar al-Ifta, places Taraweeh after it.
- Intend Taraweeh in your heart and begin with the opening takbir, as in any prayer.
- Pray two rak'ahs, reciting Al-Fatihah and a further passage in each, then close with salam.
- After every four rak'ahs, take the short rest described in the Hanafi account, which gives the prayer its name.
- Continue to the number you are following, then pray Witr.
Both are valid, but the schools cited here encourage men to join the mosque congregation. Mufti Muhammad ibn Adam, quoting Haskafi and Ibn Abidin on SeekersGuidance, explains that congregational Taraweeh is a communal Sunnah in the Hanafi school: a man who prays at home is not blameworthy but misses the mosque's extra reward.
The same answer cites Abdullah ibn Umar advising a man who knew the Quran by heart to pray at home, and Sahih al-Bukhari 731 records the Prophet saying, after some Ramadan night prayers in the mosque, that a person's best prayer is at home except the obligatory prayers. Tirmidhi notes that Ibn al-Mubarak, Ahmad and Ishaq preferred praying with the imam, while al-Shafi'i preferred a capable reciter to pray alone.
The Shafi'i answer on SeekersGuidance calls congregation recommended for men but not required. Jami at-Tirmidhi 806, graded sahih on the page, adds that whoever stands with the imam until he finishes is recorded as having prayed the whole night.
Completing the Quran over the month in Taraweeh is a widespread, recommended practice, but it is not a condition of the prayer. Shaykh Faraz Rabbani's Hanafi answer calls it recommended rather than emphasised, and says briefer recitation is fine where community circumstances call for it.
Dar al-Ifta quotes the Maliki jurist al-Dardir recommending a juz' each night across the twenty rak'ahs, and the Shafi'i answer calls long recitation meritorious but not necessary. Muwatta Malik records a reciter covering Surah Al-Baqarah in eight rak'ahs, with twelve thought an easier pace.
At home, a realistic plan might be one juz' a night or simply passages you know well, recited carefully. The Quran planner can spread a completion across the nights you have.
Yes, women may attend, and praying at home is equally a valid way to perform Taraweeh. Sahih al-Bukhari 865 records the instruction to allow women who ask to go to the mosque at night, and Sunan Abi Dawud 567, graded sahih by al-Albani, forbids preventing women from the mosques while saying their houses are better for them.
Jami at-Tirmidhi 806 reports that on one of the last nights of Ramadan the Prophet called his family and his women to pray with the congregation. Shaykh Muhammad Fayez Awad's Shafi'i answer says a woman's prayer at home is better unless going brings another benefit, such as a lesson or a skilled reciter, and sets conditions such as modest dress, no perfume and a safe route.
The Hanafi answer on SeekersGuidance calls Taraweeh an emphasised Sunnah for women as well as men, so a woman praying it at home is still performing Taraweeh.
Staying with the imam until he finishes is widely encouraged, whatever number he prays. IslamQA cites Jami at-Tirmidhi 806 on that reward and quotes Ibn Uthaymin criticising worshippers who stop after ten rak'ahs and then sit in the rows talking.
If your mosque prays fewer rak'ahs than your school teaches, a Shafi'i answer on SeekersGuidance says you may pray eight with the congregation and the remaining twelve and Witr at home. Shaykh Faraz Rabbani advises someone who finds twenty hard to pray shorter rak'ahs or spread them through the night.
It depends on the school. Mufti Muhammad ibn Adam's Hanafi answer explains that Imam Abu Hanifa held that reciting from a mushaf invalidates the prayer, including Taraweeh, while his students Abu Yusuf and Muhammad held it valid but disliked; the answer concludes that it remains impermissible in the Hanafi school.
Egypt's Dar al-Ifta reports that Aisha's client Dhakwan led her in prayer reciting from the mushaf, that the Shafi'i and Hanbali schools accept an imam doing so, and that the Malikis consider it disliked; it rules it permissible with the majority. Muwatta Malik also records Dhakwan reciting for Aisha in Ramadan.
Quran passages in this guide
Read each complete verse below in Arabic and the identified English interpretation. Follow the context link before drawing conclusions from an isolated verse.
Al-Baqara 2:185. Ramadan as the month in which the Quran was revealed, the background to long recitation in Taraweeh.
شَهْرُ رَمَضَانَ ٱلَّذِىٓ أُنزِلَ فِيهِ ٱلْقُرْءَانُ هُدًى لِّلنَّاسِ وَبَيِّنَـٰتٍ مِّنَ ٱلْهُدَىٰ وَٱلْفُرْقَانِ ۚ فَمَن شَهِدَ مِنكُمُ ٱلشَّهْرَ فَلْيَصُمْهُ ۖ وَمَن كَانَ مَرِيضًا أَوْ عَلَىٰ سَفَرٍ فَعِدَّةٌ مِّنْ أَيَّامٍ أُخَرَ ۗ يُرِيدُ ٱللَّهُ بِكُمُ ٱلْيُسْرَ وَلَا يُرِيدُ بِكُمُ ٱلْعُسْرَ وَلِتُكْمِلُوا۟ ٱلْعِدَّةَ وَلِتُكَبِّرُوا۟ ٱللَّهَ عَلَىٰ مَا هَدَىٰكُمْ وَلَعَلَّكُمْ تَشْكُرُونَ ١٨٥
The month of Ramadan in which was revealed the Qur'an, a guidance for mankind, and clear proofs of the guidance, and the Criterion (of right and wrong). And whosoever of you is present, let him fast the month, and whosoever of you is sick or on a journey, (let him fast the same) number of other days. Allah desireth for you ease; He desireth not hardship for you; and (He desireth) that ye should complete the period, and that ye should magnify Allah for having guided you, and that peradventure ye may be thankful.
Al-Muzzammil 73:20. Keeping vigil for part of the night and reciting what is easy of the Quran.
۞ إِنَّ رَبَّكَ يَعْلَمُ أَنَّكَ تَقُومُ أَدْنَىٰ مِن ثُلُثَىِ ٱلَّيْلِ وَنِصْفَهُۥ وَثُلُثَهُۥ وَطَآئِفَةٌ مِّنَ ٱلَّذِينَ مَعَكَ ۚ وَٱللَّهُ يُقَدِّرُ ٱلَّيْلَ وَٱلنَّهَارَ ۚ عَلِمَ أَن لَّن تُحْصُوهُ فَتَابَ عَلَيْكُمْ ۖ فَٱقْرَءُوا۟ مَا تَيَسَّرَ مِنَ ٱلْقُرْءَانِ ۚ عَلِمَ أَن سَيَكُونُ مِنكُم مَّرْضَىٰ ۙ وَءَاخَرُونَ يَضْرِبُونَ فِى ٱلْأَرْضِ يَبْتَغُونَ مِن فَضْلِ ٱللَّهِ ۙ وَءَاخَرُونَ يُقَـٰتِلُونَ فِى سَبِيلِ ٱللَّهِ ۖ فَٱقْرَءُوا۟ مَا تَيَسَّرَ مِنْهُ ۚ وَأَقِيمُوا۟ ٱلصَّلَوٰةَ وَءَاتُوا۟ ٱلزَّكَوٰةَ وَأَقْرِضُوا۟ ٱللَّهَ قَرْضًا حَسَنًا ۚ وَمَا تُقَدِّمُوا۟ لِأَنفُسِكُم مِّنْ خَيْرٍ تَجِدُوهُ عِندَ ٱللَّهِ هُوَ خَيْرًا وَأَعْظَمَ أَجْرًا ۚ وَٱسْتَغْفِرُوا۟ ٱللَّهَ ۖ إِنَّ ٱللَّهَ غَفُورٌ رَّحِيمٌۢ ٢٠
Lo! thy Lord knoweth how thou keepest vigil sometimes nearly two-thirds of the night, or (sometimes) half or a third thereof, as do a party of those with thee. Allah measureth the night and the day. He knoweth that ye count it not, and turneth unto you in mercy. Recite, then, of the Qur'an that which is easy for you. He knoweth that there are sick folk among you, while others travel in the land in search of Allah's bounty, and others (still) are fighting for the cause of Allah. So recite of it that which is easy (for you), and establish worship and pay the poor-due, and (so) lend unto Allah a goodly loan. Whatsoever good ye send before you for your souls, ye will find it with Allah, better and greater in the recompense. And seek forgiveness of Allah. Lo! Allah is Forgiving, Merciful.
Questions readers often ask
Can I pray Taraweeh alone at home?
Yes. Al-Nawawi, quoted by IslamQA, says Taraweeh may be prayed individually or in congregation, and the Hanafi answer on SeekersGuidance says praying it at home is not blameworthy, though a man misses the mosque congregation's extra reward.
Link to this questionIs it sinful to miss Taraweeh?
Taraweeh is not obligatory. In the Hanafi answers on SeekersGuidance, praying it alone or missing it occasionally is not sinful, but habitually abandoning an emphasised Sunnah is blameworthy and, with persistence, sinful.
Link to this questionWhen is Taraweeh prayed?
After the Isha prayer on the nights of Ramadan, before dawn. Al-Dardir, quoted by Dar al-Ifta, places it after Isha, and Umar remarked in Sahih al-Bukhari 2010 that prayer at the end of the night was better still.
Link to this questionDo I have to pray Witr with the imam after Taraweeh?
Not necessarily. The Shafi'i source recommends Witr in congregation after Taraweeh unless you plan to pray Tahajjud later, when Witr is delayed until after it. The Witr guide explains each school's forms.
Link to this questionSources: [17]
Can Taraweeh be short?
Yes. Shaykh Faraz Rabbani suggests praying twenty brief rak'ahs rather than skipping them, and IslamQA explains that scholars who prayed more rak'ahs often shortened the recitation to spare the congregation hardship.
Link to this questionAre Taraweeh and Tahajjud the same prayer?
They overlap as night prayer, but Taraweeh usually means the Ramadan prayer after Isha, often in congregation, while Tahajjud is voluntary night prayer, commonly after sleep. The Shafi'i answer treats them separately when advising Witr timing.
Link to this questionSources: [17]
Sources
- Sahih al-Bukhari 2009 Primary textBack to citation
Forgiveness for praying at night in Ramadan out of faith; Ibn Shihab on individual prayer under Abu Bakr and early in Umar's caliphate.
- Sahih al-Bukhari 2010 Primary textBack to citation
Umar gathers the people behind Ubayy ibn Ka'b and remarks on the prayer at the end of the night.
- Sahih al-Bukhari 2012 Primary textBack to citation
The Prophet leads night prayer for several nights, then stops lest it be made obligatory.
- Sahih al-Bukhari 2013 Primary textBack to citation
Aisha: the Prophet did not pray more than eleven rak'ahs in Ramadan or at other times.
- Muwatta Malik, Book 6: Prayer in Ramadan Primary textBack to citation
Reports 1 to 8: encouragement without command, eleven and twenty-three rak'ahs in Umar's time, al-Baqarah in eight rak'ahs, and Dhakwan reciting for Aisha.
- Jami at-Tirmidhi 806 Primary textBack to citation
Standing with the imam until he finishes counts as the whole night; graded sahih (Darussalam). The Arabic commentary records the views on twenty and forty-one rak'ahs.
- Sahih Muslim 749a Primary textBack to citation
Night prayer is offered in pairs of rak'ahs, closed with an odd rak'ah before dawn.
- Sahih al-Bukhari 731 Primary textBack to citation
The best prayer of a person is in their house except the obligatory prayers, said after Ramadan night prayers.
- Back to citation
- Sunan Abi Dawud 567 Primary textBack to citation
Do not prevent women from the mosques, though their houses are better for them; graded sahih by al-Albani on the page.
- Egypt's Dar al-Ifta: The Number of Units of Prayer in Tarawih Scholarly guidanceBack to citation
Meaning of tarwihah, twenty as the relied-upon position of the schools, al-Dardir on completing the Quran, and al-Nafrawi on the thirty-six of Madinah; argues for twenty.
- IslamQA: Numbers of Rak'ahs in Tarawih Prayer Scholarly guidanceBack to citation
Regards eleven as the Sunnah but quotes al-Sarkhasi, Ibn Qudamah, al-Nawawi and Ibn Taymiyyah on twenty and thirty-six, and warns against denouncing either practice.
- SeekersGuidance: The Ruling of the Tarawih Prayer: A Confirmed Sunna Scholarly guidanceBack to citation
Shaykh Faraz Rabbani on Umar's use of bid'ah in its linguistic sense and on habitually leaving a confirmed Sunnah.
- SeekersGuidance: Tarawih in Informal Congregations and Without Completing the Quran Scholarly guidanceBack to citation
Hanafi answer by Shaykh Faraz Rabbani: an emphasised Sunnah for men and women, twenty rak'ahs in pairs with a rest after four, completion recommended but not emphasised.
- SeekersGuidance: Is It Necessary to Perform Tarawih Prayers in the Mosque? Scholarly guidanceBack to citation
Mufti Muhammad ibn Adam on the Hanafi communal Sunnah of congregation, praying at home, and Ibn Umar's practice.
- SeekersGuidance: Can I Just Pray 8 Cycles of Tarawih? Scholarly guidanceBack to citation
Shaykh Faraz Rabbani's Hanafi advice to pray twenty brief rak'ahs, spread them out, or do what one can.
- SeekersGuidance: Can I Pray the Remaining Twelve Units of Tarawih at Home? Scholarly guidanceBack to citation
Shafi'i answer by Shaykh Irshaad Sedick: twenty rak'ahs with salam after each pair, congregation recommended for men, Witr after Taraweeh unless intending Tahajjud.
- SeekersGuidance: Is It Preferable for a Woman to Pray Tarawih at a Mosque, Musalla, or Home? Scholarly guidanceBack to citation
Shafi'i answer by Shaykh Muhammad Fayez Awad on when attending is better for a woman and the conditions for going out.
- SeekersGuidance: Reciting From a Copy of the Qur'an in Tarawih and Other Prayers Scholarly guidanceBack to citation
Mufti Muhammad ibn Adam on Abu Hanifa's view and that of his two students.
- Egypt's Dar al-Ifta: Reading From the Mushaf During Prayer Scholarly guidanceBack to citation
Shafi'i, Hanbali, Maliki and Hanafi positions and the report of Dhakwan; rules it permissible with the majority.
Put this into practice
In-depth guides
Read complete English guides with visible sources and practical next steps.

Ramadan fasting guide: intention, suhoor, iftar and common questions
Understand Ramadan fasting from dawn to sunset, intention, suhoor and iftar, missed fasts, local moon-sighting decisions and a practical daily worship plan.
Read the guide
Witr Prayer: Time, Rak'ahs, Qunut, and Sunni Methods Explained
Learn when to pray Witr, why one and three rak'ah methods differ, where Dua Qunut belongs, and what to do about Tahajjud or a missed Witr.
Read the guide
Tahajjud Prayer: Time, Method, Witr, and a Realistic Beginner Plan
Learn when and how to pray Tahajjud, how it relates to qiyam al-layl and Witr, and how to build a sustainable night-prayer routine.
Read the guide
Laylat al-Qadr: When Is the Night of Decree and How to Seek It
Laylat al-Qadr explained: the meaning of Surah Al-Qadr, why it is sought in the odd last ten nights, i'tikaf, recommended worship, Aisha's dua and its signs.
Read the guide
Dua Qunoot: Meaning, Words, When to Recite It and School Differences
Dua Qunoot in transliteration and English: al-Hasan's Witr supplication, the Hanafi wording, qunut in Fajr and at times of calamity, and how the schools differ.
Read the guide
How to memorize the Quran: a flexible hifz and revision plan
Build a Quran memorization routine with accurate recitation, small lessons, revision, practical progress checks and a flexible hifz schedule for busy beginners.
Read the guideSomething needs correction? Include the guide title and source number so the editorial trail stays clear.
Report a correction