The Badshahi Mosque (“Imperial Mosque”) in Lahore is one of the largest and best-known mosques of the Mughal age. It was commissioned by the emperor Aurangzeb and built of red sandstone and white marble between 1671 and 1673, opposite the Lahore Fort. It survived a time when it served as a stable and a garrison, and today it is again a place of prayer for great numbers of worshippers.
Aurangzeb’s imperial mosque
The Badshahi Mosque was commissioned by the Mughal emperor Aurangzeb, also known as Alamgir (reigned 1658–1707). Its building was overseen by his foster brother, the governor of Lahore Muzaffar Hussain, known as Fidai Khan Koka. According to Wikipedia and the Punjab Auqaf Department, the work lasted from 1671 to 1673; the gateway inscription, according to UNESCO and Archnet, bears the year 1084 AH, that is 1673–74.
The sources also differ on the reason for building it: Wikipedia links it to Aurangzeb’s military campaigns in southern India, while Archnet says it was raised also to house relics attributed to the Prophet ﷺ. Its plan follows the Jama Masjid of Delhi built by Shah Jahan, but on a much larger scale. According to Wikipedia, it was the largest mosque of the Mughal era and for more than three centuries the largest mosque in the world, until the late 20th century.
By the Lahore Fort and the Hazuri Bagh
The mosque stands opposite the Lahore Fort, next to its western wall. Between them lies the rectangular Hazuri Bagh garden: on its western side is the entrance to the mosque, on its eastern side the Alamgiri Gate, the entrance to the fort, also commissioned by Aurangzeb. On the southern side of the garden is the Roshnai Gate, one of the thirteen original gates of Lahore.
In the garden, facing the mosque, stands the marble pavilion of the Hazuri Bagh Baradari, built in 1818 by the Sikh ruler Ranjit Singh. Near the mosque’s entrance, north of the gateway, are the tomb of the poet and thinker Muhammad Iqbal and the tomb of Sikandar Hayat Khan, the Premier of the Punjab who did much to restore the mosque.
The mosque and its courtyard stand on a plinth reached by a flight of 22 steps. The two-storey red sandstone gateway has a muqarnas and an inscription in inlaid marble: “Masjid Abul Zafar Muhy-ud-Din Mohammad Alamgir Badshah Ghazi”.
Photo: Idaudpota, M.junaid0906, Fassifarooq, Abdulmutlib12 · CC BY-SA 4.0, CC BY-SA 3.0 · Wikimedia Commons · Wikimedia Commons
The building
The complex covers a square of 170 × 170 metres. The vast courtyard of about 25,600 m² is enclosed by single-aisled arcades. According to Wikipedia, when it is used as an Eidgah for the Eid prayers it holds 100,000 worshippers, and the prayer hall holds 10,000. According to the Punjab Auqaf Department, a pool of water lies in the middle of the courtyard.
The building is of red sandstone with white marble inlay and carving. Three marble domes rise above the prayer hall, the central one the largest, and its interior is adorned with floral motifs and cartouches in painted stucco, frescoes and marble inlay.
The mosque has eight minarets: four main ones at the corners of the courtyard and four smaller ones at the corners of the prayer hall. The main minarets are octagonal, of three storeys, 60 metres high each, and crowned by marble pavilions.
Through the centuries
Ranjit Singh’s Sikh army took Lahore on 7 July 1799. The mosque’s courtyard was then used as a stable, and its 80 hujras (small study rooms) as quarters for soldiers and stores. After Ranjit Singh died in 1839, his son Kharak Singh began building his samadhi (memorial) beside the mosque.
In the struggle for power in 1841, Sher Singh placed light guns on the minarets and fired on the supporters of Chand Kaur, who had taken refuge in the Lahore Fort. Wikipedia also records that a French officer in his service used a tunnel between the mosque and the fort to store gunpowder.
The British took Lahore in 1849, and the mosque and the fort went on serving as a military garrison. In 1852 the Badshahi Mosque Authority was set up to oversee its restoration, and in 1856 John Lawrence, Chief Commissioner of the Punjab, handed the mosque back to the Muslims. According to Wikipedia, after the rebellion of 1857 the British demolished the hujras around the courtyard and replaced them with open arcades (dalans).
From 1939 the Premier of the Punjab, Sikandar Hayat Khan, raised funds for a thorough restoration, supervised by the architect Nawab Alam Yar Jung Bahadur. The work continued after Pakistan’s independence and was completed in 1960 at a cost of 4.8 million rupees. Archnet records a restoration of 1983, when the façades of the hujras were clad in red sandstone; in 2000 the marble inlay of the prayer hall was repaired, and in 2008 the replacement of the courtyard’s red sandstone tiles with stone from near Jaipur began.
- 1671–1673Aurangzeb builds the mosque; Fidai Khan Koka oversees the work
- 1084 AH (1673–74)the year on the gateway inscription
- 1799the Sikhs take Lahore; the courtyard becomes a stable
- 1841Sher Singh places guns on the minarets
- 1849the British take Lahore; the mosque remains a garrison
- 1856the mosque handed back to the Muslims
- 1939–1960major restoration (4.8 million rupees)
- 1974the Friday prayer of the heads of 39 Muslim states
- 1993on UNESCO’s World Heritage tentative list
- 2026the relics moved to a new gallery
The mosque today
According to the Punjab Auqaf Department, a small gallery on the upper floor of the entrance gateway keeps relics attributed to the Prophet ﷺ, to ‘Ali, Fatima, Hasan and Husayn and to ‘Abd al-Qadir al-Jilani. Wikipedia counts about 27 objects, on display since 1885, and records that Timur first acquired most of them after taking Damascus in 1401; according to the same source, in 2026 they were moved to a new gallery. The museum also keeps a Qur’an of 30 parts embroidered on cloth in gold and silver thread (1966–1976).
On 22 February 1974, during the second Islamic Summit in Lahore, the heads of 39 Muslim states offered the Friday prayer in the mosque. On 14 December 1993 Pakistan put it forward for UNESCO’s World Heritage, and since then it has been on the tentative list. According to Wikipedia, it is today the third largest mosque in Pakistan.
The courtyard filled with worshippers recalls the words of the Prophet ﷺ about those whom Allah ﷻ will shade:
“There are seven whom Allah Almighty will shade in His Shade on a Day when there will be no shade but His Shade… a man whose heart is attached to mosques…”
Written by the Prayer Time editors from the sources listed.







