Timeless Places

On the lower slopes of the Sierra Morena, a few kilometres west of Córdoba, Andalusia, southern Spain

Caliphate City of Medina Azahara

★★★☆☆

Ciudad Califal de Medina Azahara (Madinat al-Zahra) · meh-DEE-nah ah-thah-AH-rah

In the 10th century Abd al-Rahman III, who had just made himself caliph, built a new capital on the hills above Córdoba: palaces, halls, gardens and a mosque laid out on terraces looking down over the Guadalquivir valley. For about seventy years it was the seat of one of the richest courts in Europe; then civil war left it in ruins, and its stone was carried away. Today a tenth of it has been dug out, with carved halls, horseshoe arches and gardens rising above the plain, and an underground museum at its foot.

iPhoto: Superchilum, CC BY-SA 3.0, Wikimedia Commons

The story

In 929 Abd al-Rahman III, the Umayyad (661–750; in Spain 756–1031) ruler of al-Andalus, took the title of caliph, setting himself up as the equal of the caliphs of Baghdad and of his rivals, the Fatimids (909–1171) in North Africa. A caliph needed a capital worthy of the title, and from about 936–940 he built one on the slopes of the Sierra Morena west of Córdoba: Madinat al-Zahra, the Radiant City. By 945 he was living there, and by 947 the mint and the offices of state had moved from Córdoba.

The city was a rectangle about 1.5 km long, laid out on three levels: the caliph's palaces at the top, the halls of government and the houses of high officials below them, and the homes, workshops, barracks and mosque of the people on the plain. Here the caliph and later his son al-Hakam II received ambassadors from Byzantium and the Christian kingdoms of the north. But the city's life was short: from 1010 to 1013 it was sacked in a civil war, and for centuries its marble, columns and dressed stone were taken away. Excavation began in 1911; only about 10 of its 112 hectares have been uncovered.

Why come here?

  • Only here: the only capital of the caliphs of al-Andalus that survives as a whole city plan, with its palaces, halls and gardens still laid out on the hillside where they were built.
  • Original or rebuilt? Mostly genuine ruins: the walls, floors and carved stone are 10th-century, but many arches, columns and wall panels were pieced together and set back in place by archaeologists over the last hundred years.
  • The moment: walking under the red-and-white horseshoe arches of the ruined halls and looking out over the gardens to the green plain of the Guadalquivir.
  • Worth the trip? Three stars: an easy half-day from Córdoba and well worth it after the Mosque-Cathedral; together they tell the story of the caliphate.
  • Who it suits: lovers of Islamic art and history, anyone who has seen Córdoba or the Alhambra, and families who enjoy ruins with a story, though there is little shade in summer.

Why it matters The Caliphate City of Medina Azahara was inscribed as World Heritage in 2018 because it is a unique record of the Umayyad caliphate of al-Andalus at its height, a complete palace-city whose plan, buildings and decoration show the power and culture of a Western Islamic civilisation that has disappeared.

If you have one minute

A capital that lived for seventy years

Excavated rooms and walls on a clear day, February 2016
Excavated rooms and walls on a clear day, February 2016Axel Cotón Gutiérrez, CC BY-SA 4.0

Start in the museum, built mostly underground so as not to spoil the view, then ride the shuttle up to the ruins. Walk down through the terraces: the streets and houses of the court, the House of Ja'far (Casa de Yafar) with its triple arch, the great colonnaded halls and the gardens of the official quarter, with the plain of the Guadalquivir spread out below.

Things people often get wrong

"It is just an older Alhambra." It is three centuries older, built by a different dynasty, and it was a whole capital city, not a palace inside a fortress.

"Everything you see was found standing." Most of the city was found as fallen stones and fragments; the arches and carved panels you see were put back together by archaeologists piece by piece.

Close by, with a page of its own: Mezquita, Córdoba.

Also among Palaces: The Louvre, Forbidden City, Potala Palace, Gyeongbokgung, Summer Palace, Alcázar of Seville, all 143.

