Maghrib Prayer: Rakat, Time & Virtues — Complete Guide
Everything you need to pray Maghrib correctly: the exact time window, how many rakat are fard and sunnah, the step-by-step method, authentic virtues, and madhab differences — reviewed against Qur’an and Sahih Sunnah.
Maghrib at a Glance
What Is Maghrib Prayer?
Maghrib (المغرب), meaning “sunset” or “the west,” is the fourth of the five daily obligatory prayers in Islam. It is unique among the five prayers for having a fixed three-rak’ah fard structure and one of the narrowest time windows — beginning the instant the sun fully sets and ending when the red glow of twilight disappears from the western sky.
Because its window is short, scholars have long emphasised praying Maghrib promptly (“at its earliest time”) rather than delaying it, distinguishing it from Isha and Dhuhr where some delay is more commonly tolerated. Maghrib also marks the moment a fasting Muslim breaks their fast (iftar) during Ramadan and on voluntary fast days.
Maghrib Prayer Time Window
Maghrib begins immediately at sunset and ends when the red afterglow (shafaq ahmar) fades from the horizon — the start of Isha’s window.
Unlike Dhuhr or Isha, mainstream fiqh discourages delaying Maghrib without a valid reason (travel, illness, or genuine necessity), since its window is the shortest of the five. For your exact local Maghrib time based on GPS or city, use our free Prayer Time Calculator, which supports 7 calculation methods.
Maghrib Rakat Count Breakdown
Maghrib totals up to 7 rakat when every recommended unit is prayed: 3 obligatory, 2 confirmed sunnah, and 2 optional nafl.
The 3 fard rak’ahs are obligatory on every adult, sane Muslim and cannot be omitted. First two rak’ahs are recited aloud (in congregation/by the imam); the third is silent.
- Rak’ah 1 & 2: Surah Al-Fatihah + another surah, recited aloud by the imam
- Rak’ah 3: Surah Al-Fatihah only, recited silently
- Sitting (tashahhud) after rak’ah 2, and again at the end after rak’ah 3
2 rak’ahs Sunnah Mu’akkadah (emphasised sunnah) are prayed after the fard, following the consistent practice of the Prophet ﷺ. An additional 2 rak’ahs of nafl (voluntary) prayer may be added after that for extra reward.
- 2 rak’ahs Sunnah — prayed individually, right after the fard and its dhikr
- 2 rak’ahs Nafl — optional, based on the Prophet’s ﷺ own additional worship
How to Pray Maghrib Step-by-Step
A concise walk-through of the 3 fard rak’ahs. For full posture-by-posture illustrations, see our complete How to Pray Salah guide.
Make Intention (Niyyah) & Say Takbir
اللَّهُ أَكْبَرFace the Qiblah, intend in your heart to pray Maghrib, raise both hands, and say “Allahu Akbar” to enter the prayer.
Rak’ah 1 & 2 — Recite Aloud
Recite Surah Al-Fatihah followed by another surah in each of the first two rak’ahs. In congregation, the imam recites aloud; complete ruku’ and two sujud in each rak’ah.
First Tashahhud
Sit after the second rak’ah and recite At-Tahiyyat, then stand for the third rak’ah.
Rak’ah 3 — Recite Silently
Recite only Surah Al-Fatihah silently, then complete ruku’ and sujud as usual.
Final Tashahhud, Durood & Tasleem
السَّلَامُ عَلَيْكُمْ وَرَحْمَةُ اللَّهSit for the final tashahhud, recite Durood Ibrahim and closing du’a, then turn the head right then left saying “As-salamu alaikum wa rahmatullah” to complete the prayer.
Pray the 2 Sunnah, Then Optional 2 Nafl
Stand and pray 2 rak’ahs of confirmed sunnah individually, then optionally 2 more rak’ahs of nafl. Many recite the du’a after Maghrib and Salawat during this window too — see our Dua After Wudu collection for related supplications.
Virtues of Maghrib Prayer
Authentic narrations highlight Maghrib’s reward for punctuality and its link to the breaking of the fast — graded transparently per our Editorial Standards.
The Prophet ﷺ said the deeds most beloved to Allah are prayer performed at its earliest, proper time — a principle scholars apply with particular emphasis to Maghrib given its short window.
The Prophet ﷺ described how the fasting person’s joy at breaking the fast at Maghrib is one of two joys granted to the fasting believer.
Whoever guards the two rak’ahs before Fajr and the sunnah prayers surrounding the five daily prayers, including after Maghrib, was promised a house built for them in Paradise.
Narrations are cited by collection and topic; verify exact wording and full chains via Sunnah.com before academic citation.
Maghrib in the Five Daily Prayers
Madhab Differences on Maghrib
The 3 fard rak’ahs are agreed upon by all four Sunni madhabs. Differences appear mainly in end-time definition and Qunut-style additions.
| Topic | Hanafi | Shafi’i | Maliki | Hanbali |
|---|---|---|---|---|
| Fard rak’ahs | 3 | 3 | 3 | 3 |
| End of Maghrib time | Disappearance of white afterglow (extended view) | Disappearance of red afterglow | Very short — recommended promptly | Disappearance of red afterglow |
| Delaying without reason | Discouraged | Discouraged (makruh) | Strongly discouraged | Discouraged |
| Sunnah after fard | 2 rak’ahs | 2 rak’ahs | 2 rak’ahs | 2 rak’ahs |
This table summarises general madhab positions for educational purposes; consult a qualified local scholar for personal fiqh rulings.
Common Mistakes to Avoid
Frequently Asked Questions
Maghrib has 3 fard (obligatory) rak’ahs, plus 2 confirmed sunnah and 2 optional nafl rak’ahs — 7 rak’ahs in total if all are prayed.
Maghrib begins the moment the sun fully sets and ends when the red glow of twilight disappears from the western horizon — typically a window of roughly 15–90 minutes depending on location and madhab.
Delaying Maghrib without a valid reason is discouraged in all four madhabs since it has the shortest time window of the five daily prayers. Genuine excuses like travel or illness may permit delay or combination with Isha.
The first two rak’ahs are recited aloud (especially by the imam in congregation); the third rak’ah’s Al-Fatihah is recited silently.
Common practice includes the standard post-prayer dhikr (Tasbih, Istighfar, Ayat al-Kursi) followed by the 2 sunnah rak’ahs. See our Dua collection for related supplications.
Author
Muhammad Iqbal
Writes on Salah, du’a, and daily Islamic practice for a global audience. Full bio →