Published on

Rakats in Each Namaz: Complete Daily Prayer Reference

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education • DeenUp

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

In the name of God, the Most Gracious, the Most Merciful.

Rakats in each namaz — complete reference guide to daily prayer units in Islam

One of the first practical questions every Muslim asks — and one that experienced Muslims sometimes still second-guess — is how many rakats make up each daily prayer. The answer involves more than a simple count. Each namaz has obligatory units (Fard), strongly emphasized units (Sunnah Muakkadah), lighter voluntary units (Sunnah Ghair Muakkadah), and, for Isha, the Witr prayer that closes the day.

Understanding the full structure of rakats in each namaz is not just administrative knowledge. It shapes how you approach each prayer, how you prioritize when time is short, and how you build the habit of consistent worship that the Prophet ﷺ described as the pillar of religion.

How Many Rakats Are in Each Namaz?

The five daily namaz contain 17 Fard (obligatory) rakats in total: Fajr has 2, Dhuhr has 4, Asr has 4, Maghrib has 3, and Isha has 4. Each prayer also carries Sunnah Muakkadah rakats — units the Prophet ﷺ performed so consistently that scholars treat them as near-obligatory. Including these, the daily recommended total reaches 29 rakats, rising to 32 with Witr. A Muslim who prays all Sunnah categories completes 40 or more rakats each day.

The Complete Rakats Breakdown for All Five Namaz

The table below gives the full rakah structure for each daily prayer, covering Fard, Sunnah Muakkadah (strongly emphasized), Sunnah Ghair Muakkadah (recommended), and Witr.

NamazSunnah Before FardFardSunnah After FardWitr
Fajr2 (Muakkadah)2
Dhuhr4 (Muakkadah)42 (Muakkadah)
Asr4 (Ghair Muakkadah)4
Maghrib32 (Muakkadah)
Isha4 (Ghair Muakkadah)42 (Muakkadah)3

Key: Muakkadah = emphasized Sunnah the Prophet consistently performed; Ghair Muakkadah = recommended but lighter. The Fard column is the non-negotiable minimum; all other rakats are Sunnah.

What Does the Quran Say About the Five Daily Prayers?

The obligation of prayer is stated with explicit firmness in the Quran:

إِنَّ الصَّلَاةَ كَانَتْ عَلَى الْمُؤْمِنِينَ كِتَابًا مَّوْقُوتًا

"Indeed, prayer has been decreed upon the believers a decree of specified times." — (Surah An-Nisa, 4:103)

The phrase "specified times" is precise: each of the five prayers has a defined window, and the number of rakats within each is established by the authentic Sunnah. The Prophet ﷺ said in a hadith reported by Muslim: "Islam is built upon five [pillars]: the testimony that there is no god but Allah and that Muhammad is His messenger, establishing prayer, giving zakat, performing Hajj, and fasting Ramadan." — (Sahih Muslim 16)

The complete guide to the five pillars of Islam explains why salah — the prayer — stands second among them, immediately after the Shahada.

Why the Sunnah Rakats Matter

The 17 Fard rakats represent the absolute minimum of daily prayer. The Prophet ﷺ never stopped at the minimum. His consistent addition of Sunnah rakats transformed prayer from obligation into conversation — a relationship with Allah built through sustained, repeated contact throughout the day.

The Sunnah Muakkadah (emphasized) rakats carry particular weight. These are the units the Prophet performed almost without exception:

  • Fajr: 2 before the Fard — the Prophet ﷺ called these "better than the world and all it contains" (Sahih Muslim 725)
  • Dhuhr: 4 before and 2 after the Fard
  • Maghrib: 2 after the Fard
  • Isha: 2 after the Fard, plus 3 Witr

Missing Sunnah Muakkadah habitually without valid reason is considered blameworthy by the majority of scholars. In practice, this means treating them as part of your five daily prayers, not as optional additions for when you have extra time.

