Sunnah Prayers: How Many Rakats Before and After Each Prayer

The confirmed daily sunnah prayers (rawatib) are 12 rakats: 2 before Fajr, 4 before and 2 after Dhuhr, 2 after Maghrib and 2 after Isha.

Last updated:

The 12 Confirmed Sunnah Rakats

The Prophet ﷺ said: whoever prays 12 rakats a day and night other than the obligatory prayers, Allah builds for him a house in Paradise (Sahih Muslim). Tirmidhi lists them as follows.

Table of confirmed sunnah rakats before and after each of the five daily prayers
PrayerBeforeAfter
Fajr2none
Dhuhr42
Asrnone (4 recommended)none
Maghribnone (2 recommended)2
Ishanone2
Total66

12 rakats in the Hanafi count. The Shafi’i and Hanbali schools count 10 as confirmed (2 before Dhuhr instead of 4) and add the others as recommended.

Beyond the confirmed rakats, scholars recommend 2 more before Dhuhr and 2 more after it (Shafi’i), 4 before Asr (“may Allah have mercy on one who prays four before Asr”, Abu Dawud and Tirmidhi), 2 light rakats before Maghrib (Bukhari), and 2 before Isha. See each prayer: Fajr, Dhuhr, Asr, Maghrib, Isha.

Pray the Sunnah at Home

The Prophet ﷺ said the best prayer of a person is in his house, except the obligatory prayer (Bukhari, Muslim), and Ibn Umar reported that he prayed the sunnah after Maghrib and Isha at home. When you travel, the Prophet ﷺ generally left the rawatib but kept the two before Fajr and Witr.

Sources

  • General guidance from widely cited hadith. The schools differ on some details, so follow a scholar you trust for your own case.
  • Sahih Muslim: a house in Paradise for 12 rakats; Tirmidhi: the list of the 12.
  • Sahih al-Bukhari and Sahih Muslim: Ibn Umar on the rawatib; the best prayer is in the house.

Frequently Asked Questions

Never lose count in salah again

Prayer Memory keeps the count for you, silently, so you can give your attention to the prayer. Free to download, with an optional Pro upgrade inside the app.