History of the Hijri Calendar: How the Islamic Dating System Began

Discover the complete history of the Hijri calendar, from pre-Islamic Arabian timekeeping and the abolition of Nasi to Caliph Umar's historic council and the adoption of the Hijrah as the Islamic era.

Every calendar system tells a story about what a civilization values most. The Gregorian calendar remembers Roman emperors and astronomical equinoxes. Ancient dynasties counted years by the reigns of their monarchs. Yet the Islamic calendar, known worldwide as the Hijri calendar, is anchored to an entirely distinct foundation. It began not with the creation of the cosmos, not with the birth of a prophet, and not with a military conquest, but with a perilous journey across the desert in pursuit of moral freedom and social justice.

That journey is the Hijrah: the migration of the Prophet Muhammad (peace be upon him) and his early followers from Makkah to the sanctuary of Yathrib, later renamed Madinat al-Nabi (the City of the Prophet), or simply Madinah. When the second Caliph, Umar ibn al-Khattab, gathered the community in 638 CE to establish an official dating standard for a burgeoning civilization, the choice of the Hijrah was deliberate and profound. It acknowledged that the true turning point in human history was the moment an oppressed group stepped forward to build an ethical society based on mutual covenant and divine law.

Today, Muslims across every continent rely on this lunar system to time their spiritual lives. It sets the dawn-to-dusk fast of Ramadan, the annual assembly of Hajj, the joy of Eid al-Fitr, and sacred remembrance during Muharram. Whether you are checking today’s Islamic date, planning a wedding, or using our date converter to align historical events, understanding the origins of this calendar reveals one of the most remarkable chapters in human timekeeping.

Quick Historical Summary

The Hijri calendar was formally established in the year 638 CE (17 AH) by the second Caliph, Umar ibn al-Khattab. After consulting leading companions such as Ali ibn Abi Talib and Uthman ibn Affan, the assembly agreed that year 1 of the Islamic era would mark the Prophet’s migration (Hijrah) to Madinah in 622 CE. Years in this system are designated as AH, meaning Anno Hegirae (in the Year of the Hijrah).

Timekeeping in Pre-Islamic Arabia: Named Years and Shifting Seasons

Before the establishment of the Hijri calendar, the Arabian Peninsula had no unified, numbered dating system. Time was local, descriptive, and fragmented. Bedouin tribes and urban merchants alike identified years by memorable local events rather than consecutive numbers. A year might be remembered as the Year of the Drought, the Year of the Great Flood, or the Year of the Treachery. If a tribal conflict erupted or an alliance formed, that episode served as the mental benchmark for the next decade.

The most famous example of this tradition is ‘Am al-Fil, the Year of the Elephant. This was the year Abraha, the Christian ruler of Yemen, marched toward Makkah with a war elephant intending to destroy the Kaaba, an event commemorated in Surah al-Fil in the Qur’an. Because the Prophet Muhammad was born in that same year, early biographers dated his birth to the Year of the Elephant, estimated by historians to have occurred around 570 CE. While this naming method carried poetic resonance, it was inherently fragile. As memories faded and tribal narratives clashed, precise record keeping became nearly impossible.

Furthermore, the calendar used by pre-Islamic Arabs was an unstable hybrid. While they recognized twelve traditional lunar months, their livelihood depended on seasonal commercial gatherings. Merchants held massive open-air trade fairs, such as Suq Ukaz and Majannah, during months when nomadic tribes gathered without fear of bloodshed. Because a pure lunar calendar falls behind the solar seasons by approximately 10 to 12 days every year, the pilgrimage and fairs gradually wandered through scorching summer, harvest autumn, and winter chill. To prevent this migration and keep fairs aligned with the harvest, pagan caretakers introduced a practice known as Nasi’.

The Practice of Nasi’ and Its Abolition in Islam

Nasi’ was a method of intercalation, where an extra thirteenth month was periodically inserted into the calendar every two or three years. In theory, this functioned much like the leap month in the Hebrew or Chinese calendars. In practice, however, it became an instrument of political manipulation and moral compromise.

