Skip to main content
Montjuïc castle: history, views and how to visit

Montjuïc castle: history, views and how to visit

Barcelona: walking tour with Montjuïc castle and cable car

Duration: 3 hours

From €28
  • Free cancellation
Check availability

Is Montjuïc castle worth visiting and how much does it cost?

Check current entry prices and any free-entry times on the castle's official website. The views from the ramparts over the port, city and sea are excellent. Allow 1–1.5 hours. The castle itself has a complicated and often brutal history as a military prison — the site where many Catalan republicans were executed, including the Catalan president Lluís Companys in 1940.

WhereSummit of Montjuïc hill
CostCheck the castle’s official website for current prices
Time needed1–1.5 hours
Getting thereCable car from Paral·lel funicular, or 20–25 min walk
Best timeLate afternoon (from 17:00) for the light

The hill of Montjuïc rises 173 metres above the port of Barcelona and has been a defensive position, an Olympic venue, a garden and — for most of its modern history — a site of political repression. The castle at its summit is the most prominent building on the hill, but understanding what happened here is as important as the view from the ramparts.

A brief, honest history

A fortress has occupied the summit of Montjuïc since 1640, when it was built during the Catalan uprising against the Castilian crown (the same political crisis that gave Catalonia its national day, September 11). The current castle structure dates primarily from the 18th century, when the Bourbon monarchy reinforced it after winning the War of Spanish Succession.

Throughout its history, the castle was used less as a defence against external enemies than as a tool of political control. In 1840, the liberal general Baldomero Espartero bombarded Barcelona from the castle during a popular uprising. In 1909, after the Tragic Week of anti-conscription riots, 1,700 people were arrested and several executed, including the anarchist educator Francesc Ferrer i Guàrdia.

The darkest chapter came under the Franco regime. Between 1939 and the late 1950s, the castle served as a military prison and execution ground for political prisoners. The most prominent victim was Lluís Companys, the democratically elected president of the Generalitat de Catalunya, executed by firing squad here on October 15, 1940. A memorial in the moat honours him and the others who died.

In 2007, the Spanish government returned ownership of the castle to Barcelona city. Its current use as a cultural space and museum is the city’s attempt to reclaim the site from its associations. The process of historical reckoning is ongoing and acknowledged in the exhibition inside.

What to see at the castle

The ramparts: The most rewarding part of the visit. The outer walls and moat walk give a full circuit of the hilltop with views in every direction — the port and sea to the southeast, the city grid to the north, the industrial coast south toward the delta and, on clear days, the Balearic Islands as a faint blue line on the horizon. The late afternoon light from 17:00 onward is particularly good.

The interior exhibition: The permanent exhibition covers the castle’s military and political history across several rooms of the former barracks and guardhouse. The Catalan and Spanish texts are thorough; English is less comprehensive. The Franco-era sections include documentary photographs and personal histories of prisoners.

The moat and gardens: The dry moat on the south side has been partially converted into a garden with plantings that attract birds. It is a quiet contrast to the exposed ramparts and worth 20 minutes.

The governor’s residence: A restored 18th-century building within the inner courtyard. Often used for temporary cultural exhibitions.

How to read the castle as you walk it

Most visitors treat the castle as a viewpoint with a few old walls attached. It works better if you treat it as a building with a purpose. The thick walls, the moat and the narrow passages were designed to keep people out, but for much of the castle’s later life they served to keep people in. Keeping that in mind changes how the ramparts feel: the same stone that frames the best views of the port also framed the only view many prisoners had.

Start the visit with the exhibition rather than saving it for last. The rooms give you the political context, so that when you step out onto the ramparts you know what you are looking at. Then walk the full circuit slowly. The view changes at each corner, and the contrast between the working port below, the grid of the Eixample beyond it and the open sea is the real reward. If you have already spent time in the Eixample, you can pick out its regular blocks from above and understand how the city was laid out.

If you are interested in how the city came to be the way it is, the castle pairs naturally with the Barcelona history guide, which covers the longer arc from the Roman settlement to the modern city. The 1640 uprising, the War of Spanish Succession and the twentieth-century repression all appear there in context, and reading it before you go makes the exhibition far easier to follow, particularly if the English texts feel thin.

Who the castle suits, and who might skip it

The castle is a good fit for travellers who like a mix of history and scenery and who are comfortable with a sombre subject. It works well for a first visit to Barcelona, because it gives you a sense of the geography of the whole city in one sweep, and it works just as well for a return visit when you want something beyond the big Gaudí names. If you are building a longer stay, the 3-day classic itinerary leaves room for a Montjuïc half day, and the Gaudí-focused itinerary can easily absorb the castle as a contrast to all the Modernisme.

