What is the Witr prayer?
Witr means odd. The Witr prayer is a voluntary night prayer with an odd number of rak'ahs, and it serves as the closing of our night prayer. Many people know it as the prayer offered after Isha, often joined with Tarawih in Ramadan, yet it is encouraged all year round. Witr is a gentle way to close the day with ibada' and end the night having stood before our Lord.
اجْعَلُوا آخِرَ صَلاَتِكُمْ بِاللَّيْلِ وِتْرًا
"Make witr as your last prayer at night"
Ruling on the Witr prayer: obligatory or voluntary?
The following hadith from Abu Ayyub al-Ansari shows how strongly Witr is encouraged, while also giving flexibility in the number of rak'ahs.
الْوِتْرُ حَقٌّ عَلَى كُلِّ مُسْلِمٍ فَمَنْ أَحَبَّ أَنْ يُوتِرَ بِخَمْسٍ فَلْيَفْعَلْ وَمَنْ أَحَبَّ أَنْ يُوتِرَ بِثَلاَثٍ فَلْيَفْعَلْ وَمَنْ أَحَبَّ أَنْ يُوتِرَ بِوَاحِدَةٍ فَلْيَفْعَلْ
"The witr is a duty for every Muslim so if anyone wishes to observe it with five rak'ahs, he may do so; if anyone wishes to observe it with three, he may do so, and if anyone wishes to observe it with one, he may do so"
Scholars differ on its ruling. Most scholars consider it a sunnah mu'akkadah, a strongly emphasised sunnah. Some, for example in the Hanafi school, consider it obligatory. This difference is part of the richness of fiqh. What is certain is that nobody advises leaving it, so the safest choice is to keep it every night. If you want to know which view your community follows, ask a trusted ustadz.
When is the time of the Witr prayer?
The time of Witr begins after the Isha prayer and ends just before Fajr begins. So we can pray it right after Isha, or delay it to the end of the night. The best choice depends on our sleeping routine, and the following hadith gives very practical guidance.
مَنْ خَافَ أَنْ لاَ يَقُومَ مِنْ آخِرِ اللَّيْلِ فَلْيُوتِرْ أَوَّلَهُ وَمَنْ طَمِعَ أَنْ يَقُومَ آخِرَهُ فَلْيُوتِرْ آخِرَ اللَّيْلِ فَإِنَّ صَلاَةَ آخِرِ اللَّيْلِ مَشْهُودَةٌ وَذَلِكَ أَفْضَلُ
"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"
- If you fear you will not wake at night, pray Witr before sleeping, after Isha.
- If you are confident you will wake, delay Witr to the end of the night, after tahajjud, because praying at the end of the night is preferable.
- Make Witr your last prayer of that night, as the hadith encourages us to make it the closing of the night prayer.
How many rak'ahs is the Witr prayer?
From the Abu Dawud hadith above, we know Witr may be prayed with one, three, or five rak'ahs. Scholars also mention larger numbers, such as seven and nine. We are free to choose according to our ability and situation. For beginners, one or three rak'ahs is enough and is the easiest to keep every night.
- One rak'ah: intend Witr, then pray a single full rak'ah ending with one salam.
- Three rak'ahs: there are two ways. First, two rak'ahs with a salam, then one rak'ah with a salam. Second, three rak'ahs together with one salam. Some scholars consider the first way better, while the Hanafi school commonly prays three connected rak'ahs.
- Five rak'ahs or more: usually prayed after several pairs of night prayer and closed with one rak'ah of Witr.
How to pray Witr step by step
The method is the same as other voluntary prayers, with only the intention and number of rak'ahs differing. Here is an example for three-rak'ah Witr with two salams.
- Perform wudu, then intend in your heart to pray the voluntary Witr for Allah.
- Pray two rak'ahs as usual, with Al-Fatihah and a surah in each, then the final tashahhud and salam.
- Stand for one last rak'ah: Al-Fatihah, a short surah, bowing, rising, prostrating, tashahhud, and salam.
- Many people have a habit of reciting particular surahs in Witr, but it is not required. Choose a surah you know.
- The qunut supplication in Witr is practised in some schools at certain times, for example in the second half of Ramadan, and scholars differ on this. Follow the guidance of your local ustadz.
The wisdom of closing the day with Witr
Closing the day with Witr gives us a calm sense of completion. All day we are busy with work, family, and our phones; Witr invites us to close everything by returning to Allah. The Messenger of Allah ﷺ encouraged making Witr the closing of the night prayer, and we can practise this in a simple way. There is no need to wait for midnight or a long recitation; what matters is that we end the day consciously, not just fall asleep.
- A clear night rhythm: Isha, brief remembrance, Witr, then sleep, so the night feels orderly.
- A chance for reflection: a few minutes to recall what we did today and ask forgiveness for our shortcomings.
- A doorway to tahajjud: those used to Witr often find it easier to begin a longer night prayer later on, if Allah makes it easy.
- A flexible ibada': just one rak'ah on a tiring night, and more on a roomier one.
Tips to keep Witr every night
The key to keeping Witr is making it part of your bedtime routine. Place your prayer mat near your bed, make Witr the last thing before you lie down, and start with just one rak'ah when tired. A single consistent rak'ah is better than five that happen only occasionally. Avoid putting it off until your eyes are heavy, because that is when Witr is most easily missed. Try to pray it right after Isha or after your evening remembrance while your body is still fresh, unless you are truly sure you will wake at the end of the night. If tonight is missed, there is no need to worry excessively; begin again tomorrow night with a fresh good intention.
For those who want to keep the night prayer, pray tahajjud and close with Witr. A daily reminder or a simple deeds journal, such as in MuslimHabits, can help us see which nights were missed without blaming ourselves.
Small actions for tonight
Pick one or two of the following.
✓ Interactive Action Checklist
Decide whether you will pray Witr after Isha or at the end of the night.
Place your prayer mat by your bed tonight.
Pray one or three rak'ahs of Witr before sleeping.
Set a daily phone reminder for Witr.
Frequently asked questions about Witr
Must Witr come after tahajjud?
Not necessarily. Witr may be prayed after Isha. But for those who wake at night, the encouragement is to make Witr the closing of the night prayer.
What if I prayed Witr but woke up again at night?
Scholars hold several views on this. Please ask a trusted ustadz about the approach that matches your school.
What is the fewest rak'ahs for Witr?
One rak'ah, as the hadith above mentions.
May Witr be prayed sitting?
This is discussed in the fiqh of voluntary prayers. Because scholars' views vary, especially for those who are healthy, it is best to ask an ustadz.