At a glance
- Era
- The Rashidun Caliphate
- Region
- Arabia

Quick facts
- Domain
- Timekeeping
- Kind
- System
- First attested
- between 637 and 639 CE
- Era
- First century of Islam
- Attribution
- Improvement
Who made it
- Umar ibn al-Khattab Commissioner
The claim and its basis
The twelve-month lunar year existed before Islam; the documented Muslim contribution is abolishing intercalation, anchoring the era to the Hijra and fixing month names.
Calendar and hadith sources describe pre-Islamic intercalation and its abolition under Umar, while the lunar months remain; we do not credit the Companions with a modern computation they did not transmit.
Sources: Takvim — A. Necati Akgur, TDV · Britannica — Islamic calendar · Calendars in the Islamic period — Reza Abdollahy, Iranica · al-Farghani, Elementa astronomica (Golius, Amsterdam 1669)
Before it
- The twelve-month lunar year with nesî intercalation deferring the sacred months
How it works
Summary
The Hijri calendar is a twelve-month lunar calendar used across the Muslim world to fix worship, festivals and documents. It has no intercalary month; months are fixed by the legal sighting of the crescent rather than a fixed computational rule, and its era begins at the Prophet's migration from Mecca to Medina. The sources read describe this system and its early history, but give no single enactment document with a precise date; the era was fixed in the Rightly Guided caliphate period around the seventh century CE, not on one named day. 1 2 3
What distinguishes it from other calendars is that it does not follow the seasons: the lunar year is about eleven days shorter than the solar year, yet its months remain tied to the lunar months rather than being moved back to the same solar date every year. This difference is what makes it a Hijri lunar calendar, not a Julian or solar one. 1 3
What it is
The Hijri calendar is a composite time system: a year of twelve lunar months, each beginning with the sighting of the crescent after sunset, with months alternating between twenty-nine and thirty days according to completion and sighting, and the year ranging between 354 and 355 days. There is no fixed rule saying which month is twenty-nine and which is thirty; that is settled by sighting and by the documented gap between computation and observation. 1 3
The era begins at the Prophet's migration from Mecca to Medina, the point to which all dates are referred. The name Hijri derives from that migration; it is not merely a geographical label but an institutional decision that made the migration the foundation of Islamic time. 2 3
The world before it
Before Islam the Arabian Peninsula also had a lunar time system, but with "nasi'": the insertion of an extra month in some years to postpone the sacred months from their actual dates. This practice shifted the sacred months away from their known days, and Islam abolished it in text and practice. The pre-Islamic calendar was not alien to the Moon; what was new was abolishing intercalation, anchoring the era to the Hijra and fixing the twelve month names. 1 3
The core difference between the old system and the Hijri calendar is that nasi' was an "insertion" of an extra month that changed the order of the sacred months, while the Hijri kept the order fixed: twelve months of fixed names, with no extra month inserted no matter how long time passed. This constancy is what made it a "system" rather than a mere monthly count. 1 3
The story
Calendar and hadith books report that Umar ibn al-Khattab (may God be pleased with him) consulted the Companions on how to date events, and they proposed dating from the Prophet's migration; the migration was adopted as the era's foundation. This decision brought the Hijri calendar into official use, and months and years came to be counted from 1 Muharram of the first year of the Hijra. 1 3
After that new questions arose: is computation enough or must the crescent be sighted? And how are months fixed when sighting is impossible? Legal and astronomical books addressed these issues, and historians and astronomers wrote the Hijri calendar as a separate chapter. 1 4
The maker(s)
The documented role here belongs not to a single scholar but to an institutional decision: Umar ibn al-Khattab is the figure to whom hadith and calendar literature credit the fixing of the dating question and the adoption of the Hijra as the era. This is a "commissioner" rather than a modern "inventor"; the lunar months predate Islam, and the contribution is abolishing nasi', anchoring the era and fixing the names. 1 3
A second, scientific role belongs to later astronomers: al-Farghani, for example, computed the lunar year as 354 days and found increments every thirty years, continuing to regulate the calendar without claiming to have invented it. This distinction between founder and timekeeper preserves the chain of making. 4
How it works
The lunar calendar works on a simple but precise principle: each month begins when the crescent is sighted after sunset on the first possible night. Astronomers compute that the mean lunar month is 29.530588 days, alternating between 29 and 30 according to sighting. The resulting year is 354.367 days, that is 354 days, 8 hours, 48 minutes and 33 seconds. 4 1
Because the lunar year is about eleven days shorter than the solar year, the Hijri months advance each year against the seasons. This is not corrected by a leap system but left as it is; the calendar is designed to remain lunar, not solar. 1 3
The spread
The Hijri calendar spread with the spread of Islam and became the official or recognised calendar in many countries. Its use has continued in worship, festivals and official documents, and in states that keep a dual calendar the Hijri appears beside the Gregorian or solar one. 1 3
The calendar also reached non-Muslim countries through orientalists, merchants and diplomats, becoming a world-known Islamic calendar with printed editions in Arabic, English, French, Turkish and other languages. 1
Within the Muslim world itself, different states used it in varying ways: some adopted it as the sole official calendar, some made it secondary beside a solar or Gregorian calendar, and some kept it as a religious calendar for worship and occasions rather than commerce. This diversity of use does not negate the system's unity; it shows a flexible system meant to live in different societies. 1 3
What it was built on
The calendar rests on three pillars: the Moon as a visible time axis, the pre-Islamic nasi' that was abolished, and the institutional decision in Umar's reign. Legal texts drew on verses and hadith about fasting Ramadan and fixing months, but we do not quote religious text here; we describe the time frame that produced the calendar. 1 3
Later astronomers built on it: al-Farghani, for instance, computed the lunar year's length and found increments every thirty years, which does not mean he invented the calendar but that he documented its computation. 4
What was built on it
The Hijri calendar became the basis on which the five prayers, Ramadan fasting, the festivals, the rites and official history in many countries are reckoned. Every historical event in the Muslim world is dated "AH", and many contracts and official documents carry the Hijri date. 1 3
Astronomers built prayer-time tables and season calculations on it, historians ordered events by it, and jurists relied on it to fix the seasons of worship. 1
Impact on daily life
For the ordinary Muslim the Hijri calendar is not merely a dating system but a "clock" that fixes when to fast, when to celebrate and when to travel. The monthly sighting of the crescent at sunset is the event that starts the month, so almost every family knows whether it will be 29 or 30 days before the month completes. 1 3
In states with dual calendars the Hijri and Gregorian are printed side by side in newspapers, school calendars and official documents. 1
How it changed history
Without the Hijri calendar, Islamic history would have depended on many local calendars, and unifying dates across the Muslim world would have been difficult. Abolishing nasi' and anchoring the era to the Hijra made it one coherent calendar, which allowed a unified history of the community to be written. 1 3
The calendar also preserved collective memory: every Hijri year carries major events, from the conquest to wars to renaissances, and the Hijri date is what links them all. 1
The calendar also had a deep effect on science itself: astronomers who computed prayer times and seasons needed a precise understanding of the lunar cycle, so lunar computation and crescent astronomy flourished. Books such as al-Farghani's "Elements" documented these computations, so the calendar is not only a civil calendar but a driver of Islamic astronomy. 4 1
Who invented it?
There is no single "inventor" of the Hijri calendar in the modern sense; the lunar months are ancient, and the institutional decision in Umar's reign is what made them a unified calendar. The more precise question is: who fixed the lunar-month system and anchored it to the Hijra? The documented answer: Umar ibn al-Khattab and his Companions, with later roles for astronomers and jurists. 1 3
Some researchers attribute the abolition of nasi' to an explicit Qur'anic verse, but we do not quote religious text here; what matters is that the decision was institutional, not individual, and the calendar arose from consensus rather than one scholar. 1
Today
Today the Hijri calendar is still officially used in many Muslim-majority states and printed in calendars and prayer-time data. States with dual calendars place the Hijri and Gregorian side by side, and states with a single calendar use the Hijri alone. 1 3
Modern astronomical centres compute month beginnings mathematically, but legal sighting remains the criterion in many countries. This coexistence of computation and sighting is the tension the calendar was designed for. 1
Surviving examples
There is no single "artefact" of the calendar; there are printed calendars from every era, calculating evidence in manuscripts, and old astronomical tables. Al-Farghani, for example, wrote computations of the lunar year in his book; these are not a calendar in themselves but evidence that astronomers were using the calendar in their calculations. 4 1
Printed calendars from the nineteenth and twentieth centuries exist in libraries, some Hijri-only and some dual. These material pieces prove continuity of use, not "invention". 1
In culture
The Hijri calendar is not merely a computing tool but part of cultural identity: every religious or national occasion is dated by it, and every historical writing uses it. 1 3
In popular literature and memoirs the Hijri date is what links events: "in such-and-such a Hijri year such-and-such happened". This everyday use is the strongest proof that the calendar is a successful "invention". 1
For young readers
Imagine you have a special clock that does not follow the Sun but follows the Moon. Each month begins when you see a small crescent in the sky after sunset. The year has 12 months, and each month is 29 or 30 days. This is the Hijri calendar that Muslims have used for more than fourteen hundred years. 1 2
Prayer, fasting and festivals all follow this calendar. When Ramadan ends, twenty-nine or thirty days have passed since the month began, and this differs every year because the Moon does not follow a fixed schedule. 1 3
References
- TDV takvim article: sections on the Hijri calendar's structure, history and use.
- Britannica, Islamic calendar: adoption of the Hijri era and its lunar basis.
- Iranica calendars, Abdollahy: Hijri calendar history and intercalation abolition.
- Farghani, Elements of Astronomy pp. 130–131: later lunar-year arithmetic only.
Sources
- Takvim — A. Necati Akgur, TDV , sections
- Britannica — Islamic calendar
- Calendars in the Islamic period — Reza Abdollahy, Iranica , hijri section
- al-Farghani, Elementa astronomica (Golius, Amsterdam 1669) , pp. 130–131
Cite this page
islam.museum contributors. “The Hijri lunar calendar”. islam.museum, https://islam.museum/en/invention/hijri-lunar-calendar/. CC BY-SA 4.0. Last updated 2026-11-15.
Improve this page on GitHub · Report an error · Help complete it · JSON