There are 10 ways to get from Madrid to Ljubljana by plane, train, bus, night bus or car

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2rio's travel planner.

Recommended option

Fly to Ljubljana  •  7 h 43 min

  1. Fly from Madrid (MAD) to Ljubljana (LJU) MAD - LJU

$152 - $368

Cheapest option

Bus ALSA  •  35 h 50 min

  1. Take the bus from Madrid to Mestre
  2. Take the bus from Venice, Venice Mestre to Ljubljana 907 / ...

$115 - $192

8 alternative options

Fly to Trieste  •  8 h 42 min

  1. Fly from Madrid (MAD) to Trieste (TRS) MAD - TRS

$117 - $593

Fly to Zagreb  •  7 h 28 min

  1. Fly from Madrid (MAD) to Zagreb (ZAG) MAD - ZAG

$132 - $573

Fly to Venice  •  8 h 12 min

  1. Fly from Madrid (MAD) to Venice (VCE) MAD - VCE

$122 - $693

Fly to Klagenfurt  •  9 h 42 min

  1. Fly from Madrid (MAD) to Klagenfurt (KLU) MAD - KLU

$183 - $833

Train, bus, night bus  •  25 h 24 min

  1. Take the train from Madrid-Puerta de Atocha to Barcelona Sants Ave / ...
  2. Take the bus from Barcelona to Padua, Padova
  3. Take the night bus from Padua, Padova to Ljubljana

$165 - $256

Train  •  30 h 50 min

  1. Take the train from Madrid-Puerta de Atocha to Girona Ave / ...
  2. Take the train from Girona to Port Bou Ir / ...
  3. Take the train from Cerbère to Montpellier Saint-Roch
  4. Take the train from Montpellier Saint-Roch to Mulhouse Ville Tgv
  5. Take the train from Mulhouse Ville to Zürich HB 3-Y / ...
  6. Take the train from Zürich HB to Ljubljana En

$386 - $578

Bus Atlassib  •  36 h 46 min

  1. Take the bus from Madrid to Padova
  2. Take the bus from Padova to Ljubljana

Drive  •  19 h 18 min

  1. Drive from Madrid to Ljubljana 1284.4 miles

$250 - $370

Questions & Answers

The cheapest way to get from Madrid to Ljubljana is to bus which costs 95€ - 170€ and takes 35 h 50 min.

More details

The quickest way to get from Madrid to Ljubljana is to fly which costs 110€ - 490€ and takes 7 h 28 min.

More details

No, there is no direct bus from Madrid to Ljubljana. However, there are services departing from Madrid and arriving at Ljubljana via Venice, Venice Mestre. The journey, including transfers, takes approximately 35 h 50 min.

More details

No, there is no direct train from Madrid to Ljubljana. However, there are services departing from Madrid-Puerta de Atocha and arriving at Ljubljana via Girona, Cerbère, Montpellier Saint-Roch, Mulhouse Ville and Zürich HB. The journey, including transfers, takes approximately 30 h 50 min.

More details

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

Get driving directions

The best way to get from Madrid to Ljubljana without a car is to train and bus and night bus which takes 25 h 24 min and costs 140€ - 220€.

More details

It takes approximately 7 h 43 min to get from Madrid to Ljubljana, including transfers.

More details

Madrid to Ljubljana bus services, operated by ALSA, depart from Madrid station.

More details

Madrid to Ljubljana train services, operated by Spanish Railways AVE, depart from Madrid-Puerta de Atocha station.

More details

The best way to get from Madrid to Ljubljana is to fly which takes 7 h 43 min and costs 130€ - 320€. Alternatively, you can train, which costs 330€ - 500€ and takes 30 h 50 min, you could also bus, which costs 95€ - 170€ and takes 35 h 50 min.

Mode details

There is no direct flight from Madrid Airport to Ljubljana Airport. The quickest flight takes 4 h 40 min and has one stopover.

Search flights

Madrid to Ljubljana bus services, operated by FlixBus, arrive at Ljubljana station.

More details

Map of how to get from Madrid to Ljubljana.
Launch map view
  • Distance: 998.7 miles
  • Duration: 7 h 43 min

What companies run services between Madrid, Spain and Ljubljana, Slovenia?