Under the ancient Arabian code, four specific months were strictly sacred: Rajab, Dhu al-Qi’dah, Dhu al-Hijjah, and Muharram. During these intervals, all tribal warfare, revenge killings, and armed raiding were prohibited. This truce allowed merchants and pilgrims to travel desert highways safely. However, powerful clan leaders, known as the Qalamis from the Kinana tribe, held the sole authority to announce intercalation. Whenever warrior clans grew restless or wished to conduct a lucrative raid during a sacred month, they would lobby the calendar masters to declare that Muharram was postponed to the following month, effectively legalizing warfare under the guise of an adjusted calendar.

This arbitrary manipulation disrupted the divine sanctity of time. During the Farewell Pilgrimage in 10 AH (632 CE), the Prophet Muhammad addressed the gathering from the heights of Mount Arafat. A revelation in Surah At-Tawbah permanently resolved the matter:

“Postponement [of a sacred month] is indeed an addition to disbelief, by which those who disbelieve are led astray, so that they make it lawful one year and forbid it another year, in order to adjust the number of that which Allah has forbidden and make lawful what Allah has forbidden.”
Holy Qur’an, Surah At-Tawbah (9:37)

The Prophet declared in his Farewell Sermon that time had completed its natural celestial cycle and returned to the exact state in which God created the heavens and the earth. From that day forward, the Islamic calendar became an unyielding, purely lunar cycle of twelve months without intercalation, human tampering, or added leap months. If you wish to examine the individual character and spiritual meaning of each segment, you can explore our complete guide to the 12 Islamic months in order with meanings.

The Crisis of Bureaucracy in Year 17 AH

Following the passing of the Prophet in 11 AH, the Islamic community was led first by Abu Bakr As-Siddiq, who focused on safeguarding the stability of the Arabian Peninsula. When Umar ibn al-Khattab assumed the Caliphate in 13 AH (634 CE), the political landscape transformed with breathtaking speed. Within a few short years, the Muslim state expanded beyond the deserts into the former territories of the Byzantine and Sasanian Persian empires, spanning Syria, Egypt, Iraq, and western Iran.

Governing an empire required sophisticated administration. Caliph Umar established the Diwan, a centralized treasury and civil registry responsible for paying pensions to veterans, distributing welfare, collecting land taxes (kharaj), and dispatching imperial decrees. Letters and dispatches traveled thousands of miles between Madinah, Kufa, Basra, Damascus, and Fustat.

In this vast administrative machinery, the absence of an official dating system sparked immediate confusion. Two major incidents brought the crisis to a head in the year 16 or 17 AH:

First, Abu Musa al-Ash’ari, the governor of Basra in southern Iraq, sent an urgent dispatch to Caliph Umar. He noted that official instructions and financial documents arrived from the central capital bearing dates such as “issued in the month of Sha’ban.” Abu Musa asked: “O Commander of the Faithful, letters reach us mentioning Sha’ban, but we do not know whether it refers to this present year’s Sha’ban, the Sha’ban of the past year, or the Sha’ban of next year.”

Around the same time, an acute commercial dispute emerged in Madinah. A merchant presented a loan agreement stating that a debt was payable in the month of Sha’ban. The lender demanded payment immediately, claiming the date referred to the current month. The debtor protested that the contract referred to the Sha’ban of the coming year. Without an objective numbering system, the judges had no legal mechanism to verify which party was truthful.

Caliph Umar realized that an empire could not function on memory and seasonal guesswork. He immediately summoned the senior companions of the Prophet to Madinah for an emergency consultative assembly (Shura).

Why Pure Lunar Timekeeping Matters

Unlike solar calendars that match the earth’s orbit around the sun, the Islamic lunar year spans roughly 354 or 355 days. This difference creates an annual shift of about 10 to 11 days against the Gregorian calendar. To understand the mathematical mechanics and astronomical observation behind this cycle, read our detailed analysis on how the Hijri calendar works as well as why Islamic dates change every year.