Our Shared Heritage

Reading a caliph's city

Read Medina Azahara as a stage set for power. Start with the horseshoe arch, wider above than at its base, often built of stones painted alternately red and white, as in the Great Mosque of Córdoba. Then look at the carving: stone panels covered edge to edge with stems, leaves and palmettes growing from a central tree, and capitals cut so deep that the stone seems to float. Finally, look at the plan: courtyards, porticoes and gardens arranged so that visitors climbed and turned before reaching the caliph.

Carved stucco panel with plant decoration, November 2008
Carved stucco panel with plant decoration, November 2008robven, CC BY 2.0

A palace above the capital

Chinese readers who know the Daming Palace of Tang Chang'an, raised on the Longshou plateau so that its great halls looked down over the city, will recognise the idea: a ruler placing his palace high above his capital so that its height itself spoke of power. Medina Azahara did the same on the slopes above the Guadalquivir, with its halls on terraces and the people's city on the plain.

Who keeps it

The Conjunto Arqueológico Madinat al-Zahra, a centre of the Andalusian regional government's culture department, manages the site and its museum and carries out excavation, research and restoration; only a small part of the city has been excavated, and the rest is protected under fields and hills.

Its counterparts

Its counterparts on the World Heritage List include the Historic Centre of Córdoba with its Great Mosque, the Alhambra in Granada, the Qal'a of Beni Hammad in Algeria, another ruined royal city of the 11th century, and Historic Cairo, founded by the Fatimid (909–1171) rivals of the Córdoba caliphs.

Why it belongs to everyone

Medina Azahara belongs to everyone because it preserves, in one short-lived city, the art, power and everyday life of the caliphate of al-Andalus, a high point of Islamic civilisation in Europe.

In the cultural dictionary Umayyad architecture Palace Islamic garden

Now that you know so much about the history and culture of this place, is there anything you would like to say to future visitors? Leave a message

Go deeper: Medina Azahara in six chapters, from the highlights to a caliph who needed a capital, a city on three terraces, the hall that dazzled ambassadors, the fall and the rediscovery, and how to see and photograph it best6 chapters · about 5 min to read

What makes Medina Azahara itself: (1) a whole capital built from scratch for a new caliphate, in use for only about seventy years; (2) a city laid out on terraces, with the caliph at the top and the people on the plain; (3) the Salón Rico, a reception hall covered in carved stone, built in 953–957; (4) a city plundered for its stone and then forgotten, found again in the early 20th century; (5) a modern museum sunk into the ground beside it.

Be clear about what you see. Only about a tenth of the city has been excavated, mostly the upper terraces of the palaces and offices, and much of what stands was rebuilt from fallen pieces. Some halls, including the Salón Rico, may be closed for restoration.

1. What to see: the highlights

The triple-arched façade of the House of Ja'far, December 2012
The triple-arched façade of the House of Ja'far, December 2012Superchilum, CC BY-SA 3.0

Five things make a visit. The first is the view from the upper terrace over the whole site and the Guadalquivir plain. The second is the House of Ja'far, a residence of a high official with a façade of three horseshoe arches framed in carved stone. The third is the great colonnaded hall and courtyard of the official quarter, where long rows of piers stand like a forest of stumps. Like a city drawn on a hillside with stone instead of ink.

The fourth is the carved decoration: stone panels covered in leaves, palmettes and tendrils, and column capitals cut so deep that they look like lace. The fifth is the museum, where the bronze fawn that once spouted water in a fountain and the finest carvings found on the site are shown.

2. A caliph who needed a capital

Horseshoe arch with bichrome voussoirs and carved bands, November 2008
Horseshoe arch with bichrome voussoirs and carved bands, November 2008Roberto Venturini, CC BY 2.0

The Umayyads had once ruled the whole Islamic world from Damascus. When they were overthrown in 750, one prince escaped to Spain and founded an emirate at Córdoba. Nearly two centuries later his descendant Abd al-Rahman III, after years of war to bring al-Andalus under control, claimed the title of caliph in 929. A new title called for a new city, as the Abbasids had built Baghdad and the Fatimids (909–1171) would build Cairo. Like a crown made of streets and walls.

