The Islamic Hijri calendar is a lunar calendar of 12 months. Each month begins with the new crescent moon, so a Hijri year has 354 or 355 days, about 11 days fewer than the solar year. Its years are counted from the Hijrah, the Prophet Muhammad’s ﷺ migration from Makkah to Madinah in 622 CE, which is why Hijri dates carry the letters AH, from the Latin Anno Hegirae, “in the year of the Hijrah.”
Muslims use it to date Ramadan, the two Eids, Hajj and other acts of worship.
The 12 Islamic Calendar Months in Order
| Month | Meaning of the name, and notes |
|---|---|
| 1. Muharram ٱلْمُحَرَّم | Named as a sacred month. One of the four sacred months; the 10th is the Day of Ashura (why Muharram matters). |
| 2. Safar صَفَر | From “empty”: homes were left empty when people went out to travel or fight. |
| 3. Rabi‘ al-Awwal رَبِيع ٱلْأَوَّل | Linked to staying at home rather than traveling; rabi‘ also means spring. The month of the Hijrah and of the Prophet’s ﷺ death; his birth is traditionally dated to it (its significance). |
| 4. Rabi‘ al-Thani رَبِيع ٱلثَّانِي | Same origin as Rabi‘ al-Awwal. Also called Rabi‘ al-Akhir. |
| 5. Jumada al-Ula جُمَادَى ٱلْأُولَى | From “freezing”: named when water froze. |
| 6. Jumada al-Akhirah جُمَادَى ٱلْآخِرَة | Same origin. Also called Jumada al-Thaniyah. |
| 7. Rajab رَجَب | From “veneration.” One of the four sacred months. |
| 8. Sha‘ban شَعْبَان | From “scattering”: the tribes dispersed. The month before Ramadan (see Shab e Barat). |
| 9. Ramadan رَمَضَان | From “intense heat.” The month of obligatory fasting (preparing for Ramadan). |
| 10. Shawwal شَوَّال | From camels raising their tails. Eid al-Fitr falls on the 1st. |
| 11. Dhul-Qa‘dah ذُو ٱلْقَعْدَة | From “sitting”: people rested from fighting and travel. One of the four sacred months. |
| 12. Dhul-Hijjah ذُو ٱلْحِجَّة | The month of Hajj. One of the four sacred months, with Eid al-Adha on the 10th (its first ten days). |
The meanings of the names follow Ibn Kathir’s tafsir (4/128-129), via IslamQA 211395, which records how the Arabs named the months before Islam. Because the calendar is lunar, the months no longer match the seasons that gave them their names.
A Calendar of Twelve Lunar Months
The Quran states that the year has twelve months, four of them sacred:
إِنَّ عِدَّةَ ٱلشُّهُورِ عِندَ ٱللَّهِ ٱثْنَا عَشَرَ شَهْرًا فِى كِتَـٰبِ ٱللَّهِ يَوْمَ خَلَقَ ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضَ مِنْهَآ أَرْبَعَةٌ حُرُمٌ“Indeed, the number of months with Allāh is twelve [lunar] months in the register of Allāh [from] the day He created the heavens and the earth; of these, four are sacred.”
Quran 9:36, translation: Sahih International.
Elsewhere the Quran describes the new moons as “measurements of time for the people and for Hajj” (Quran 2:189) and says the moon was given phases “that you may know the number of years and account [of time]” (Quran 10:5).
How Each Month Begins
A Hijri month lasts 29 or 30 days. Traditionally it begins when the new crescent is seen after sunset. The Prophet ﷺ tied the start and end of Ramadan to sighting the moon, and said that if it is hidden by cloud, the month of Sha‘ban should be completed as thirty days (Sahih al-Bukhari 1909).
Today some countries publish a calculated calendar for civil use, such as Saudi Arabia’s Umm al-Qura calendar, while many communities still rely on sighting for Ramadan and the Eids. That is why the same Islamic date can fall on different days in different countries.
When and Why the Hijri Calendar Began
The calendar was adopted during the caliphate of Umar ibn al-Khattab, in 16 AH according to the most common report, with 17 and 18 AH also given. Historians relate that a dispute over a debt due “in Sha‘ban” raised the question of which year’s Sha‘ban was meant, and Umar consulted the Companions about a fixed system of dates. They considered the Prophet’s birth, the start of his mission, the Hijrah and his death, and chose the Hijrah (IslamQA 176819, citing Ibn Kathir’s al-Bidayah wa al-Nihayah).
The Companion Sahl ibn Sa‘d summed up the decision:
مَا عَدُّوا مِنْ مَبْعَثِ النَّبِيِّ ﷺ وَلاَ مِنْ وَفَاتِهِ مَا عَدُّوا إِلاَّ مِنْ مَقْدَمِهِ الْمَدِينَةَ“They did not count from the Prophet’s mission, nor from his death; they counted only from his arrival in Madinah.”
Sahih al-Bukhari 3934, narrated by Sahl ibn Sa‘d. The English is QuranHost’s rendering.
They kept Muharram as the first month of the year. The Prophet ﷺ actually reached Madinah in Rabi‘ al-Awwal, the third month, so the first year of the calendar began a little earlier, on 1 Muharram, which corresponds to July 16, 622 CE.
Why Islamic Dates Move Through the Seasons
Because the lunar year is about 11 days shorter than the solar year, each Islamic date arrives about 11 days earlier in the Gregorian calendar every year. Ramadan, for example, moves through every season and returns to roughly the same time of the solar year about every 33 years.
For the same reason, a Hijri year number does not convert by simple subtraction: 1448 AH runs from June 16, 2026 to June 5, 2027 on the Umm al-Qura calendar.
The Four Sacred Months
The Quran does not list the four sacred months by name. The Prophet ﷺ named them:
السَّنَةُ اثْنَا عَشَرَ شَهْرًا مِنْهَا أَرْبَعَةٌ حُرُمٌ ثَلاَثَةٌ مُتَوَالِيَاتٌ ذُو الْقَعْدَةِ وَذُو الْحِجَّةِ وَالْمُحَرَّمُ وَرَجَبُ مُضَرَ الَّذِي بَيْنَ جُمَادَى وَشَعْبَانَ“The year is twelve months, four of which are sacred: three in succession, Dhul-Qa‘dah, Dhul-Hijjah and Muharram, and Rajab of Mudar, which comes between Jumada and Sha‘ban.”
Sahih al-Bukhari 3197, narrated by Abu Bakrah. The English is QuranHost’s rendering.
Read more about the first of them in our guide to why Muharram is important in Islam, and about the third month in the significance of Rabi‘ al-Awwal.
Related reading: why Muharram is important in Islam, and the significance of Rabi al-Awwal. To learn more with a teacher, see our Islamic teachings course.
