Fajr has 2 fard (required) rak'ahs, Dhuhr 4, Asr 4, Maghrib 3 and Isha 4. That's 17 fard rak'ahs a day, and every school of Islamic law teaches the same numbers. Around them the Prophet ﷺ regularly prayed 10 or 12 sunnah rak'ahs, and witr after Isha.
| Prayer | Sunnah before | Fard | Sunnah after |
|---|---|---|---|
| Fajr | 2 | 2 | None |
| Dhuhr | 4 (or 2) | 4 | 2 |
| Asr | None of the regular twelve | 4 | None |
| Maghrib | None of the regular twelve | 3 | 2 |
| Isha | None of the regular twelve | 4 | 2, then witr |
The sunnah counts come from two authentic hadith, both quoted below: Umm Habibah's twelve, with four before Dhuhr, and Ibn 'Umar's ten, with two. The Hanafi school counts the four among the emphasised sunnah; others follow the two. Witr comes after Isha's sunnah. The Hanafi school holds it wajib and prays three rak'ahs, and the other three schools hold it a strongly emphasised sunnah of one, three or more.
If you've looked at a chart pinned up in a mosque and seen Isha listed as something like "4 sunnah, 4 fard, 2 sunnah, 2 nafl, 3 witr, 2 nafl", it's easy to panic. You don't have to pray seventeen rak'ahs for Isha. Let's untangle it.
The required rak'ahs
| Prayer | Fard rak'ahs | Recited aloud? |
|---|---|---|
| Fajr | 2 | Yes, both rak'ahs |
| Dhuhr | 4 | No, quietly |
| Asr | 4 | No, quietly |
| Maghrib | 3 | First two aloud, third quietly |
| Isha | 4 | First two aloud, last two quietly |
"Aloud" is mainly about the imam. Behind an imam you stay quiet and listen; praying alone, the schools give you some room, so ask what your mosque teaches. For the full movements and words of each rak'ah, see how to pray salah step by step; this article is only about the numbers.
Prayer was first given as two rak'ahs, and the longer prayers were increased later, as 'A'ishah explained:
Allah enjoined the prayer when He enjoined it, it was two rak`at only (in every prayer) both when in residence or on journey. Then the prayers offered on journey remained the same, but (the rak`at of) the prayers for non-travelers were increased.
Narrated by 'A'ishah.
That's also why travellers shorten their four-rak'ah prayers to two, which we'll come back to.
The sunnah rak'ahs around them
The Prophet ﷺ regularly prayed extra rak'ahs before or after most of the fard prayers. These are called the sunnah rawatib, the regular sunnah prayers. They're not required, and missing them isn't a sin, but he hardly ever left them, and he promised a lot for them:
Whoever prays twelve Rak'ah in a day and night, a house will be built from him in Paradise: Four Rak'ah before Zuhr, two Rak'ah after it, two Rak'ah after Maghrib, two Rak'ah after Isha, and two Rak'ah before Fajr in the morning Salat.
Narrated by Umm Habibah. Graded sahih (Darussalam).
Ibn 'Umar remembered ten rather than twelve, with two before Dhuhr instead of four:
Both are authentic, and scholars take both as valid ways to pray. That's why the table at the top gives Dhuhr's sunnah as 4 (or 2). Many people also pray four before Asr; those aren't among the regular twelve. Follow what's taught at your mosque.
| Prayer | Sunnah before | Fard | Sunnah after |
|---|---|---|---|
| Fajr | 2 | 2 | None |
| Dhuhr | 4 (or 2) | 4 | 2 |
| Asr | None of the regular twelve | 4 | None |
| Maghrib | None of the regular twelve | 3 | 2 |
| Isha | None of the regular twelve | 4 | 2, then witr |
The two before Fajr are the ones he valued most. 'A'ishah reported him saying:
Witr: the odd number at the end of the night
Witr means "odd". It's prayed after Isha and before Fajr, and it can be one rak'ah, three, five or more. The Hanafi school holds it wajib (a step below fard) and prays it as three rak'ahs; the other three schools treat it as a strongly emphasised sunnah. Either way, don't skip it lightly. We've written a full guide to how to pray witr.
So why do some charts show 17 for Isha?
Some mosques, especially in South Asian communities, hang up charts that list every optional prayer people commonly add, not only the regular sunnah. For Isha you'll often see 4 sunnah before (optional, not one of the regular twelve), 4 fard, 2 sunnah after (one of the twelve), 2 nafl, 3 witr and 2 more nafl. Nafl means voluntary.
None of that is wrong, but it's not the minimum. If you're new, the minimum is the fard. Then add the two sunnah of Fajr, then the sunnah after Maghrib and Isha, then the rest as you get comfortable. Building it up over months is normal.
Jumu'ah, travel and other special cases
- Friday: the Jumu'ah prayer is 2 rak'ahs prayed in congregation after a sermon, and it replaces Dhuhr that day. If you miss it, you pray the normal 4 of Dhuhr. Our guide to how to pray Jummah covers the sunnah around it.
- Travelling: Dhuhr, Asr and Isha become 2 rak'ahs each. Fajr stays 2 and Maghrib stays 3. The Quran mentions shortening the prayer in 4:101, and the 'A'ishah hadith above explains it. The schools differ on how far you need to travel and for how long, so check with your imam before your first trip.
- Eid: the Eid prayer is 2 rak'ahs with extra takbirs, prayed in the morning.
- Funeral prayer (janazah): no rak'ahs at all. It's prayed standing, with four takbirs.
If you're only just starting
Don't let the numbers stop you. The required part is seventeen rak'ahs, spread over five short prayers that take a few minutes each. A two-rak'ah Fajr can take three minutes. Learn the two-rak'ah prayer first, because every longer prayer is the same thing with one or two more rak'ahs added.
Everyone loses count now and then. The schools handle it a little differently, and the extra two prostrations for forgetfulness, sujud as-sahw, are part of the answer; the Salah course has a whole lesson on forgetting and losing count.
The prayer times themselves change every day with the sun. Our prayer times page shows today's times for your city.
The free Salah course teaches the two-rak'ah prayer first, then shows exactly what changes for three and four, how to recover if you lose count, and how to add the sunnah prayers once you're ready. It's part of the New Muslim Foundations path. If you'd like something on paper, the Salah pocket guide has the times, every position and what you say in it, and the three- and four-rak'ah prayers in one small booklet.
Questions people ask
How many rakats are in all five prayers?
Seventeen required (fard) rak'ahs: Fajr 2, Dhuhr 4, Asr 4, Maghrib 3 and Isha 4. With the twelve regular sunnah rak'ahs and three of witr, a full day comes to 32.
How many rakats are in Isha?
Four fard. The Prophet ﷺ regularly prayed two sunnah after it, and witr comes after that. Charts showing 17 for Isha add optional prayers on top.
How many rakats are in Fajr?
Two fard, with two sunnah before them. The Prophet ﷺ said the two sunnah rak'ahs at dawn are better than the world and everything in it (Sahih Muslim 725a).
How many rakats are in Maghrib?
Three fard, with two sunnah after them. Maghrib is the only daily prayer with an odd number of fard rak'ahs.
Is it a sin to skip the sunnah rakats?
No. Only the fard is required. The sunnah rak'ahs carry great reward, and the Prophet ﷺ rarely left them, so build them in over time.
How many rakats is Jummah?
Two fard rak'ahs prayed in congregation after the khutbah, replacing Dhuhr. Many people also pray sunnah after it: four at the mosque or two at home, both from the Prophet ﷺ.





