COVID-19 Travel restrictions may apply upon entering Spain. Learn More.
Duration 2 days 17h
Distance 2049.5 km
Average price 395€
Frequency 5/week

Trip overview

The train between Ljubljana and Madrid takes 2 days 17h. The train runs, on average, 5 times per week from Ljubljana to Madrid. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.


  1. Ljubljana Tivoli
  2. Trieste Centrale
  3. Milano Centrale
  4. Geneve
  5. Lyon Part Dieu
  6. Barcelona-Sants
  7. Madrid
25h 58m
267€ - 540€

Ljubljana to Madrid train times

Trains run five times a week between Ljubljana and Madrid. The service departs Ljubljana at 06:03 in the morning, which arrives into Madrid at 23:17. All services require a transfer, and take on average 2 days 17h. The schedules shown below are for the next available departures.
Train services typically run at the following times each day These schedules are estimated
These schedules are estimated: The schedules shown above are estimated schedules based on typical services on the average day and may vary depending on when you plan to travel. Please make sure you confirm the departure/arrival times and availability with the operator before planning your trip.

Frequently asked questions

Want to know about travelling from Ljubljana to Madrid? We have put together a list of the most frequently asked questions from our users such as: What is the cheapest mode of transport?, What is the quickest option?, How much do tickets usually cost? and many more.

There is widespread community transmission globally.
Some travel restrictions are being lifted in Spain. For the latest travel status, please check the official page for Spain.

Learn More.

No, there is no direct train from Ljubljana to Madrid. However, there are services departing from Ljubljana Tivoli and arriving at Madrid-Puerta De Atocha via Trieste Centrale, Milano Centrale, Geneve, Lyon Part Dieu and Barcelona-Sants. The journey, including transfers, takes approximately 25h 58m.

More details

The distance between Ljubljana and Madrid is 1598 km. The road distance is 2049.5 km.

Get driving directions

Ljubljana to Madrid train services, operated by Slovenian Railways (SŽ), depart from Ljubljana Tivoli station.

More details

Ljubljana to Madrid train services, operated by Renfe AVE, arrive at Madrid-Puerta De Atocha station.

More details

There are 8924+ hotels available in Madrid. Prices start at 75€ per night.

More details

Get the Rome2rio app

Find the best way to get from A to B, anywhere in the world, on your mobile or tablet.

Compare your options: plane, train, bus, car, ferry, bike share, driving and walking directions all in one search.

Learn more about our apps