- Slovenian operator
- Slovenske železnice (SŽ)
- From Austria
- Villach, Graz, Vienna, Klagenfurt
- From Italy
- Trieste, Villa Opicina, Venice
To reach Slovenia by train, the easiest way in is through Austria, via Villach and Jesenice or via Graz and Maribor; from Munich there's a sleeper to Ljubljana. There are trains to Zagreb, Rijeka and Budapest, while from Italy you nearly always change at Villa Opicina. Slovenske železnice sells tickets from €9 to Zagreb, €9.90 to Villach and €11.60 to Trieste.
Second-class fares from Ljubljana
| Destination | Standard fare | From (offer) | Route |
|---|---|---|---|
| Villach | €19.80 | €9.90 (FME) | Jesenice |
| Vienna | €88.70 via Maribor | €39.90 (FME) | Maribor and Graz, or Jesenice and Villach |
| Munich | From €64.90 | €24.90 (SparSchiene/SparNight) | Villach and Salzburg |
| Trieste Centrale | €11.60 | No offer listed | Villa Opicina |
| Zagreb | Not given | €9 (Spezial) | Dobova |
| Budapest | Not given | €16 | Celje, Maribor and Hodoš, or Graz |
| Nova Gorica-Venezia Mestre | €16.10 | No offer listed | Gorizia |
Slovenske železnice international travel pages, checked on 17 October 2026. The fare tables have different validity dates; check them before buying.
By train I'd enter Slovenia from Austria or Croatia, where it works well; from Italy, with a change almost guaranteed, I'd check the coach first. And I'd buy the cheap fares online before boarding, because on board they only sell the full fare.
If you only read this
Full read: 2 min
- Most international trains come in through Austria.
- Villach from €9.90, Zagreb from €9 and Munich from €24.90.
- From Italy you nearly always change, except the weekend direct train to Nova Gorica.
- Buy offers before boarding.
My checklist before setting off
The practical bit
What the official sites leave out
-
01 To save money
First Minute Europe
With the SŽ and ÖBB FME offer, a Ljubljana-Villach single starts at €9.90, and children aged 6 to 15 travel free with an adult. Seats are limited and non-refundable.
Vienna to Ljubljana -
02 Most beautiful
The Munich sleeper
The EN 414 leaves Ljubljana at 10.10pm and reaches München Ost at 5.50am, with seats, couchettes or sleeping cars. On the SparNight fare it starts at €24.90.
-
03 Getting there
Zagreb from €9
Several direct trains a day link Ljubljana and Zagreb, with the Spezial fare at €9 one way. They stop at the Dobova border station.
Zagreb to Ljubljana -
04 My tip
Buy before you board
Slovenske železnice warns that on board you can only buy the full fare to the border. International offers must be bought beforehand at a ticket office or online.
From Austria, the easiest way in
This is the easiest way in. Trains leave Ljubljana for Villach via Jesenice roughly every two hours, from 5.42am to 7.29pm, plus the 10.10pm sleeper. The standard fare is €19.80, and with First Minute Europe it starts at €9.90. Graz is reached via Maribor on a direct train several times a day, and Vienna has two routes, via Graz and Maribor or via Villach and Jesenice, with tickets from €39.90 (€29.90 if you start from Maribor or Celje). Klagenfurt needs a change, at Villach for Ljubljana and at Bleiburg for Maribor. I cover it in detail in Vienna to Ljubljana.
From Germany
Munich has daily trains via Villach and Salzburg, nearly all with a change at Villach, plus a sleeper. The EN 414 leaves Ljubljana at 10.10pm and reaches München Ost at 5.50am, and the return leaves München Ost at 11.51pm, arriving at 7.50am. A standard seat costs from €64.90, and the SparSchiene or SparNight fare drops to €24.90, with limited availability and valid only on the night train. There are six- and four-berth couchettes and sleeping cars.
From Croatia and Hungary
Zagreb has several direct trains a day from €9 on the Spezial fare, explained in Zagreb to Ljubljana, and a Friday through train runs from Zagreb via Ljubljana to Pula, coming back on Sundays. The Tourist Board also mentions two daily trains to and from Rijeka. Budapest has the MV 247, leaving Ljubljana at 9.15am and reaching Budapest Déli at 4.59pm via Celje, Pragersko and Hodoš, and another option via Graz to Budapest Keleti. Slovenske železnice sells it from €16, and it’s covered in Budapest to Ljubljana.
If you are staying the night, see the best hotel deals in Ljubljana for your dates: the well-placed rooms go fast.
From Italy, with a change
Here you nearly always change. Between Trieste and Ljubljana, Slovenske železnice offers two trains a day each way with a change at Villa Opicina, for €11.60, and until 12 December 2026 a replacement bus runs between Ljubljana and Logatec on the evening departure from Ljubljana. The exception is the direct train on Saturdays, Sundays and Italian holidays between Nova Gorica and Venezia Mestre, for €16.10. Both are covered in Trieste to Ljubljana and Venice to Ljubljana.
How to buy an international ticket
I’ve gathered the alternatives to rail, from flying to the coach, in how to get to Slovenia. Buy international offers before boarding, at a ticket office or on the Slovenske železnice website, because the conductor can only sell you the expensive ticket, and only as far as the border station. The Tourist Board recommends booking ahead for international journeys.
So you do not lose the morning at the ticket office, browse tickets and tours in Ljubljana on GetYourGuide.
If you are staying the night, see the best hotel deals in Ljubljana for your dates: the well-placed rooms go fast.
Nova Gorica railway station, a long pale building, with Europe Square in front under a blue sky
The Lent quarter of Maribor on the banks of the Drava, with red-roofed houses, a tower and reflections in the river
Test yourself
True or false?
0/3 Pick before you peek.
-
There's a sleeper train between Ljubljana and Munich.
See the answer
True. Slovenske železnice lists the EN 414, leaving Ljubljana at 10.10pm and arriving at München Ost at 5.50am.
-
On the FME offer to Austria, children aged 6 to 15 pay half fare.
See the answer
False. They travel free when accompanied by an adult, under the First Minute Europe conditions.
-
International offer tickets can be bought from the conductor.
See the answer
False. On board, only the full fare to the border station is sold.
- Ljubljana-Zagreb on Spezial
- €9
- Ljubljana-Villach on FME
- €9.90
- Ljubljana-Munich, from
- €24.90
- Ljubljana-Budapest, from
- €16
Frequently asked questions
Can I get to Slovenia by train from the UK?
Yes, but with several changes, as there's no through train. The usual way is to reach Germany, Austria or Italy and come in via Munich, Villach or Trieste. Interrail and Eurail passes are valid in Slovenia.
Is there a night train to Ljubljana?
Yes. The EN 414 leaves Ljubljana at 10.10pm for Munich, arriving at München Ost at 5.50am, and the return sleeper leaves München Ost at 11.51pm and reaches Ljubljana at 7.50am.
Is there a train from Vienna to Ljubljana?
Yes, by two routes, via Graz and Maribor or via Villach and Jesenice, according to Slovenske železnice, which sells tickets from €39.90 on First Minute Europe (€29.90 from Maribor or Celje).
Is there a train from Budapest to Ljubljana?
Yes. The MV 247 leaves Ljubljana at 9.15am and reaches Budapest Déli at 4.59pm via Hodoš, and there's another option via Graz to Budapest Keleti. Slovenske železnice sells it from €16, and it's covered in [Budapest to Ljubljana](/en/slovenia/budapest-to-ljubljana/).
Is there a direct train from Italy to Slovenia?
Only the weekend train between Venezia Mestre and Nova Gorica. Between Trieste and Ljubljana, the Slovenske železnice timetable has a change at Villa Opicina.
0 of 425 Slovenia guides
Your next stamp
- Slovenia, Italy and Austria
- How to get there
- Nearby airports
- Trains
- Budapest to Ljubljana
- Getting around
- Vienna to Ljubljana
- Slovenia and Croatia
- Bogenšperk Castle
- Bogojina
- Debeli rtič
- Ig pile dwellings
- Jeruzalem
- Kolpa River
- Koper
- Lake Cerknica
- Lipica
- Ljubljana
- Ljubljana to Bled
- Mariborsko Pohorje
- Mount Snežnik
- Palace Portorož
- Park of Military History
- Plečnik House
- Postojna
- Postojna Cave
- Škocjan Caves
- Štanjel
- Tartini Square
- Trbovlje
- Županova jama
- Izola
- Kamnik
- Karst
- Ljubljana to Postojna
- Lovrenc Lakes
- Maribor
- Portorož
- Predjama Castle
- Things to do in Ljubljana
- Travel guide
- Vilenica Cave
- Zagorje ob Savi
- Celje
- Cerknica
- Domžale
- Hrastnik
- Ljubljana in a day
- Ljubljana to Piran
- Piran
- Slovenian Istria
- Strunjan
- Things to do
- Activities
- Ankaran
- Grosuplje
- Litija
- Ljubljana in two days
- Pivka
- Sečovlje salt pans
- Velenje
- Brežice Castle
- Getting around Ljubljana
- Ilirska Bistrica
- Mežica Mine
- Most beautiful places
- Novo mesto
- Sevnica Castle
- Terme Olimia
- Vrhnika
- Žiče Charterhouse
- Dolenjska
- Ig
- Prettiest villages
- Ptuj
- Sežana
- Divača
- Medvode
- Murska Sobota
- Posavje
- World Heritage
- Hrpelje-Kozina
- Logatec
- Map
- Mengeš
- Brezovica
- Komen
- Savinjska
- Where is Slovenia
- Bled
- Brežice
- Čatež ob Savi
- Celje Castle
- Coal Mining Museum
- Gorenjska
- Hotels in Piran
- Hrastovlje
- Karawanken Geopark
- Koroška
- Kostanjevica Cave
- Kostel Castle
- Krokar primeval forest
- Kurentovanje
- Lent
- Ljubljana Castle
- Ljubljana Cathedral
- Logar Valley
- Oldest vine in the world
- Olimje
- Otočec
- Regions
- Rimske Toplice
- Rinka Waterfall
- Rogla
- Sava River
- Slovenj Gradec
- Topolšica
- Velika Planina
- Goriška
- Krško
- Lake Bled
- Municipalities
- Podravje
- Prešeren Square
- Ravne na Koroškem
- Restaurants in Piran
- Škocjan Inlet
- Volčji Potok Arboretum
- Bled Island
- Cities
- Mežica
- Pomurje
- Sevnica
- Socerb Castle
- Bled Castle
- Coast and Karst
- Dravograd
- Kostanjevica na Krki
- Population
- Notranjska
- Ojstrica viewpoint
- Radlje ob Dravi
- Size
- Central Slovenia
- Language
- Mislinja
- Plečnik's Ljubljana
- Slovenska Bistrica
- Vila Bled
- Currency
- Grand Hotel Toplice
- Ormož
- Zasavje
- EU and Schengen
- Hotel Savica Garni
- Hotels in Bled
- Pohorje
- Haloze
- History
- Restaurants in Bled
- Flag and symbols
- Hoče-Slivnica
- Bizeljsko
- Bohinj
- Christmas in Ljubljana
- City Hotel Ljubljana
- Gorjanci
- Kranj
- Krka River
- Laško
- Moravske Toplice
- Ptuj Castle
- Public holidays
- Rajhenburg Castle
- Šentilj
- Slovenia beaches
- Šmartno pri Litiji
- Uršlja Gora
- Brdo Castle
- Independence Day
- Lake Bohinj
- Ljubljana Festival
- Radenci
- Rogaška Slatina
- Day trips from Ljubljana
- Jesenice
- Lendava
- Podčetrtek
- Savica waterfall
- Time zone
- Dobrna
- Facts
- Ljubljana nightlife
- Ljutomer
- Nova Gorica
- Vogel
- Bohinjska Bistrica
- Gornja Radgona
- Ljubljana Old Town
- Solkan
- Zreče
- Grad
- Sabotin
- Slovenske Konjice
- Stara Fužina
- Trnovo
- Goričko
- Holidays and tours
- Hotels in Bohinj
- Škofja Loka
- Vitanje
- Škofja Loka Castle
- Slovenia or Slovakia
- Šoštanj
- Veržej
- Slovenian phrases
- Slovenia in 3 days
- Bela krajina
- Caves in Slovenia
- Črnomelj
- Dragon Bridge
- Gorje
- Hiking
- Hotels in Maribor
- Kozjansko Regional Park
- Kranjska Gora
- Lake Ptuj
- Ljubljana Marshes
- Slovenia in 5 days
- Vinarium Tower
- Where to stay in Ljubljana
- Žalec
- Metlika
- Slovenia castles
- Slovenia in a week
- Slovenian Mountain Trail
- Triple Bridge
- Vintgar Gorge
- Vršič Pass
- Where to eat in Ljubljana
- Best viewpoints in Slovenia
- Central Market
- Juliana Trail
- Lake Jasna
- Road trip
- Semič
- Žirovnica
- Kočevje
- Metelkova
- Motorhome
- Museums in Slovenia
- Naklo
- Soča rafting
- Tržič
- Zelenci
- Jezersko
- Kostel
- Lake Planšar
- Skiing
- Slovenia with kids
- Slovenian Alpine Museum
- Tivoli Park
- Best time to visit
- Cerklje na Gorenjskem
- Cycling
- Dolenjske Toplice
- Ljubljanica river
- Mojstrana
- Šenčur
- Krvavec
- National Gallery
- Parenzana
- Peričnik waterfall
- Šmarješke Toplice
- Weather
- National and University Library
- Paragliding
- Slovenia in winter
- Strmol Castle
- Trebnje
- Vrata valley
- Climbing
- Events
- Martuljek waterfalls
- Žale
- Fly fishing
- In January
- Ljubljana museums
- National Museum of Slovenia
- Rateče
- Bovec
- Festival Lent
- Golf
- Hotels in Ptuj
- In February
- Kamnik-Savinja Alps
- Nature parks
- Parking in Ljubljana
- Pekel Cave
- Planica
- Snežnik Castle
- Solčava
- Gornji Grad
- In March
- Kranjska Gora ski resort
- Lakes
- Trenta
- Ziplines
- Alpe Adria Trail
- Hotels in Kranjska Gora
- In April
- Kanin
- Nazarje
- Waterfalls
- In May
- Rivers
- Virje waterfall
- Vransko
- Hotels in Bovec
- In June
- Mountains
- Šentjur
- Dobra Vila Bovec
- In July
- Ljubljana Card
- Mozirje
- Spas
- In August
- Nebesa Chalets
- Rečica ob Savinji
- In September
- Kobarid
- Šmartno ob Paki
- In October
- Kobarid Museum
- Hiša Franko
- In November
- In December
- Radovljica
- Železniki
- In spring
- Museum of Apiculture
- Žiri
- In summer
- Kropa
- Tolmin
- Brezje
- In autumn
- Metaldays
- Tolmin Gorges
- Begunje
- Javorca church
- Slovenia in 10 days
- Most na Soči
- Two weeks in Slovenia
- Idrija
- Ljubljana Marathon
- Idrija mercury mine
- Wild Lake
- Cerkno
- Flights
- Laufarji
- Divje babe
- Franja Partisan Hospital
- Ljubljana Airport
- Ajdovščina
- Venice to Ljubljana
- Vipava
- Vipavski Križ
- Zagreb to Ljubljana
- Brda
- Šmartno
- Dobrovo Castle
- Buses
- Julian Alps
- Car hire
- Triglav National Park
- Driving
- Pokljuka
- Triglav Lakes
- Vignette
- Mount Triglav
- Taxis
- Distances
- Soča Valley
- Soča River
- Trieste to Ljubljana
- Kozjak Waterfall
- Boka Waterfall
- Ljubljana to Maribor
- Walk of Peace
- Bled to Bohinj
- Mangart
- Lake Krn
- Prices and budget
- Slovenia on a budget
- Vipava Valley
- Free things to do
- Otlica Natural Window
- Entry requirements
- Rihemberk Castle
- Customs
- Safety
- Scams
- Bears
- Healthcare
- Mobile and roaming
- Plugs
- Packing list
- What to buy
- Hotels
- Campsites
- Farm stays
- Mountain huts
- Food
- Bled cream cake
- Wine
- Potica
- Prekmurska gibanica
- Štruklji
- Carniolan sausage
- Idrija žlikrofi
- Beer
- Tipping
Questions about Slovenia? Write to me
If something does not add up or a fact is missing, write to me and I will answer myself.
My email sergiolepone@gmail.com
By
Tourism graduate with a master’s in Tourism Management and Planning from the University of Málaga, who has travelled across Europe. He writes every guide from official sources and his own judgement.
Published on . Updated on . Facts checked on .
Sources
Some links in this guide are affiliate links: if you book through them, the site earns a commission at no extra cost to you. Affiliate disclosure
Photos: Loxy!! from Vancouver, Canada (CC BY 2.0); Terragio67 (CC BY-SA 4.0); Jernej Furman from Maribor, Slovenia (CC BY 2.0), via Wikimedia Commons.