Montjuïc Castle
Historic siteMontjuïc Castle looks down on Barcelona from a wooded hill above the port — and for two centuries, it looked down on the city with cannons pointed at it, not out to sea. This is a fortress that turned its own guns on the people below it, and later became one of the primary killing grounds of Franco’s dictatorship.
A castle that shelled its own city
On 3 December 1842, General Espartero ordered Montjuïc’s cannons to open fire — not on an invading army, but on Barcelona itself, to crush a popular uprising below. Over twelve hours, the castle fired 1,014 rounds into its own city, killing at least twenty civilians and destroying buildings across the centre. It was a brutal proof of what the fortress had actually become: not a shield facing the sea, but a cage facing inward, built to control Barcelona rather than defend it. The 1843 bombardment that followed only confirmed it. From that point on, Montjuïc’s real enemy was never a foreign fleet — it was the city underneath it.
The 1896 trial that scandalised Europe
After a bomb exploded during Barcelona’s Corpus Christi procession in 1896, some 400 anarchists, trade unionists and suspected radicals were rounded up and taken to Montjuïc. Eighty-seven went to trial; five were executed by firing squad. What made the case infamous wasn’t the verdicts — it was the torture used to extract confessions, exposed by journalist Alejandro Lerroux’s newspaper campaign and picked up across Europe. The international outcry forced Madrid to back down, and most of the remaining prisoners were released by 1901. It was the first time Montjuïc’s reputation as a place where the truth got tortured out of people reached beyond Spain’s borders — it would not be the last.
Lluís Companys: the president shot at dawn
The castle’s darkest single act came on 15 October 1940. Lluís Companys, the democratically elected President of Catalonia, had fled to France after Franco’s victory — only to be captured by the Gestapo and handed over to Spanish authorities. After a court martial lasting under an hour, he was held in solitary confinement in the castle’s former chaplain’s quarters, then executed by firing squad in the Santa Eulàlia moat at six in the morning, reportedly kneeling with a crucifix in his hands. His death turned Montjuïc into a site of Catalan political martyrdom that still resonates today. The castle carried a physical reminder of that era for decades afterward too: a 2,000-kilogram angel statue from a monument to Franco’s fallen soldiers stood in the Santa Elena moat until 2023, when Barcelona’s city council finally removed it — the last Francoist monument left standing anywhere in the city.
The White Terror’s assembly line
Between 1939 and 1952, Montjuïc became a processing centre for what came to be called the White Terror. Military courts moved thousands of Republicans, Catalanists, trade unionists and intellectuals through trials that sometimes lasted minutes, sentences effectively decided before the hearing began. Roughly 250 people were executed here during the Civil War alone, out of nearly 1,500 held at the castle in that period; historians estimate close to 4,000 executions took place across Barcelona in the post-war repression, with Montjuïc as its principal stage. In 2018, restoration work in the castle’s cisterns and dungeons uncovered graffiti scratched into the walls by 19th-century prisoners — names, dates, fragments of protest, left by people whose only crime, in many cases, was who they were rather than what they’d done.
The Pati d’Armas
A multilingual exhibition space traces the site from prehistoric finds through its medieval beacon role to its darkest 20th-century chapter.
The dungeons and cistern
One-hour guided visits reach otherwise closed-off areas, including the cells where 19th-century prisoner graffiti was recovered in 2018.
Cam\u00ed del Mar
An airy walking track around the seaward foot of the castle gives some of the best panoramic views over the port and city.
Military history collection
Weapons, uniforms and archaeological finds trace the castle’s use from the 17th century onward, alongside the darker political record.
Getting there and what a visit actually feels like
Montjuïc Castle sits at the top of Montjuïc hill, reachable by cable car from Poble Sec or Montjuïc’s own funicular-plus-cable-car combination, or by a longer walk through the surrounding gardens. It is worth going in with the right expectations: the views over Barcelona and the Mediterranean are genuinely spectacular, but the exhibitions inside are deliberately unflinching about what happened here. Locals in Barcelona have historically had a complicated relationship with the hill above them for exactly that reason — it is a place people visit for the panorama and leave having learned something considerably heavier than they expected.
Frequently asked questions
Did Montjuïc Castle really fire on Barcelona itself?
Yes — in December 1842, General Espartero ordered a twelve-hour bombardment of the city from the castle to suppress an uprising, firing over 1,000 rounds and killing at least twenty civilians.
Who was executed at the castle?
Most notably Lluís Companys, President of Catalonia, shot by firing squad in 1940. Anarchists were executed here in the 1890s, and roughly 250 people were executed during the Civil War, with thousands more processed through the site during the post-war White Terror.
How do I get to the castle?
By cable car from Poble Sec, via Montjuïc’s funicular-and-cable-car combination, or on foot through the surrounding gardens and parkland.
Is it just a military museum, or does it cover the political history too?
Both — the exhibitions cover military engineering and weaponry alongside a deliberately direct account of the imprisonments, trials and executions carried out here.
Explore more of Barcelona
Montjuïc Castle is one of many destinations on the CostaMap interactive map — browse beaches, villages, castles and viewpoints across the whole coast.
This place is part of our Costa Barcelona Guide: Maresme, Garraf, Sitges & Penedès — see every town, beach and cove we have mapped on that coast.
How this page is maintained. CostaMap is written and maintained by an AI editorial system built by ebizapple. Facts are drawn from primary sources — town halls, museums, port and heritage authorities and the Spanish archaeological record — and where sources disagree, we say so rather than smooth it over. Photographs marked as ours are taken on location. This page was last reviewed on 10 August 2026. Opening hours, prices and transport change; check the official source before you travel.