Lufthansa, Adria Airways and 10 other airlines fly from Madrid to Ljubljana hourly. Alternatively, you can take a train from Madrid to Ljubljana via Girona, Port Bou, Cerbère, Montpellier Saint-Roch, Mulhouse Ville, and Zürich HB in around 30 h 50 min.

Airlines
Lufthansa
Website
lufthansa.com
Flights from Madrid to Ljubljana via Frankfurt
Ave. Duration
5 h 23 min
When
Every day
Estimated price
$270 - $750
Flights from Madrid to Ljubljana via Munich
Ave. Duration
6 h 20 min
When
Every day
Estimated price
$350 - $850
Flights from Madrid to Trieste via Munich
Ave. Duration
5 h 55 min
When
Every day
Estimated price
$220 - $440
Flights from Madrid to Zagreb via Munich
Ave. Duration
5 h 12 min
When
Every day
Estimated price
$240 - $650
Flights from Madrid to Zagreb via Frankfurt
Ave. Duration
5 h 30 min
When
Every day
Estimated price
$240 - $650
Flights from Madrid to Venice via Frankfurt
Ave. Duration
5 h 15 min
When
Every day
Estimated price
$190 - $700
Flights from Madrid to Klagenfurt via Munich, Vienna
Ave. Duration
7 h 20 min
When
Every day
Estimated price
$360 - $1,400
Flights from Madrid to Klagenfurt via Vienna
Ave. Duration
6 h 37 min
When
Every day
Estimated price
$100 - $440
Air France
Website
airfrance.com
Flights from Madrid to Ljubljana via Paris CDG
Ave. Duration
5 h 28 min
When
Every day
Estimated price
$300 - $700
Flights from Madrid to Zagreb via Paris CDG
Ave. Duration
4 h 55 min
When
Every day
Estimated price
$300 - $650
Flights from Madrid to Venice via Paris CDG
Ave. Duration
4 h 48 min
When
Every day
Estimated price
$170 - $750
Iberia
Website
iberia.com
Flights from Madrid to Zagreb
Ave. Duration
2 h 40 min
When
Friday, Saturday and Sunday
Estimated price
$140 - $600
Flights from Madrid to Venice
Ave. Duration
2 h 25 min
When
Every day
Estimated price
$110 - $700
Flights from Madrid to Venice via Barcelona
Ave. Duration
4 h 15 min
When
Every day
Estimated price
$110 - $600
Austrian Airlines
Website
austrian.com
Flights from Madrid to Ljubljana via Vienna
Ave. Duration
7 h 15 min
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
$140 - $550
Flights from Madrid to Klagenfurt via Vienna
Ave. Duration
6 h 30 min
When
Every day
Estimated price
$120 - $550
Flights from Madrid to Klagenfurt via Munich, Vienna
Ave. Duration
7 h 20 min
When
Every day
Estimated price
$360 - $1,400
Brussels Airlines
Website
brusselsairlines.com
Flights from Madrid to Ljubljana via Brussels
Ave. Duration
7 h 12 min
When
Every day
Estimated price
$270 - $650
Flights from Madrid to Zagreb via Brussels
Ave. Duration
5 h 5 min
When
Monday to Friday
Estimated price
$130 - $480
Flights from Madrid to Venice via Brussels
Ave. Duration
5 h 17 min
When
Every day
Estimated price
$90 - $600
Alitalia
Website
alitalia.com
Flights from Madrid to Trieste via Rome
Ave. Duration
5 h 31 min
When
Every day
Estimated price
$200 - $360
Flights from Madrid to Trieste via Milan Linate
Ave. Duration
8 h 50 min
When
Monday to Friday
Estimated price
$200 - $360
Flights from Madrid to Venice via Rome
Ave. Duration
4 h 20 min
When
Every day
Estimated price
$120 - $600
KLM
Website
klm.com
Flights from Madrid to Ljubljana via Amsterdam
Ave. Duration
7 h 7 min
When
Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday
Estimated price
$190 - $900
Flights from Madrid to Ljubljana via Paris CDG
Ave. Duration
5 h 5 min
When
Every day
Estimated price
$280 - $700
easyJet
Website
easyjet.com
Flights from Madrid to Ljubljana via London Gatwick
Ave. Duration
9 h 15 min
When
Monday, Wednesday, Friday and Sunday
Estimated price
$280 - $700
Flights from Madrid to Klagenfurt via London Gatwick
Ave. Duration
6 h 50 min
When
Saturday
Estimated price
$130 - $650
Air Europa
Website
aireuropa.com
Flights from Madrid to Trieste via Rome
Ave. Duration
5 h 10 min
When
Every day
Estimated price
$200 - $360
Flights from Madrid to Venice
Ave. Duration
2 h 20 min
When
Every day
Estimated price
$290 - $1,100
Swiss
Website
swiss.com
Flights from Madrid to Ljubljana via Zurich
Ave. Duration
6 h 12 min
When
Every day
Estimated price
$410 - $900
Vueling Airlines
Website
vueling.com
Flights from Madrid to Venice via Barcelona
Ave. Duration
4 h 15 min
When
Every day
Estimated price
$110 - $600
Adria Airways
Website
adria.si
Flights from Madrid to Ljubljana via Frankfurt
Ave. Duration
5 h 10 min
When
Wednesday, Thursday, Saturday and Sunday
Estimated price
$110 - $500
Ryanair
Website
ryanair.com
Flights from Madrid to Trieste via London Stansted
Ave. Duration
5 h 55 min
When
Monday, Tuesday, Thursday and Saturday
Estimated price
$55 - $210
Train operators
Spanish Railways AVE
Rome2rio's guide to Spanish Railways AVE
Contact Details
Website
renfe.com
Train from Madrid-Puerta de Atocha to Barcelona Sants
Ave. Duration
2 h 50 min
Frequency
Hourly
Estimated price
$75 - $110
Website
renfe.com
Train from Madrid-Puerta de Atocha to Girona
Ave. Duration
3 h 59 min
Frequency
Every 2 hours
Estimated price
$85 - $120
Website
renfe.com
Spanish Railways (RENFE)