Families can enjoy it too, though the subject matter deserves a conversation beforehand with older children, and younger ones will mostly enjoy the cable car and the open space on the walls. Parents planning the wider trip will find more ideas in the Barcelona with kids guide. Be aware that the rampart paths are uneven in places, so a pushchair is awkward and small children need holding near the edges.

Travellers who dislike heights or exposed walking should note that the walls are open and the wind can be strong at the top. Those short on time, or who only want a view, may be happier at a lighter viewpoint; the Bunkers del Carmel guide describes an alternative with a very different, more informal atmosphere. If your priority is a wide panorama with a funfair on top, Tibidabo is the other classic choice.

Choosing when to go

The best timing depends on what you want from the visit. For the rampart light and fewer crowds, go late in the afternoon; the page above explains why the evening glow works so well. For a quiet exhibition experience, early in the day is calmer, since the tour groups tend to arrive later. Weekends and free-entry times are when many locals and visitors come, so expect more people on the narrow walkways and in the exhibition rooms.

Weather matters more than you might expect. On a clear day the horizon is sharp and the sea stretches out in a way that makes the whole detour worthwhile. On a hazy or windy day the experience is still pleasant but the long views flatten. If the forecast looks poor, it may be better to swap this visit with an indoor stop; the rainy day blog post has ideas for rearranging a plan around bad weather. Spring and autumn are the most comfortable seasons for walking the hill, and the best time to visit Barcelona guide helps you decide when to schedule it within your wider trip.

The cable car: Telefèric de Montjuïc

The Montjuïc cable car runs from the Paral·lel area (connected to Paral·lel metro station by the Funicular de Montjuïc, free with metro ticket) to the castle from the Parc Montjuïc stop directly to the castle, with an optional stop at the Mayor’s viewpoint on the way back. It offers excellent views over the city and port throughout.

Cost: €17.10 roundtrip online (€19 at the ticket office); €12 one way. Children aged 4–12: €11.70 roundtrip online (€13 at the ticket office), €10 one way.

Hours: 10:00–18:00 (January, February, November, December), 10:00–19:00 (March–May, October), 10:00–21:00 (June–September). Check the official Telefèric de Montjuïc website for current schedules.

Queues: Can be significant in summer at peak times (11:00–15:00). Early morning or late afternoon departures are shorter.

The alternative is the Transbordador Aeri del Port — the historic aerial cable car that crosses the port from Barceloneta beach to the Mirador del Migdia on lower Montjuïc. It does not reach the castle directly but gives a completely different perspective: looking down at the harbour instead of over the city. Check current prices on the official Transbordador Aeri website.

Walking routes

From the Funicular upper station, it is a 20–25-minute walk along a paved road through pine forest to the castle. The road is pleasant in spring and autumn; in July and August it is hot and exposed. The walk down through the Jardins de Laribal (botanical garden terraces cascading down the northern slope) to the MNAC and Fundació Joan Miró takes about 30–40 minutes and is consistently more rewarding than the service road.

Whichever way you go, think about the return leg before you set off. Many people ride up and then walk down, which spreads the effort and lets you linger in the gardens. Others prefer to walk up in the cooler part of the day and take the cable car back for the view. Both work; what does not work well is arriving in the heat with no plan for water or shade. Bring something to drink, wear comfortable shoes with decent grip, and remember that the paths on the hill are far longer than they look on a map.

Fitting the castle into a wider trip

Montjuïc is one of the few parts of Barcelona where you can string several very different experiences together without crossing the city. Art lovers can add the Fundació Joan Miró and the MNAC; anyone curious about traditional architecture can add the Poble Espanyol; and the whole area is covered in the Montjuïc destination page, which gives the broader picture of what the hill offers. The lively streets at the foot of the hill belong to Poble-sec, a good base for lunch or an evening drink once you have come back down.

If your time in the city is limited, the castle is one of the places you can cut without losing the essentials, but it is also one of the few that tells a story the Gaudí sights do not. For help deciding how much time the whole trip needs, see the how many days in Barcelona guide. For a sense of how this hill compares with the rest of the city’s neighbourhoods, the best neighbourhoods guide is a useful companion.

Combining Montjuïc in one day

A well-sequenced full Montjuïc day:

TimeActivity
10:00Cable car or walk to castle
10:00–12:00Castle visit, rampart circuit and exhibition
12:00–13:00Walk down through Jardins de Laribal
13:00–15:00Lunch in Poble-sec (Carrer de Blai pintxos bars, 10 minutes from the hill base)
15:00–17:00Fundació Joan Miró or MNAC
EveningMagic Fountain light show (check the seasonal schedule)

This sequence uses the castle’s morning light for the rampart circuit, avoids the midday heat on the exposed walking paths, and ends with the free evening fountain show at the foot of the hill.

For the Magic Fountain timing and schedule, see the Magic Fountain guide.

For the cable car and scenic routes detail, see the Montjuïc cable car guide.

Respect and etiquette at a place of memory

