The Hijri calendar: months, moon sighting and how it began
The Hijri calendar is the Islamic lunar calendar of twelve months, counted from the Prophet’s ﷺ migration (Hijrah) to Madinah. Each month starts with the new crescent moon, so the year is about 354 days and Ramadan moves earlier by around eleven days every year. Here are the months, the four sacred months and how moon sighting works in the UK.
Last updated: 10 November 2026
What is the Hijri calendar?
The Hijri calendar is the Islamic lunar calendar. It has twelve months, each beginning with the new crescent moon, and its years are counted from the Hijrah, the Prophet’s ﷺ migration from Makkah to Madinah. Muslims use it to date Ramadan, the two Eids, Hajj, ‘Ashura and other acts of worship.
Years are written with “AH”, from the Latin Anno Hegirae, “in the year of the Hijrah”. In the UK, most Muslims live by the Gregorian calendar for school, work and bills, and turn to the Hijri calendar for worship.
What are the 12 Hijri months?
The twelve months are Muharram, Safar, Rabi‘ al-Awwal, Rabi‘ al-Akhir, Jumada al-Ula, Jumada al-Akhirah, Rajab, Sha‘ban, Ramadan, Shawwal, Dhu al-Qa‘dah and Dhu al-Hijjah. Four of them, Muharram, Rajab, Dhu al-Qa‘dah and Dhu al-Hijjah, are sacred. Each month lasts 29 or 30 days.
| # | Month | Arabic | Notes |
|---|---|---|---|
| 1 | Muharram | مُحَرَّم | Sacred. The first month. ‘Ashura, the 10th, is a recommended day of fasting. |
| 2 | Safar | صَفَر | No special worship. The Prophet ﷺ rejected the old belief that Safar brings bad luck (Sahih al-Bukhari 5757). |
| 3 | Rabi‘ al-Awwal | رَبِيع الأَوَّل | The month in which the Prophet ﷺ was born and arrived in Madinah after the Hijrah. |
| 4 | Rabi‘ al-Akhir (Rabi‘ ath-Thani) | رَبِيع الآخِر | No special worship. |
| 5 | Jumada al-Ula | جُمَادَى الأُولَى | No special worship. |
| 6 | Jumada al-Akhirah | جُمَادَى الآخِرَة | No special worship. |
| 7 | Rajab | رَجَب | Sacred. Many mark the Isra and Mi‘raj in this month, though scholars differ on its exact date. |
| 8 | Sha‘ban | شَعْبَان | The Prophet ﷺ fasted more in Sha‘ban than in any month except Ramadan (Sahih al-Bukhari 1969). More on Sha‘ban. |
| 9 | Ramadan | رَمَضَان | The month of fasting and of the Quran; Laylat al-Qadr falls in its last ten nights. |
| 10 | Shawwal | شَوَّال | Eid al-Fitr on the 1st; fasting six days of Shawwal is recommended (Sahih Muslim 1164). |
| 11 | Dhu al-Qa‘dah | ذُو القَعْدَة | Sacred. One of the months of Hajj. |
| 12 | Dhu al-Hijjah | ذُو الحِجَّة | Sacred. The first ten days; Hajj; the Day of ‘Arafah on the 9th and Eid al-Adha on the 10th. |
Which are the four sacred months?
The four sacred months are Dhu al-Qa‘dah, Dhu al-Hijjah and Muharram, which come one after another, and Rajab on its own. Allah names their number in the Quran, and the Prophet ﷺ listed them in his sermon at the Farewell Hajj (Sahih al-Bukhari 4662; Sahih Muslim 1679).
إِنَّ عِدَّةَ ٱلشُّهُورِ عِندَ ٱللَّهِ ٱثۡنَا عَشَرَ شَهۡرٗا فِي كِتَٰبِ ٱللَّهِ يَوۡمَ خَلَقَ ٱلسَّمَٰوَٰتِ وَٱلۡأَرۡضَ مِنۡهَآ أَرۡبَعَةٌ حُرُمٞۚ ذَٰلِكَ ٱلدِّينُ ٱلۡقَيِّمُۚ فَلَا تَظۡلِمُواْ فِيهِنَّ أَنفُسَكُمۡۚ
Scholars explain that in these months wrongdoing is more serious and good deeds carry greater weight. Many people make an extra effort in them: more fasting, charity and Quran, and more care to avoid sin.
Why is the Hijri year shorter than the solar year?
A lunar month is about 29.5 days, so twelve of them make a year of about 354 or 355 days, roughly eleven days shorter than the solar year. That is why Ramadan and the Eids move about eleven days earlier each year, passing through every season over a cycle of about 33 years.
In the UK this makes a real difference. When Ramadan falls in summer, fasts are long, with late Maghrib and very early Fajr; in winter, they are short. Over a lifetime, every Muslim fasts in every season.
How does a new Hijri month begin?
A new month begins when the new crescent moon (hilal) is sighted after sunset on the 29th; if it is not seen, the month completes 30 days. This follows the hadith: “Fast when you see it and stop fasting when you see it, and if it is hidden from you, complete thirty days” (Sahih al-Bukhari 1909; Sahih Muslim 1081).
The Quran also ties the crescents to timekeeping: “They ask you about the new moons. Say: they are measures of time for people and for Hajj” (Al-Baqarah 2:189, meaning).
In the UK, mosques follow different approaches, which is why neighbouring mosques sometimes start Ramadan or celebrate Eid on different days:
- Local sighting: waiting for a confirmed sighting in the UK or nearby, by eye or with optical aid.
- Following another country: often the announcement from Saudi Arabia, or a sighting from Morocco or elsewhere.
- Calculation: using astronomical data to fix dates in advance, which makes planning easier for work and school.
All of these are held by sincere scholars. Most people follow their local mosque or community, which keeps families and congregations together. Remember too that the Islamic day begins at sunset, so the night comes before its day: the first night of Ramadan, for example, is the evening before the first fast.
How did the Hijri calendar begin?
The Hijri calendar was introduced by the second caliph, ‘Umar ibn al-Khattab, some years after the Prophet’s ﷺ death, when official letters needed a clear way of dating. The Companions chose the Hijrah of 622 CE as its starting point, the moment the Muslim community was established in Madinah, and kept Muharram as the first month.
The Arabs already used lunar months with these names; what was new was a fixed era to count the years from. The story of the Hijrah itself is told in the seerah of the Prophet Muhammad ﷺ.
How do you find today’s Hijri date?
Use our Islamic calendar and date converter to see today’s Hijri date and convert any date between the Hijri and Gregorian calendars, with the year’s key dates for the UK. Because moon sighting varies, a converted date can differ by a day from your local mosque, so check with them for Ramadan and Eid.
For the occasions themselves, read what Ramadan is, the guide to Eid al-Fitr and Eid al-Adha, the Hajj guide and the night journey of Isra and Mi‘raj. To learn the Islamic year with a teacher, see our Islamic studies lessons.
Frequently asked questions
What Hijri year is it now?
See our Islamic calendar for today’s Hijri date and year, updated automatically. The Hijri year changes on 1 Muharram, which moves about eleven days earlier each Gregorian year.
How many days are in a Hijri month?
29 or 30 days, depending on when the new crescent is seen. A Hijri month never has 31 days.
Why does Ramadan come earlier every year?
Because the Hijri year is about eleven days shorter than the solar year. Ramadan therefore starts roughly eleven days earlier each year and moves through all the seasons over about 33 years.
When does an Islamic day begin?
At sunset (Maghrib). The night belongs to the following day, so Laylat al-Qadr, the nights of Ramadan and the night before Eid all start at Maghrib the evening before.
Why do UK mosques sometimes celebrate Eid on different days?
Some follow a local moon sighting, some follow Saudi Arabia or another country, and some use calculation. Each approach has scholarly support; most people follow their local mosque.
Learn the Islamic year with a teacher
Free one-to-one trial lessons in Islamic studies, in UK time.