Work began in 936 or 940, with the crown prince al-Hakam in charge. Thousands of marble columns were brought in, many from North Africa, and the city was supplied with water by an aqueduct from the mountains. The mosque was finished in the early 940s, the caliph moved in by 945, and in 947 the mint and the government followed.

3. A city on three terraces

Excavated halls among cypress trees on the hillside, May 2011
Excavated halls among cypress trees on the hillside, May 2011fraboof, CC BY-SA 2.0

The city was a rectangle about 1.5 km from east to west and 750 metres from north to south, enclosed by a wall with square towers. The ground falls about 70 metres from top to bottom. On the highest terrace stood the caliph's private palace; on the middle terrace, the halls of state, the houses of viziers, the guard and gardens; on the plain below, the houses and workshops of the people, the barracks, orchards and the great mosque. Like a staircase that put everyone in their place.

The palace quarter itself was divided in two: a private sector to the west with the houses of the caliph and his court, and an official sector to the east with reception halls and offices. In the 950s many of the first, modest buildings were pulled down and replaced by larger halls with porticoes and long arcades, among them the House of Ja'far and the Court of the Pillars.

4. The hall that dazzled ambassadors

Capital and arcade at a corner of the restored hall, February 2022
Capital and arcade at a corner of the restored hall, February 2022Kent Wang, CC BY-SA 2.0

The Salón Rico, the reception hall of Abd al-Rahman III, was built between 953 and 957, as inscriptions in its decoration record. It has long naves divided by arcades of horseshoe arches on marble columns, and its walls were covered with stone panels carved with a dense tree of life, branching and flowering in endless patterns. Here the caliph sat to receive envoys, and in front of it lay a garden with pools that reflected the hall. Like a stone forest that never loses its leaves.

The work was supervised by the vizier Abdallah ibn Badr, and the carving by a servant of the caliph named Shunaif. When the city fell, the panels crashed to the ground in thousands of pieces; for decades restorers have been fitting them back together like a giant puzzle.

5. The fall and the rediscovery

The House of the Pool, with the monastery of San Jerónimo on the hill above, December 2012
The House of the Pool, with the monastery of San Jerónimo on the hill above, December 2012Superchilum, CC BY-SA 3.0

After al-Hakam II died in 976, real power passed to the chief minister al-Mansur, who built his own palace-city and left Madinat al-Zahra behind. In 1009 the caliphate fell into civil war, and between 1010 and 1013 the city was sacked. For centuries afterwards it served as a quarry: its marble and carved stone turned up in buildings across Córdoba and beyond, and in the 15th century the monks of the monastery of San Jerónimo, on the hill above, built with its stones. Like a city taken apart to build others.

The site was identified again in the 19th century, and in 1911 the architect Ricardo Velázquez Bosco began the first systematic excavations. Work has continued ever since; in 2009 a museum opened at its foot, built mostly below ground level so as not to break the view of the hillside, and in 2018 the city was inscribed as World Heritage.

6. How to see it best and photograph it

Terraced gardens and cypresses below the palace, February 2022
Terraced gardens and cypresses below the palace, February 2022Kent Wang, CC BY-SA 2.0

Go early in the morning, especially from May to September, when the site has very little shade and gets very hot by midday. It's best to see the museum and its main finds first, then take the shuttle up and walk down through the site, ending at the gardens and the official quarter. Like reading a book from the last page back to the first.

The best photographs come in the low light of morning or late afternoon, when the carved stone and the red-and-white arches glow and the cypresses throw long shadows; from the upper terrace a wide lens takes in the halls and the plain together. In summer the site also opens on some evenings, and the ruins can be seen in the cool of the night.

People who stood here

