Fàbrica de ciment Asland, Castellar de n'Hug
Cingleres de roca i boscos sobre Castellar de n'Hug
Vista del poble, Castellar de n'Hug
Fonts del Llobregat, Castellar de n'Hug
Index card

Presentation

Where the Llobregat rises, among cliffs and grazing meadows

Half a kilometre west of the village, below Pleta Roja, rainwater and snowmelt that seep through the limestone emerge again to form the Fonts del Llobregat, the source of a river that flows through 28 municipalities before reaching the Mediterranean Sea. Above them, Castellar de n'Hug rises in tiers at the foot of Balços, the cliffs that shelter it from the north wind. On 18 August 1292, Ramon d'Urtx, lord of Mataplana, granted the village a charter of liberties to attract settlers: anyone who settled there was freed from feudal dues and oppressive obligations in exchange for 12 deniers a year for their house and garden.

The municipality lies in north-eastern Berguedà, on the border with Ripollès. It borders Toses and Alp to the north, Gombrèn to the east, Bagà and Guardiola de Berguedà to the west, and la Pobla de Lillet to the south. The village is at an altitude of 1,395 m, the municipality covers 47.12 km² and has a population of 165 (Idescat, 2026). Besides the main village, it includes the hamlet of Sant Vicenç de Rus, the neighbourhoods of l'Erola and la Ribera, la Soleia, Can Ros and Clot del Moro. The terrain is rugged, with tossal de Rus (2,113 m) and Pleta Roja (2,031 m) to the north. More than two thirds of the municipality is covered by pine and beech forests, with oaks and ashes, while meadows dominate the ridges.

The place name Kastellare appears as early as 839 in the consecration document of catedral d'Urgell. From the 12th century, the territory belonged to the Mataplana family, and in 1373 the barony was purchased by Pere Galceran de Pinós. The castle, last mentioned in 1482, stood where Cal Tòfol is today. The església de Santa Maria retains the base of its bell tower and the ironwork on its door from the Romanesque period. During the Third Carlist War, within sight of the village, General Savalls's troops were defeated by those of General López Domínguez.

For centuries, the village lived off its flocks and herds: in the 19th century, sheep and cattle were the backbone of the economy, and in the early 20th century, smuggling near the border helped people get through the hard years. Shepherds left more than 300 dry-stone structures scattered across the mountainside: huts, windbreaks, livestock enclosures and springs. In 1904, at Clot del Moro, Eusebi Güell's company opened the fàbrica de ciment Asland, designed by Rafael Guastavino. Around 200 workers were employed there, and the cement was transported down to Guardiola de Berguedà by narrow-gauge railway. The factory closed in 1975.

Since the 1960s, on the last Sunday in August, the International Sheepdog Competition has brought shepherds from Catalonia, Andorra, France, the Basque Country, the Valencian Country and the Balearic Islands to Prat del Castell. Each dog must guide the flock through a corridor of flags, stop it on the judges' command and lead it into a pen. For Sant Miquel, on 28 and 29 September, the village festival keeps the Cerdanya dance alive, a variant of the ball pla performed by pairs of local residents. Other events include the gathering at Sant Joan de Cornudell on 24 June, the Wool Fair and the International Smugglers' Walk, which since 1991 has linked Castellar with Osseja, in northern Cerdanya.

Today, according to the Gran Enciclopèdia Catalana, Castellar de n'Hug is the leading tourist destination in Berguedà: it has 7 hotels with 121 places (Idescat, 2025). Livestock farming remains active, with 1,496 cattle and 1,469 sheep recorded in 2020 (Idescat), and the Museu del Pastor and the Museu del Ciment tell the story of the two trades that shaped the village. The Natura Local circular route climbs past cova de la Tuta to Tossal d'Orriols and returns via Molí d'Orriols and Fonts del Llobregat.

Parque Natural Natura 2000 EIN

Do not miss it

  • Head down to the Fonts del Llobregat in spring, when the melting snow makes the main spring gush with water: from the viewpoint on the path you can see the water emerge from the limestone and tumble down in cascades.
  • Take a close look at the door of Santa Maria, in the square in the old town: it dates from the modern period, but the door leaves retain Romanesque ironwork.

