Timeless Places

Mafra, Lisbon Region, Portugal

Royal Building of Mafra – Palace, Basilica, Convent, Cerco Garden and Hunting Park

★★★☆☆

Real Edifício de Mafra – Palácio, Basílica, Convento, Jardim do Cerco e Tapada · MAH-frah

North of Lisbon, the small town of Mafra is dominated by one immense building: a royal palace, a basilica and a convent joined in a single front more than 200 metres long. King João V began it in 1717, paying with the gold that flowed from Brazil, and thousands of workers built it in little more than a decade. Inside are a domed basilica of coloured marble, two bell towers with the largest set of 18th-century carillons in the world, six organs, a palace for the court and a convent for hundreds of friars, and one of the most beautiful libraries in Europe. Behind it lie a formal garden and a walled hunting park.

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

The story

In 1711 King João V made a vow that he would build a convent for the Franciscan friars at Mafra if God gave him an heir; his daughter Maria Bárbara was born that year, according to the traditional story. Work began in 1717 under the German-born architect João Frederico Ludovice. With gold arriving from the mines of Brazil, the project grew from a small convent into a palace, basilica and convent on an enormous scale, built by tens of thousands of workers. The basilica was consecrated in 1730, on the king's 41st birthday.

The palace became a favourite residence of the royal family, who hunted in the walled park. When the French invaded in 1807, the court left for Brazil, taking many treasures with them. On 4 October 1910, during the revolution that ended the monarchy, the last king, Manuel II, spent his last night in Portugal at Mafra before sailing into exile from nearby Ericeira. The palace became a national monument, and the whole complex was inscribed as World Heritage in 2019.

Why come here?

  • Only here: a palace, basilica, convent and library joined in one immense Baroque building, with the largest set of 18th-century carillons in the world.
  • Original or rebuilt? Original: the building, basilica, library, bells and organs are of the 18th and early 19th centuries, restored in recent years.
  • The moment: stepping into the long, white and gold library, with its rows of leather-bound books under a high vault.
  • Worth the trip? Three stars: an easy half-day or day trip from Lisbon, combined with the beaches of Ericeira or the palaces of Sintra.
  • Who it suits: lovers of palaces, Baroque art, books, music and history.

Why it matters Mafra was inscribed as World Heritage because it is an outstanding example of the Baroque architecture of the Portuguese monarchy at the height of its wealth, joining palace, church, convent, library, garden and park in one plan.

If you have one minute

One building, three worlds

Palace and basilica across the wide stone forecourt, November 2017
Palace and basilica across the wide stone forecourt, November 2017prilfish from Vienna, Austria, CC BY 2.0

Start in the basilica, under the coloured marble dome. Then visit the palace: the long corridors, the royal apartments, the hall of the king and the queen, and finally the library at the end of the tour. If you have time, walk in the Cerco garden behind the building, or visit the Tapada hunting park outside the town.

Things people often get wrong

"It was built as a palace." It began as a convent, the fulfilment of a vow; the king's palaces were added around it, so the building is first of all a religious house with a royal residence attached.

Close by, with a page of its own: Sintra old town and National Palace, Quinta da Regaleira, Sintra, Pena Palace, Gulbenkian Museum, Jerónimos Monastery, Belém Tower.

Also among Monasteries: Meteora, Basilica of St Francis, Ajanta Caves, Ellora Caves, Anuradhapura, The Last Supper, all 56.

Also among Gardens: Taj Mahal, Summer Palace, Park Güell, Alcázar of Seville, Schönbrunn Palace, Classical Gardens of Suzhou, all 102.

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

Our Shared Heritage

Reading a palace-convent

Read Mafra from the front to the back. In the middle of the long façade stands the basilica, the spiritual heart of the building, with its towers and dome. To its left and right, the wings of the king's and queen's palaces stretch to the corner pavilions, linked by a long gallery. Behind the basilica lies the convent, built around cloisters, with the friars' cells, refectory, infirmary and kitchens, and above them the library. Behind the whole building lies the Cerco garden, and beyond the town the walled Tapada. Church, crown and convent were meant to be seen as one.

Arcaded courtyard and garden under blue sky, August 2021
Arcaded courtyard and garden under blue sky, August 2021Joseolgon, CC BY-SA 4.0

A palace and a temple in one

Chinese readers who know the Yonghe Temple in Beijing, once an imperial palace turned into a temple, or the way imperial palaces included their own halls of worship, will understand Mafra: a building in which a monarch joined his palace and a great place of worship to show the bond between throne and faith.

Who keeps it

The palace is managed by Museus e Monumentos de Portugal; the basilica belongs to the Church, and the Tapada is managed by a public cooperative that protects its forest and wildlife.

Its counterparts

Its counterparts on the World Heritage List include the Monastery and Site of the Escorial in Spain, an earlier palace-monastery built by a king; the Royal Palace at Caserta in Italy; and the Palace and Park of Versailles in France.

