Predjama Castle: A Renaissance Cave Castle in Slovenia
Site at a Glance
- Rating
- 4.7
- Popularity
- Very High
- Country
- Slovenia
- Primary era
- Early Modern
- External website
- Open
- Eras represented
- Medieval, Early Modern
- Civilizations
- Habsburg, Holy Roman Empire
- Site type
- Military
- Remains
- Castle
On this page9 sections
History
Predjama Castle is a Slovenian cave castle with medieval origins traced to the twelfth century and a Renaissance form created in the sixteenth century. Built into the entrance of a giant cave near the village of Predjama, it used the surrounding cliff and rock shelters as part of its defensive structure. The castle is associated with the Jamski family, also known by German forms derived from Lueg, and became famous through the fifteenth-century lord Erasmus Jamski.
Medieval Origins and Lords
Predjama appears in records from 1202 and 1274, when it was connected with the Jamski noble family. The castle and earlier fortifications were held first by the Patriarchate of Aquileia, an ecclesiastical principality whose rulers also exercised territorial authority, and later by the Habsburgs. The Jamski knights were initially vassals of the Counts of Gorizia and later of the bishops of Aquileia.
The medieval fortress occupied the location of the present complex. Its defensive environment included Luknja, a natural rock refuge reached only along a ridge beside a drop of about 60 metres. A concealed route passed through the rock and cave system toward the mountain top, where it emerged high above the castle.
Erasmus Jamski and the Siege
In the second half of the fifteenth century, Predjama was held by Baron Erasmus Jamski, also called Erasmus von Lueg. Local tradition connects his revolt with the killing of the imperial marshal Heinrich von Pappenheim, supposedly in retaliation for an insult to the memory of Erasmus’s friend Andreas Baumkircher.
Erasmus became involved in the rivalry between the Habsburg emperor Frederick III and Matthias Corvinus, the king of Hungary and Croatia. He supported Matthias and used Predjama as his principal base while attacking imperial garrisons and merchant caravans travelling toward Vienna from Italy, Istria, and Dalmatia. His activities later contributed to his traditional characterization as a raubritter, a nobleman accused of using a fortified position for raiding and private warfare.
Frederick III ordered Baron Gaspar von Rauber, the governor of Trieste, to capture Erasmus. The siege lasted about a year. In 1484, one of Erasmus’s servants betrayed his location by revealing it with a lantern, and Erasmus was killed. The traditional story says that projectiles struck him while he was using a privy, although the details belong to the castle’s long-standing legend.
Erasmus was buried in the nearby town square beside the fifteenth-century Gothic Church of Saint Mary of the Seven Sorrows, beneath a large lime tree. The church and tree are said to survive. The church was consecrated by the Italian cardinal Francesco Nanni Todeschini-Piccolomini, who later became Pope Pius III.
Rebuilding and the Cobenzl Residence
After Erasmus’s defeat, Frederick III granted Predjama to the Oberburg family. The castle passed to the Purgstall family in 1511, during whose ownership it was severely damaged by an earthquake. A replacement castle built by the Purgstalls in the first decade of the sixteenth century was also destroyed in that earthquake.
Archduke Charles of Austria leased Predjama to Baron Philipp von Cobenzl in 1567. Between 1570 and 1583, Johann, or Janez, von Cobenzl rebuilt the castle in the Renaissance style, enclosing the older medieval and Erasmus-era core within new walls. The Cobenzl family bought the castle from the Crown in 1587 and became its full owners.
During the eighteenth century, the Cobenzls used Predjama as one of their preferred summer residences. The statesman and art collector Philipp von Cobenzl and the diplomat Ludwig von Cobenzl were among the family members associated with the castle. After thieves entered through the secret Vipava passage, the family blocked it with masonry in the early seventeenth century.
Later Ownership and Museum History
Count Michael Coronini von Cronberg inherited Predjama in 1810. Prince Alfred zu Windischgrätz purchased it in 1846, and the Windischgrätz family retained ownership until the occupation of Slovenia by Yugoslav Partisans in 1945. After the Second World War, communist authorities nationalized the castle and converted it into a museum.
A restoration completed in 1990 returned Predjama approximately to the appearance it had in 1583. The castle is a Slovenian cultural monument of national importance and has the status of a national museum. Annual knightly tournaments commemorating Erasmus Jamski continue as a modern tradition, concluding with a medieval banquet.
Remains
Predjama combines masonry with a natural cliff, a cave portal, rock shelters, shafts, and underground passages. The castle stands beneath a natural rock arch, pressed against a vertical rock wall about 123 metres high. It occupies a large cave entrance halfway up the cliff, at the end of a valley where the Lokva stream disappears beneath the rock wall. The surviving building has three to four storeys, while the Renaissance walls enclose the older central core.
Castle and Cliff
The present castle was built in 1570 in Renaissance style under Johann von Cobenzl and remained substantially unchanged after that rebuilding. Its structure is integrated directly with the cliff and cave entrance, making the rock part of the castle’s supporting and defensive environment. The earlier medieval and Erasmus-era core survives within the later Cobenzl enclosure, preserving the physical relationship between the fortress’s medieval origins and its sixteenth-century reconstruction.
Passages and Cave Levels
The cave system extends through four levels. The lowest level is traversed by the Lokva stream and contains siphons accessible only to equipped cave explorers. The second level lies directly below the castle, while the third includes the cave known as Erasmus’s Cave. A large passage once used as a horse stable connects with the lower system, and metal stairs lead upward through the cave.
A vertical natural shaft, enlarged under Erasmus, connected the original castle with an exit high above the fortress. During the siege, food was brought through this route secretly, and the passage was said to have allowed Erasmus to continue his raids. The Vipava passage was blocked after the burglary, then reopened and explored after the Second World War. Speleologists, specialists who explore and study caves, later closed it again, and it has been cleared since about 2000. The Upper Passage, which leads toward woodland high above the castle, survives.
Museum and Erasmus Memorials
Parts of the cave are incorporated into the museum and cave complex. The castle museum displays weapons, household objects, pictures, and tools. A life-size statue of Erasmus Jamski stands in one of the castle halls, connecting the surviving interior with the figure whose siege and death shaped Predjama’s historical tradition.
The nearby town square contains the Church of Saint Mary of the Seven Sorrows and the lime tree associated with Erasmus’s burial. These features remain directly linked to the tradition that his grave lay beside the church beneath the tree.




