About this place
Castell de Ribatallada is a ruined medieval fortress, more precisely a fortified farmhouse (mas fortificat), standing on a hilltop in the municipality of Castellar del Vallès, in the Vallès Occidental region near Barcelona. The site sits close to the hamlet of Sant Julià d'Altura, right on the border with neighboring Sabadell, which sometimes causes confusion about which town it actually belongs to — administratively, it falls within Castellar del Vallès today.
How do you get there?
Castell de Ribatallada lies off the main tourist routes of Catalonia, which is part of its appeal for anyone looking for a quiet spot. The easiest approach is by car from Castellar del Vallès or Sabadell, followed by a short walk or bike ride along local dirt tracks leading up the hill. The surrounding area is popular with local hikers and trail runners, and the ruins serve as a natural landmark on routes connecting Sabadell with the rural stretches of Vallès.
What will you see?
What survives today is largely the walls of the old fortified farmhouse that gradually replaced the original medieval stronghold. The building sits at the top of a rise, offering views over the surrounding valleys. At the foot of the hill, two streams — the Gotelles and the Gran de Can Font — merge to form the Riera de Ribatallada, a tributary of the Ripoll river. This confluence gave the site its name and keeps the surroundings notably green and scenic, especially in spring.
It's worth knowing that the ruins have not been restored or specially protected — the land currently belongs to Aigües de Sabadell, the local water utility company, and the structure has been gradually deteriorating. This is a place for visitors who value the authenticity of an abandoned, overgrown landmark more than a polished attraction with information panels.
A bit of history
The castle is first documented in 1136, when Ramon Berenguer IV, Count of Barcelona, granted it as a fief to the powerful seneschal Guillem Ramon of the Montcada family. The Montcadas held the fortress until 1310, after which rights passed to the Clasquerí family. In the 14th century, the Togores family also held claims over the property. Over the centuries the site evolved from a typical medieval defensive castle into a fortified farmhouse, a pattern common to many similar sites across the Vallès region, where old strongholds gradually lost their military role in favor of agricultural use.
When should you visit?
Spring and autumn are the best times, when temperatures in the Vallès region are mild and the surrounding hills and streams look their most picturesque. Summer heat in central Catalonia can be intense, particularly on this exposed, shade-free hilltop. Since there's no tourist infrastructure on site, bring your own water and comfortable shoes — this is a place for a short detour or a stop along a longer hike, rather than a standalone day-trip destination.
Frequently asked questions
Is Castell de Ribatallada located in Sabadell or Castellar del Vallès? Administratively, the ruins belong to the municipality of Castellar del Vallès, even though they sit close to the border with Sabadell, which is why some sources list the two interchangeably.
Can you go inside the ruins? The site is largely abandoned and unsecured, so any visit is at your own risk — there's no official infrastructure or supervision.
How long does a visit take? It's a small site — seeing the ruins and the nearby streams typically takes 30 to 60 minutes, longer if you combine it with a walk through the surrounding countryside.
Are there other attractions nearby? Yes, the Vallès Occidental region offers numerous hiking trails and other historic sites, including the Castell de Castellar del Vallès, making it easy to pair a visit here with a broader day of sightseeing in the area.
Nearby places
Earn badges for the places you visit
Download NextOnTrip, discover new places and check off your trails.