How to pray maghrib: its time and the 5 rak'ahs
Last updated: 4 November 2026
Maghrib has 5 rak'ahs. Unlike the other prayers, the 3 fard rak'ahs come first, followed by 2 rak'ahs sunnah. The information below follows the Hanafi school. For the basic movements, see how to pray.
The time of maghrib
- Start: It begins when the sun has completely set. In Ramadan this is the time of iftar.
- End: It ends when the time of isha begins.
- The time of maghrib is short; it is good to pray without delay once it begins.
Rak'ahs and order
- 3 rak'ahs fard (men say the iqamah before the fard)
- 2 rak'ahs sunnah
Performing the 3 fard rak'ahs
- Intention: "I intend, for the sake of Allah, to perform today's fard of the maghrib prayer."
- First rak'ah: Opening takbir, Subhanaka, ta'awwudh and basmala, al-Fatiha and a surah; bowing and two prostrations.
- Second rak'ah: Basmala, al-Fatiha and a surah; bowing and two prostrations.
- First sitting: Recite only At-tahiyyatu and stand for the third rak'ah.
- Third rak'ah: Recite only al-Fatiha, with no additional surah; bow and prostrate twice.
- Final sitting: Recite At-tahiyyatu, Allahumma salli, Allahumma barik, Rabbana atina and Rabbanaghfir li, then give salam.
In the fard of maghrib the imam recites aloud in the first two rak'ahs and silently in the third.
Performing the 2 sunnah rak'ahs
Intend "I intend, for the sake of Allah, to perform today's sunnah of the maghrib prayer" and pray two rak'ahs like the sunnah of fajr. Then recite the tasbihat and make dua.
Good to know
- The fard of maghrib is the only obligatory prayer with 3 rak'ahs.
- If it was not prayed on time, only the fard (3 rak'ahs) is made up.
- Someone who forgets the first sitting and stands up fully completes the prayer and performs sajdat as-sahw at the end.
- In Ramadan, take care not to delay maghrib after breaking the fast; you can see the iftar time on your city page. For the order of the iftar table, see what to eat at suhoor.
Sources
- Presidency of Religious Affairs of Türkiye (Diyanet), İlmihal I, chapters "Namaz Vakitleri" and "Namazın Kılınışı"
This guide is also available in Turkish.