We searched English, Spanish and Arabic-studies sources for this list.

  • Abd al-Rahman III (caliph of Córdoba, 891–961)Declared himself caliph in 929 and founded Madinat al-Zahra as the capital of his new caliphate, moving his court here in the 940s.
  • Al-Hakam II (caliph of Córdoba, 915–976)As crown prince he oversaw the building of the city, and as caliph he continued it and received foreign embassies here; he was famous for his great library.
  • Maslama ibn Abdallah (architect, 10th century)Named by the later historian al-Maqqari as the architect of the city, though how much of it he designed is not known.
  • Ricardo Velázquez Bosco (architect, 1843–1923)Began the modern excavation of the site in 1911 and uncovered the first parts of the palaces.
  • Antonio Vallejo Triano (archaeologist)Led the archaeological work at Medina Azahara from 1985 to 2013, rebuilding our picture of how the city grew and changed.

Tickets and travel info

Tickets and hours

  • Entry €1.50 (approx.), free for EU citizens; shuttle bus €3 (approx.) return; from late September to March, Tuesday–Saturday 9:00–18:00, Sundays and holidays 9:00–15:00; closed on Mondays.

Last checked 2026-11-18. UNESCO World Heritage Centre (whc.unesco.org/en/list/1560): cultural site inscribed in 2018 on criteria (iii) and (iv); a palace-city built in the mid-10th century by the Umayyad dynasty as the seat of the Caliphate of Córdoba, laid waste in the civil war of 1009–1010 and forgotten for nearly a thousand years until its rediscovery in the early 20th century. Conjunto Arqueológico Madinat al-Zahra, Junta de Andalucía (museosdeandalucia.es): hours, entry and shuttle bus, checked 18 Nov 2026..

How long, and when

  • Quick: two hours for the museum and the main ruins. Slow: half a day, taking time over the halls, the gardens and the carvings.
  • Spring and autumn are best; in summer it's best to come first thing in the morning or on an evening opening.

Last checked 2026-11-18. UNESCO World Heritage Centre (whc.unesco.org/en/list/1560): cultural site inscribed in 2018 on criteria (iii) and (iv); a palace-city built in the mid-10th century by the Umayyad dynasty as the seat of the Caliphate of Córdoba, laid waste in the civil war of 1009–1010 and forgotten for nearly a thousand years until its rediscovery in the early 20th century. Conjunto Arqueológico Madinat al-Zahra, Junta de Andalucía (museosdeandalucia.es): hours, entry and shuttle bus, checked 18 Nov 2026..

Find a guide

Once you've read our history and culture pages, a guide is the best way to go deeper and make the most of your visit. You can find guides on these sites:

Find it on the map

Entrance · Medina Azahara museum and shuttle stop

Search for Museo de Madinat al-Zahra

Collect tickets here; the shuttle leaves every 15–20 minutes

Start here · The ruins of the palace-city

Search for Yacimiento de Madinat al-Zahra

About 800 m from the museum by shuttle bus

Where to start

  • We'd suggest starting with the museum, then taking the shuttle up and walking down through the terraces.

Before you go

  • The last shuttle up leaves an hour before closing, so it's best to arrive at least two hours before closing time.

Customs and manners

  • Please keep to the marked paths and don't climb on the walls or touch the carved panels.

Book tickets

Tickets are available on the official website below. You can also book through our partner sites: we earn a small commission at no extra cost to you, and it helps keep Timeless Places running. Thank you for your support! Some official sites ask for a local ID, so international visitors can't book there; in that case, our partner sites are the easiest choice.

  • Official page in English Tickets are collected at the museum; the last shuttle bus to the ruins leaves 60 minutes before closing, and groups of 10 or more must book.
  • Note The museum is on the road from Córdoba to Palma del Río, a few kilometres west of the city; there is parking at the museum, and visitors without a car usually come by taxi or on an organised bus from Córdoba.
Official website

