The Walk up to Ljubljana Castle
Quick facts
- Start
- Triple Bridge and the market
- Finish
- Gornji trg
- Stops
- 8 — from the view from Stritarjeva Street to the Šance and the vineyard
- The climb
- on foot via Študentovska Street, Reber and Mačja steza or Ulica na grad — or by funicular
- At the castle
- Outlook Tower, castle courtyard, chapel, Pipers’ Tower, the Penitentiary exhibition
- Tip
- visit without hurrying
How would you like to read?
As you cross the Triple Bridge from Prešeren Square, the castle appears like a stage set above the city — close enough to invite you up.
The classic route leads from the market along Študentovska Street towards Castle Hill. More hidden is the way via Reber and Mačja steza, shadier via Ulica na grad — and with no climb at all, the funicular.
The hill was settled in prehistory. The castle is first mentioned in a deed from 1112–1125; in the 15th century it was fortified against Ottoman raids, and in 1515 rebellious peasants attacked it.
The castle served as barracks, hospital, penitentiary and prison. In 1905 the city bought it under Mayor Ivan Hribar; renovation began after 1963.
From the top Ljubljana appears as a whole: the old town, the Ljubljanica, the market, the Triple Bridge and, on clear days, the hills around the basin.
A short walk from the castle, with fewer crowds. At the start of the avenue a view opens towards St James’s Church, Prule and Trnovo; Plečnik also shaped this space.
On the southern slope below the castle grow vines — a small, living detail above the city.
The bronze group of rebellious peasants south of the castle reminds us that history is not only the history of rulers.
In Ljubljana it is almost impossible to keep your eyes off Ljubljana Castle. It has reigned over the city since medieval times and still defines one of Ljubljana’s most recognisable skylines. You see it from the embankments, squares, bridges and narrow streets of the old town, but one of the finest views of it opens up from Stritarjeva Street, as you cross the Triple Bridge from Prešeren Square. There the castle appears almost like a stage set above the city: close enough to invite you up, and high enough to remind you that Ljubljana did not begin with Plečnik, but has stood on this spot for centuries and millennia.
How to get up to Ljubljana Castle

There are several ways up to the castle, and each slightly changes the feel of the visit. The most obvious route leads from the central market along Študentovska Street and on towards Castle Hill. This is the classic climb from the old town, ideal for those who want to combine the castle with the market, the cathedral and the bustle of the city below.
More urban and a little more hidden is the route along Reber and Mačja steza. Here the old town quickly turns into a climb between houses, walls and trees. The path is shorter, more direct and less picture-postcard, but that is exactly what makes it lovely.
For a shadier approach, take the route from Gornji trg up Ulica na grad and on along the paths of Castle Hill. Anyone who wants the view without the climb can take the funicular. It is not the most romantic option, but it is efficient — which sometimes painfully reminds you that you have a body.
The history of Ljubljana Castle

