HixtoryBETAView on the map

EventMuhammad and the Formation of Islam

The Hijra: From Mecca to Medina

622 CE · Medina Muslim Community · Medina (Yathrib)
Today: Medina, Saudi Arabia

In 622, Muhammad and his followers left Mecca for Medina (Yathrib). This move, the Hijra, founded the Muslim community and began the Islamic calendar.

What happened

In 622, Muhammad and the Muslims left Mecca to escape persecution and moved to the city of Yathrib to the north. This event is called the Hijra. Yathrib became Medina, the "City of the Prophet," and that year became the first year of the Islamic calendar.

More detail

Two sources checked

Why it happened

As persecution in Mecca grew worse, the people of Yathrib, tired of tribal feuds, invited Muhammad to be a leader who could settle their disputes. Pilgrims from Yathrib near Mecca promised to protect Muhammad.

What happened

From the summer of 622, Muslims left quietly for Yathrib in small groups. Muhammad was the last to slip out of Mecca, together with his friend Abu Bakr, and reached Yathrib in September. The believers who had moved first were called the 'Muhajirun' (the emigrants), and the people of Medina who welcomed them were called the 'Ansar' (the helpers).

What came of it

For the first time, the Muslims had a self-governing community. Later the caliph Umar set this year as the first year of the Islamic (Hijri) calendar, and even today the Islamic world uses this calendar to fix the dates of Ramadan and the pilgrimage.

People in this event

Related buildings and heritage