Checked 2026-11-18 Conjunto Arqueológico Madinat al-Zahra, Junta de Andalucía: entry free for accredited EU citizens, €1.50 for others; groups under 10 need no booking and collect tickets at the museum reception; shuttle bus museum–site–museum every 15–20 minutes, €3, reduced €1.50 (ages 5–12 and over 65), free under 5, last bus up 60 minutes before closing. Hours: 21 September to 20 March, Tuesday–Saturday 9:00–18:00; 21 March to 20 June, Tuesday–Thursday 9:00–18:00, Friday–Saturday 9:00–21:00; 21 June to 20 September, Tuesday–Saturday 9:00–14:00 and 19:00–24:00 (evening visit to the archaeological area only); Sundays, holidays and Mondays before holidays 9:00–15:00; closed on Mondays and on 1 and 6 January, 1 May and 24, 25 and 31 December; checked 18 Nov 2026

If you search for tickets on these sites yourself, search for “Medina Azahara” for the most accurate results.

Looking for a place to stay nearby or a rental car? You'll find more options below.

Stay nearby

This button opens one of several booking sites, such as Booking.com, Expedia, Hotels.com, Agoda or Vrbo, picked automatically. If it isn't the one you'd like, just close it and click again. Thank you for your support!

Rent a car

Bring your own licence and an International Driving Permit, and check before you go that the country accepts them.

In the local language

Ciudad Califal de Medina Azahara (Madinat al-Zahra) meh-DEE-nah ah-thah-AH-rah

Address Museo de Madinat al-Zahra, Carretera de Palma del Río km 5.5, 14005 Córdoba, Andalusia, Spain (tickets at the museum; a shuttle bus climbs to the ruins about 800 m away)

Google Maps Apple Maps

Words on the signs
Conjunto ArqueológicoArchaeological ensemble
MuseoMuseum
Autobús lanzaderaShuttle bus
YacimientoArchaeological site
Salón RicoHall of Abd al-Rahman III
PórticoPortico
Casa de YafarHouse of Ja'far
Prohibido el pasoNo entry

Opening hours are given in the local time of the place.

In pop culture

We have not found a film, a song or a famous visitor for this place yet.

Meanwhile in the world

YearHereElsewhere
936Founding of the cityOtto I is crowned king of East Francia
953Work begins on the Salón RicoOtto I faces a rebellion led by his son Liudolf
1010The city is sacked in the civil warMurasaki Shikibu is writing The Tale of Genji in Japan
1911Excavations beginRoald Amundsen reaches the South Pole
2018World HeritageThe football World Cup is held in Russia

One line to remember: the capital of the caliphs of Córdoba, built on terraces above the Guadalquivir and destroyed after only seventy years.

Local legends

These are stories people tell about this place. They are legends, not history, and each one says where it comes from.

LegendThe city named after a favourite

Historians of later centuries, among them al-Maqqari, told that the caliph named the city after his favourite wife, al-Zahra, and set a statue of her over the gate.

Source: al-Maqqari, The Breath of Perfume (17th century)

Later, people who live here will be able to add the stories they grew up with, and say which of these they have heard.

Not certain, and where accounts conflict

Was the city really named after a woman?
Probably not. Al-Zahra means the Radiant or Flowering, and many scholars think the name was chosen to match the grand names of rival capitals such as Baghdad, the City of Peace, and Cairo, the Victorious; a statue of a woman over the gate is thought unlikely.

Look for these

  1. Find the three arches of the House of Ja'far (Casa de Yafar).
  2. Find the red-and-white stones of an arch.
  3. Find a capital cut like lace.
  4. Find the bronze fawn in the museum.

I am here

Stand at the site, sign in, press the button, and collect its stamp. Your browser will ask to use your location. It is sent to us once to confirm that you are at the site; we keep how far you were from it, not the spot where you stood.

Your stamps are saved to your account, so they follow you to any device. Checking from a browser cannot rule out every false location; stricter checks arrive with the app.

Share your photos

Photos here show the place, not people. Each one is credited to the visitor who took it and appears after our team has looked at it. A photo with you in it belongs under “I am here”.

Messages