The history of Castle Hill is older than the castle itself. People recognised this spot as a safe and strategic point long before the Middle Ages. Archaeological research shows that the core area of today’s castle complex was already settled in prehistory, at the transition from the Bronze Age to the Iron Age. The hill gave control over the river, the roads and the settlement below, so it is no surprise that the first fortified settlements took shape right here. Later, Roman Emona grew up below it, and Castle Hill kept its strategic role in antiquity too.
After the fall of the Roman world, the history of Castle Hill retreats into silence for a few centuries. The next clearer traces appear in the early Middle Ages, when the Ljubljana area came into the hands of the Carinthian noble family of the Spanheims. In 1106 the Spanheims inherited the lordship of Ljubljana, and the first written mention of Ljubljana Castle is linked to a deed of gift from between 1112 and 1125, when Rudolf of Tarcento gave a small estate near the castle to the chapter of Aquileia. Documents like these are not exactly beach reading, but they are valuable because they show that the castle was already an important enough place to appear in written sources.
In the 13th century a castle already stood above the town, protecting the settlement below and making clear where power lay. The castle was not a romantic backdrop above the city, but a place of control, defence and power. The castle and the town faced their first known military test in 1270, when the Bohemian king Ottokar II Přemysl seized the Spanheim lands. Ljubljana later came under Habsburg rule, and the castle became an important part of the town’s defences.
I would love to spin you a tale of heroic defenders repelling a larger enemy army from the walls, but in all its history Ljubljana Castle does not really have such a story. Its history is not that of one great epic battle, but of power, control, defence and slow change. That is precisely why the castle was not destroyed in a dramatic siege or wiped out in battle, but remained above the city through the centuries as a stubborn reminder of Ljubljana’s different eras.
The castle gained an even more important military role in the 15th century, at the time of the Ottoman raids. According to historical sources the Ottomans first reached the town gates in 1415, so both the town and the castle began to be fortified. Ljubljana received its walls in 1416 and 1448, and they were strengthened again in 1463 and 1478. In the time of Emperor Frederick III of Habsburg, the old medieval fortress was almost entirely torn down and a new, stronger castle was built, adapted to the firearms of the day. This was not a renovation for a nicer view, but a military and political decision at a time when the town had to be protected from a real threat.
But the castle did not face only outward enemies. In 1515, during the great peasant revolt, the rebellious peasants also attacked Ljubljana Castle, but the castle’s lords repelled the attack. This event neatly shows the castle’s double nature: for the town it could mean protection, for the serfs a symbol of the power they rose against. So we should not see Ljubljana Castle merely as a pretty medieval backdrop above the city, but as a place where fear, power, defence and rebellion met.
Later the castle slowly lost its original role as a fortress. Over the centuries it served as a military storehouse, barracks, hospital, penitentiary and prison. In the 19th century its prison character was especially pronounced, and today visitors can learn about this part of its history in the Penitentiary exhibition, set up in the former solitary cells. In the 20th century the castle even became housing for socially disadvantaged citizens, which is a long way from the image of a glittering castle residence.
Its fate was not always a given. In 1905, during the term of Mayor Ivan Hribar, the city bought it from the state for 60,200 crowns, roughly equivalent to 320,000 euros today. The purchase was not just a practical municipal decision: the castle that had looked down on the city for centuries became the city’s own.
Only after 1963, when the last residents were given flats in the city, did a thorough renovation begin, gradually turning Ljubljana Castle into a cultural, historical and tourist centre.
What to see at Ljubljana Castle

Today most visitors come up to the castle for the view. And rightly so: from the Outlook Tower Ljubljana looks different than it does down by the river. From above, the city is no longer just a series of streets, squares, bridges and roofs, but a whole. You can see the old town, the Ljubljanica, the market, the Triple Bridge, church towers, the more modern parts of the city and, on a clear day, the hills that enclose the Ljubljana basin.

The view from the castle is not just a pretty sight for a photo, but a way to understand, for a moment, the relationship between the city, the river and the hill.
But Ljubljana Castle is not only a viewpoint. The castle courtyard, the exhibitions, the chapel, the Pipers’ Tower, the prison rooms and other attractions show that the castle changed its role many times over the centuries. It was a fortress, a symbol of power, a military site, a prison, a refuge and today a cultural venue. That is why a visit is more interesting if you understand it not just as the goal of a climb, but as a place where different periods of the city’s history have settled in layers.
Šance
One of the loveliest parts of Castle Hill is not necessarily inside the castle walls. Just a short walk away are the Šance, a place visitors to the castle often overlook — and for that very reason there is less of the bustle of mass tourism there.
Right at the start of the tree-lined avenue leading to the Šance, one of the finer photo spots opens up: a view towards the Church of St James, which marks the beginning of Gornji trg, and on towards Prule, Trnovo and further to the south-western part of Ljubljana. The path between the trees brings us to a calmer, almost hidden part of the hill, which Jože Plečnik also shaped with his design.
The castle vineyard
Castle Hill hides another less expected feature: the castle vineyard. On the southern slope below the castle grow vines that pull Ljubljana Castle away from the usual image of a medieval fortress.
Above the city, between stone, trees and the view, something almost surprisingly everyday and alive appears. The vineyard is not the castle’s biggest attraction, but it is one of those details that make Castle Hill feel not just like a historical site, but part of a living city.
The Monument to the Peasant Revolts
South of the castle also stands the monument to the peasant revolts. The bronze group of rebellious peasants with their farm tools is not the most visited spot on Castle Hill, but it carries a special weight.
While the castle speaks of power, walls and control over the city, the monument recalls those who resisted that power throughout history. That is exactly why this part of the hill matters: it shows that history was not only the history of rulers, but also of the people who bore the consequences of their power.
More than just a castle
Ljubljana Castle is therefore more than the finest viewpoint above the city. It is a place where Ljubljana reveals itself in layers: a prehistoric hill, a medieval fortress, Habsburg defences, a prison, a city symbol, forest paths, Plečnik’s Šance, a vineyard and a view that, for a moment, brings the city below together as a whole.
You can climb up to the castle quickly, slowly, on foot or by funicular. But it is best visited without hurrying. Below, Ljubljana is small enough to walk across, but from Castle Hill it shows itself, for a moment, as old enough to remind us how little time we are actually here.
