Skip to main content
Masaajidh
QuranIqraHadithDuasHistoryLearnCourses
Guided ProgramMosquesCharacterMobile App
Sign InGet Started
Masaajidh
Sign InRegister

Learn or teach the Quran online with Masaajidh

For students and parents

Learn Quran online with a live teacher

Quran classes for kids and adults: Iqra reading, Tajweed classes, recitation and Hifz. Free trial class.

See Quran classes →

For teachers

Teach Quran online: we are hiring

Online Quran teacher jobs for Quran, Tajweed, Arabic and Islamic studies tutors. Flexible hours, from home.

Apply to teach →
Masaajidh
Masaajidhمساجد

A sacred space for Islamic learning and knowledge. Building understanding, strengthening faith, and connecting hearts to the wisdom of our tradition.

Learn

  • Iqra Books
  • Quran
  • Learn Quran Online
  • Courses
  • Teachers

Resources

  • Seerah
  • Tafseer
  • Hadith
  • History
  • Pioneers
  • Daily Duas

Community

  • Mosques
  • Events
  • Blog
  • Teach Quran Online
  • Support

Get the App

  • iPhone — App Store
  • Android — coming soon
  • About the app

About

  • Our Mission
  • Contact Us
  • Privacy Policy
  • Terms of Service
  • Refund Policy

Subscribe to our Newsletter

Receive weekly Islamic reminders and learning resources

سُبْحَانَ اللَّهِ وَبِحَمْدِهِ

© 2026 Masaajidh.com. All rights reserved.

Privacy✦Terms✦Cookies
Back to Blog

The Islamic Calendar: Hijri Months and How Dates Are Set

Masaajidh Editorial Team
October 27, 2026
8 min read
Prayer & Salah
The Islamic Calendar: Hijri Months and How Dates Are Set

The islamic calendar, also called the Hijri calendar, is the lunar calendar Muslims use for worship. It sets the dates of Ramadan, the two Eids, Hajj, the Day of 'Arafah and 'Ashura. This guide explains its twelve months, the four sacred months, why the year is shorter than the solar year, and the long-running discussion between moon sighting and calculation that explains why communities sometimes start Ramadan on different days.

This is part of our guide to prayer times explained. The Hijri calendar is counted from the Prophet's ﷺ migration to Madinah, and you can see that event in its place in our Seerah timeline.

A calendar set by the moon

Allah says:

يَسْـَٔلُونَكَ عَنِ ٱلْأَهِلَّةِ ۖ قُلْ هِىَ مَوَٰقِيتُ لِلنَّاسِ وَٱلْحَجِّ

"They ask you, [O Muhammad], about the new moons. Say, 'They are measurements of time for the people and for Hajj.'" (Quran 2:189)

Each month begins when the new crescent (hilal) appears after sunset. Because the moon's cycle is about 29.5 days, a month is either 29 or 30 days. The Prophet ﷺ said: "We are an illiterate nation; we neither write, nor know accounts. The month is like this and this, i.e. sometimes of 29 days and sometimes of thirty days" (Sahih al-Bukhari, no. 1845 (Masaajidh edition)).

Twelve such months make a year of about 354 or 355 days, roughly 11 days shorter than the solar year. There is no leap month to keep it in line with the seasons, so Islamic dates move through the Gregorian year. Ramadan, for example, comes about 11 days earlier each year and cycles through every season in around 33 years.

An Islamic day also starts at sunset, not midnight. The night before a date belongs to that date, which is why the first taraweeh of Ramadan is prayed the evening before the first fast.

The 12 Hijri months

No.MonthArabicNotes
1MuharramمُحَرَّمSacred month; the Islamic new year; 'Ashura on the 10th
2Safarصَفَر
3Rabi' al-Awwalرَبِيع الأَوَّلMonth of the Hijrah's arrival in Madinah; widely held to be the month of the Prophet's ﷺ birth (the exact date is debated)
4Rabi' al-Akhir (al-Thani)رَبِيع الآخِر
5Jumada al-Ulaجُمَادَى الأُولَى
6Jumada al-Akhirahجُمَادَى الآخِرَة
7RajabرَجَبSacred month
8Sha'banشَعْبَانThe month before Ramadan
9RamadanرَمَضَانThe month of fasting
10ShawwalشَوَّالEid al-Fitr on the 1st
11Dhul Qa'dahذُو القَعْدَةSacred month
12Dhul Hijjahذُو الحِجَّةSacred month; Hajj; 'Arafah on the 9th, Eid al-Adha on the 10th

