Ibn Tulun Mosque is the oldest mosque in Egypt and all of Africa. At 26,318 sq m, it is also the largest mosque in Cairo. It is the only remaining landmark from the City of Qata’i, established in 870 as the capital of the Tulunid state in Egypt.
It’s known for its unique architectural style that attracts engineering students from all over the world. In the 12th century, the mosque was a shelter for pilgrims from North Africa heading to the Hijaz.

Who was Ahmed ibn Tulun?
Ahmad Ibn Tulun was born around 835 A.D. He was one of the Turkish commanders in Samarra, Iraq. His intelligence and courage attracted the attention of the Caliph, and in 868, the Abbasid caliph sent him to Egypt as governor. Then, he established himself as an independent ruler by evicting the caliphal fiscal agent, taking over Egypt’s finances, and establishing a large military force loyal to himself.
He reformed Egypt’s tax system, repaired the irrigation system, and took other measures to help the country prosper.
He founded the Tulunid dynasty, which ruled Egypt and Syria between 868 and 905. As a symbol of his rule, he built a new capital, al-Qata’i, north of the old capital, Fustat. He built his palace and mosque at the centre of the new capital.

Design of the Ibn Tulun Mosque
Ahmad ibn Tulun built the Ibn Tulun Mosque based on the designs created by Egyptian architect Saiid Ibn Kateb Al-Farghany, the same engineer who designed the Nilometer, in the Samarran style typical in the Abbasid era. The mosque’s original inscription slab identifies the completion date as between 878 and 879. It is said that he requested a mosque to be built on a hill so that if “Egypt were to be flooded, it would not be submerged, and if Egypt were to be burned, it would not burn”, so he spared no expense, spending 120,000 dinar to build it.
It was built on Gebel Yashkur or The Hill of Thanksgiving. This hill is said to be where Noah’s Ark docked after the flooding abated, where God spoke to Moses, and where Moses confronted Pharaoh’s magicians. So, this hill is where prayers are answered.
The mosque used to be attached to Ibn Tulun’s palace with a door next to the minbar, allowing him to enter the mosque directly.
Between the walls surrounding the mosque and the mosque itself are empty spaces called zeyada, reportedly designed to keep out the noise as the people inside the mosque pray. Some also said that this space was rented to sellers who would sell their products to people exiting the mosque after prayers.

