NextOnTrip

Hreljin Castle

Hreljin, Croatia

About this place

Hreljin Castle is a medieval fortress perched on a hill above the town of Hreljin, Croatia, in the western part of the Vinodol region near the Kvarner Gulf. The ruins overlook the former seaport of Bakarac, which once served the castle as its maritime gateway.

Where does the castle's history begin?

Hreljin first appears in written records in 1225, when the Croatian-Hungarian king Andrew II granted it to the powerful Frankopan noble family. Under the Frankopans, Hreljin grew into one of their strongholds in the Vinodol region. In 1288, it was one of nine towns whose representatives signed the Vinodol Codex — one of the oldest Slavic legal codes, a document of major importance for the legal history of the region.

After the Frankopans, ownership passed to another major noble house, the Zrinski family, who held Hreljin from 1550. Their rule ended abruptly in 1671, when the leaders of both the Zrinski and Frankopan families were executed following accusations of conspiracy against the Habsburgs — an event that sealed the fortress's decline.

When nearby Bakar was declared a royal free city in 1778, Hreljin fell under its authority, though by then the castle was already crumbling. Its final chapter came in 1790, when the last remaining residents — three priests — abandoned the fortress for good.

How do you get there?

Hreljin lies in the Primorje-Gorski Kotar region, close to the main routes connecting Rijeka with the Kvarner coast. The town sits on high ground above the former port of Bakarac, with sea views stretching out below. It makes for a convenient stop for travelers driving through this part of Croatia, easily combined with a trip between Rijeka and the more famous coastal resorts nearby.

What will you see on site?

What remains today of the Frankopan and Zrinski stronghold are ruins — fragments of defensive walls and structures that have been decaying for more than two centuries without permanent inhabitants. Despite the passage of time, the site still carries the unmistakable defensive character typical of Vinodol's medieval strongholds: a commanding hilltop position, control over the surrounding land, and views toward Bakar and the Kvarner Gulf.

The location itself, where mountains meet the coast, makes for a striking vantage point regardless of how much of the walls still stand. It's also a chance to walk through physical traces of a history that began with a royal grant in the 13th century and ended quietly with the departure of the last clergymen at the close of the 18th.

When is the best time to visit?

Given the ruined state of the site and the lack of tourist infrastructure, spring, summer, and early autumn are the best times to visit, when the weather is comfortable for walking the hillside and the views over the Kvarner Gulf are at their clearest. Keep in mind this is a destination for those drawn to history and scenery, not organized visitor facilities.

Frequently asked questions

Who built Hreljin Castle? The fortress is most closely associated with the Frankopan family, who received Hreljin from King Andrew II in 1225 and developed it as one of their power centers in the Vinodol region.

What is the castle's connection to the Vinodol Codex? Hreljin was one of nine towns whose representatives signed the Vinodol Codex in 1288, one of the oldest surviving Slavic legal codes.

Why did the castle fall into ruin? After the execution of the Zrinski and Frankopan family leaders in 1671, the fortress lost its significance. It was finally abandoned in 1790 by its last three inhabitants, priests, after the surrounding area came under the authority of the city of Bakar.

Can you visit the ruins today? Yes, the remaining walls can be seen on the hill above Bakarac, though this is primarily a historical and scenic site without extensive tourist infrastructure.

Nearby places

Earn badges for the places you visit

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