The Sunnah Ghair Muakkadah (for Asr before, and Isha before) are genuine recommendations but carry less weight. When time is genuinely short, scholars permit omitting these while preserving the Muakkadah Sunnah and Fard.

The Witr Prayer — Closing the Day

Witr deserves special attention because it is often misunderstood. Witr is a confirmed Sunnah prayer prayed after Isha, most commonly as 3 rakats. The Prophet ﷺ never abandoned it, even while travelling — a strong indication of its status. Some scholars (particularly the Hanafi school) classify Witr as wajib, a category between Fard and Sunnah.

The most common method for 3-rakat Witr:

  • Pray 2 rakats and give Salam
  • Then pray 1 rakat containing the Qunut dua before the final Ruku

Some Muslims pray all 3 together without Salam between them — this is also valid per many scholars, particularly with a Qunut in the third rakat. The how to pray Witr guide covers both methods with step-by-step detail.

How to Build the Daily Rakats Habit

Knowing the counts is the starting point. Building the habit of praying all five namaz consistently — with their Sunnah rakats — is where long-term spiritual growth happens.

Begin with the Fard rakats. If you are new to consistent prayer or returning after a gap, focus first on praying all 17 Fard rakats daily, at their proper times. This is the non-negotiable foundation. The how to pray salah step-by-step guide covers each prayer in full detail.

Add Fajr Sunnah early. The 2 Sunnah Muakkadah before Fajr are especially powerful — and because Fajr is already the most spiritually significant prayer of the day, the Sunnah rakats naturally come with it. The Fajr prayer benefits guide explains why this particular prayer carries exceptional weight in hadith.

Build up to Witr. Once the Fard and main Sunnah rakats are stable, add Witr as the final step. It closes the day's prayer cycle and many Muslims find it becomes one of the most meaningful parts of their practice over time.

Track what you pray. A simple daily log — even a tick on your phone — creates the accountability that turns inconsistent prayer into daily habit. Over weeks and months, the count stops feeling like a checklist and begins feeling like a conversation you look forward to.

Build a consistent namaz habit

DeenUp helps you track all five daily prayers, including Sunnah rakats and Witr — with prayer time reminders and streaks that keep you motivated day after day.

Download DeenUp on the App Store

Jamaah Prayer and the Rakats Count

Praying in congregation (jamaah, جَمَاعَة) does not change the rakat counts, but it multiplies the reward. The Prophet ﷺ said: "Prayer in congregation is twenty-seven times superior to prayer said alone." — (Sahih al-Bukhari 645)

The Fard rakats are the same whether prayed alone or behind an imam. If you join a jamaah prayer after it has started and miss rakats, the protocol for making up missed rakats applies — the importance of jamaah prayer guide covers how to handle late-joining scenarios.

The DeenBack guide to daily dhikr after prayer is a natural follow-on resource once your rakat counts are established — because what happens in the minutes after each prayer matters as much as the prayer itself.

Situational Variations — Shortened Prayer for Travellers

One practical variation: the traveller's prayer (Salat al-Qasr). When travelling a journey of approximately 80 km or more, the four-rakat Fard prayers (Dhuhr, Asr, Isha) are shortened to 2 rakats each. Fajr (2 rakats) and Maghrib (3 rakats) remain unchanged. This shortening is explicitly permitted in the Quran (4:101) and is the confirmed practice of the Prophet ﷺ.

The Sunnah rakats during travel are a matter of scholarly difference — many scholars permit omitting them during genuine travel, while others recommend maintaining at least Fajr Sunnah and Witr.

Common Questions About Rakats in Namaz

What if I lose track of how many rakats I have prayed? The scholarly guidance is to go with the lesser count (the number you are certain about) and add the missing rakat. Then perform Sujood al-Sahw (two extra prostrations) before the Salam to compensate for the uncertainty.

Does a missed prayer need to be made up with the Sunnah rakats? For missed Fard prayers, scholars agree they must be made up (Qada). The majority view is that the Sunnah rakats of a missed prayer do not need to be made up, though some scholars recommend doing so for Fajr Sunnah specifically given its hadith emphasis.