The Shura Council: Debating the Starting Point of History

The assembly convened by Umar brought together the intellectual leaders of early Islam, including Ali ibn Abi Talib, Uthman ibn Affan, Talhah ibn Ubaydullah, and Sa’d ibn Abi Waqqas. Everyone agreed that an era must be established, but there was lively discussion regarding which landmark event should serve as year one.

Four distinct options were brought to the floor for deliberation:

1. The Birth of the Prophet (The Mawlid): Several attendees suggested dating the calendar from the birth of the Prophet Muhammad around 570 CE. While this idea carried deep affection, it was rejected for two compelling reasons. First, the exact calendar day and year of the Prophet’s birth were remembered with varying historical estimates. Second, the companions were cautious about imitating the Roman Christian practice of dating their calendar exclusively around the birth of a divine figure, preferring a benchmark rooted in the collective action of the community.

2. The Beginning of Revelation (The Bi’thah): Other companions suggested the momentous night when the Angel Jibril visited the Prophet in the cave of Hira, marking the descent of the first verses of the Qur’an around 610 CE. This proposal celebrated the spiritual illumination of mankind. However, the early years of prophecy were characterized by covert preaching, small private gatherings, and severe persecution. It was a time of individual trial rather than the birth of an organized public civilization.

3. The Passing of the Prophet (Wafat al-Nabi): A third group proposed dating the era from the year 11 AH (632 CE), when the Prophet passed away and Abu Bakr was selected as Caliph. This marked the point when direct divine revelation concluded and human stewardship took full responsibility. The council firmly rejected this choice because the passing of the Messenger of Allah was the most painful, heartbreaking day in the history of the Muslim community. To build a calendar upon grief and loss felt fundamentally at odds with the hopeful spirit of the faith.

4. The Migration to Madinah (The Hijrah): Ali ibn Abi Talib rose and championed a fourth option: the Hijrah. Ali argued that the migration in 622 CE represented the decisive division between falsehood and truth, between vulnerability and sovereignty, and between persecution and the establishment of a just, law-governed society.

Caliph Umar listened intently and agreed wholeheartedly with Ali. Umar declared to the assembly: “The Hijrah has separated truth from falsehood, so date your records from it.” With unanimous consent, the council established the Hijrah as the official epoch of the Islamic calendar.

Proposed Epoch Event Historical Date Spiritual Significance Council Outcome and Reasoning
Birth of the Prophet (Mawlid) ~570 CE (Year of Elephant) The arrival of the final Messenger on earth Rejected due to uncertain calendar day and desire to avoid imitating the Roman Christian model.
First Divine Revelation (Bi’thah) ~610 CE (Laylat al-Qadr) Beginning of the Holy Qur’an and prophetic mission Rejected because early years were marked by private isolation and persecution, not a public society.
Passing of the Prophet (Wafat) 632 CE (11 AH) Conclusion of revelation and start of the Caliphate Rejected because it represented deep sorrow, grief, and bereavement rather than a foundation for hope.
The Migration (Hijrah) 622 CE Birth of the Islamic state and an ethical community Adopted Unanimously. Commemorates the historic watershed when truth stood sovereign over injustice.

Selecting the First Month: Why Muharram?

Once the council decided that the year of the Hijrah was Year 1, a secondary question arose: which month should start the year? The historical migration did not take place in Muharram. The Prophet and Abu Bakr left Makkah in late Safar and safely entered the oasis of Quba on the outskirts of Madinah on the 12th of Rabi al-Awwal.

Some companions suggested that Rabi al-Awwal should be designated as the first month of the year to match the exact historical arrival. However, Uthman ibn Affan and Umar ibn al-Khattab offered a wise and practical counterproposal. They recommended preserving Muharram as the opening month of the calendar.