The four sacred months

The Quran fixes the number of months and names four of them as sacred:

إِنَّ عِدَّةَ ٱلشُّهُورِ عِندَ ٱللَّهِ ٱثْنَا عَشَرَ شَهْرًۭا فِى كِتَٰبِ ٱللَّهِ يَوْمَ خَلَقَ ٱلسَّمَٰوَٰتِ وَٱلْأَرْضَ مِنْهَآ أَرْبَعَةٌ حُرُمٌۭ ۚ ذَٰلِكَ ٱلدِّينُ ٱلْقَيِّمُ ۚ فَلَا تَظْلِمُوا۟ فِيهِنَّ أَنفُسَكُمْ

"Indeed, the number of months with Allah is twelve [lunar] months in the register of Allah [from] the day He created the heavens and the earth; of these, four are sacred. That is the correct religion, so do not wrong yourselves during them." (Quran 9:36)

The Prophet ﷺ named them: "The year is of twelve months, out of which four months are sacred: Three are in succession Dhul-Qa'da, Dhul-Hijja and Muharram, and (the fourth is) Rajab of (the tribe of) Mudar which comes between Jumadi-ath-Thaniyah and Sha'ban" (Sahih al-Bukhari, no. 3064 (Masaajidh edition)).

Scholars explain that good deeds in these months carry extra weight and wrongdoing is more serious, so they are a natural time to renew good habits.

Where the Hijri count starts

The years are counted from the Hijrah, the Prophet's ﷺ migration from Makkah to Madinah in 622 CE. The calendar was formally adopted during the caliphate of 'Umar ibn al-Khattab (may Allah be pleased with him), with Muharram kept as the first month. That is why years carry the label AH, for Anno Hegirae, "in the year of the Hijrah". Read about the migration itself, and the events around it, in the Seerah timeline.

The year 1448 AH began in mid-June 2026. The year 1449 AH is expected to begin in early June 2027, subject to moon sighting. A rough way to convert years is: AH ≈ (CE − 622) × 33 ÷ 32. It is useful for history, but for exact dates always use a proper converter.

Sighting vs calculation

The Prophet ﷺ tied the start and end of Ramadan to seeing the crescent: "Do not fast till you see the moon, and if the sky is overcast, then complete Sha'ban as thirty days" (Sahih al-Bukhari, no. 1839 (Masaajidh edition)). How to apply this today is a long-standing discussion. The main approaches are:

ApproachHow it worksEffect
Local sightingThe month starts when the crescent is seen in your own country or regionDates can differ between countries
Global or regional sightingA reliable sighting anywhere (or in a wider region) is acceptedMany countries start together
Following Saudi ArabiaThe announcement from Saudi Arabia is followed, especially for Dhul HijjahEid al-Adha aligns with Hajj
Astronomical calculationA rule based on the predicted moon, such as conjunction before a set time or predicted visibilityDates can be published years in advance

Saudi Arabia's civil Umm al-Qura calendar is calculated in advance, while its religious announcements for Ramadan and Dhul Hijjah rely on sighting reports. Many Islamic councils in Western countries use a mix of predicted visibility and reported sightings. Each approach has scholarly support. The important thing is to follow your local mosque or Islamic council so your community fasts and celebrates together.

Why communities start Ramadan on different days

Several things can cause a one-day difference within one city:

  • One mosque follows local sighting, another follows a global sighting.
  • Cloud on the 29th evening prevents a local sighting, so Sha'ban is completed as 30 days.
  • A sighting claim from another region is accepted by one council but not another.
  • Some communities follow a calculated calendar.

This is a matter of legitimate difference. Treat it with patience, and avoid arguing about it on the night of the moon. Our guide to Ramadan 2027 gives the expected dates for the coming Ramadan as estimates.