The mosque is built around a courtyard, with covered halls on its four sides. The largest of these faces the qibla or the direction of Mecca. In the middle of the courtyard is an ablutions fountain, added in 1296 by the Mamluk sultan Hosam al-Din Lajin.
The interior ceiling of Ibn Tulun mosque is made of sycamore wood, while the arch has a window and is geometrically designed.
The mosque’s minaret has a spiral staircase around the outside and is modelled after the minarets of Samarra in Iraq. It also appears to have been influenced by the design of the Lighthouse of Alexandria. The staircase extends up to the tower at 170 feet.
The main mihrab of the mosque is concave and made of marble, stucco, brick, and different-coloured mosaics. There are six mihrabs in total.
Several houses were built outside the mosque’s walls in the Middle Ages. Two of the oldest and best-preserved homes are the “house of the Cretan woman” (Bayt al-Kritliyya) and the Beit Amna bint Salim, which were built a century apart and were separate at one point, but a bridge at the third-floor level was added, combining them into a single home. The house is now a museum open to the public as the Gayer-Anderson Museum, named after the British general R.G. ‘John’ Gayer-Anderson, who lived there until 1942.
Interior Decorations
Visitors inside the mosque are greeted by tranquillity and serenity, enhanced by the soft light filtering through stained glass windows and the rhythmic repetition of geometric patterns adorning the walls and ceilings. The prayer hall, with its rows of marble columns and intricately carved wooden mihrab, exudes an atmosphere of reverence and devotion.
The mosque’s walls are adorned with intricate stucco carvings and calligraphic inscriptions from the Quran, highlighting the importance of scripture in Islamic worship. These decorative elements beautify the space, convey spiritual messages, and reinforce the mosque’s role as a place of prayer and reflection.
Artistic Elements
The Ibn Tulun Mosque is renowned for its exquisite decorative elements, which showcase the finest examples of Islamic artistry and craftsmanship. Intricate geometric patterns, arabesques, and floral motifs adorn the mosque’s walls, domes, and minarets, reflecting the Islamic principle of tawhid (the oneness of God) through geometric symmetry and harmony.
The mosque’s decorative program also includes exquisite examples of Islamic calligraphy. Verses from the Quran and other religious texts are inscribed in elegant script throughout the complex. These inscriptions not only serve a decorative purpose but also convey profound spiritual messages, inspiring worshippers to reflect on Islam’s teachings and their place in the universe.
Cultural Significance
Beyond its architectural splendour, the Ibn Tulun Mosque holds immense cultural and historical significance for the people of Egypt and the wider Islamic world. For over a millennium, it has served as a centre of religious worship, education, and community gatherings, bearing witness to the passage of time and the ebb and flow of history.
The mosque’s enduring legacy is also reflected in its role as a cultural landmark and tourist attraction, drawing visitors worldwide to admire its beauty and learn about its rich history. In addition, the mosque continues to play a vital role in Cairo’s religious and social life, hosting daily prayers, religious ceremonies, and cultural events.
Influence and Legacy
The Ibn Tulun Mosque profoundly influenced subsequent Islamic architecture, serving as a model for mosques throughout the region. Its innovative design elements, such as the expansive courtyard and pointed arches, became defining features of the Islamic architectural style. The mosque’s enduring legacy is evident in the numerous structures inspired by its design, including the Great Mosque of Samarra in Iraq and the Umayyad Mosque in Damascus, Syria.
Moreover, the mosque was central in shaping medieval Cairo’s cultural and intellectual landscape. As a centre of religious worship, education, and social interaction, it was a hub for scholarly activities and theological discourse. The renowned historian Ibn Khaldun and the celebrated philosopher Ibn Rushd are among the many scholars who frequented the mosque, contributing to its legacy as a bastion of knowledge and enlightenment.
Restoration and Preservation
Over the centuries, the Ibn Tulun Mosque has undergone several renovations and restorations to ensure its preservation for future generations. In the 19th century, extensive restoration was performed to repair damage caused by neglect and natural disasters. The mosque has recently benefited from conservation efforts to maintain its architectural integrity and historical significance.
In 2004, the Ibn Tulun Mosque was designated a UNESCO World Heritage Site, recognizing its cultural and architectural importance on a global scale. This prestigious designation has helped raise awareness of the mosque’s significance and has facilitated ongoing efforts to safeguard its legacy for future generations to appreciate and enjoy.
The mosque has been restored several times from the Fatimid era in 1077 to 2004.
The mosque’s unique structure made it a great backdrop to several films, including the James Bond film The Spy Who Loved Me.
Discovering Cairo’s Cultural Tapestry
In addition to the breathtaking Ibn Tulun Mosque, Cairo offers many attractions and landmarks that enrich the visitor’s experience. Here are some notable sites near the mosque:
- Al-Azhar Mosque and University: Located just a short distance from Ibn Tulun Mosque, Al-Azhar Mosque is one of the oldest mosques in Cairo and serves as the spiritual heart of Sunni Islam. Adjacent to the mosque is Al-Azhar University, one of the world’s oldest universities, renowned for its contributions to Islamic scholarship and learning.
- Khan el-Khalili Bazaar: Embark on a journey through Cairo’s vibrant history and culture at Khan el-Khalili, one of the Middle East’s largest and oldest souks (marketplaces). Visitors can explore a maze of narrow alleyways filled with shops selling traditional crafts, textiles, spices, and souvenirs. The bustling atmosphere and authentic charm make Khan el-Khalili a must-visit destination for travellers.
- The Citadel of Saladin: Perched atop a hill overlooking Cairo, the Citadel of Saladin is a medieval fortress that offers panoramic views of the city below. Built by the Ayyubid ruler Saladin in the 12th century, the citadel is home to several historic monuments, including the Mosque of Muhammad Ali, also known as the Alabaster Mosque, with its striking Ottoman architecture and majestic domes.
- Sultan Hassan Mosque and Al-Rifa’i Mosque: Nearby, visitors can explore the impressive Sultan Hassan Mosque and Al-Rifa’i Mosque, two architectural marvels that showcase the grandeur of Islamic design. Sultan Hassan Mosque, built in the 14th century, features towering minarets and intricately decorated interiors. In contrast, Al-Rifa’i Mosque, constructed in the late 19th century, boasts a stunning blend of Mamluk and Ottoman styles.
- Egyptian Museum: Delve into Egypt’s ancient past at the Egyptian Museum, home to an extensive collection of artefacts spanning thousands of years. From exquisite pharaonic treasures to mummies and sarcophagi, the museum offers a fascinating glimpse into Egypt’s rich cultural heritage, including the iconic treasures of Tutankhamun.
- Coptic Cairo: Discover the religious heritage of Egypt’s Coptic Christian community in the historic district of Coptic Cairo. Here, visitors can explore ancient churches, such as the Hanging Church (Saint Virgin Mary’s Coptic Orthodox Church), dating back to the 3rd century AD, as well as the Church of Saint Sergius and Bacchus and the Ben Ezra Synagogue.
- Nile River Cruises: Experience the beauty of Cairo from a different perspective with a leisurely cruise along the Nile River. Whether enjoying a romantic dinner cruise or a traditional felucca boat ride, travellers can admire iconic landmarks such as the Cairo Tower, the illuminated skyline, and the bustling riverfront promenades.
These attractions near the Ibn Tulun Mosque offer diverse experiences, allowing visitors to immerse themselves in the rich history, culture, and architectural heritage of Cairo. Whether exploring ancient monuments, bustling markets, or serene riverbanks, Cairo captivates the imagination and leaves a lasting impression on all who visit.
Conclusion
The Ibn Tulun Mosque is a shining example of Islamic design and architecture, captivating visitors with its grandeur, beauty, and historical significance. From its vast courtyard to its intricately carved columns and spiral minaret, every aspect of the mosque reflects the ingenuity and creativity of its builders.
As one of the oldest and largest mosques in Cairo, the Ibn Tulun Mosque inspires awe and admiration, symbolising the enduring legacy of Islamic civilization. Whether for worship, tourism, or scholarly inquiry, this architectural masterpiece remains a beacon of cultural pride and spiritual enlightenment for people of all backgrounds and beliefs.