Why it belongs to everyone

Mafra belongs to everyone because it shows how the wealth of a world empire was turned into art, music and learning, and keeps a great library and a unique set of bells and organs for all.

In the cultural dictionary Palace Roman Baroque Monastery

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: Mafra in six chapters, from the highlights to a king's vow and Brazil's gold, the basilica, bells and organs, the library, palace, convent and gardens, and how to see and photograph it best6 chapters · about 4 min to read

What makes Mafra itself: (1) a single immense building joining a royal palace, a basilica and a Franciscan convent; (2) a basilica of coloured marble with a great dome, two bell towers with famous carillons, and six organs; (3) a Rococo library of about 36,000 books; (4) the Cerco garden and the walled Tapada hunting park; (5) a monument to the wealth of Brazilian gold and the ambitions of King João V.

Be clear about what you see. The Cerco garden behind the building is a public garden, and the Tapada, a few kilometres away, is a separate park with its own entrance and fees.

1. What to see: the highlights

Wide frontage of the palace-convent under scattered cloud, 2015
Wide frontage of the palace-convent under scattered cloud, 2015Emin Başar ÖZDEMİR, CC BY 3.0

Five things make a visit. The first is the great front, more than 200 metres long, with the basilica in the middle. The second is the basilica, with its dome, marble and statues. The third is the library, perhaps the most beautiful room in Portugal. Like a whole royal city built under a single roof.

The fourth is the palace rooms, with long corridors, the royal apartments and the friars' cells. The fifth is the green world behind the building: the formal Cerco garden and the Tapada, where deer and wild boar live.

2. A king's vow and Brazil's gold

Palace-convent across open ground in an 1891 lantern slide, 1891
Palace-convent across open ground in an 1891 lantern slide, 1891Boutroue, Alexandre (1846-1899). Chef de la mission. Auteur de la conférence. Photographe, Public domain

In the early 18th century, gold and diamonds discovered in Brazil made the Portuguese crown one of the richest in Europe. King João V spent lavishly on churches, palaces and art to show the glory of his monarchy, and Mafra was his greatest work. The building is a huge rectangle, with the basilica at the centre of the front, the king's palace at one end and the queen's at the other, linked by long galleries, and the convent behind around courtyards. At the height of the work, it is said, more than 50,000 workers and thousands of soldiers to keep order were employed. Like a gold mine turned into stone.

Look at the whole front from the square: its two bell towers and two corner pavilions give it a perfect symmetry.

3. The basilica, bells and organs

Dome of the basilica seen from the floor, September 2020
Dome of the basilica seen from the floor, September 2020Jules Verne Times Two, CC BY-SA 4.0

The basilica follows Roman Baroque models, with a façade between two towers and a great dome over the crossing. It is built of marble in white, pink, grey and black from Portuguese quarries, and filled with statues by Italian sculptors. In its two towers hang two carillons, made in Flanders, with about a hundred bells, the largest set of 18th-century carillons in the world; they can play melodies across the town. Inside, six organs, made in the early 19th century, can be played together, a combination found nowhere else. Like a cathedral that can sing with a hundred bells and six voices.

Look up into the dome, with its coffers and the light from its lantern, and listen for the bells on a Sunday when they are played.

4. The library

Rococo library hall with galleries and chequered marble floor, May 2026
Rococo library hall with galleries and chequered marble floor, May 2026Kent Wang, CC BY 4.0

The library, finished in the late 18th century, is a long hall about 88 metres in length, with a vaulted ceiling, a floor of chequered marble and Rococo wooden bookcases painted white and gold, with a gallery running around them. It holds about 36,000 books from the 14th to the 19th century, on theology, law, medicine, science and travel. It is often said that a colony of small bats lives in the library and comes out at night to eat the insects that could damage the books; the furniture is covered at night to protect it. Like a long white ship carrying the knowledge of three centuries.

Look at the leather spines in their thousands and the carved and gilded details of the shelves.

5. Palace, convent and gardens

Clipped hedge garden with the basilica dome beyond, May 2026
Clipped hedge garden with the basilica dome beyond, May 2026Kent Wang, CC BY 4.0

The palace rooms run along corridors so long that the king and queen lived at opposite ends of the building. Visitors see royal bedrooms, halls with painted ceilings, a hall of hunting trophies and a room of games, as well as the friars' side: their cells, kitchen, pharmacy and infirmary. The convent was built for some 300 Franciscan friars. Behind the building, the Cerco garden, once the convent's kitchen garden and orchard, is now a public garden, and the Tapada, a walled park of about 800 hectares, was the royal hunting ground and is now a nature reserve. Like a palace and a monastery sharing one long house.

In the cloister gardens, look up at the basilica's dome and towers rising above the clipped hedges.

6. How to see it best and photograph it

Palace towers and wing at blue hour with a bare tree, 2025
Palace towers and wing at blue hour with a bare tree, 2025Alexkom000, CC BY 4.0

