How to Pray Witr: How Many Rakat, and When
Witr is the odd-numbered prayer that closes your night — prayed any time after Isha and before Fajr. If you've wondered how to pray witr, how many rakat it is, or why your Hanafi friend prays it differently from your Shafi'i friend, this guide walks through the options without the confusion.
What is witr?
Witr literally means "odd" — it is a night prayer of an odd number of rakat that makes the total of your night prayer uneven, because, as the Prophet ﷺ taught, Allah is witr (One) and loves what is odd. It is prayed after the Isha prayer, and it is meant to be the final prayer of your night. Every madhab treats it as a serious, near-daily commitment; where they differ is on its exact legal weight and form.
Witr prayer: how many rakat?
Any odd number: 1, 3, 5, 7, 9, or 11 rakat.
- 1 rakah is the minimum — valid on its own in the majority view, often prayed after two or more sets of two rakat.
- 3 rakat is the most common practice worldwide, and the standard Hanafi form.
- 5 or more appears in the sunnah too; the Prophet's ﷺ night prayer with witr was commonly eleven rakat in total.
If you're starting from zero: pray three. You can grow from there.
The Hanafi way: 3 rakat with qunoot
In the Hanafi school, witr is exactly three rakat prayed like Maghrib in shape — but with important differences:
- Pray two rakat, reciting Al-Fatihah and a surah in each, and sit for the first tashahhud.
- Stand for the third rakah and again recite Al-Fatihah and a surah.
- Before bowing, raise your hands with an extra takbir, then recite the dua al-qunoot.
- Bow, complete the rakah as normal, and end with one salam — all three rakat are connected, with no salam in between.
The well-known qunoot ("Allahumma inna nasta'inuka…") is the Hanafi standard; if you haven't memorized it yet, scholars allow simpler supplications while you learn.
How the other madhabs pray witr
The Shafi'i, Maliki, and Hanbali schools generally prefer not to imitate Maghrib exactly. Common forms:
- 2 + 1: pray two rakat, give salam, then pray one final rakah separately — the most widespread non-Hanafi form.
- A single rakah after whatever night prayer you've done.
On qunoot, the schools also differ: Shafi'is recite it in witr during the second half of Ramadan, Hanbalis recite it year-round, and Malikis generally don't include qunoot in witr at all. All of these forms are established and valid within their schools — follow the practice of your madhab or local mosque, and don't let the variety unsettle you. It is a mercy, not a contradiction.
Is witr wajib?
This is the classic exam question, and it deserves a gentle answer. Hanafi position: witr is wajib — a duty one level below fard, sinful to abandon deliberately, and made up if missed. Majority position (Shafi'i, Maliki, Hanbali): witr is a sunnah mu'akkadah, an emphasized sunnah the Prophet ﷺ maintained so consistently that neglecting it habitually was considered a mark against a person's reliability by some early scholars.
Practically, the schools land in the same place: pray witr every night. For your personal situation — especially questions like making up missed witr — ask a local imam or scholar you trust.
Close every night with witr logged
Hayya gives you accurate Isha and Fajr times computed on-device — so you always know your witr window — plus one-tap logging and a streak with mercy. Free forever, no ads.
Download Hayya FreeWhen to pray witr
The window runs from after Isha until the start of Fajr. Within that window, the Prophet ﷺ gave simple, practical advice: whoever fears they won't wake at the end of the night should pray witr before sleeping, and whoever expects to wake should delay it, because prayer at the end of the night is witnessed. In other words:
- Realist plan: pray witr right after Isha (or after your evening routine) and sleep with your night complete.
- Night-prayer plan: if you pray tahajjud, save witr for the very end so it seals the night.
One more detail most people learn late: there is no "double witr." If you prayed witr after Isha and then happen to wake before Fajr, you can still pray extra rakat in pairs — you just don't repeat witr in the same night.
Making witr stick
Witr fails for one boring reason: bedtime arrives and you're scrolling. Attach witr to something you already do every night — brushing your teeth, plugging in your phone — and pray your three rakat before your head touches the pillow. If your Isha itself is shaky, start there with our step-by-step salah guide, then let witr ride along behind it. The most beloved deeds to Allah are the most consistent, even if small — three quiet rakat every night outweigh eleven prayed twice a year.
FAQ
How many rakat is witr prayer?
Any odd number — 1, 3, 5, 7, 9, or 11. Three is the most common. Hanafis pray three connected rakat with one salam; other madhabs typically pray two rakat, give salam, then one final rakah.
Is witr prayer wajib or sunnah?
Hanafis classify it as wajib (necessary, and made up if missed); the majority classify it as an emphasized sunnah. Either way, no school treats skipping it lightly — and for personal rulings, ask a local scholar.
When should I pray witr — after Isha or before Fajr?
Any time between Isha and Fajr, as the last prayer of your night. Delay it to the end of the night if you reliably wake for tahajjud; otherwise pray it before you sleep.