Most visitors know Madrid for its palaces and museums, yet the city was founded by Muslim rulers more than a thousand years ago. Its earliest name, Mayrit, is still visible in the stones of the old centre if you know where to look. This walk pairs that history with a visit to a working mosque and a relaxed, alcohol-free lunch, so you can spend a day exploring Madrid's Islamic roots without a single bar on the route.
Where Madrid began
The story starts in the ninth century. Madrid's oldest surviving structure is a stretch of wall that dates from the period when Muslim rulers controlled the Iberian Peninsula, and it sits close to the Royal Palace. The official tourism site describes it as the first wall of Madrid, built in the Muslim period, and it was declared a National Monument in 1954.
The best-preserved section is about 120 metres long and runs down Cuesta de la Vega, inside the Parque del Emir Mohamed I. The park is named after Muhammad I of Córdoba, the ruler traditionally credited with founding the settlement. Look for the rough mix of flint and limestone blocks, and the square towers that once guarded the walls.
Plan your walk
Start at Ópera metro station, then walk up to the Almudena Cathedral and turn down Cuesta de la Vega. Allow about an hour for the park and the wall, plus extra time if you want to linger over the views.
- Morning: the Arab wall. Walk the Cuesta de la Vega at a slow pace. Information panels show how far the original city walls once reached, which helps you picture the old fortress.
- Midday: the old centre. Head towards the Plaza de la Armería and the streets around the Palace, where the medieval walls and lanes give a feel for Mayrit's layout. Stop for fresh juice or mint tea before you head out to the mosque.
- Afternoon: the mosque. Take the metro to Estrecho, the station closest to the Central Mosque of Madrid, on Calle Anastasio Herrero in the Cuatro Caminos area.
Visiting the mosques
Madrid has two mosques that visitors often ask about, and they are very different places.
- Mezquita Central de Madrid (Abu Bakr). The Central Mosque opened in 1988 and is widely recognised as the first major mosque built in the city since the Christian conquest of 1085. It is a place of daily prayer and community life, so keep your visit respectful and check the official site before you go.
- Centro Cultural Islámico de Madrid (M30). This larger complex in the Ciudad Lineal district is often called the M30 mosque. Its website says it offers guided visits throughout the year, free of charge. Its administrative office keeps weekday hours, so book or confirm a visit by phone or email before you travel.
Both are places of worship first. Dress modestly, remove your shoes where asked, and avoid visiting during prayer times unless you have been invited to join.
A halal-friendly lunch
After a morning of history, a Levantine meal is a good way to refuel. Sirín, Levantine Mezze House is a modern kitchen on our listings, known for hummus, mutabbal, charcoal kebabs and warm flatbread. It is a good choice for a group and it serves fresh juices and mint tea rather than alcohol.
If you want a more casual option, the halal eating guide has more places to compare. Whichever you choose, check the current menu and ask staff how dishes are prepared before ordering.
Practical tips
- Pick a clear day. The walk is mostly outdoors, and the cathedral area can be busy at weekends.
- Carry water and comfortable shoes. The Cuesta de la Vega is a steep slope.
- Check opening times on the day. Hours for visits, cafés and restaurants can change, especially around public holidays.
- Bring your own sense of curiosity. Many visitors are surprised by how much of medieval Madrid is still beneath modern streets.
For more on the wall, see the Muralla Árabe listing on our explore page. For official background, read the Madrid tourism page on the Arab Wall, and the Central Mosque's own history page.