حَرْفHarf اردو

Home Guides How many rakats are in each prayer?

Guide · Updated 9 November 2026

How many rakats are in each prayer?

The five daily prayers have 17 fard (obligatory) rakats in total. Around them the Prophet ﷺ kept up 12 sunnah rakats every day, and the night ends with witr. Here is each prayer, the reason for each number, and what changes on Friday and when travelling. The counts follow the Hanafi school, with differences in the other schools noted.

The short answer

Fajr: 2 sunnah, then 2 fard. Dhuhr: 4 sunnah, 4 fard, then 2 sunnah. Asr: 4 fard (4 sunnah before it are recommended but not stressed). Maghrib: 3 fard, then 2 sunnah. Isha: 4 fard, 2 sunnah, then 3 witr (4 sunnah before Isha are recommended but not stressed). Many people add 2 nafl (voluntary) rakats after Dhuhr, Maghrib and Isha; these are extra reward, not part of the required count. Check today’s times on the prayer times page.

The 17 fard rakats

Fajr 2, Dhuhr 4, Asr 4, Maghrib 3 and Isha 4 make 17. ʿAishah said that Allah first made the prayer two rakats each; then the prayer of the traveller was kept at two and the prayer of the resident was increased (Sahih al-Bukhari 350). Maghrib, the “witr of the day”, stayed at three. Missing a fard prayer on purpose is a major sin, and a missed one must be made up.

The 12 sunnah rakats the Prophet ﷺ never left

The Prophet ﷺ said that whoever prays twelve rakats in a day and night, a house is built for him in Paradise (Sahih Muslim 728). At-Tirmidhi (415) lists them: 4 before Dhuhr and 2 after it, 2 after Maghrib, 2 after Isha and 2 before Fajr. In the Hanafi school these are “sunnah muʾakkadah”: strongly stressed, and leaving them as a habit is blameworthy.

The two sunnah of Fajr

These are the most stressed of all. The Prophet ﷺ said: “The two rakats of Fajr are better than this world and everything in it” (Sahih Muslim 725). He kept them even when travelling. Pray them short, before the fard; reciting قُلْ يَا أَيُّهَا الْكَافِرُونَ in the first and قُلْ هُوَ اللّٰهُ أَحَدٌ in the second is the Sunnah (Sahih Muslim 726).

Four before Asr and four before Isha

These are “ghayr muʾakkadah”: rewarded, but not stressed. The Prophet ﷺ said: “May Allah have mercy on a person who prays four before Asr” (At-Tirmidhi 430). If time is short, the fard comes first.

Witr

In the Hanafi school witr is three rakats with one salam, it is wajib (necessary, just below fard), and the Dua Qunoot is read in the third rakat before ruku. The Shafiʿi, Maliki and Hanbali schools count witr as a stressed sunnah that can be one rakat or more. All agree it is the last prayer of the night: “Make witr the last of your prayer at night” (Sahih al-Bukhari 998). It can be prayed straight after Isha or before Fajr. See also what to say after witr.

Jumuah (Friday)

Jumuah replaces Dhuhr: the khutbah, then 2 fard rakats in congregation. In the Hanafi school 4 sunnah are prayed before it and 4 after (many also pray 2 more). The Prophet ﷺ said: “When one of you prays Jumuah, let him pray four after it” (Sahih Muslim 881).

When travelling

A traveller shortens the four-rakat fard prayers (Dhuhr, Asr and Isha) to two; Fajr and Maghrib stay the same. In the Hanafi school shortening is required on a journey of about 78 km or more, until you intend to stay 15 days or more in one place. Most sunnah prayers can be left when travelling, but keep the two of Fajr and the witr.

Teaching children

Start with the 2-rakat prayer: salah for kids, step by step has a picture and audio for every step, and a star chart to keep them going.

After the prayer

When you finish, stay seated for the short adhkar the Prophet ﷺ said after every prayer: see what to say after salah, and count the 33-33-33 tasbih on the tasbih counter.

More guides

The Madinah Arabic books: how to study them for free

How the Madinah Arabic books (Durus al-Lughah al-Arabiyyah) work, where to get them free from the author’s institute, and how to study Book 1 online with free lessons in English and Urdu.

How to learn Quranic Arabic: a plan for beginners

A practical, free plan to understand the Arabic of the Quran: learn to read, learn the most common words and roots, learn basic grammar, then read surahs word by word.

MSA, Quranic Arabic or a dialect: which should you learn first?

The difference between Modern Standard Arabic (fusha), Quranic (classical) Arabic and spoken dialects such as Saudi or Egyptian, and which one to start with for your goals.

Learn Arabic for free: a 90-day plan

A free 90-day plan to learn Arabic from zero: the alphabet in 10 days, then grammar, vocabulary, reading and listening, 15–20 minutes a day, with no sign-up.

What to say after salah

The short adhkar the Prophet ﷺ said after every fard prayer, in order: istighfar, Allahumma antas-salam, the tahlil, 33-33-33 tasbih, Ayat al-Kursi and the three Quls, with Arabic, meaning and hadith sources.

How to pray salah, step by step

How to pray salah step by step, from wudu and intention to the final salam, with every Arabic word, its meaning and the hadith behind it. Written for beginners and new Muslims.

How to perform wudu, step by step

How to make wudu step by step: the four fard acts, the Sunnah way the Prophet ﷺ did it, the duas before and after, what breaks wudu, and wiping over socks. Hanafi, with other views noted.

How to teach your kids the Quran at home

A practical, age-by-age plan for teaching children the Quran at home: the Arabic letters, Qaida, short surahs, daily routine, memorisation tips and keeping it joyful. With free printables.

How to read the Quran in Arabic as an adult beginner

A step-by-step path for adults and new Muslims to read the Quran in Arabic: letters, vowel marks, joining, tajweed basics, a daily plan, and how to start understanding what you read.

How to perform ghusl, step by step

How to do ghusl, the full Islamic bath: when it is required, the three fard acts, the Sunnah method the Prophet ﷺ followed, and answers for women, braids and showers.

How to pray the janazah (funeral) prayer

How to pray the Islamic funeral prayer: the four takbirs, what to recite after each, the duas for an adult and a child, where to stand, and the reward of attending.

How to pray istikhara, step by step

How to pray istikhara: the two rakats, the full dua in Arabic with meaning and pronunciation, where to name your decision, and what to expect afterwards. No dream is needed.

What breaks the fast, and what does not

What breaks the fast and what does not: eating by mistake, vomiting, toothbrush, eye and nose drops, injections, blood tests, periods, and who may skip a fast. Hanafi, with sources.

How to pray the Eid prayer

How to pray Salat al-Eid: the time, the two rakats with the extra takbirs (Hanafi), the khutbah, and the Sunnahs of Eid morning for Eid al-Fitr and Eid al-Adha.

How to perform Umrah, step by step

A complete step-by-step guide to Umrah: ihram and the miqat, the talbiyah, tawaf around the Kaʿbah, the two rakats, Zamzam, saʿi between Safa and Marwah, and shaving or trimming.

How to calculate zakat

A clear guide to zakat: who must pay, the nisab in gold and silver, the one-year rule, what wealth to count and deduct, 2.5% worked example, and the eight groups who can receive it.

How to pray tahajjud

How to pray tahajjud, the night prayer: the best time (the last third of the night), how many rakats, how to pray them with witr, the duas of the night, and practical tips to wake up.

Harf is free for everyone. If it helps you, a small tip keeps new lessons coming.

Support Harf