Skip to content
Did You Know?

Why Ramadan moves every year: the Islamic calendar

If you have noticed Ramadan arriving earlier each year, the reason is the Islamic calendar. It follows the moon, not the sun, so its months move through the seasons over time.

التَّقْوِيم الْهِجْرِي
At-Taqwim al-Hijri
The Hijri calendar

A lunar calendar

Each Islamic month begins with the sighting of the new crescent moon, and lasts 29 or 30 days. Twelve lunar months add up to about 354 or 355 days, which is around 11 days shorter than the solar year of 365 days.

That difference is why Ramadan, Eid and Hajj each move about 11 days earlier in the Gregorian calendar every year. Over roughly 33 years, Ramadan passes through every season.

Twelve months

The Quran confirms the number of months:

إِنَّ عِدَّةَ الشُّهُورِ عِندَ اللَّهِ اثْنَا عَشَرَ شَهْرًا فِي كِتَابِ اللَّهِ يَوْمَ خَلَقَ السَّمَاوَاتِ وَالْأَرْضَ مِنْهَا أَرْبَعَةٌ حُرُمٌ

“Indeed, the number of months with Allah is twelve months in the register of Allah from the day He created the heavens and the earth; of these, four are sacred.”

Quran 9:36
  • مُحَرَّم Muharram
  • صَفَر Safar
  • رَبِيع الْأَوَّل Rabi‘ al-Awwal
  • رَبِيع الثَّانِي Rabi‘ ath-Thani
  • جُمَادَى الْأُولَى Jumada al-Ula
  • جُمَادَى الْآخِرَة Jumada al-Akhirah
  • رَجَب Rajab
  • شَعْبَان Sha‘ban
  • رَمَضَان Ramadan
  • شَوَّال Shawwal
  • ذُو الْقَعْدَة Dhul-Qa‘dah
  • ذُو الْحِجَّة Dhul-Hijjah

The four sacred months

The Prophet ﷺ named the four sacred months in his farewell sermon: Dhul-Qa‘dah, Dhul-Hijjah and Muharram, which come one after another, and Rajab (Sahih al-Bukhari 3197).

Why it is called Hijri

The calendar counts years from the Hijrah, the migration of the Prophet ﷺ from Makkah to Madinah in 622 CE. The caliph ‘Umar ibn al-Khattab established this as the starting point. Years are marked AH, from the Latin Anno Hegirae, “in the year of the Hijrah”.

What some month names mean

  • Ramadan: from the root ر م ض, linked to intense heat
  • Shawwal: linked to lifting or raising
  • Muharram: “forbidden” or “sacred”, as one of the sacred months
  • Dhul-Hijjah: “the one of the Hajj”, the month of pilgrimage
  • Rabi‘: “spring”

The names were given before the calendar became purely lunar, so they no longer match the seasons. Ramadan can fall in winter, and Rabi‘ is not always in spring.

FAQ

Frequently asked questions

Can’t find what you’re looking for? Our support team is happy to help.

Contact support
Why does Ramadan come earlier every year?

The Islamic calendar is lunar, with about 354 days a year, roughly 11 days shorter than the solar year.

How many months are in the Islamic calendar?

Twelve, as stated in Quran 9:36.

What are the four sacred months?

Dhul-Qa‘dah, Dhul-Hijjah, Muharram and Rajab (Sahih al-Bukhari 3197).

Learn on the go

Understand the Quran in its own language

Learn Arabic to understand the Quran, step by step, with 200+ video lessons. Your first 3 lessons are free.

Requires iOS 15 or later, or Android 8.0 Oreo and above.

Or learn in your browser
Path to Arabic app showing Lesson 1 with Video, Quran Connect, Engage and Unlock steps