- Published on
How Many Rakats in Each Prayer?
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • DeenUp
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.
One of the most practical questions any Muslim asks — whether you are just beginning to pray or brushing up on details — is: how many rakats does each prayer actually have? The exact counts matter because performing fewer or more fard rakats than prescribed invalidates the prayer, while knowing the sunnah rakats helps you maximize the reward Allah has made available to you every day.

How Many Rakats Are in Each Prayer?
The five daily prayers contain a combined total of 17 fard (obligatory) rakats: Fajr has 2, Dhuhr has 4, Asr has 4, Maghrib has 3, and Isha has 4. Each prayer also has recommended sunnah rakats before or after the fard, adding up to 34 units when all emphasized sunnah are included. The Prophet ﷺ established these counts precisely: "Pray as you have seen me praying." (Sahih al-Bukhari 631)
Quick-Reference Table: Rakats per Prayer
Use this table as your at-a-glance guide for every daily prayer. Muakkadah means emphasized sunnah (strongly recommended); ghair muakkadah means non-emphasized (optional but rewarded).
| Prayer | Time | Sunnah Before (type) | Fard | Sunnah After (type) | Witr |
|---|---|---|---|---|---|
| Fajr | Dawn to sunrise | 2 muakkadah | 2 | — | — |
| Dhuhr | Midday to mid-afternoon | 4 muakkadah | 4 | 2 muakkadah | — |
| Asr | Mid-afternoon to sunset | 4 ghair muakkadah | 4 | — | — |
| Maghrib | Sunset to disappearance of twilight | — | 3 | 2 muakkadah | — |
| Isha | Twilight disappears to midnight (or Fajr) | 4 ghair muakkadah | 4 | 2 muakkadah | 1 or 3 |
| Total | — | 14 | 17 | 6 | 1–3 |
Why Do the Five Prayers Have These Specific Rakat Counts?
The precise structure of each prayer was revealed to the Prophet ﷺ during the night of Al-Isra wal-Mi'raj (the Night Journey and Ascension). Originally, fifty prayers were prescribed, but through the Prophet Musa's ﷺ counsel and Allah's mercy, they were reduced to five — with the reward of fifty preserved. (Sahih al-Bukhari 349)
The Quran commands the specific times of prayer without giving exact counts: "Indeed, prayer has been decreed upon the believers a decree of specified times." (Surah An-Nisa, 4:103)
The precise rakah counts come entirely from the Sunnah — from what the Prophet ﷺ demonstrated, practiced, and taught. This is why the hadith "Pray as you have seen me praying" is so central to Islamic jurisprudence.
How to Understand Fard vs. Sunnah vs. Nafl Rakats
Not all rakats carry the same legal weight. Understanding the difference helps you prioritize.
Fard (Obligatory) Rakats
These are the 17 non-negotiable rakats. Deliberately missing a fard prayer is one of the major sins in Islam. If you miss a fard prayer (due to sleep or forgetfulness), you must make it up as soon as you remember. The Prophet ﷺ said: "Whoever misses the Asr prayer, it is as if he lost his family and property." (Sahih al-Bukhari 552)
Sunnah Muakkadah (Emphasized Sunnah) Rakats
These are the rakats the Prophet ﷺ performed consistently and rarely abandoned. Missing them is not sinful, but you are missing a significant opportunity for reward. For Fajr in particular, the Prophet ﷺ said: "The two rak'ahs of Fajr are better than the world and what it contains." (Sahih Muslim 725)
Sunnah Ghair Muakkadah and Nafl (Optional) Rakats
These optional prayers — including the 4 before Asr, Duha prayer (2–12 rakats), and Tahajjud (8+ rakats at night) — are how the serious believer expands their connection with Allah beyond the minimum. Learn more about building these habits in our guide on how to pray sunnah prayers and Tahajjud prayer.
Never lose track of your daily prayers
DeenUp helps you track each prayer, build streaks, and stay consistent — from the 2 fard rakats of Fajr to your Witr before bed. Start with one prayer and grow from there.
Download DeenUp on the App StoreBreakdown of Each Prayer in Detail
How Many Rakats Is Fajr?
Fajr is the dawn prayer — the first prayer of the Islamic day, performed between true dawn (fajr sadiq) and sunrise.
- 2 sunnah muakkadah (before fard)
- 2 fard rakats
- No sunnah after
Total: 4 rakats (2 sunnah + 2 fard)
The 2 sunnah of Fajr are the most emphasized optional prayer in the entire day. The Prophet ﷺ would perform them even when traveling, when he often shortened or combined other prayers. For a full step-by-step guide, see how to pray Fajr and explore the spiritual benefits of Fajr prayer.
How Many Rakats Is Dhuhr?
Dhuhr is the midday prayer, beginning after the sun passes its zenith.
- 4 sunnah muakkadah (before fard)
- 4 fard rakats
- 2 sunnah muakkadah (after fard)
Total: 10 rakats (4 sunnah + 4 fard + 2 sunnah)
On Fridays, Dhuhr is replaced for men by Salat al-Jumu'ah — the congregational Friday prayer. It consists of 2 fard rakats performed after the khutbah (sermon), preceded by 4 sunnah and followed by 4 + 2 sunnah depending on scholarly opinion.
How Many Rakats Is Asr?
Asr is the afternoon prayer, generally beginning when an object's shadow equals its own length plus the noon shadow.
- 4 sunnah ghair muakkadah (optional, before fard)
- 4 fard rakats
- No sunnah after
Total: 4 fard rakats (plus optional 4 sunnah before)
The Prophet ﷺ regularly encouraged the 4 sunnah of Asr: "May Allah have mercy on the one who prays four [rak'ahs] before Asr." (Abu Dawud 1271) While not strongly emphasized, they are still a valuable habit to build.
How Many Rakats Is Maghrib?
Maghrib is the sunset prayer, performed immediately after the sun sets.
- No sunnah before (though some scholars note optional 2 rakats)
- 3 fard rakats — the only prayer with an odd number of fard units
- 2 sunnah muakkadah (after fard)
Total: 5 rakats (3 fard + 2 sunnah)
The 3 rakats of Maghrib fard are performed as: 2 rakats with recitation aloud, followed by 1 rakat with recitation silent (in the Hanafi madhab) or with silent recitation in the third rakat across madhabs.
How Many Rakats Is Isha?
Isha is the night prayer, beginning when the red twilight disappears from the sky.
- 4 sunnah ghair muakkadah (optional, before fard)
- 4 fard rakats
- 2 sunnah muakkadah (after fard)
- Witr (1 or 3 rakats)
Total: 10–11 rakats (4 optional sunnah + 4 fard + 2 sunnah + 1–3 Witr)
Witr is performed after the sunnah of Isha. Hanafi scholars consider it obligatory (wajib); Shafi'i, Maliki, and Hanbali scholars consider it a strongly emphasized sunnah. The Prophet ﷺ never abandoned it: "The Witr is a duty for every Muslim." (Abu Dawud 1416)
How to Make Up Missed Prayers (Qada)
If you miss a fard prayer, you must make it up (qada). Make it up as soon as you remember, even if it is not the time for that prayer. The Prophet ﷺ said: "Whoever forgets a prayer, let him pray it when he remembers it; there is no expiation for it other than that." (Sahih al-Bukhari 597)
When making up missed prayers, only the fard rakats are obligatory to repeat — you are not required to make up missed sunnah alongside them.
Building a Consistent Prayer Habit
Knowing the counts is the beginning. The real challenge is praying all 5 prayers consistently, every day, for life. Here is what actually helps:
- Pray Fajr on time, every day. If Fajr becomes consistent, the other 4 prayers follow more naturally. Set two alarms.
- Start with fard only if the sunnah feel overwhelming. The Prophet ﷺ established fard as the foundation.
- Pray in congregation (jama'ah) when you can. The reward is 27 times greater than praying alone. (Sahih al-Bukhari 645)
- Use a tracker. A simple habit tracker or app can reveal patterns in which prayers you miss and why.
For deeper guidance on the prayer itself, start with our complete guide to praying salah and how to improve your concentration in salah. After each prayer, our collection of duas to read after salah can help you close each prayer with gratitude.
Understanding why salah is one of the five pillars of Islam can also deepen your motivation when consistency feels difficult.
The Spiritual Weight Behind the Numbers
The 17 daily fard rakats are not just a ritual requirement — they are the five moments each day when you stand before Allah سُبْحَانَهُ وَتَعَالَى (Subhanahu wa ta'ala, "Glorified and exalted is He") and give Him your full attention.
The Prophet ﷺ illustrated this beautifully:
"What do you think — if there was a river at the door of one of you, and he bathed in it five times a day, would any dirt remain on him?" They said: "No dirt would remain on him at all." He said: "That is the parable of the five prayers, with which Allah erases sins." (Sahih al-Bukhari 528)
Each set of rakats is a cycle of standing, bowing, and prostrating that physically and spiritually grounds you in submission. The Arabic word for prayer, salah (صَلَاة), even shares a root with the word for connection. Five times a day, you reconnect.
For further scholarly context on the fiqh of prayer, SeekersGuidance and Yaqeen Institute offer detailed, accessible resources. To build the habit of daily dhikr after each prayer, DeenBack's daily adhkar resources are a practical companion. For connecting consistent prayer to a broader Muslim lifestyle, Demi Manifest explores how salah anchors the rest of your day.
Build your daily salah streak
DeenUp lets you track each of your five daily prayers and builds gentle reminders around your schedule. Start with Fajr, and let the habit grow from there.
Download DeenUp on the App StoreFrequently Asked Questions
How many rakats are in Fajr prayer?
Fajr prayer consists of 2 fard (obligatory) rakats. It is preceded by 2 sunnah muakkadah rakats — strongly recommended sunnah the Prophet ﷺ rarely missed. Fajr is the dawn prayer, performed after the true dawn has broken and before sunrise, making it the first of the five daily prayers.
How many rakats are in Dhuhr prayer?
Dhuhr prayer consists of 4 fard rakats. It is preceded by 4 sunnah muakkadah rakats and followed by 2 sunnah muakkadah rakats. Dhuhr is the midday prayer performed when the sun passes its zenith. On Fridays, men replace Dhuhr with the congregational Jumu'ah prayer of 2 fard rakats.
How many rakats are in Asr prayer?
Asr prayer consists of 4 fard (obligatory) rakats. It is optionally preceded by 4 sunnah ghair muakkadah rakats — non-emphasized sunnah that carry reward but are not strongly recommended. Asr is the afternoon prayer, performed when an object's shadow equals its length plus the noon shadow length.
How many rakats are in Maghrib prayer?
Maghrib prayer consists of 3 fard (obligatory) rakats, followed by 2 sunnah muakkadah rakats. It is performed immediately after sunset. Maghrib is the only prayer with an odd number of fard rakats — a fact the Prophet ﷺ confirmed is not open to addition or subtraction. (Sahih Muslim 682)
How many rakats are in Isha prayer?
Isha prayer consists of 4 fard rakats. It is optionally preceded by 4 sunnah rakats and followed by 2 sunnah muakkadah rakats. After the sunnah, Witr prayer is performed — 1 or 3 rakats (considered obligatory by Hanafi scholars, strongly recommended sunnah by others). Isha begins when twilight disappears.
How many total fard rakats are there in a day?
There are 17 fard (obligatory) rakats across the five daily prayers: 2 for Fajr, 4 for Dhuhr, 4 for Asr, 3 for Maghrib, and 4 for Isha. Including all emphasized sunnah (muakkadah) rakats brings the daily total to 34 units, before any additional voluntary prayers like Tahajjud or Duha.
What is the difference between fard and sunnah rakats?
Fard rakats are obligatory — deliberately missing them without a valid excuse is a major sin and they must be made up. Sunnah muakkadah rakats are strongly recommended and the Prophet ﷺ performed them consistently, but missing them is not sinful. Sunnah ghair muakkadah are optional prayers that carry reward but were not performed regularly by the Prophet ﷺ.