The Amr ibn Al-A'as Mosque (also written Amr ibn al-Aas) in Old Cairo was founded around 642 AD by Amr ibn al-As, the Arab commander who brought Egypt under Muslim rule, and it was the first mosque built in Egypt and in Africa. It stood at the heart of Fustat, the first Islamic capital of Egypt, and today it is a large, active mosque about 120 by 112 metres, rebuilt many times, with free entry for respectful visitors outside prayer times.
The mosque sits a few minutes' walk from the churches of Coptic Cairo, so our guides usually include it on Old Cairo days: in one morning you see the Roman fortress, the oldest churches, the Ben Ezra Synagogue and the first mosque of Africa. This guide covers its history, what you actually see, how to visit and the best timing.
Quick facts
| Fact | Detail |
|---|---|
| Founded | About 641 to 642 AD (21 AH) |
| Founder | Amr ibn al-As, companion of the Prophet and conqueror of Egypt |
| Location | Fustat, Old Cairo, north of the Coptic quarter |
| Original size | About 29 by 17 metres |
| Size today | About 120 by 112 metres, set in the 9th century |
| Minarets | Four (there were five at the Fatimid peak) |
| World Heritage | Part of UNESCO's Historic Cairo, listed 1979 |
| Entry | Free; visitors outside prayer times |
History of the Amr ibn Al-A'as Mosque
Founding in Fustat
In 640 and 641 Amr ibn al-As led the Arab army against the Byzantine fortress of Babylon, whose walls still stand beside the Hanging Church. After the fortress fell he founded a new city, Fustat, just to the north, and built its congregational mosque. A well-known tradition says the site was chosen where a dove had nested in his tent. The first building was a modest prayer hall of about 29 by 17 metres, with columns of palm trunks, stone and mud brick, a roof of wood and palm leaves, a gravel floor and no minaret.
Growth over two centuries
- 673: the governor Maslama ibn Mukhallad rebuilt and doubled the mosque and added four minarets, among the first in Egypt.
- 698 and 711: Abd al-Aziz ibn Marwan enlarged it again; a concave prayer niche (mihrab) was added.
- 827: the governor Abdallah ibn Tahir rebuilt it close to its present size, which a 9th-century extension brought to about 120 by 112 metres.
For centuries it was the main mosque of Egypt's capital, a court of law and a place of teaching, before Cairo grew to the north under the Tulunids and Fatimids.
Fire, rebuilding and restoration
In 1169, fearing that Fustat would fall to the Crusaders, the vizier Shawar ordered the city burned, and the mosque was badly damaged. Saladin rebuilt it in 1179. It was repaired after the earthquake of 1303 and again in the following centuries. In 1796 the Mamluk emir Murad Bey rebuilt it, reducing the rows of columns along the prayer hall, and the present minarets date from about this time. Further rebuilding followed in 1875, restoration under Khedive Abbas Helmi II, and a partial reconstruction of the entrance in the 1980s.
The result is a mosque whose plan follows the early design but whose fabric is mostly from the last 250 years. Only some carved wooden beams on the south wall are thought to survive from the 9th century. It is the story and the place, more than the stones, that make it special.
Who was Amr ibn al-As?
Amr ibn al-As was born in Mecca in the late 6th century, into the Banu Sahm clan of the Quraysh tribe, and was a merchant who knew Egypt from trading trips before he became a Muslim, most likely in 629 or 630. He led armies in Palestine in the 630s, then, in late 639, set out for Egypt with about 4,000 horsemen. He took the Byzantine fortress of Babylon in April 641 and agreed the surrender of Alexandria in 641 or 642, ending almost a thousand years of Greek and Roman rule.
He governed Egypt twice, from 640 to 646 and again from 658 until his death around 664, and is said to be buried at the foot of the Muqattam hills east of Fustat, though his grave has never been identified. For Egyptians he is the founder of Islamic Egypt, and the mosque that carries his name is his lasting monument.
A centre of learning, justice and community
For its first centuries the mosque was much more than a place of prayer. As the congregational mosque of the capital it was where the governor addressed the people, where judges heard cases and where scholars taught in circles around the columns. The jurist Imam al-Shafi'i, founder of one of the four Sunni schools of law, taught in Egypt from about 814 until his death in 820, and tradition places his teaching circle in this mosque. Its courtyard-and-columned-hall plan became the model for the great congregational mosques of Egypt, from Ibn Tulun to al-Azhar.
Today it still plays a central role in Cairo's religious life, especially for Friday prayers and in Ramadan.
The first mosque and the mosque today
| About 642 | Today | |
|---|---|---|
| Size | About 29 by 17 metres | About 120 by 112 metres |
| Columns | Palm trunks, stone and mud brick | Marble columns, many reused from Roman and Byzantine buildings |
| Roof | Wood and palm leaves | Flat timber roof over the arcades |
| Floor | Gravel | Carpeted prayer hall, paved courtyard |
| Minarets | None | Four |
| Mihrab | A flat marker on the qibla wall | A concave niche, a form first added here in 711 |
What has not changed is the location, the orientation towards Mecca and the open courtyard plan, which is why the building still feels like an early mosque even though most of its stones are later.
What you see today
- The courtyard: a large open courtyard (sahn) surrounded by arcades, with an ablution fountain under a dome in the centre. The scale and the light are what most visitors remember.
- The prayer hall: on the qibla side, rows of marble columns, many reused from Roman and Byzantine buildings, each with a different capital. Look closely and you will see the variety.
- The mihrab and minbar: on the qibla wall facing Mecca, with the old wooden beams near the south wall.
- The minarets: four, in the Ottoman-era style of the 18th-century rebuilding.
- The tomb of Abdallah: a domed corner traditionally linked with Abdallah, son of Amr ibn al-As.
Visiting the mosque
Hours and entry
Entry is free: the Ministry of Tourism and Antiquities page for the mosque lists no ticket and gives visiting hours of 9:00 to 16:00 (checked 5 November 2026). As an active mosque it is busiest at the five daily prayers and at the Friday noon prayer, when tourist visits are not appropriate. The best time is mid-morning on a weekday, between the dawn and noon prayers.
Dress code and etiquette
- Cover shoulders and knees; women should cover their hair. Scarves or robes are sometimes available at the door.
- Take off your shoes at the entrance and carry them or leave them with the attendant (a small tip is usual).
- Do not walk in front of people praying, and keep your voice low.
- Photos are usually fine in the courtyard and the empty prayer hall; never photograph worshippers without permission.
Our guide on what to wear in Egypt as a woman has more on dressing for mosques and churches.
Ramadan
The mosque is one of the most popular places in Cairo for the Ramadan night prayers, with very large crowds towards the end of the month. It is a moving sight from outside, but not a time for sightseeing inside. Read whether Ramadan is a good time to visit Egypt before planning.
How to get there
- Metro: Mar Girgis station on line 1 is at the entrance to Coptic Cairo; the mosque is a short walk north.
- Taxi or Uber: 20 to 30 minutes from downtown or Zamalek, depending on traffic; ask for "Gami' Amr" in Masr el-Qadima (Old Cairo).
- Time needed: 30 to 45 minutes for the mosque.
Combining the mosque with Old Cairo
The mosque is one stop in one of the richest square kilometres of Cairo:
- Coptic Cairo: the Hanging Church, Abu Serga, Saint George and the Coptic Museum, 5 to 10 minutes' walk.
- The fortress of Babylon: the Roman walls and towers that Amr besieged; see our guide to Fort Babylon.
- The National Museum of Egyptian Civilization: 5 minutes by car, with the royal mummies; see our NMEC guide.
- Islamic Cairo: for the next chapter of the story, the Citadel, Ibn Tulun and Sultan Hassan are 15 to 20 minutes away by car; our list of famous mosques in Cairo helps you choose.
A typical order with our guides: Coptic Cairo at opening, the Amr mosque mid-morning, then the NMEC before lunch.
Is the Amr ibn Al-A'as Mosque worth visiting?
Yes, if you are visiting Old Cairo anyway. It is not the most decorated mosque in Cairo, and much of what you see is a later rebuilding, but no other building tells the beginning of Islamic Egypt so directly, and standing in its courtyard after the churches next door shows how closely Cairo's faiths have lived together for 1,400 years. If you want great Islamic architecture, add the mosques of Ibn Tulun or Sultan Hassan to your trip as well.
Plan it with us
Our Old Cairo day tour includes the Amr ibn Al-A'as Mosque, the Hanging Church and the Ben Ezra Synagogue with a private guide. For Islamic Cairo, the Old Cairo tour covers the Citadel and Sultan Hassan, and more ideas are among our Cairo day tours.
Amr ibn Al-A'as Mosque: quick answers
When was the Amr ibn Al-A'as Mosque built?
Around 641 to 642 AD, as the first mosque in Egypt and Africa. It was rebuilt and enlarged many times, most recently from the 18th to the 20th centuries.
Is there an entrance fee?
No. Entry is free; visit outside prayer times and dress modestly.
Can non-Muslims visit the mosque?
Yes, outside prayer times, with shoulders and knees covered, hair covered for women, and shoes removed.
How do I get to the Amr ibn Al-A'as Mosque?
Take metro line 1 to Mar Girgis and walk a few minutes north, or take a taxi to Old Cairo (Masr el-Qadima).
Ahmed Samir writes and updates the Egypt travel guides of Egypt Online Tour, a licensed tour company based in Cairo (ETAA licence 1466). Our travel advisors review each guide before it is published.
All guides by Ahmed Samir







