NextOnTrip

Castell d'Avinyó

Avinyonet del Penedès, Spain

About this place

Castell d'Avinyó is a medieval fortress site in the municipality of Avinyonet del Penedès, in the Alt Penedès district at the heart of Catalonia's wine country. Almost nothing of the original structure stands above ground today, yet its documented history stretches back over a thousand years, and it is listed as a cultural asset of national interest in Catalonia.

Where exactly are the remains?

Archaeologists place the castle's foundations at the site of the Can Porràfols farmhouse, where traces of walls and structural remains have been identified. The hill the fortress once occupied was known as "Avinyó," and it is this name that gave the surrounding municipality its own: Avinyonet del Penedès, located a short drive from Vilafranca del Penedès, the district's main town.

What is the history behind it?

Records show the castle already existed in the 10th century, when it functioned as a dependency of the larger Castell d'Olèrdola, the principal stronghold guarding this stretch of the Penedès. A man named Màger, son of Sendred, held it on behalf of the count. A church dedicated to Sant Pere was also built within the castle grounds and consecrated by Bishop Vives of Barcelona sometime between 973 and 995.

The Almoravid raids of the early 12th century brought the first structure down, most likely in 1108. Reconstruction only became possible decades later, in 1156, when Count Ramon Berenguer IV granted the Avinyó hill to a nobleman named Berenguer d'Avinyó, authorizing him to build houses and a new castle there.

By the close of the 12th century, the surrounding lands had passed to the monastery of Poblet through a testamentary bequest. In 1227 the monastery's abbot sold the castle to the Bishop of Barcelona, who then transferred it to the Pia Almoina de Barcelona, a charitable institution devoted to feeding the poor. From the 17th century until the 19th, the property belonged to the Crown.

What can visitors actually see?

It has to be said plainly: there is no standing tower or curtain wall to admire, only foundations and wall fragments on private farmland at Can Porràfols. This is a site for history enthusiasts and amateur archaeologists rather than a dramatic ruin with battlements. Most visitors pair it with a stop at the much better preserved Castell d'Olèrdola nearby, which has its own interpretation centre, or with Castell de les Gunyoles, another historic site within the same municipality.

When is the best time to visit?

Since Penedès is wine country, spring (April to June) and early autumn (September and October) offer the most pleasant conditions, coinciding with the grape harvest and tastings at the region's many wineries and cava cellars. Summers tend to be hot and dry, which makes walking the surrounding hills less comfortable.

How do you get there?

Driving is by far the easiest option: Avinyonet del Penedès sits along the roads connecting Barcelona and Tarragona, roughly 40 to 50 minutes from central Barcelona. The nearest town with rail connections is Vilafranca del Penedès, from which you'll still need a car or taxi to reach the site itself, as there is no direct public transport to the location.

Frequently asked questions

Are there any walls still standing? Only fragments — foundations and remnants of defensive walls have been identified on the grounds of the Can Porràfols farmhouse. There are no reconstructed or roofed ruins to walk through.

Can you visit the site on your own? The area sits on private land, so it's worth checking local access conditions before heading out. Combining the trip with a visit to the better-equipped Castell d'Olèrdola is the more reliable option.

Where does the name Avinyonet del Penedès come from? It derives from the Avinyó hill, where the medieval castle once stood — the same name that eventually gave the whole municipality its identity.

Are there other historic sites nearby worth seeing? Yes. The same municipality is home to Castell de les Gunyoles, and just a few kilometres away lies the extensive Castell d'Olèrdola complex, with its walls, necropolis, and viewpoints over the Penedès countryside.

Nearby places

Earn badges for the places you visit

Download NextOnTrip, discover new places and check off your trails.