Rakats in Each Salah: Complete Guide to Fard, Sunnah and Witr

When learning Salah, one of the most common questions Muslims ask is simple: How many rakats are in each prayer?

Quick Answer: Every Salah consists of units called rakats. The total Fard (obligatory) rakats across the five daily prayers is 17.

Every single Islamic prayer (Salah) is fundamentally built upon structured, repeating physical and spiritual units known as rakats (singular: rakat or rak'ah). Whether you are standing in the stillness of the pre-dawn Fajr prayer, or joining the massive Friday congregational prayer (Jumu'ah), the entire foundation of your worship is defined by how many of these specific units you perform.

For a beginner learning how to pray, the most immediately overwhelming aspect is often simply remembering the exact count. How many rakats are in Dhuhr? Do I have to pray the Sunnah rakats? What happens if I lose count midway through the prayer?

Understanding the precise breakdown of rakats is not merely an exercise in memorization; it is the absolute prerequisite for performing valid, accepted Salah. A prayer performed with the incorrect number of obligatory (Fard) rakats is fundamentally invalid in Islamic law and must be repeated.

This deeply comprehensive, authoritative guide explains:

  • The exact number of rakats required for every single daily prayer.
  • The critical, theological differences between Fard (obligatory), Sunnah (recommended), and Nafl (voluntary) prayers.
  • The profound historical reasons why the number of rakats differ between the day and night.
  • How to correctly structure each individual rakat, step-by-step.
  • How to immediately fix common mistakes, such as losing your count mid-prayer.
  • The nuanced differences between the major Islamic schools of thought (Madhabs) regarding Sunnah prayers.

Brand new to prayer? If you are completely new to prayer, you should read our comprehensive guide:
How to Pray in Islam (Salah) →


Quick Answer: Rakats in Each Salah

The five commanded daily prayers (Salah) contain strictly mandated, non-negotiable numbers of obligatory units. While there are highly recommended additional prayers attached to them, the core foundations remain universally identical across the global Muslim community. Here is the absolute quickest, most definitive breakdown.

Prayer Pre-Sunnah Fard (Obligatory) Post-Sunnah / Nafl Witr Total
Fajr (Dawn) 2 2 4
Dhuhr (Midday) 4 4 2 10
Asr (Afternoon) 4 4 8
Maghrib (Sunset) 3 2 5
Isha (Night) 4 4 2 3 13

In the table above, the Fard rakats represent the absolute minimum, mandatory requirement imposed by God upon every sane, adult Muslim. The Sunnah and Nafl prayers are strictly optional but carry astronomical spiritual reward for those who perform them consistently.


Interactive Rakat Calculator

Use the calculator below to instantly see the rakats for each Salah. Select a prayer and the tool will display the full structure.

Interactive Rakat Calculator

Select a prayer to break down its rakats.

Total Rakats: 4
Islamic quote about salah and building prayer through each rakat

What Exactly Is a Rakat?

Linguistically, the Arabic word rak'ah (plural: rakat) roughly translates to "a bowing." In the context of Islamic jurisprudence (Fiqh), a rakat signifies one complete, unbroken cycle of standing, reciting, bowing, and prostrating.

You cannot have "half a rakat." The sequence is an indivisible unit of worship. If you make a fatal mistake that nullifies a specific movement—for example, forgetting to bow entirely and going straight to the floor—that entire rakat is considered void and must be completely replaced.

Every single rakat, across every single type of prayer, follows this exact, heavily guarded sequence:

1. The Standing (Qiyam)

Every rakat begins with a state of complete physical stillness and upright standing, facing the Qibla (the Kaaba in Mecca). This is not a casual stance; it requires Khushu (intense humility and focused concentration). You are conceptually standing before the Lord of all Worlds, awaiting command. The eyes should be fixed firmly upon the exact spot on the floor where your forehead will eventually rest in prostration. By looking downward, the believer physically manifests submission and cuts themselves off from the distracting visual stimuli of the surrounding room.

