About this place
Castillo de San Andrés stands guard over Carboneras, a small coastal town on the Almería shoreline in eastern Andalusia. Perched on the Cabezo de la Carbonera hill right above the water, this 16th-century fortress was for centuries the only defensive stronghold along this stretch of the Levante Almeriense.
Why was a fortress built here?
Construction was ordered by King Philip II in the final decades of the 16th century, as part of a broader effort to fortify the coastline of the former Kingdom of Granada. In 1559 the king tasked the Marquis of Carpio with raising a fort capable of repelling Barbary corsair raids and containing the unrest tied to the Morisco population. The building work wrapped up in 1577.
Once the castle stood finished, the Marquis of Carpio parceled out the surrounding farmland to a captain and 27 soldiers of the garrison. Their families became the first permanent settlers of Carboneras — the town effectively grew up around the fortress walls rather than the other way around.
What did the fortress look like, and what was it for?
The stronghold shows up in coastal defense records from 1602 onward, though finishing work dragged on well into the 17th century, slowed by funding shortages and the constant struggle to keep a garrison properly staffed. The layout is rectangular, with semi-circular towers at three of the corners and a square keep — the Torre del Homenaje — at the southern corner, rising three stories under barrel vaults. Everything is arranged around a central parade ground, the patio de armas, and the interior once held a chapel dedicated to Saint Andrew, soldiers' quarters, a dining hall and a kitchen.
Is it still a working fortification?
No. Through the 18th and 19th centuries the castle kept its watch over the coast and its defensive role, even as its strategic importance faded. In 1837, when Carboneras was formally established as a municipality, the fortress became part of the new town center. The 20th century brought steady decline, until a 2013 restoration consolidated the structure and adapted it for cultural use by the town council.
What should visitors know before going?
The castle sits right in the heart of Carboneras, a short walk from the seafront promenade and the town's beaches, making it an easy stop to pair with a coastal stroll. Today Castillo de San Andrés functions as a cultural venue: the town council hosts events and exhibitions inside its walls, so a visit combines a look at genuine 16th-century military architecture with a sense of how the old fortress now fits into everyday local life.
Frequently asked questions
Who built Castillo de San Andrés? King Philip II ordered its construction, with the Marquis of Carpio overseeing the work; it was completed in 1577.
Why was the castle built in this exact spot? To defend the coast of the former Kingdom of Granada against Barbary corsair attacks — Carboneras sits on an exposed section of the Almería shoreline.
Did the town of Carboneras grow out of the castle? Largely, yes. The first permanent residents were the garrison's families — a captain and 27 soldiers who received the surrounding farmland from the Marquis of Carpio.
Can the castle be visited today? Following its 2013 restoration, the building is used for cultural events and exhibitions organized by the local council.
Nearby places
Earn badges for the places you visit
Download NextOnTrip, discover new places and check off your trails.