Are the rakat counts the same across all four madhabs? The Fard rakat counts are identical across all four Sunni madhabs (Hanafi, Maliki, Shafi'i, Hanbali). Minor differences exist in some Sunnah counts and in the Witr category (Hanafi treats 3-rakat Witr as wajib). The table above reflects the broadly accepted Sunni consensus on Fard and Muakkadah Sunnah.

For full step-by-step instruction on individual prayers, the how to pray Fajr guide and how to pray Witr guide cover each with detailed movement and recitation.

The Demi Manifest piece on building a sustainable Muslim daily routine offers a practical framework for fitting all five namaz into a busy schedule — useful context once you have the rakat counts clear.

For further scholarly verification of rakat counts and prayer structures, the Yaqeen Institute's resources on salah provide accessible, hadith-grounded explanations from qualified scholars.

Pray all your rakats, every day

DeenUp tracks your five daily prayers with full Sunnah and Witr support — reminders, streaks, and Quranic-cited answers whenever you have a question about your prayer.

Download DeenUp on the App Store

Frequently Asked Questions

How many rakats are in each namaz?

The five daily namaz have these Fard rakats: Fajr 2, Dhuhr 4, Asr 4, Maghrib 3, and Isha 4 — totaling 17 Fard rakats per day. Each prayer also has Sunnah Muakkadah and in some cases Sunnah Ghair Muakkadah rakats. A complete day including all Sunnah prayers reaches approximately 40 rakats.

What is the difference between Fard and Sunnah rakats in namaz?

Fard rakats are the obligatory units of prayer — intentionally skipping them is a sin requiring makeup. Sunnah rakats are recommended units the Prophet regularly performed, divided into Muakkadah (strongly emphasized, close to obligatory in practice) and Ghair Muakkadah (lighter recommendation). The Fard is the non-negotiable core; the Sunnah builds depth and reward around it.

Are Sunnah rakats in namaz obligatory?

Sunnah rakats are not Fard (obligatory), but Sunnah Muakkadah are strongly emphasized — the Prophet performed them consistently and rarely missed them. Scholars consider habitually leaving Muakkadah Sunnah without valid reason blameworthy. Ghair Muakkadah are lighter recommendations. When time is limited, prioritize Muakkadah and skip Ghair Muakkadah rather than rushing the Fard prayer itself.

How many total rakats are there in all five daily prayers?

The five daily prayers contain 17 Fard rakats. Adding the Sunnah Muakkadah (12 rakats) brings the recommended daily total to 29. Including Witr (3 rakats) reaches 32. With non-Muakkadah Sunnah prayers, a complete day reaches 40 or more rakats. The Prophet described consistent prayer as the light of a believer and a pillar of the religion.

What is Witr prayer and how many rakats does it have?

Witr is a strongly recommended prayer performed after Isha, most commonly 3 rakats. The Prophet never abandoned it, and some scholars classify it as wajib (obligatory at a level just below Fard). It can also be prayed as 1, 5, 7, 9, or 11 rakats. Witr closes the night prayers and is often called the seal of the day in Islamic tradition.

Can I skip Sunnah rakats when I am short on time?

Sunnah Ghair Muakkadah may be skipped without blame when time is genuinely tight. Sunnah Muakkadah require more care — scholars recommend making an effort to pray them. The Fard prayer must always be prayed in full and on time. In real time constraints, complete the Fard fully, then make up any missed Sunnah Muakkadah after if possible.

What should I do if I miss a rakat during namaz?

If you realize mid-prayer that you have missed a rakat, continue and add it at the end. After your final Tashahhud, perform two Sujood al-Sahw (prostrations of forgetfulness) before completing the prayer with Salam. This corrects unintentional errors in rakat count. Deliberate additions or omissions are a more serious matter and may require repeating the prayer.