Hijri date today: how to find it

If you need the hijri date today, there are three reliable sources:

  1. Your local mosque or Islamic council. It tells you the date your community actually follows, especially near Ramadan and the Eids.
  2. A Hijri calendar app. Our mobile app includes a Hijri calendar and moon phase. Apps normally use a calculated calendar and may be a day off from your local announcement.
  3. The Umm al-Qura calendar for the civil Saudi date.

Remember that the Hijri date changes at sunset, so after Maghrib it is already the next date.

Living by the islamic calendar at home

Most of us run our lives on the Gregorian calendar, so the Hijri months can slip past unnoticed. A few simple habits keep them present for the whole family:

  • Hang a wall calendar that shows both dates, and say the Hijri month aloud at the start of each one.
  • Teach children the twelve month names in order, perhaps two a week, using the table above.
  • Mark the sacred months with a family goal, such as more charity or less screen time.
  • Put 'Ashura and the Day of 'Arafah on the calendar early; many Muslims fast on these days, so plan around school and work.
  • Watch for the new crescent together on the 29th evening of a month. It is a beautiful way to show children that the islamic calendar is written in the sky.

Lunar months, solar prayer times

The months follow the moon, but the daily prayers follow the sun. That combination is why Ramadan can fall in a long summer in one decade and a short winter in another, and why the fasting hours in Sydney and London are so different in the same month. Our guide to salah times in Sydney, Melbourne, Perth, Brisbane and Adelaide shows how the seasons shape the daily timetable in the southern hemisphere.

Conclusion

The Islamic calendar is simple at heart: twelve lunar months, each beginning with a crescent, four of them sacred, counted from the Hijrah. The complications come from applying sighting in a connected world, and scholars have offered more than one valid answer. Learn the months, keep the sacred ones special, and follow your local authority for the dates that matter most.

To understand the events behind the calendar, from the Hijrah to the Farewell Hajj, explore our Seerah timeline and mindmap.

Keep learning:

  • Ramadan 2027: Expected Dates, Timetables and Preparation
  • Prayer Times Explained: How the Five Salah Times Are Set
  • Prayer Times in Australia: Sydney, Melbourne, Perth, Brisbane and Adelaide

Frequently asked questions

How many days are in the Islamic year?

An Islamic year has twelve lunar months of 29 or 30 days each, which adds up to about 354 or 355 days. That is around 11 days shorter than the 365-day solar year, so Islamic dates move about 11 days earlier in the Gregorian calendar each year.

What are the four sacred months in Islam?

The four sacred months are Dhul Qa'dah, Dhul Hijjah and Muharram, which come one after another, and Rajab, which falls between Jumada al-Akhirah and Sha'ban. They are named in a hadith in Sahih al-Bukhari, and the Quran in Surah at-Tawbah, verse 36, says four of the twelve months are sacred.

Why is the Hijri date different in different countries?

Months start with the sighting of the new crescent, and countries follow different methods: local sighting, regional or global sighting, following Saudi Arabia, or calculation. Weather and the moon's position also matter. As a result, the same Hijri date can fall on different days in different places.

When does the Islamic day begin?

The Islamic day begins at sunset. The night belongs to the following date, so the eve of a special day is already part of it. This is why the first taraweeh of Ramadan is prayed on the evening before the first fast, and why the Hijri date changes at Maghrib.

#islamic calendar#hijri#moon sighting#ramadan

Share this article

Masaajidh Editorial Team

Masaajidh Editorial Team

Masaajidh Editorial Team contributes to the Masaajidh Islamic Knowledge Blog.

Related Articles

Prayer Times Explained: How the Five Salah Times Are Set

Prayer Times Explained: How the Five Salah Times Are Set

Where the five daily prayer times come from, how calculators turn sun positions into minutes, and why your mosque timetable may differ from your app.

Read More
Adhan vs Iqamah: What Iqamah Times Mean and Why They Change

Adhan vs Iqamah: What Iqamah Times Mean and Why They Change

What the adhan and the iqamah each mean, why there is a gap between them, and why your mosque changes its congregation times through the year.

Read More
Islamic Calendar: Hijri Months and How Dates Are Set | Masaajidh