When to go

  • Spring: as the snow melts, more water flows from Fonts del Llobregat. At the end of March, the Cement Train resumes service between la Pobla de Lillet and el Clot del Moro (timetable on the Turistren website).
  • Summer: the Sant Joan de Cornudell gathering takes place on 24 June, and the International Sheepdog Trials are held at Prat del Castell on the last Sunday in August. This is the season for high-altitude grazing, with flocks in the meadows.
  • Autumn: on 28 and 29 September, the Sant Miquel town festival features the traditional Cerdan dance. The Cement Train runs until early November, mainly at weekends.
  • Winter: snow at coll de la Creueta and Pla d'Anyella. Check road conditions before heading up.

What to do

  • Take the circular route Tossal d'Orriols and Fonts del Llobregat via la Tuta: 9.8 km and 680 m of elevation gain, passing the cova de la Tuta, the pastures of Tossal d'Orriols, the Molí d'Orriols and the Fonts del Llobregat. Some sections have no marked path.
  • Walk down to the Fonts del Llobregat along the stepped path that starts at the car park at the entrance to the village. Before setting off, check its condition in the notices on the town council website.
  • Learn about the shepherd's trade at the Museu del Pastor, in the centre of the village, where the tools and implements of the trade are kept (visits by appointment on 93 825 70 16).
  • Visit the Museu del Ciment, in the former Asland factory at Clot del Moro, built in tiers on the hillside; you can get there on the Tren del Ciment from la Pobla de Lillet.
  • Take a close look at reproductions of the 12th-century paintings of Sant Vicenç de Rus in the apse; the church is below the BV-4031 road, between km 5 and 6.
  • Head up to coll de la Creueta along the BV-4031: it is the watershed between the Llobregat and Ter rivers, with Pla d'Anyella to the north.
  • Look for the Catalan sheepdog monument in the village, a work by Emili Armengol unveiled in 1985.

Did you know that

Although the name suggests a certain Lord Hug, according to the Gran Enciclopèdia Catalana the second element of the place name could come from the Latin nuce, related to the Fonts del Llobregat, rather than from a person.

Around

  • In la Pobla de Lillet, to the south, stroll through Jardins Artigas, attributed to Gaudí, and take the Tren del Ciment, which stops there on its way to Clot del Moro.
  • In Gombrèn, on the other side of the Arija, visit the ruins of castell de Mataplana, the residence of the barons who ruled Castellar and granted it its charter of liberties.
  • Continue via coll de la Creueta towards Toses, la Molina and Cerdanya.
  • In Bagà, to the west, get information at the Parc Natural del Cadí-Moixeró centre before heading into the mountains.
  • Head down to Guardiola de Berguedà, the terminus of the narrow-gauge railway that carried cement down from the Asland factory.

How to get there

Castellar de n'Hug is on the BV-4031 road, which connects it with la Pobla de Lillet to the south and, via coll de la Creueta, with la Molina and Cerdanya. From Berguedà, take the B-402 from Guardiola de Berguedà to la Pobla de Lillet, and then the BV-4031.

Roadworks on the B-402: in la Pobla de Lillet, near kilometre 8.5, work resumed in early October 2026 and is expected to last nine months. There are traffic disruptions and alternating traffic controls, so allow extra time if you are coming from Guardiola.

For public transport, the town council recommends the Alsina Graells (ALSA) and Autocars Mir services and the Generalitat's Mou-te journey planner (mou-te.gencat.cat).

Contact telephones

Emergencies
112
Castellar de n'Hug Town Council and Municipal Tourist Office
938 257 077
Turisme del Berguedà (Monday to Friday, 9 am to 2 pm)
654 125 696
Parc Natural del Cadí-Moixeró Centre (Bagà)
938 244 151
Museu del Ciment
938 257 037

Links of interest

Images
Routes

Routes in Castellar de n'Hug

Showing 1 - 1 of 1
  • Activity and difficulty
    By foot
    By bike
    By horse
  • Filter by type
    Typology
    Type of land
    Theme
Visits

What to see in Castellar de n'Hug

Showing 1 - 6 of 6
  • Filter by type
    Theme
Services

Where to eat and sleep in Castellar de n'Hug

Showing 1 - 9 of 9