Their reasoning was grounded in the spiritual rhythm of the community. Muharram immediately follows Dhu al-Hijjah, the month of the Hajj pilgrimage. When pilgrims complete the intense rites of Arafat and Mina, their sins are forgiven and they return to their homelands spiritually reborn, ready to begin life afresh. Setting Muharram as the new year provided a natural, clean spiritual slate. Moreover, Muharram had traditionally been recognized as the first month among Arabs for generations, meaning the population would not have to unlearn their familiar sequence of months.

Consequently, the council backdated the calendar by approximately two months from the Prophet’s arrival in Madinah, fixing the first day of Muharram, Year 1 AH, to the corresponding date of Friday, July 16, 622 CE in the Julian calendar. With that decision, the Hijri calendar took the form we know today.

Spread and Standardization Across Islamic Civilizations

Following Umar’s decree, the Hijri calendar was systematically integrated into every facet of statecraft. During the Umayyad Caliphate (661-750 CE), Caliph Abd al-Malik ibn Marwan instituted broad administrative reforms that replaced Greek and Persian script with Arabic and minted the first purely Islamic coinage. Gold dinars and silver dirhams were struck with Quranic verses alongside the exact Hijri year, distributing the dating standard from the Iberian Peninsula to the Indus Valley.

During the Abbasid Golden Age in Baghdad, Cairo, and Cordoba, the Hijri calendar catalyzed remarkable advancements in mathematics and astronomy. Scholars like Al-Khwarizmi, Al-Battani, and Al-Biruni studied lunar orbital mechanics with astonishing precision. Because the start of an Islamic month depends on sighting the crescent moon (Hilal) rather than a fixed mechanical formula, astronomers compiled sophisticated astronomical tables, known as Zij, to forecast the exact altitude, elongation, and visibility windows of the new moon.

Muslim rulers recognized, however, that lunar timekeeping required careful coordination with agriculture. Because crops ripen according to the sun, collecting land taxes on an exclusively lunar cycle created difficulties for farmers. To solve this, major empires developed complementary solar fiscal calendars. The Abbasids adjusted tax collection according to the Persian solar calendar, the Ottoman Empire established the Rumi solar calendar alongside the official Hijri calendar, and the Mughals in India utilized the Fasli solar cycle for harvest revenue. Yet in every empire, legal deeds, royal decrees, religious holidays, and historical chronicles remained strictly bound to the sacred Hijri system.

Historical Feature The Hijri Calendar (AH) The Gregorian Calendar (CE)
Starting Epoch 622 CE (The Migration from Makkah to Madinah) Estimated birth of Jesus Christ (traditionally 1 CE)
Astronomical Basis Pure Lunar (phases of the moon) Pure Solar (orbit of the Earth around the sun)
Average Year Length 354.36 days (354 or 355 days) 365.24 days (365 or 366 days)
Seasonal Relationship Rotates backward across all 4 seasons every 33 solar years Fixed to solstices and equinoxes via leap days
Primary Purpose Religious observances, moral benchmarks, historical chronology Civil administration, agriculture, global commerce

The Modern Era: Astronomical Calculation and Crescent Sighting

In our modern world, the Hijri calendar remains as vital as ever for nearly two billion Muslims. At the same time, the transition into the telecommunications age has sparked vibrant scholarly discussions on how months should be verified across international borders.

Traditionally, each locality determined the beginning of a month by sending observers to spot the crescent moon with the naked eye on the 29th evening of the preceding month. If the moon was seen, the new month began; if clouds obscured the sky, the current month completed 30 days. This practice directly follows the guidance of the Prophet: “Fast when you see it and break your fast when you see it, and if it is obscured, then complete thirty days.”

Today, global connectivity allows Muslims to monitor moon sightings instantly across continents. Two main schools of thought have developed in contemporary times:

The first school upholds traditional physical sighting (Ru’yah), insisting that optical verification by reliable witnesses remains an unalterable religious requirement. Countries like Pakistan, Morocco, and Oman operate national sighting committees with high-powered telescopes and spotters across multiple observation posts.