Based in Madrid, Renfe is a state-owned train operator, that connects cities across Spain and neighbouring countries including Portugal, France, Germany, Switzerland, and the Netherlands. Renfe’s extensive network means most destinations offer multiple trains a day, with the most popular routes normally offering a train each hour. Locally known as AVE, the high-speed trains can reach speeds of up to 350km/h, making travel between major cities very efficient. Comfort is key in a Renfe train, with seats with footrests in all three classes of travel: Standard, Club and First. Each seat has an individual light, a pull-down table and an electrical outlet for in Club and First classes. There is free WiFi for first class passengers and for those with a + Renfe card.

Rome2rio's guide to Spanish Railways (RENFE)
Contact Details
Phone
902 320 320
Website
renfe.com
Train from Girona to Port Bou
Ave. Duration
52 min
Frequency
Every 3 hours
Estimated price
$8 - $19
Website
renfe.com
SNCF

Loosely translated as the French National Railway Corporation, the SNCF is France’s state-owned railway company. It covers the country’s extensive rail network, as well as the TGV and Thalys, France’s two high-speed railway networks. With over 14,000 trains operating daily, it is a fast and efficient way of travelling around the country. The railway network consists of about 32,000km in total, of which 1800km are high-speed lines and 14,500km are electrified.

Rome2rio's guide to SNCF
Contact Details
Phone
+33 9 70 60 99 70
Website
sncf.com
Train from Cerbère to Montpellier Saint-Roch
Ave. Duration
2 h 33 min
Frequency
Hourly
Estimated price
$30 - $50
Website
en.oui.sncf
2nd Class
$30 - $50
1st Class
$45 - $75
TGV
Phone
0033 892 353535
Website
sncf.com
Train from Montpellier Saint-Roch to Mulhouse Ville
Ave. Duration
5 h 1 min
Frequency
3 times a week
Estimated price
$130 - $160
Website
en.oui.sncf
2nd Class
$130 - $160
1st Class
$180 - $270
Train from Mulhouse Ville to Zürich HB
Ave. Duration
1 h 30 min
Frequency
5 times a day
Estimated price
$29 - $35
Website
en.oui.sncf
2nd Class
$29 - $35
1st Class
$49 - $54
Swiss Railways (SBB/CFF/FFS)

The national railway company of Switzerland, Swiss Railways operates trains throughout the country and adjacent European nations including Germany, France, Italy and Austria. Tickets are sold in two classes - First and Second - with most long-distance trains offering a bistro car serving beverages and snacks. Individual tickets can be bought easily at stands, while a variety of travel passes are on offer to suit different travel needs. Swiss Railways codeshares with American Airlines and Swiss International Air Lines out of Zurich International Airport.

