Witr is a prayer with an odd number of rak'ahs that you pray after Isha and before Fajr, ideally as the last prayer of your night. Most people pray it as one rak'ah or as three, the same way as any other prayer, and many add a du'a called the qunut in the last rak'ah. The schools differ on how binding it is and how three are prayed:
| Hanafi school | Maliki, Shafi'i and Hanbali schools | |
|---|---|---|
| How binding | Wajib, a step below fard | A strongly emphasised sunnah |
| Rak'ahs | Three | One, three, five or more, always odd. Malikis prefer it after an even number of rak'ahs |
| Praying three | Together, sitting for the tashahhud after the second rak'ah and again at the end | Two with a salam, then one on its own. Shafi'is and Hanbalis may also pray three together, sitting once at the end |
| When | After Isha, until Fajr begins | After Isha, until Fajr begins |
Whichever position you follow, every school agrees witr isn't something to drop lightly.
If you're new, witr can be confusing because people around you pray it differently. Some pray three in one go, some pray two and then one, some raise their hands in the middle of the last rak'ah and others don't. They're mostly all right. Here's how each way works.
What witr is, and how important
Witr means "odd". The Prophet ﷺ told his followers to pray it:
Allah is single (witr) and loves what is single, so observe the witr, you who follow the Qur'an.
Narrated by 'Ali ibn Abi Talib. Graded sahih by al-Albani.
When to pray it
Any time after you've prayed Isha, until Fajr begins. Ideally it's your last prayer of the night:
Make witr as your last prayer at night.
Narrated by 'Abdullah ibn 'Umar.
If you'll wake up for the night prayer (tahajjud) before dawn, it's better to pray witr then. If you're not sure you'll wake, pray it before you sleep:
If anyone is afraid that he may not get up in the latter part of the night, he should observe Witr in the first part of it; and if anyone is eager to get up in the last part of it, he should observe Witr at the end of the night, for prayer at the end of the night is witnessed (by the angels) and that is preferable.
Narrated by Jabir.
Most new Muslims pray it straight after Isha's sunnah rak'ahs. That's completely fine. You also only pray witr once a night: the Prophet ﷺ said there are no two witrs in one night (Sunan Abi Dawud 1439, sahih per al-Albani).
One rak'ah
Witr can be a single rak'ah:
Witr is a rak'ah at the end of the prayer.
Narrated by Ibn 'Umar.
- Intend witr, and say Allahu akbar.
- Recite Al-Fatihah and a short surah. Al-Ikhlas is a common choice.
- Ruku', stand up, two sujood, as in any rak'ah.
- Sit for the tashahhud, salawat and du'a, then say the salam.
That's a complete witr for the Maliki, Shafi'i and Hanbali schools, though Malikis prefer it after an even number of rak'ahs. It's a good fallback on a night you're exhausted. In the Hanafi school, though, witr is three rak'ahs, so a Hanafi wouldn't pray just one.
Three rak'ahs
There are two common ways to pray three.
Two, then one
Pray two rak'ahs and finish them with the salam, then stand and pray one more rak'ah on its own as above. This follows the Prophet's ﷺ description of night prayer:
The night prayer is offered as two Rak`at followed by two Rak`at and so on and if anyone is afraid of the approaching dawn (Fajr prayer) he should pray one Rak`ah and this will be a Witr for all the Rak`at which he has prayed before.
Narrated by Ibn 'Umar. Shortened.
Three together (the Hanafi way)
This is how Hanafis pray witr, and it's what you'll see in most South Asian and Turkish mosques:
- Pray two rak'ahs as normal and sit for the tashahhud after the second, without the salam.
- Stand for the third rak'ah. Recite Al-Fatihah and a surah.
- Before going into ruku', say Allahu akbar and raise your hands as you did at the start, then lower them and say the qunut du'a quietly.
- Then go into ruku', and finish the rak'ah and the prayer as normal.
Either way, three in one go is valid; follow what your mosque teaches.
The qunut du'a
The qunut is a du'a said standing in the last rak'ah of witr. The Prophet ﷺ taught this one to his grandson al-Hasan:
Allah's Messenger taught me some phrases to say during Al-Witr (Allahummahdini fiman hadait, wa a'fini fiman afait, wa tawallani fiman tawallait, wa barik Li fima atait, wa qini sharra ma qadait, fa Innaka taqdi wa la yuqda Alaik, wa innahu la yadhillu man walait, tabarakta Rabbana wa ta'alait.) 'O Allah guide me among those You have guided, pardon me among those You have pardoned, befriend me among those You have befriended, bless me in what You have granted, and save me from the evil that You decreed. Indeed You decree, and none can pass decree, and none can pass decree upon You, indeed he is not humiliated whom You have befriended, blessed are You our Lord and Exalted.'
Narrated by al-Hasan ibn 'Ali. Graded sahih (Darussalam). The transliteration and translation are as given on sunnah.com.
Hanafi mosques often use a different, longer qunut that begins "Allahumma inna nasta'inuka". Both are well known; learn whichever your mosque uses.
If you don't know the qunut yet
Pray witr anyway. For the three schools that treat the qunut as optional, the prayer is complete without it. In the Hanafi school, where it's wajib, ask your teacher what short du'a to use until you've learned it. Either way, don't leave witr because the du'a isn't memorised yet. For other du'as to learn, our page of du'as from the Sunnah is a good place to browse.
If you missed witr
If you slept through it, you can pray it when you wake up. The schools differ a little on the timing and form of the make-up, so check with your imam, but don't worry about it: the next night is another chance. Our article on missed prayers covers making up prayers more generally.
Putting it in your night
A simple routine for a new Muslim: pray Isha's four fard, the two sunnah after, then witr, then sleep. That's seven rak'ahs if you pray one witr, nine with three. Once that's a habit, try waking a little before Fajr once a week for two rak'ahs of night prayer, and move your witr there. For where witr fits in the day's prayers, see how many rakats in each prayer.
The free Salah course teaches the two-rak'ah prayer first, then what changes for three and four, which is everything you need to pray witr either way. It's part of the New Muslim Foundations path.
Questions people ask
Can I just pray 1 rakat witr?
Yes, for the Maliki, Shafi'i and Hanbali schools: one rak'ah is a complete witr (Sahih Muslim 752a). The Hanafi school prays witr as three rak'ahs.
Is witr compulsory?
The Hanafi school holds it wajib, a step below fard. The other three schools hold it a strongly emphasised sunnah. Either way, it's not something to drop.
How do I pray witr if I don't know the qunut?
Pray it without the qunut, or with a short du'a you know. For most schools the qunut is optional. In the Hanafi school it's wajib, so ask your teacher what to say until you've learned it.
When is the best time to pray witr?
As your last prayer of the night, any time after Isha until Fajr. Before sleeping if you might not wake; before dawn if you'll be up for tahajjud (Sahih Muslim 755a).
Is witr part of Isha?
No. It's a separate prayer whose time starts after Isha. Many people pray it straight after Isha, which is why it's often listed with it.





