Published on

Pray Rakat: How Many Rakats in Each Prayer

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

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

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

Prayer mat and prayer beads representing the five daily prayers and rakats in Islam

Every Muslim who prays has at some point counted on their fingers mid-salah, trying to remember whether they are on the second or third rakat. It is a deeply human moment — wanting to get it right, to stand before Allah in the way the Prophet ﷺ showed us. Understanding the rakats in each prayer is not just a technicality; it is the foundation of your daily worship.

What Are Rakats in Prayer and How Many Are There?

A rakat (ركعة) is a single unit of Islamic prayer, comprising a standing recitation, a bowing (رُكُوع, ruku), two prostrations (سُجُود, sujud), and a sitting. The five daily prayers contain 17 obligatory fard rakats in total — Fajr 2, Zuhr 4, Asr 4, Maghrib 3, and Isha 4. Including confirmed sunnah prayers brings the daily total to around 34–40 rakats. This structure was established directly by the Prophet Muhammad ﷺ (Sahih al-Bukhari 8) and has been preserved unchanged across 1,400 years of Islamic practice.

How Many Rakats in Each Prayer? A Complete Reference Table

The following table gives you the full rakat breakdown across all five daily prayers, distinguishing fard (obligatory), sunnah muakkadah (confirmed sunnah), and other recommended units. This is the majority Sunni position followed by the four major madhabs, with minor differences noted.

PrayerSunnah (Before Fard)Fard RakatsSunnah (After Fard)Witr / Other
Fajr2 sunnah muakkadah2
Zuhr4 sunnah muakkadah42 sunnah muakkadah2 nafl (optional)
Asr4 sunnah (ghair muakkadah)4
Maghrib32 sunnah muakkadah2 nafl (optional)
Isha42 sunnah muakkadah3 witr
Daily Total10 sunnah17 fard6 sunnah3 witr

Note: Hanafi scholars consider witr after Isha to be wajib (obligatory). Shafi'i, Maliki, and Hanbali schools consider it a strong sunnah.

Why Does the Number of Rakats Matter?

What Does the Quran Say About Guarding Your Prayer?

The Quran commands believers: "Guard strictly your prayers, especially the middle prayer" (Surah Al-Baqarah, 2:238). Scholars widely interpret the "middle prayer" as Asr — the four-rakat afternoon salah that falls precisely between the day's other prayers.

Performing the correct number of rakats is an act of obedience and ittiba (following the Prophet ﷺ). The Prophet ﷺ said: "Pray as you have seen me pray" (Sahih al-Bukhari 631). This authentic hadith grounds every detail of salah — including the count — in prophetic instruction rather than personal preference.

What Happens If You Lose Count During Prayer?

If you are unsure whether you are on the second or third rakat, the Sunnah instructs you to assume the lower number and complete what remains. A sajdat al-sahw (prostration of forgetfulness) is then performed at the end to correct the prayer. This is established in an authentic hadith in Sahih Muslim (572).

Breaking Down Each Prayer's Rakats

How Many Rakats in Fajr Prayer?

Fajr is the dawn prayer and begins with 2 sunnah muakkadah (highly confirmed sunnah) rakats, followed by 2 fard rakats — 4 rakats total. The Prophet ﷺ said: "The two rakat before Fajr are better than the world and everything in it" (Sahih Muslim 725). Waking for Fajr is spiritually significant: وَٱقِمِ ٱلصَّلَوٰةَ لِذِكۡرِى — "Establish prayer for My remembrance" (Surah Ta-Ha, 20:14).

Fajr has a narrow window — it ends at sunrise. Missing its congregation is treated seriously in Islamic scholarship. Many Muslims find that building a Fajr habit is one of the most transformative steps in their faith journey.

How Many Rakats in Zuhr Prayer?

Zuhr is prayed in the early afternoon and consists of:

  • 4 sunnah muakkadah rakats before the fard
  • 4 fard rakats
  • 2 sunnah muakkadah rakats after
  • 2 optional nafl rakats (recommended but not confirmed sunnah)

The 4 pre-Zuhr sunnah rakats are among the most emphasised voluntary prayers in the Hanafi school. The Prophet ﷺ regularly performed them and said they benefit the one who prays them on the Day of Judgment (Sunan Ibn Majah 1160).

How Many Rakats in Asr Prayer?

Asr has 4 fard rakats, with 4 optional sunnah rakats (ghair muakkadah — not confirmed sunnah) that can be prayed before. Asr must be completed before sunset and the Quran specifically highlights its importance. The Prophet ﷺ warned: "The one who misses Asr prayer is as if he has lost his family and property" (Sahih al-Bukhari 552).

You can deepen your understanding by reading our complete guide to how many rakats Asr has for Asr-specific timings and details.

How Many Rakats in Maghrib Prayer?

Maghrib is unique as the only prayer with 3 fard rakats — an odd number that marks the transition from day to night. It is followed by 2 sunnah muakkadah rakats. Maghrib should be prayed promptly after sunset; scholars agree its window is relatively short.

For full step-by-step guidance, our Maghrib salat rakat breakdown covers each unit in detail.

How Many Rakats in Isha Prayer?

Isha has 4 fard rakats, preceded by optional sunnah and followed by 2 sunnah muakkadah rakats and 3 witr rakats. Witr is an odd-numbered prayer performed at the end of the night's worship. The Prophet ﷺ said: "Make witr your last prayer of the night" (Sahih al-Bukhari 998).

For those building a night prayer practice, learning how to pray Tahajjud extends naturally from Isha's witr.

How to Build a Consistent Salah Habit