Contact Details
Website
sbb.ch
Train from Mulhouse Ville to Zürich HB
Ave. Duration
1 h 19 min
Frequency
5 times a day
Estimated price
$40 - $80
Website
fahrplan.sbb.ch
Schedules at
fahrplan.sbb.ch
Train from Zürich HB to Ljubljana
Ave. Duration
11 h 33 min
Frequency
Once daily
Estimated price
$90 - $150
Website
fahrplan.sbb.ch
Schedules at
fahrplan.sbb.ch
Bus operators
FlixBus

One of Europe’s leading bus companies, Flixbus serves over 1400 destinations, in 26 countries including Germany, France, Italy, Austria, the Netherlands, Croatia, Spain, and across Scandinavia and central and eastern Europe. Founded in 2012, Flixbus’ extensive network connects cities with approximately 200,000 trips, with buses often departing every 30 minutes. One of the most affordable ways to get around Europe (and expanding soon into the US), a Flixbus journey is cost-effective, well-connected, comfortable and safe.

Rome2rio's guide to FlixBus
Contact Details
Phone
+49 1807 123 99 123
Email
info@flixbus.de
Website
flixbus.de
Bus from Barcelona to Padua, Padova
Ave. Duration
16 h 20 min
Frequency
Once daily
Estimated price
$70 - $120
Website
flixbus.co.uk
Night bus from Padua, Padova to Ljubljana
Ave. Duration
3 h 55 min
Frequency
Once daily
Estimated price
$15 - $26
Website
flixbus.co.uk
Bus from Venice, Venice Mestre to Ljubljana
Ave. Duration
3 h 35 min
Frequency
5 times a day
Estimated price
$14 - $23
Website
flixbus.co.uk
ALSA

A Spanish subsidiary of National Express, ALSA provides bus and coach services across Spain and neighbouring countries including Portugal, France, Germany, the Netherlands, Italy, Poland and Malta. Founded in 1923, ALSA values service and the customer experience. Buses are equipped with communal TV screens showing movies, individual behind-seat screens, ALSA radio, app for books and music, and free WiFi so you’re never bored on your journey. ALSA services are accessible to people with disabilities, and guide dogs are welcome on all journeys. Flexibility is another highlight of an ALSA journey, with three types of tickets on offer - Frequent Traveller Pass, Share Pass and ALSA Pass, along with discounts for senior citizens, students and children.

Contact Details
Phone
+34 902 42 22 42
Website
alsa.es
Bus from Madrid to Mestre
Ave. Duration
31 h 15 min
Frequency
Twice daily
Estimated price
$100 - $160
Website
alsa.com
Crnja Tours
Phone
+385 91 30 30 356
Email
info@crnja-tours.hr
Website
crnja-tours.hr
Bus from Venezia Mestre Station to Ljubljana
Ave. Duration
3 h 55 min
Frequency
Once daily
Estimated price
$18 - $26
Schedules at
crnja-tours.hr
Book at
crnja.getbybus.com
Bus from Padova to Ljubljana
Ave. Duration
4 h 35 min
Frequency
Once daily
Estimated price
$20 - $29
Schedules at
crnja-tours.hr
Book at
crnja.getbybus.com
Eurolines IT
Phone
+39 0861 199 1900
Email
info@baltour.it
Website
eurolines.it
Bus from Mestre Viale Stazione to Ljubljana Avtobusna Postaja
Ave. Duration
3 h
Frequency
5 times a week
Estimated price
$30 - $40
Schedules at
eurolines.it
Bus from Padova Autostazione to Ljubljana Avtobusna Postaja
Ave. Duration
3 h 45 min
Frequency
5 times a week
Estimated price
$30 - $45
Schedules at
eurolines.it
Atlassib
Phone
(004) 0269 229.224
Email
informatii@atlassib.es
Website
atlassib.es
Bus from Madrid to Padova
Ave. Duration
29 h 45 min
Frequency
Once daily
Schedules at
atlassib.es
Florentia Bus
Phone
+39 055 967024
Email
info@florentiabus.it
Website
florentiabus.it
Bus from Padova to Ljubljana
Ave. Duration
4 h 21 min
Frequency
Once daily
Estimated price
$65 - $95
Schedules at
florentiabus.it

Want to know more about travelling around Slovenia

Rome2rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.