The second school embraces astronomical calculation (Hisab). Scholars of this persuasion argue that modern astrophysics can calculate the precise birth of the new moon and its visibility threshold with pinpoint accuracy. Proponents point out that the Prophet recommended visual observation because the early community was illiterate and could not calculate celestial orbits; now that humanity possesses accurate knowledge, calculation fulfills the underlying intent of certainty.

A prominent modern example is the Umm al-Qura calendar of Saudi Arabia. Used as the official civil calendar of the Kingdom, it relies on an astronomical formula based on the coordinates of the Holy Kaaba in Makkah: if astronomical conjunction occurs before sunset and the moon sets after sunset in Makkah, the new month officially begins the following day. For key religious observances like Ramadan and Hajj, official verification is confirmed through dedicated supreme court sighting sessions.

To discover how many days make up an individual month and how astronomers determine these durations, take a look at our detailed breakdown on how many days are in a Hijri year and Hijri month.

Track Your Important Milestones

Did you know that because a lunar year is eleven days shorter than a solar year, your age in Hijri years is slightly older than in Gregorian years? For every 33 solar years, you live approximately 34 lunar years. You can easily find your exact Islamic birth date and age with our free Islamic age calculator.

The Enduring Meaning of the Hijri Calendar

More than fourteen centuries after Caliph Umar and the companions gathered in Madinah, the Hijri calendar continues to bind the global Muslim community together across geography, language, and culture. Its existence serves as a perpetual reminder of what the Hijrah stood for.

The migration was an act of profound sacrifice. Men and women left their homes, ancestral lands, and wealth behind to build an inclusive community where the weak were protected, honest commerce was upheld, and worship was directed solely to the Creator. When a Muslim writes a Hijri date on a legal contract, checks the date for Friday prayer, or counts down the days to Ramadan, they are connecting their daily routine to that seminal moment of spiritual resilience.

In a world dominated by industrial clocks and economic cycles, the Hijri calendar invites us to look up at the night sky. It anchors human life to the gentle, unhurried glow of the crescent moon, whispering that time is not merely a resource to be consumed, but a sacred journey toward justice, gratitude, and divine closeness.

Frequently Asked Questions

Who officially started the Hijri calendar?

The Hijri calendar was officially established in 638 CE (17 AH) by Umar ibn al-Khattab, the second Caliph of Islam. Following administrative confusion over undated letters from provincial governors, Umar convened a consultative council of leading companions, including Ali ibn Abi Talib and Uthman ibn Affan, who unanimously decided to establish a numbered Islamic era starting with the migration to Madinah.

What does AH stand for in Islamic dates?

AH stands for the Latin phrase Anno Hegirae, which translates to “In the Year of the Hijrah.” It denotes dates counted from the migration of the Prophet Muhammad from Makkah to Madinah in 622 CE. It is the Islamic counterpart to AD (Anno Domini) or CE (Common Era).

Why does the Hijri year begin with Muharram instead of Rabi al-Awwal?

Although the Prophet Muhammad arrived in Madinah during the month of Rabi al-Awwal, the companions chose Muharram as the first month because it immediately follows the month of Hajj (Dhu al-Hijjah). When pilgrims conclude the Hajj, they return home purified of past sins, making Muharram a natural spiritual clean slate. Additionally, Muharram had already been recognized as the opening month by Arabs for generations.

Why is the Islamic calendar purely lunar?

The Islamic calendar follows pure lunar cycles of twelve months without intercalation (adding leap months) in accordance with the Qur’an (Surah At-Tawbah 9:36-37). During the Farewell Pilgrimage in 10 AH, the Prophet Muhammad abolished the pagan practice of Nasi’, fixing the calendar to natural lunar cycles of 29 or 30 days.

How does the Hijri year differ from the Gregorian year?

A Gregorian solar year has 365 or 366 days and remains aligned with the seasons. A Hijri lunar year has 354 or 355 days, making it about 10 to 11 days shorter. Because of this difference, Islamic months rotate through all four seasons over an approximate 33-year cycle, allowing believers around the world to experience religious observances in every season.

Share the Post:

Related Posts