Understanding the rakat counts is the first step. Consistency is the goal — and the Prophet ﷺ said: "The most beloved deed to Allah is the one done regularly, even if it is small" (Sahih al-Bukhari 6464).

A practical approach to making all five prayers a daily rhythm:

  1. Set timed reminders for each prayer's start — keep them slightly ahead of the actual athan so you are not rushing
  2. Start with the fard rakats — if the sunnah rakats feel overwhelming at first, secure the obligatory ones first
  3. Add sunnah rakats one prayer at a time — begin with Fajr's 2 sunnah, then Zuhr's, then build from there
  4. Track your prayers — noticing a missed day is often what motivates you to return

Track your daily prayers with DeenUp

Log each prayer, build streaks, and keep your salah consistent. DeenUp helps you stay on top of all five prayers with daily reminders rooted in Quranic values.

Download DeenUp on the App Store

The DeenUp app helps you log each prayer and build momentum over weeks and months. Many Muslims who struggled with consistency found that tracking even two or three prayers a day built the habit gradually.

For a complete walkthrough of each prayer's movements and recitations, the how to pray salah step-by-step guide covers everything from the opening takbir to the final salam.

Why Sunnah Rakats Are Worth Keeping

The fard rakats are obligatory — missing them without valid reason is a sin. But the sunnah rakats carry enormous reward and serve as a buffer. The Prophet ﷺ said that on the Day of Judgment, any deficiencies in the obligatory prayers will be made up from voluntary prayers (Sunan Abu Dawud 864).

All hadith references in this article can be verified at Sunnah.com, which hosts the complete collections of Bukhari, Muslim, Abu Dawud, and others with grading. Scholars at Seekers Guidance document the complete rakat tables across all four major madhabs for those who want madhab-specific detail. The Deen Back blog on improving salah focus offers practical tips for strengthening the quality — not just the count — of your prayers. And the Demi Manifest reflection on mindful prayer explores how presence and intention transform each rakat from routine to worship.

Signs Your Prayer Practice Is Growing

  • You rarely lose count of which rakat you are on
  • The sunnah prayers feel natural to add before and after fard
  • You feel the difference on days when you miss a prayer
  • Each rakat begins with a renewed sense of standing before Allah

These are signs that salah is becoming more than a checklist — it is becoming connection.

Never miss a prayer again

DeenUp sends prayer-time reminders and helps you track your daily salah so your five prayers become the anchor of your day, not an afterthought.

Download DeenUp on the App Store

Common Questions About Rakats in Prayer

Can I pray only the fard rakats if I am short on time? Yes — the fard rakats are the minimum obligation. Sunnah rakats are voluntary and can be left if there is genuine hardship, though they carry significant reward.

Do the sunnah rakat counts differ by madhab? Slightly, yes. The counts above reflect the Hanafi school's full daily salah. The Shafi'i, Maliki, and Hanbali schools have minor differences, particularly around the Zuhr sunnah and witr. All agree on the 17 fard rakats.

What is the difference between sunnah muakkadah and ghair muakkadah? Sunnah muakkadah are those the Prophet ﷺ performed consistently and rarely left. Ghair muakkadah are those he performed sometimes. The former carry a stronger emphasis.

Is witr obligatory? The Hanafi school holds witr as wajib (obligatory) — leaving it without excuse is sinful. Other madhabs consider it the strongest sunnah (highly recommended but not obligatory).

Can I pray sunnah rakats at any time? Sunnah rakats attached to a specific prayer should be prayed before or after that prayer, not at other times. There are also certain forbidden times for prayer (e.g., directly at sunrise and sunset).

Frequently Asked Questions

How many rakats are in the five daily prayers total?

The five daily prayers contain 17 obligatory (fard) rakats in total: Fajr has 2, Zuhr has 4, Asr has 4, Maghrib has 3, and Isha has 4. Adding the confirmed sunnah rakats brings the full daily count to around 34 to 40 rakats depending on the madhab followed.

How many rakats is Fajr prayer?

Fajr prayer has 2 fard (obligatory) rakats, preceded by 2 sunnah muakkadah rakats. The Prophet Muhammad (peace be upon him) gave special emphasis to the Fajr sunnah, saying it is better than the world and everything in it (Sahih Muslim 725).

How many rakats is Zuhr prayer?

Zuhr prayer has 4 fard rakats. It is also accompanied by 4 sunnah rakats before the fard and 2 sunnah rakats after, totalling 10 rakats when the confirmed sunnah prayers are included. The Zuhr sunnah prayers carry significant reward.

How many rakats is Asr prayer?

Asr prayer consists of 4 fard (obligatory) rakats. There are also 4 optional sunnah rakats that can be prayed before the fard. Asr is one of the middle prayers and the Quran specifically emphasises guarding it (Al-Baqarah 2:238).

How many rakats is Maghrib prayer?

Maghrib prayer has 3 fard rakats, making it the only obligatory prayer with an odd number of fard units. It is followed by 2 sunnah muakkadah rakats. Praying Maghrib promptly after sunset is emphasised strongly in the Sunnah.

How many rakats is Isha prayer?

Isha prayer has 4 fard rakats, preceded by optional sunnah rakats and followed by 2 sunnah muakkadah rakats and 3 witr rakats. Witr after Isha is wajib (obligatory) according to the Hanafi school and highly recommended sunnah in other madhabs.

What is a rakat in Islam?

A rakat is a single unit of Islamic prayer (salah) consisting of a standing recitation, a bowing position (ruku), prostrations (sujud), and a sitting position. Each rakat follows a set sequence of movements and Quranic recitations established by the Prophet Muhammad (peace be upon him).