It's best to come in spring or autumn, on a weekday morning. Allow two to three hours for the basilica and palace, and more for the garden or the Tapada. On some Sundays the carillons are played in concerts, and the six organs are played together on special occasions. Mafra is about 45 minutes by car or bus from Lisbon, and close to the surfing beaches of Ericeira. Like a morning spent inside a king's dream.

For photographs, the front is best from the far side of the square in the morning; inside, the basilica dome and the library from its doorway make the classic pictures.

People who stood here

We searched English and Portuguese sources for this list.

  • João V (king, 1689–1750)Vowed and built the palace, basilica and convent.
  • João Frederico Ludovice (architect, 1673–1752)German-born goldsmith and architect who designed the building.
  • Maria Bárbara (princess, 1711–1758)The daughter whose birth, by tradition, fulfilled the king's vow; later queen of Spain.
  • Manuel II (king, 1889–1932)Spent his last night in Portugal at Mafra in 1910 before going into exile.
  • José Saramago (writer, 1922–2010)Told the story of the building of Mafra in his novel Baltasar and Blimunda.

Tickets and travel info

Tickets and hours

  • The palace was €15 (approx.) on the 2025 official price table; the basilica is free.

Last checked 2026-11-19. UNESCO World Heritage Centre (whc.unesco.org/en/list/1573): cultural site inscribed in 2019 on criterion (iv); conceived by King João V in 1711 as a tangible representation of his conception of the monarchy and the State, this imposing quadrangular building houses the king's and queen's palaces, the royal chapel shaped like a Roman baroque basilica, a Franciscan monastery and a library containing 36,000 volumes; the complex is completed by the Cerco garden and the royal hunting park (Tapada)..

How long, and when

  • Quick: two hours for the basilica, palace and library. Slow: a full day, adding the Cerco garden, the Tapada and the coast at Ericeira.
  • Spring and autumn; Sundays for the bells.

Last checked 2026-11-19. UNESCO World Heritage Centre (whc.unesco.org/en/list/1573): cultural site inscribed in 2019 on criterion (iv); conceived by King João V in 1711 as a tangible representation of his conception of the monarchy and the State, this imposing quadrangular building houses the king's and queen's palaces, the royal chapel shaped like a Roman baroque basilica, a Franciscan monastery and a library containing 36,000 volumes; the complex is completed by the Cerco garden and the royal hunting park (Tapada)..

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 · Palácio Nacional de Mafra

Search for Terreiro D. João V, 2640-492 Mafra

€15 (approx.); basilica free (2025 official price)

Where to start

  • We'd suggest starting in the basilica, then the palace entrance on the north side.

Before you go

  • It's worth checking the closing day and any carillon or organ concerts.

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 The palace is open most days except Tuesdays and some holidays, with one ticket for the palace, convent rooms and the view of the library; the basilica is open for worship and visits. The Tapada has its own opening hours and fees.
  • Note Mafra is about 45 minutes by car or bus from Lisbon; buses also run to Ericeira on the coast, about 10 km away.
Official website

Checked 2026-11-19 Museus e Monumentos de Portugal price table (Despacho 13793/2024, in force from 1 January 2025): Palácio Nacional de Mafra €15; the basilica is free; checked 19 Nov 2026

If you search for tickets on these sites yourself, search for “Mafra Palace tour” 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

Real Edifício de Mafra – Palácio, Basílica, Convento, Jardim do Cerco e Tapada MAH-frah

Address Terreiro D. João V, 2640-492 Mafra, Portugal (in the small town of Mafra, about 30 km north-west of Lisbon and 10 km from the Atlantic coast)

Google Maps Apple Maps

Words on the signs
Palácio Nacional de MafraNational Palace of Mafra
BasílicaBasilica
BibliotecaLibrary
ConventoConvent
Jardim do CercoCerco Garden
TapadaHunting park

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
1717Work on Mafra beginsHandel's Water Music is first performed in London
1730The basilica is consecratedBach is working as cantor in Leipzig
1910Manuel II spends his last night in Portugal at MafraHalley's Comet passes close to the Earth
2019World HeritageThe first image of a black hole is published

One line to remember: a king's palace, basilica, convent and library in one vast Baroque building near Lisbon.

Local legends

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

LegendThe king's vow

The traditional story says that João V promised to build a convent at Mafra if his queen gave him an heir, and that the birth of Princess Maria Bárbara in 1711 led him to keep his word on an ever greater scale.

Source: Portuguese tradition, retold by UNESCO and the palace

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

Do bats really live in the library?
The story is widely told and the staff do cover the furniture at night, but how many bats live there and how much they help protect the books is hard to confirm.

Look for these

  1. Find the two bell towers.
  2. Find the chequered marble floor of the library.
  3. Find a painted ceiling in the palace.
  4. Find the stone well-house in the garden.

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