Skip to the content
Independent guide. Not the Ministry of Hajj and Umrah, and not any government body. Official sites →
Makkah

The history of Makkah

Makkah began, in Islamic tradition, as a dry valley where Hajar and her infant son Ismail were left and the well of Zamzam appeared. Over the centuries it grew from a trading town around a sanctuary into the city of a world religion, receiving millions of visitors every year.

Origins and the Quraysh

Muslims trace the city's beginning to the Prophet Ibrahim, who left Hajar and Ismail in the valley at God's command. Hajar's search for water between Safa and Marwah, remembered in sa'i, ended with the spring of Zamzam, and the Jurhum tribe settled beside it. Ibrahim and Ismail later raised the Kaaba, and the pilgrimage began. The fuller story is told in the history of Hajj.

Over time the worship of idols took hold around the Kaaba. By the sixth century the tribe of Quraysh controlled Makkah and grew rich on caravan trade between Yemen and Syria, and on the annual pilgrimage, which the tribes of Arabia still made to the sanctuary. The Quran recalls the Year of the Elephant, around 570, when an army from Yemen led by Abraha marched on Makkah to demolish the Kaaba and was destroyed before it could do so, as Surah al-Fil recounts.

The Prophet's life in Makkah

The Prophet was born in Makkah into the clan of Banu Hashim, around the Year of the Elephant. Orphaned young, he was raised by his grandfather Abd al-Muttalib and then by his uncle Abu Talib, and became known in the city as al-Amin, the trustworthy. He married Khadijah, a respected merchant; the site of her house lies close to the mosque today.

Around 610, while he was in retreat in the Cave of Hira on Jabal al-Nour, the first verses of the Quran were revealed. For three years he called people privately; then he preached openly. The message that there is no god but God, and its call to justice for the poor and weak, threatened the leaders of Quraysh, whose power rested on the shrine. Early Muslims, especially those without tribal protection, were persecuted, and some emigrated to Abyssinia. Around 616 the clan of Banu Hashim was boycotted and confined to a valley for about three years. In 619, the Year of Sorrow, both Khadijah and Abu Talib died.

Hijrah and return

In 622, after the people of Yathrib had pledged to protect him, the Prophet left Makkah with Abu Bakr, hiding first in the Cave of Thawr before travelling north. This migration, the Hijrah, marks the start of the Islamic calendar, and the story continues on the history of Madinah page.

In 628 the Muslims set out to perform Umrah but were stopped at Hudaybiyyah, where a truce was agreed, and they made the pilgrimage the following year. When allies of Quraysh broke the truce, the Prophet marched on Makkah in Ramadan of 630 with a large army. The city surrendered with very little fighting. He cleared the idols from the Kaaba and granted a general amnesty to the people who had driven him out. In 632 he performed his only Hajj, the Farewell Pilgrimage, and died in Madinah a few months later.

Caliphs, sharifs and sultans

Political power moved away from the Hijaz, first to Kufa and Damascus and then to Baghdad, but Makkah's religious standing only grew. The city was besieged in the civil wars of 683 and 692. In 930 the Qarmatians sacked it during Hajj and carried off the Black Stone, which was returned some twenty years later. From the tenth century local rulers descended from the Prophet's family, the Sharifs of Makkah, governed the city under the protection of whichever power held Egypt or the Hijaz: the Fatimids, the Mamluks, and from 1517 the Ottoman sultans, who rebuilt the arcades of the mosque and sent the kiswah each year.

In 1916 the Sharif Hussein bin Ali led the Arab Revolt against the Ottomans and declared himself king of the Hijaz. In 1924 Makkah was taken by the forces of Abdulaziz ibn Saud, and in 1932 the Hijaz became part of the Kingdom of Saudi Arabia.

The modern city

The twentieth century transformed Makkah. Air travel and oil wealth brought pilgrims in numbers never seen before, and the Saudi state rebuilt Al-Masjid al-Haram in three great expansions. Much of the old city, with its Ottoman-era houses, was cleared for the mosque, roads and hotels; the Abraj Al Bait towers, completed in 2012, now overlook the Kaaba. Today Makkah has a population of around 2.4 million (2022 census), and its life still turns on the rhythm of prayer, Umrah and the yearly Hajj.

Sources

Page updated 2026-11-21