2. Reciting the Quran (Qira'at)

While standing, the believer must recite Surah Al-Fatiha (the opening chapter of the Quran). The Prophet ﷺ explicitly stated: "There is no prayer for the one who does not recite the Opening of the Book." (Sahih Bukhari). This seven-verse chapter is an absolute pillar. If it is entirely skipped or deliberately altered, the entire rakat is instantly invalidated.

Furthermore, in the first two rakats of any prayer, an additional portion of the Quran (either a full short chapter like Surah Al-Ikhlas or a few verses from a longer chapter) must be recited immediately following Al-Fatiha. The audible or silent nature of this recitation changes depending on the specific prayer (e.g., Maghrib is loud, Dhuhr is silent), but the requirement to recite remains unbroken.

3. The Bowing (Ruku)

After completing the recitation, the believer says "Allahu Akbar" (God is the Greatest) and bends at the waist into the bowing position. The back must be kept completely straight—so flat that if water were poured upon it, it would theoretically not spill. The hands must grip the knees firmly, with fingers slightly spread.

In this posture, the believer intensely praises God's majesty, repeatedly whispering "Subhana Rabbiyal Adheem" (Glory be to my Lord, the Supreme). Conceptually, Ruku is the stripping away of human pride. You are lowering the upper half of your body, displaying vulnerability and absolute awe before the Creator.

4. The Return to Standing (I'tidal)

From the deep bow, the believer rises back to a brief, completely upright standing position, saying "Sami' Allahu liman hamidah" (God hears those who praise Him). Once fully upright, they add "Rabbana walakal hamd" (Our Lord, to You belongs all praise).

A critical, and unfortunately common, error occurs here. Many beginners treat this motion as a mere split-second rebound—bouncing up from the bow and immediately diving toward the floor. In Islamic law, you must achieve Tuma'ninah (total stillness) in this upright posture. All the bones of your spine must settle perfectly back into place before you initiate the descent.

5. The First Prostration (Sujud)

Descending to the earth, the believer performs the ultimate act of Islamic worship: the prostration. Seven distinct bones must make firm physical contact with the ground: the forehead (often including the nose to ensure proper placement), both palms, both knees, and the toes of both feet.

This is the spiritual climax of the entire rakat. The Prophet ﷺ famously declared: "The closest that a servant comes to his Lord is when he is in prostration." (Sahih Muslim). By placing the highest, most dignified portion of the human body (the face) into the dust, the ego is crushed completely. Here, supplications (Duas) are highly encouraged because the believer is in the state of maximum humility and nearest to divine mercy.

6. The Brief Sitting (Juloos)

The believer raises their head from the earth, whispering "Allahu Akbar," and transitions into a kneeling sitting position. The prophetic posture requires sitting upon the left foot while keeping the right foot propped upright with its toes facing the Qibla, though variations are permitted for physical comfort.

Like the return from bowing, this sitting absolutely requires stillness. It is a moment of brief repose before diving back into the intensity of the second prostration. During this pause, the believer utters swift, beautiful supplications, often asking for forgiveness, mercy, and guidance.

7. The Second Prostration (Sujud)

Finally, the believer lowers their face to the earth once more, repeating the exact physical postures and praise as the first prostration. This repetition reinforces the complete surrender of the soul.

Once you physically raise your head from that second prostration and stand back up, you have successfully completed precisely ONE rakat. If the prayer requires two rakats, you repeat the entire process. If the prayer requires three or four rakats, you continue accordingly, with designated sitting portions (Tashahhud) placed at specific checkpoints.

Visual Learner? To see these exact movements illustrated step-by-step with the correct Arabic recitations, read our complete tutorial:
How to Pray in Islam (Salah) →


Why Do Rakats Exist in Islamic Prayer?

The highly specific, structured physical nature of the Islamic prayer is unique among world religions. But why not simply sit in silent meditation? Why did God mandate this exact cycle of standing, bowing, and placing the face on the earth?

The origins of the five daily prayers, and their respective rakat counts, were established during one of the most miraculous, pivotal events in Islamic history: Al-Isra wal-Mi'raj (The Night Journey and Ascension).

Approximately one year before the Muslim migration to Medina, the Prophet Muhammad (peace be upon him) was miraculously transported by night from Mecca to Jerusalem, and from there he ascended through the seven heavens into the direct, unmediated presence of Allah. It was during this intensely profound spiritual meeting that the command for the five daily prayers was given directly to the Prophet, bypassing the usual method of angelic revelation.

Originally, fifty daily prayers were commanded. Through the persistent advice of the Prophet Moses (Musa)—whom the Prophet Muhammad encountered during his descent—he repeatedly returned to Allah, asking for a reduction because the human community would not be able to bear the heavy burden. The number was eventually reduced to five daily prayers, yet Allah, in His infinite mercy, declared that the five would absolutely retain the spiritual reward of fifty.

The wisdom behind the physical structure of the rakat itself—the standing, bowing, and prostrating—is deeply psychological and spiritual. Islam teaches that the human being is a composite of body and soul. True devotion cannot merely live in the mind; it must physically manifest. When the human body forcibly lowers itself, placing the highest, most dignified part of the body (the face) in the dust, the ego is crushed, and the soul is elevated. The rakat ensures that the physical body participates entirely in the spiritual submission to the Creator.


How Many Rakats Do Muslims Pray Per Day?

A very common question among beginners and those studying the Islamic faith is regarding the total daily commitment. When measuring only the Fard (obligatory) prayers—the absolute minimum threshold that every adult Muslim is strictly commanded by God to fulfill—the math is remarkably elegant.

A Muslim performs exactly 17 Fard Rakats every single day.

The Daily Prayer Number of Fard Rakats
Fajr (Dawn) 2 Rakats
Dhuhr (Midday) 4 Rakats
Asr (Afternoon) 4 Rakats
Maghrib (Sunset) 3 Rakats
Isha (Night) 4 Rakats
Total Obligatory Rakats 17 Rakats Per Day

These 17 rakats represent the unbreakable spine of a Muslim's faith. They cannot be abandoned, they cannot be reduced, and they remain a continuous duty from puberty until death. Even during travel, illness, or extreme fear in battle, the Fard prayers are maintained, though the numbers may be temporarily shortened (Qasr) under specific travel conditions.

However, the vast majority of practicing Muslims pray far more than 17 rakats per day. By adding the highly emphasized Sunnah prayers, the Witr prayer, and various voluntary (Nafl) prayers, a deeply devout worshipper might comfortably perform closer to 40 or 50 rakats daily. This massive, voluntary increase in worship serves to elevate their spiritual rank and intimately draw them closer to God.


The Unseen Spiritual Rewards of the Five Prayers

Beyond the physical movements and the numerical counting of rakats, each of the five daily prayers carries an immense, distinctive spiritual weight. The Prophet Muhammad ﷺ frequently used powerful metaphors to describe how these prayers act as a daily purification system for the human soul.

In a famous Hadith recorded in Sahih Bukhari, the Prophet ﷺ asked his companions: "If there was a river at the door of anyone of you and he took a bath in it five times a day, would you notice any dirt on him?" They said, "Not a trace of dirt would be left." The Prophet ﷺ responded, "That is the example of the five prayers with which Allah blots out evil deeds."

The Protection of Fajr

Waking up for Fajr requires breaking the heavy chains of sleep and prioritizing God over physical comfort. Because of this massive sacrifice, the spiritual reward is incredibly high. The Prophet ﷺ stated: "Whoever offers the morning prayer (Fajr), he is under the protection of Allah." (Sahih Muslim). Starting the day with these initial rakats acts as a divine shield against the trials and anxieties of the upcoming day. Furthermore, the angels of the night and the angels of the day change their shifts precisely at the time of Fajr, meaning both groups specifically witness the believer's recitation.

The Erasing Power of Dhuhr

Dhuhr occurs directly in the absolute middle of a person's busiest, most chaotic hours. The believer is usually engrossed in commerce, education, labor, or family duties. Pausing the world to perform the four Fard rakats of Dhuhr serves as a powerful spiritual reset. It extinguishes the minor sins and worldly anxieties that have accumulated since the morning. The Prophet ﷺ mentioned that the gates of heaven are specifically opened at the time of Dhuhr, making it an optimal time for supplications to be heard.

The Heavy Importance of Asr

Islamic theology places an exceptionally strong emphasis on the Asr prayer. The Quran itself singles out this prayer, stating: "Maintain with care the [obligatory] prayers and [in particular] the middle prayer..." (Quran 2:238), which classical scholars unanimously agree refers to Asr. Missing the Asr prayer is considered catastrophic. The Prophet ﷺ warned: "Whoever leaves the Asr prayer, all his good deeds will be annulled." (Sahih Bukhari). Guarding these four rakats, especially when the workday is violently pulling at one's attention, requires immense discipline.

The Gratitude of Maghrib

The transition from day to night is profound. Maghrib is prayed exactly as the sun disappears below the horizon. These three rakats are often viewed as a prayer of deep gratitude for surviving the day, securing one's provision, and returning safely home. It is a moment of swift reflection before the darkness of night fully sets in. In the month of Ramadan, Maghrib carries even greater joy, as it is the exact moment the fast is broken.

The Peace of Isha

The final obligatory prayer of the day seals the believer's spiritual account before sleep. Performing the four Fard rakats of Isha in congregation is immensely rewarding; the Prophet ﷺ stated that whoever prays Isha in congregation receives the reward of spending half the entire night in prayer. It brings closure, peace, and ensures that the final conscious act of the day is an act of total submission to the Creator.

When you understand these unseen rewards, the rakats transform from a tedious, mathematical obligation into a series of highly anticipated spiritual life-rafts spread throughout the day.


Rakats in the Five Daily Salah

Fajr Salah

Fajr is the dawn prayer performed before sunrise.

  • Structure: 2 Sunnah, 2 Fard
  • Total rakats: 4

The Sunnah rakats before Fajr are extremely emphasised. The Prophet ﷺ said these two rakats are better than the world and everything in it.

Dhuhr Salah

Dhuhr is the midday prayer.

  • Structure: 4 Sunnah, 4 Fard, 2 Sunnah
  • Total rakats: 10

Many Muslims also perform additional Nafl rakats afterwards.

Asr Salah

Asr is the late afternoon prayer.

  • Structure: 4 Sunnah (optional), 4 Fard
  • Total rakats: 8

Some Muslims pray only the Fard rakats while others also include the Sunnah rakats before them.

Maghrib Salah

Maghrib occurs immediately after sunset.

  • Structure: 3 Fard, 2 Sunnah
  • Total rakats: 5

Maghrib is shorter than the other prayers.

Isha Salah

Isha is the night prayer.

  • Structure: 4 Sunnah, 4 Fard, 2 Sunnah, 3 Witr
  • Total rakats: 13

The Witr prayer is highly emphasised and is prayed after the Sunnah rakats.



Understanding Fard, Sunnah, and Nafl

To truly grasp the concept of rakats, one must understand the three distinct hierarchical categories of Islamic prayer. Not all rakats carry the same legal weight.

1. The Fard (Obligatory) Rakats

Definition: Fard literally translates to "obligatory." These are the rakats absolutely commanded by God in the Quran and unequivocally established by the Prophet ﷺ.

The Ruling: Performing them is non-negotiable for every sane adult Muslim. Completing them yields massive reward, while intentionally abandoning even a single Fard prayer without a doctrinally valid excuse (such as sleep or forgetting) is considered a major, catastrophic sin in Islamic theology. The 17 daily rakats discussed above all fall into this supreme category.

2. The Sunnah (Prophetic) Rakats

Definition: Sunnah refers to the habitual practices and traditions of the Prophet Muhammad ﷺ. These are the specific extra rakats he performed before or after the Fard prayers.

The Ruling: They are not strictly obligatory (missing them does not constitute a sin), but they are overwhelmingly recommended. The primary theological purpose of Sunnah prayers is to "patch up" or compensate for the inevitable flaws, lack of focus, and minor mistakes that occur during a person's Fard prayers. On the Day of Judgment, if a person's Fard prayers are found lacking, God will command the angels to look at their Sunnah prayers to make up the deficit.

3. The Nafl (Voluntary) Rakats

Definition: Nafl translates to "voluntary" or "supererogatory." These are entirely optional rakats performed purely out of a desire for extreme closeness to Allah.

The Ruling: A Muslim can perform Nafl rakats at almost any time of the day or night (except during specific prohibited times, like exactly at sunrise, noon, or sunset). Prominent examples include the Tahajjud (late night vigil), Duha (mid-morning prayer), and Tahiyatul Masjid (the two rakats prayed upon entering a mosque). These act as incredible spiritual boosters and elevate the worshipper to the rank of the beloved to God.

Sunnah Mu’akkadah vs Sunnah Ghair Mu’akkadah

As you dive deeper into the structure of rakats, you will discover that even within the "Sunnah" category, scholars divide the Prophet's practices into two distinct groupings based on how consistently he performed them. Understanding this difference is crucial for prioritizing your daily worship.

Sunnah Mu’akkadah (Highly Emphasized Sunnah)

This category includes the extra rakats that the Prophet ﷺ performed with extreme, unrelenting consistency. He rarely, if ever, abandoned these prayers while residing in his city, only omitting some of them while traveling.

According to the majority of scholars, the Sunnah Mu’akkadah total 12 daily rakats:

  • 2 Rakats before Fajr
  • 4 Rakats before Dhuhr & 2 Rakats after Dhuhr
  • 2 Rakats after Maghrib
  • 2 Rakats after Isha

The Prophet ﷺ famously said regarding these specific 12 rakats: "Whoever prays twelve rakats during the day and night, a house will be built for him in Paradise." (Sahih Muslim). While missing them is not a major sin like missing a Fard prayer, habitually neglecting the Sunnah Mu'akkadah is considered a sign of spiritual weakness and draws blame from classical scholars.

Sunnah Ghair Mu’akkadah (Optional/Non-Emphasized Sunnah)

This category includes extra rakats that the Prophet ﷺ occasionally performed but also frequently left out. They are immensely rewarding, but there is no blame whatsoever attached to omitting them.

The primary examples of Sunnah Ghair Mu’akkadah are:

  • 4 Rakats before Asr
  • 2 Rakats before Maghrib
  • 4 Rakats before Isha

If you are struggling with time, or are a beginner just forming the habit of prayer, you should strictly prioritize the Fard first, then build up the Sunnah Mu'akkadah, and finally incorporate the Sunnah Ghair Mu'akkadah once your foundation is unbreakable.

Why Rakats Differ Between Prayers

A fascinating aspect of Islamic jurisprudence is why Fajr is only two rakats, while Dhuhr is four. The exact numbering originates purely from divine commandment, but Islamic scholars throughout history have reflected on the profound wisdom behind this variation.

  • Fajr is Shorter (2 Rakats): The dawn prayer occurs when people have just woken up. Human energy is low, and the stomach is empty. However, despite being physically shorter, the prophetic tradition is to make the Quran recitation in Fajr significantly longer, allowing the early morning quiet to aid deep contemplation.
  • Dhuhr & Asr are Longer (4 Rakats): The midday and afternoon prayers occur when human vitality and worldly activity are at their absolute peak. Four rakats force a more substantial, physical break from commerce, labor, and distraction, demanding the believer's full attention be repeatedly re-centered on the Creator.
  • Maghrib is the Odd Transition (3 Rakats): Maghrib acts as the theological bridge between the day and the night. Its tight timeframe necessitates a shorter prayer, and its odd number serves as the "Witr of the daytime."
  • Isha is the Nightly Anchor (4 Rakats): Before sleep consumes the believer, a robust four-rakat prayer—recited audibly—provides a definitive, powerful spiritual closure to the conscious day.

This deliberate, dynamic structure actively prevents prayer from feeling like a monotonous, identical burden across all hours of the day.

Quick Reference: Rakats in Each Salah

For absolute clarity, here is a consolidated, highly scannable summary detailing EXACTLY what constitutes the Sunnah Mu'akkadah (Emphasized) versus the Fard across the entire day.

Salah Emphasized Sunnah (Before) Fard (Obligatory) Emphasized Sunnah (After) Total Critical
Fajr 2 Rakats 2 Rakats 4 Rakats
Dhuhr 4 Rakats 4 Rakats 2 Rakats 10 Rakats
Asr – (Optional 4) 4 Rakats 4 Rakats
Maghrib 3 Rakats 2 Rakats 5 Rakats
Isha 4 Rakats 2 Rakats (+ 3 Witr) 9 Rakats

Common Mistakes When Counting Rakats

The human mind is prone to wandering, and even the most devout worshippers occasionally suffer from waswas (whispers/distractions) that cause them to lose focus during Salah. Here is a deep dive into the absolute most common mistakes beginners make regarding rakats, and fundamentally, how to fix them.

  1. Forgetting Which Rakat You Are On: This is the single most common error. You are praying Dhuhr, but suddenly you cannot remember if you are on the third or fourth rakat. The Fix: All major scholars agree: you must assume the lower number. If you doubt between 3 and 4, assume you have only prayed 3. Complete the fourth rakat, and then perform the Prostration of Forgetfulness (Sujood as-Sahw) at the end of the prayer.
  2. Standing Up Early Instead of Sitting (Tashahhud): Every second rakat requires you to sit for the middle Tashahhud. Often, people accidentally stand straight up for the third rakat. The Fix: If you have completely stood up straight, do not sit back down. Continue the prayer, and perform Sujood as-Sahw at the end. If you only partially stood up and remembered quickly, sit immediately back down.
  3. Mixing Sunnah and Fard Vocally: In the daytime prayers (Fajr, Dhuhr, Asr), all recitation is strictly silent. A common beginner mistake is accidentally reciting Dhuhr aloud like Fajr. While this doesn't strictly invalidate the prayer, it violates the Sunnah.
  4. Rushing Through the Rakats (Lack of Tuma'ninah): A rakat is only valid if you achieve Tuma'ninah (stillness/pause) in every posture. If you bow and instantly snap back up like a pecking bird, the rakat is totally invalid. You must pause long enough in the bow or prostration for all your bones to settle into place.
  5. Misunderstanding the Witr Prayer Structure: Many beginners confuse the Witr prayer with the Maghrib prayer because both consist of three rakats. However, in the Hanafi school of thought, you do not sit for a final greeting in Witr after the second rakat like you do in Maghrib, and you add an entirely extra recitation (Dua Qunoot) before bowing in the third rakat.

The Ultimate Fix: Sujood as-Sahw (The Prostration of Forgetfulness)

As mentioned above, many mistakes regarding rakats can be rectified without invalidating the entire prayer by performing Sujood as-Sahw. This is a special, supplementary set of two prostrations performed at the very end of the prayer.

The wisdom behind this is profound: the Prophet ﷺ explained that when a believer becomes distracted in prayer, it is often due to the whispers of Shaytan (Satan). By forcing the believer to prostrate twice more to God as a direct result of that distraction, Satan is humiliated and enraged, realizing his attempts to ruin the prayer only resulted in the believer submitting to God even further.

How to perform it (General Sunni consensus):

  • During the final sitting (Tashahhud), recite the required prayers up to the Salawat (sending blessings upon the Prophet ﷺ).
  • Depending on your Madhab (school of thought) and whether the mistake was an addition or omission, you either perform the prostrations immediately before the final Salams (greetings), or immediately after the right-side Salam.
  • Say "Allahu Akbar" and go directly down into a normal prostration. Say "Subhana Rabbiyal A'la" three times.
  • Sit up briefly.
  • Say "Allahu Akbar" and go down for a second prostration, repeating the same praise.
  • Sit back up, recite the Tashahhud again (in some schools), and then formally end the prayer with Salams to both the right and the left.

Sujood as-Sahw covers accidental omissions of Wajib (necessary) elements of the prayer or accidental additions (like standing up for a 5th rakat in Dhuhr). However, it cannot fix the deliberate omission of a Fard pillar (like intentionally skipping Al-Fatiha or intentionally skipping a bow). If a pillar is missed, that specific rakat must be completely repeated.

What exactly breaks a prayer? Losing count is minor, but other things ruin a prayer entirely. We strongly suggest reading our guide:
What Breaks Salah? →

Differences Between Madhabs (Schools of Thought)

Sunni Islam contains four primary schools of jurisprudence (Fiqh): Hanafi, Shafi'i, Maliki, and Hanbali. It is crucial to understand that there is absolutely zero disagreement among any of them regarding the number of obligatory (Fard) rakats. All scholars unanimously agree on the 17 daily Fard rakats. The nuanced differences lie entirely in the classification of the Sunnah prayers.

The Hanafi School

The Hanafi school is generally known for the strictest categorization of extra rakats. They heavily emphasize the Sunnah Mu'akkadah (the 12 emphasized rakats), considering their habitual abandonment a serious flaw. Uniquely, the Hanafi school categorizes the 3-rakat Witr prayer as Wajib (necessary)—a tier just slightly below Fard, making it a severe error to miss it intentionally. The Hanafi method of praying Witr is distinctly different, performing the three rakats consecutively without terminating the prayer in the middle.

The Shafi'i & Hanbali Schools

Both the Shafi'i and Hanbali schools categorize Witr strictly as Sunnah Mu'akkadah rather than Wajib, though highly emphasized. The Shafi'i school specifically differs in the method of Witr, vastly preferring to pray two rakats, terminate the prayer with Salams, and then stand back up to pray one singular, isolated rakat to complete the odd number. The Hanbali school heavily advocates performing two rakats of Sunnah before Maghrib.

The Maliki School

The Maliki school relies heavily on the established practice of the people of Medina. They typically pray Witr separated (two rakats, ending it, then one rakat). The Malikis also have nuanced views on the pre-Fajr Sunnah (often called Raghibah), placing immense emphasis on it above all other daily Sunnahs.

Ultimately, these variations are entirely valid, deeply rooted in the nuanced traditions of the Prophet ﷺ and his companions, and represent the beautiful flexibility within Islamic law.


Frequently Asked Questions

Do I have to pray Sunnah rakats?

Strictly speaking in terms of Islamic jurisprudence, no. Only the Fard (obligatory) rakats—totaling 17 per day—are legally mandatory. If you only pray the Fard, you have fulfilled your absolute baseline duty to God and avoided sin. However, intentionally and habitually abandoning the highly emphasized Sunnah (Prophetic) prayers is heavily discouraged. These extra rakats serve to "patch up" any flaws or lapses in concentration that inevitably occur during your Fard prayers, ensuring your spiritual account remains secure.

Can I skip Sunnah prayers?

Yes, you can absolutely skip them without incurring sin, and there are specific legitimate scenarios where skipping them is actually the preferred action. For example, when traveling, the obligations are shortened, and the associated Sunnah prayers (except the Fajr Sunnah) are usually dropped. Likewise, if you are pressed for time or sick, sticking only to the Fard is perfectly acceptable. However, under normal circumstances at home, you should strive to establish the daily habit of performing them.

What if I forget how many rakats I prayed?

Losing count of your rakats due to distraction (waswas) is a very common issue, even for experienced worshippers. The universal rule established by the Prophet ﷺ is to build upon absolute certainty. If you are doubting whether you are in the third or fourth rakat, you can only be entirely certain that you have prayed three. Therefore, assume it is only your third rakat, stand up and pray a fourth. Before you say the final Salams to end the prayer, perform two extra prostrations known as Sujood as-Sahw (the prostration of forgetfulness) to correct the confusion.

Can I repeat the same Surah in every rakat?

Yes, your prayer remains 100% valid if you repeat the exact same Surah (such as the short Surah Al-Ikhlas) after reciting Al-Fatiha in every single rakat. There is historical precedent of companions of the Prophet ﷺ doing this because of their immense love for specific verses. However, the prophetic ideal—and the method that yields greater reward and focus—is to memorize a variety of Quranic chapters and cycle through them during your prayers.

Can Sunnah and Fard rakats be combined?

No. You cannot combine the intention of an obligatory prayer with an optional one to save time. For example, you cannot pray two rakats at dawn and intend for them to simultaneously count as both your 2 Fard of Fajr and your 2 Sunnah of Fajr. They are distinct blocks of worship that demand distinct, separate intentions and must be physically performed back-to-back as individual prayers.

Are rakats the same in every madhab?

The core foundation is identical. The 17 daily Fard rakats are universally agreed upon by all four Sunni schools of thought (Hanafi, Maliki, Shafi'i, and Hanbali). There is absolute consensus on this. The differences only arise regarding the Sunnah rakats—specifically, which ones are considered highly emphasized versus optional, how the Witr prayer is technically structured, and whether certain voluntary prayers should be prioritized. These are minor, celebrated theological differences that do not affect the universal validity of the core prayer.

Conclusion

Rakats are the foundation of Salah. Learning how many rakats belong to each prayer helps ensure that Salah is performed correctly.

Begin by memorising the Fard rakats first. Then gradually incorporate Sunnah prayers into your daily routine. If you are still learning the structure of prayer read How to Pray in Islam (Salah).

Disclaimer: This guide provides an educational overview of rakats in Salah based on widely accepted scholarly sources. Minor differences exist between Islamic schools of thought. Readers should follow the guidance of their local scholars where applicable.

Join the DeenAtlas Channel

Get weekly Salah guides, Islamic learning resources and halal discovery tools directly to your phone.

Join the Channel