When Does the Islamic Day Start? Maghrib Explained

Islamic calendar6 min read

In the lunar Islamic calendar, the date changes at sunset (maghrib), and the night comes before the daytime that carries the same date. So Thursday evening after maghrib is already the night of Friday, and the Hijri date moves forward at that moment, not at midnight. The fast itself still runs from dawn to sunset. This article explains the idea and what it changes for dates, nights and fasting.

1

The short answer

The Islamic date changes when the sun sets. After maghrib, the new date has begun, even though the daytime of that date will only come after the night.

There are two separate points, and keeping them apart removes most confusion:

  • The calendar date changes at sunset. This is why people speak of "the night of Friday", which is the night before the day of Friday.
  • The day of worship, such as the fast, runs from true dawn (fajr) to sunset. The night after sunset belongs to the date that has just begun.

This is the way scholars commonly explain the lunar calendar. Some civil calendars and phone apps switch the date at midnight, because that suits ordinary daily life, so the date shown in the evening can differ from the Islamic date.

2

Why the date begins at sunset

The lunar month depends on the crescent, which is seen in the sky just after sunset. The Prophet ﷺ said: "Fast when you see it, and break the fast when you see it. If it is hidden from you, complete Sha'ban as thirty days" (Sahih al-Bukhari 1909). The sign of the new month appears in the evening, so the new month and its first night begin together.

Allah made the night and the day two signs, so that people may know the number of years and the reckoning of time (Quran 17:12). The Quran also marks the end of the fast by the night: "Then complete the fast until the night" (Quran 2:187).

The Prophet ﷺ explained how to know when it comes: "When the night comes from this side, and the day goes away from that side, and the sun has set, the fasting person has broken his fast" (Sahih al-Bukhari 1954; Sahih Muslim 1100). The daytime fast ends at sunset, and from that moment the night, and the new date, have begun.

3

The night before Friday and other nights

The "night of Friday" (laylat al-jumu'ah) is the night that starts at sunset on Thursday and lasts until dawn on Friday. The Prophet ﷺ said: "Do not single out the night of Friday for prayer from among the nights, and do not single out the day of Friday for fasting from among the days, unless it is part of a fast that one of you keeps" (Sahih Muslim 1144b). The wording shows that the night of Friday is counted before its day.

The same rule applies to the nights that people look for in worship. The Prophet ﷺ said: "Look for Laylat al-Qadr in the odd nights of the last ten nights of Ramadan" (Sahih al-Bukhari 2017). The 21st night begins at sunset on the 20th day, the 23rd night at sunset on the 22nd day, and so on. A person who waits for the 21st day to begin the search misses the 21st night.

The day of Arafah, the 9th of Dhul Hijjah, follows the night of the 9th. The Eid night is the evening after the last fast of Ramadan, once the new moon is confirmed, and many scholars recommend saying the takbir from that evening.

4

The 15th night and fasting

The night of the 15th of a lunar month is the evening that begins after sunset on the 14th. People often ask about the "night of the 15th of Sha'ban". Some earlier scholars treated it as a virtuous night, but many other scholars say that the reports about it are weak. No special prayer, fixed number of rak'ahs or special rite is established from the Prophet ﷺ for this night, and such practices should not be treated as part of the religion.

What is firmly established is fasting the white days. The Prophet ﷺ said to Abu Dharr: "O Abu Dharr, when you fast three days of the month, fast the 13th, the 14th and the 15th" (Jami at-Tirmidhi 761). The fast is a daytime act. The 13th day follows the night of the 13th, which began at sunset on the 12th.

5

What this means in practice

  • If the new moon is sighted on the evening of the 29th of Sha'ban, that evening is already the first night of Ramadan, and the first fast is on the following day. In many places, the first night is also when tarawih begins.
  • If you want to know the Hijri date after maghrib, remember that it is already the next date, even if a civil calendar still shows the previous one.
  • Calendars and apps differ. Some follow the sighting of the moon, some follow a calculation, and some switch the date at midnight for convenience. Follow the choice made by your local community or mosque for religious dates, such as Ramadan, Eid and Hajj days.
  • Dates can differ between countries by a day because the crescent is not visible everywhere on the same evening. See the article on moon sighting and the Hijri calendar for more on this.

Sources

Common questions

Does the Islamic day begin at sunset or at dawn?

The date of the calendar changes at sunset. The day for fasting and for the daytime prayers begins at true dawn and ends at sunset. Both are true, because they answer different questions: which date is it, and when does the fast start and end.

Is Thursday evening already the night of Friday?

Yes. After maghrib on Thursday, it is the night of Friday. Friday prayer, the Friday ghusl and any fast kept on that day all belong to the daytime of Friday, after the night, and not to Thursday evening.

Is there a special prayer on the night of the 15th of Sha'ban?

No special prayer or fixed number of rak'ahs is established from the Prophet ﷺ for that night. A person may pray the voluntary night prayer, as on any other night, and fast the white days, which is established (Jami at-Tirmidhi 761).

Why does my phone show a different Hijri date after sunset?

Many apps change the date at midnight, like the civil calendar. The Islamic date changes at maghrib, and the exact date also depends on the moon sighting or calculation method your community follows. For Ramadan and Eid, follow your local mosque or authority.