Because the castle is also a site of remembrance, a few habits are worth keeping. Speak quietly near the memorial in the moat and in the exhibition rooms that deal with prisoners and executions. Avoid posing for lighthearted photos at the memorial itself; the ramparts are the place for scenery shots. If you are visiting with a group, agree beforehand that the history sections deserve a little time, so that nobody feels rushed through them to reach the view.

It also helps to know that this history is still part of living memory for many families in Catalonia. Conversations with local guides, shop owners or hosts may touch on it, and listening is usually better than debating. To understand more of the cultural background behind this, the Catalan culture guide explains the identity and traditions that give the castle’s story its weight.

Making the most of a short visit

If you only have a limited slot, plan the castle around three simple priorities. First, walk the ramparts once without stopping, just to get your bearings: find the port, the sea, the city grid and the hills behind it. Second, return to the stretch that gave you the best view and take your photographs there, when you are no longer rushing. Third, spend whatever time remains in the exhibition, choosing the rooms that interest you most rather than trying to read every panel. This order gives you the scenery and the story even when the clock is against you.

For a slower visit, bring a small snack and a bottle of water, and treat the moat garden as a place to sit. Many visitors rush straight back to the cable car, yet the quiet corners of the castle are where the atmosphere is strongest. Pair the visit with the Montjuïc cable car guide if you want to plan the ride in more detail, and keep the getting around Barcelona guide at hand for the metro, bus and funicular connections that bring you to the foot of the hill.

Practical notes

Entry: Check current prices and free-entry times on the castle’s official website.

Getting there: Funicular de Montjuïc from Paral·lel station (L2/L3) then cable car (€17.10 roundtrip online), or city bus 150 from Plaça Espanya, or on foot from multiple access points.

Accessibility: The cable car is accessible. The castle interior is partially accessible; the rampart circuit has uneven surfaces. Contact the castle in advance for specific requirements.

Photography: No restrictions. The ramparts are the best photography location; midday is the least interesting light.

Language: All signage in Catalan and Spanish; limited English. The audio guide (available at the ticket desk) covers English.

If you would rather have the castle’s history and the cable car ride bundled with the evening fountain show in one planned outing, a combined ticket covers all three without you having to work out the sequencing yourself.

For just the castle and cable car without the evening extension, a simpler combined ticket covers the ascent and entry in one purchase.

Montjuïc castle rewards visitors who engage with both the view and the history. The rampart circuit is genuinely excellent — comparable to the best fortification views in Europe — and the honest acknowledgement of the castle’s use as a place of political execution makes the visit more significant than a simple sightseeing stop. The cable car is the appropriate way up, and the walk down through the gardens is the appropriate way back.

Frequently asked questions about Montjuïc castle

  • How do you get to Montjuïc castle?
    The scenic option is the Montjuïc cable car (Telefèric de Montjuïc) from the Paral·lel metro station area (there is a funicular connection from Paral·lel) or from the lower Montjuïc hill. The cable car costs €17.10 roundtrip online (€19 at the ticket office; €12 one way). You can also walk up from the Jardins de Laribal, which takes about 20–25 minutes and is pleasant in spring or autumn. From Barceloneta, the Transbordador Aeri del Port (port cable car) reaches the lower Montjuïc without the funicular step.
  • What is the dark history of Montjuïc castle?
    The castle was used as a military prison for several centuries. During the Civil War and Franco dictatorship, it was the site of executions of political prisoners. Lluís Companys, the elected president of the Generalitat de Catalunya, was shot here on October 15, 1940 after being extradited from France by the Gestapo. The castle was symbolically handed over to Barcelona city by the Spanish government in 2007. This history is acknowledged in the current exhibition.
  • What are the opening hours of Montjuïc castle?
    The castle is open daily 10:00–20:00 from 1 March to 31 October (the box office closes at 19:30) and 10:00–18:00 from 1 November to the end of February (box office closes at 17:30). It is closed only on 25 December and 1 January. Check ticket requirements and prices on the castle's official website.
  • Is the view from Montjuïc castle better than other viewpoints?
    The castle offers a unique panorama that combines the port, the entire city skyline and the sea in a single sweep — different from the city-inland views at Tibidabo or the Bunkers del Carmel. The southeast-facing position means morning light is behind you; afternoon and evening light makes the city glow.
  • Can I combine Montjuïc castle with other Montjuïc sights?
    Yes. The castle is at the top of Montjuïc hill; the MNAC, Fundació Joan Miró, the Olympic Stadium and the Magic Fountain are all on the slopes below. A full Montjuïc day would logically sequence: cable car to castle in the morning, walk down through the Jardins de Laribal to Fundació Joan Miró or MNAC in the afternoon, ending with the Magic Fountain in the evening.

Top experiences

Bookable activities with verified prices and instant confirmation on GetYourGuide.