Islamic prayer times are the five windows in the day when Muslims perform the obligatory salah (also called namaz): Fajr, Dhuhr, Asr, Maghrib and Isha. They are not set by the clock but by the sun. Dawn, midday, the length of shadows, sunset and nightfall decide when each prayer begins and ends, which is why Islamic prayer times change a little every day and are different in London, Toronto, Houston or Lahore.
This guide explains each of the five salah times (namaz times) in plain English, shows where they come from in the Quran and hadith, and clears up the question almost every Muslim asks at some point: why does my app show a different time from my local masjid?
Islamic Prayer Times: Quick Facts
- Number of daily prayers: 5 obligatory (fard) prayers, every day, for every adult Muslim
- What sets the times: the position of the sun (dawn, zenith, shadow length, sunset and twilight)
- Fard rakats: Fajr 2, Dhuhr 4, Asr 4, Maghrib 3, Isha 4 (17 in total)
- Quranic basis: “Indeed, prayer has been decreed upon the believers at specified times” (Surah An-Nisa 4:103)
- Hadith basis: Jibril (peace be upon him) led the Prophet in prayer on two days to show the start and end of each time
- Why times differ between apps: different calculation methods for Fajr and Isha, and different Asr rules between schools

Where the Prayer Times Come From
The Quran tells us that salah is tied to time, and that is the root of all Islamic prayer times. Allah says the prayer has been prescribed for the believers at fixed times (4:103), and in another place commands the believer to establish prayer from the decline of the sun until the darkness of the night, along with the recitation at dawn (17:78). The verse points to Dhuhr, Asr, Maghrib and Isha in the first part and Fajr in the second.
The details come from the Sunnah. In a well-known narration, the Prophet (peace be upon him) said that Jibril led him in prayer at the Kaaba on two consecutive days. On the first day he prayed each prayer at the very start of its time, and on the second day near the end of its time. Then Jibril told him that the correct time is what lies between those two. You can read it in Sunan Abi Dawud (393), which Shaykh al-Albani graded hasan sahih.
A second hadith in Sahih Muslim (612), from Abdullah ibn Amr, gives the end of each time in one short list: Fajr lasts until the sun begins to rise, Dhuhr until Asr comes, Asr until the sun turns yellow, Maghrib until the twilight disappears, and Isha until the middle of the night. Almost everything below is built on these two hadith.
The 5 Daily Prayer Times Explained
1. Fajr: from true dawn until sunrise
Fajr begins at true dawn (al-fajr as-sadiq), when a thin line of white light spreads horizontally across the eastern horizon. This is also the moment suhoor ends for someone fasting. It is different from “false dawn”, a faint vertical glow that appears a little earlier and then fades.
The Fajr time ends at sunrise. Because the start of dawn is hard to see in cities with light pollution, prayer timetables calculate it from how far the sun is below the horizon, which we explain further down. Fajr has 2 fard rakats, with 2 sunnah rakats before it that the Prophet never left, even when travelling.
2. Dhuhr: from just after midday until Asr
Dhuhr starts as soon as the sun passes its highest point in the sky (zawal) and begins to move west. At the exact moment of zenith, prayer is not offered; a few minutes later the Dhuhr time has started. Most timetables add a small safety margin of one to three minutes after true noon.
Dhuhr lasts until the start of Asr. It has 4 fard rakats. On Friday, men who are able to attend replace Dhuhr with the Jumu’ah prayer and its sermon, which is held at the same time. Friday is also the day many Muslims read Surah Al-Kahf.
3. Asr: when shadows grow long
Asr is measured with shadows. Stand a stick upright in the sun: at midday its shadow is at its shortest. Asr begins when the shadow, minus that midday shadow, becomes equal to the length of the stick. This is the view of the Shafi’i, Maliki and Hanbali schools, and of Imam Abu Hanifa’s two main students. Imam Abu Hanifa himself held that Asr begins when the shadow is twice the object’s length, which is why many timetables list a “Hanafi Asr” that is roughly 30 to 60 minutes later.
Asr should be prayed before the sun turns yellow, and delaying it until then without a reason is disliked. In an emergency, the prayer still counts if one rakat is completed before sunset. Asr has 4 fard rakats, and it is the “middle prayer” the Quran tells us to guard carefully (2:238), according to the strongest scholarly view.
4. Maghrib: right after sunset
Maghrib begins the moment the full disc of the sun has set. This is the easiest prayer time to agree on, so every app and masjid will show nearly the same Maghrib time. It is also when the fast is broken in Ramadan.
Maghrib lasts until the red glow of twilight disappears from the western sky, roughly 60 to 90 minutes in most of the US and UK, longer in summer at northern latitudes. It is the shortest window of the day, so it is best prayed early. Maghrib has 3 fard rakats.
Want your salah recitation to be correct?
Learn Surah Al-Fatiha, short surahs and Tajweed one-to-one with a qualified teacher, online, at a time that fits your prayer routine.
Book a Free Trial Class5. Isha: from nightfall until midnight
Isha begins when the twilight has gone and the sky is fully dark. The majority say this is when the red twilight disappears; Imam Abu Hanifa held that one waits for the white glow that follows it to fade as well. The preferred time for Isha ends at the middle of the night (halfway between sunset and Fajr), as in the hadith of Sahih Muslim above. Many scholars hold that it is still valid, though not ideal, until dawn if someone was genuinely unable to pray earlier.
Isha has 4 fard rakats, and it is followed by Witr, which the Prophet strongly encouraged and which can be prayed any time before Fajr.
How Prayer Times Are Calculated
Of the five Islamic prayer times, Dhuhr, Asr and Maghrib can be worked out directly from the sun’s position, so different sources agree on them within a minute or two. Fajr and Isha are harder, because dawn and nightfall happen gradually. Astronomers and scholars therefore describe them by the angle of the sun below the horizon. A bigger angle means the sun is further below the horizon, so Fajr comes earlier and Isha comes later.
Here are the main methods used to calculate prayer times in Islam in apps and masjid timetables today:
| Method | Fajr angle | Isha | Commonly used in |
|---|---|---|---|
| Islamic Society of North America (ISNA) | 15° | 15° | USA and Canada |
| Muslim World League (MWL) | 18° | 17° | Europe, including many UK apps |
| University of Islamic Sciences, Karachi | 18° | 18° | Pakistan, India, Bangladesh, many South Asian masjids abroad |
| Umm al-Qura, Makkah | 18.5° | 90 minutes after Maghrib | Saudi Arabia |
| Egyptian General Authority of Survey | 19.5° | 17.5° | Egypt, parts of Africa and the Middle East |
ISNA chose the smaller 15° angle for North America because 18° was felt to make Fajr very early there. The practical result: in the same city on the same day, two apps can show Fajr 20 or more minutes apart.
Prayer times in the UK, Canada and other northern countries
In places far from the equator, like Scotland, northern England or much of Canada, the sky may never get fully dark on summer nights. The sun does not drop 15° or 18° below the horizon at all, so the angle methods simply stop working. Timetables then use a “high latitude rule”, such as dividing the night into sevenths, using the middle of the night, or taking times from the nearest latitude where the signs are still visible. This is why Islamic prayer times on UK masjid timetables in June can look very different from the one on your phone.
Why Your App and Your Masjid Show Different Times
If your phone and your local masjid disagree, one of these is almost always the reason:
- Different calculation method for Fajr and Isha (for example ISNA on your phone and Karachi or MWL at the masjid).
- Different Asr setting: “Standard” (Shafi’i, Maliki, Hanbali) or “Hanafi”.
- Safety minutes added by the masjid, usually a few minutes after Dhuhr and Maghrib begin.
- Jama’ah time versus start time: a masjid often prints when the congregation stands (iqamah), which can be 10 to 30 minutes after the prayer time begins.
The simple fix: open your app’s settings, choose the same method and Asr setting your masjid uses, and the times will line up.
Times When Voluntary Prayer Is Not Offered
Knowing the Islamic prayer times also means knowing the short periods when the Prophet told us not to pray voluntary prayers. Uqbah ibn Amir reported three of them in Sahih Muslim (831): while the sun is rising until it is well up, when the sun is at its highest point at midday until it passes it, and while the sun is setting. Other authentic narrations add the time after the Fajr prayer until sunrise and after Asr until sunset.
These restrictions apply to extra, voluntary prayers. A missed obligatory prayer should be made up as soon as you remember it, and many scholars allow prayers that have a specific reason, such as the two rakats on entering a masjid, during these times as well.
How to Never Miss a Prayer Time
- Match your app to your masjid so your salah times agree, once, then trust the notifications.
- Plan your day around salah, not the other way round. Put Dhuhr and Asr in your work or school calendar during winter, when they come close together.
- Pray early in the window. The Prophet was asked which deed Allah loves most and answered: prayer at its proper time.
- Keep wudu where you can, so that a short break is enough to pray.
- Sleep with Fajr in mind: pray Isha, recite a short surah such as Surah Al-Mulk, and set your alarm before you lie down.
If you are teaching children to pray, start with the times before the movements. Children who know that “Asr is when the shadows get long” and “Maghrib is right after sunset” begin to feel the rhythm of the day. Our guide on helping your child memorize the Quran has more ideas for building these habits at home.
Frequently Asked Questions About Islamic Prayer Times
What are the 5 prayer times in Islam?
Fajr (true dawn until sunrise), Dhuhr (just after midday until Asr), Asr (when an object’s shadow equals its length, until sunset), Maghrib (sunset until the twilight disappears) and Isha (nightfall until the middle of the night).
Why do prayer times change every day?
Islamic prayer times follow the sun, and sunrise, noon and sunset shift slightly each day through the year. The change is biggest in countries far from the equator, like the UK and Canada.
Which prayer time calculation method should I use?
Use the method your local masjid uses for its salah times, so you pray with your community. In the US and Canada that is often ISNA; in the UK many apps use the Muslim World League; South Asian masjids often follow the Karachi method.
What is the difference between Hanafi and standard Asr?
Standard Asr begins when an object’s shadow equals its own length (plus its midday shadow). Hanafi Asr begins when the shadow is twice the object’s length, so it starts later. Both are valid scholarly positions.
What if I miss a prayer time?
Pray it as soon as you remember. The Prophet said that whoever forgets a prayer or sleeps through it should pray it when they remember it. Deliberately delaying a prayer past its time without an excuse is a serious sin, so make a sincere intention not to repeat it.
Pray on Time, Pray With Understanding
The five Islamic prayer times give every Muslim day its shape: a start before sunrise, a pause at midday, a reminder in the late afternoon, a moment at sunset and a quiet close at night. Once you understand what sets each time, the timetable on your wall stops being a list of numbers and becomes a map of the day.
The next step is making sure what you recite in those prayers is correct. Our beginner’s guide to Tajweed rules is a good place to start, and our Quran reading course helps adults and children read the surahs of salah with confidence.
After each obligatory prayer, a short sunnah routine is to recite Ayatul Kursi, and the night ends with Witr, explained in our Dua Qunoot guide. For help with salah, Tajweed and Quran reading, visit Believe Quran Academy.
Learn to recite your salah beautifully
One-to-one online Quran, Tajweed and Islamic studies classes for kids and adults in the US, UK and Canada. Your first class is free.
Book a Free Trial Class WhatsApp Us



