There are 11 ways to get from Madrid to Ljubljana by plane, train, 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 42 min

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

$152 - $372

Cheapest option

Fly to Trieste  •  8 h 41 min

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

$117 - $592

9 alternative options

Fly to Zagreb  •  7 h 27 min

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

$132 - $572

Fly to Venice  •  8 h 11 min

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

$127 - $692

Fly to Klagenfurt  •  9 h 41 min

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

$183 - $832

Train, bus via Barcelona Sants  •  21 h 38 min

  1. Take the train from Madrid-Puerta de Atocha to Barcelona Sants Ave
  2. Take the train from Barcelona Sants to Lyon Part Dieu Ave
  3. Take the train from Lyon Part Dieu to Torino Porta Susa Tgv
  4. Take the train from Torino Porta Susa to Trieste Centrale Fr
  5. Take the bus from Trieste to Ljubljana 907 / ...

$287 - $494

Train, bus  •  25 h 16 min

  1. Take the train from Madrid-Puerta de Atocha to Marseille-St-Charles Ave
  2. Take the bus from Marseille, Marseille St. Charles to Ljubljana N482

$202 - $386

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 / ...

$121 - $189

Bus Atlassib  •  36 h 46 min

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

Train  •  38 h 24 min

  1. Take the train from Madrid-Puerta de Atocha to Barcelona Sants Ave
  2. Take the train from Barcelona Sants to Marseille-St-Charles Ave
  3. Take the train from Marseille-St-Charles to Nice Ville Ec / ...
  4. Take the train from Nice Ville to Wien Hbf D
  5. Take the train from Wien Hbf to Maribor Ec
  6. Take the train from Maribor to Ljubljana

$390 - $597

Drive  •  19 h 18 min

  1. Drive from Madrid to Ljubljana 1284.4 miles

$250 - $370

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

Lufthansa, Adria Airways and 12 other airlines fly from Madrid to Ljubljana hourly. Alternatively, you can take a bus from Madrid to Ljubljana via Mestre and Venice, Venice Mestre in around 35 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 30 min
When
Every day
Estimated price
$100 - $440
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 25 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
Flights from Madrid to Klagenfurt via Zurich, Vienna
Ave. Duration
6 h 10 min
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
$120 - $550
Flights from Madrid to Klagenfurt via Lyon, Vienna
Ave. Duration
7 h 5 min
When
Wednesday, Thursday and Sunday
Estimated price
$130 - $600
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 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
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 40 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
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
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
Adria Airways
Website
adria.si
Flights from Madrid to Ljubljana via Frankfurt
Ave. Duration
5 h 10 min
When
Every day
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
Website
renfe.com
Train from Madrid-Puerta de Atocha to Barcelona Sants
Ave. Duration
2 h 30 min
Frequency
Hourly
Estimated price
$75 - $110
Website
renfe.com
Train from Barcelona Sants to Lyon Part Dieu
Ave. Duration
4 h 55 min
Frequency
Once daily
Estimated price
$85 - $130
Website
renfe.com
Train from Madrid-Puerta de Atocha to Marseille-St-Charles
Ave. Duration
8 h 1 min
Frequency
Once daily
Estimated price
$140 - $200
Website
renfe.com
Train from Barcelona Sants to Marseille-St-Charles
Ave. Duration
4 h 41 min
Frequency
Once daily
Estimated price
$70 - $110
Website
renfe.com
TGV
Phone
0033 892 353535
Website
tgv.com
Train from Lyon Part Dieu to Torino Porta Susa
Ave. Duration
3 h 53 min
Frequency
Once daily
Estimated price
$60 - $75
Website
en.oui.sncf
2nd Class
$60 - $75
1st Class
$90 - $120
Train from Marseille-St-Charles to Nice Ville
Ave. Duration
2 h 33 min
Frequency
Every 3 hours
Estimated price
$45 - $55
Website
en.oui.sncf
2nd Class
$45 - $55
1st Class
$70 - $90
SNCF
Phone
+33 9 70 60 99 70
Website
sncf.com
Train from Marseille-St-Charles to Nice Ville
Ave. Duration
2 h 41 min
Frequency
Hourly
Estimated price
$35 - $55
Website
en.oui.sncf
2nd Class
$35 - $55
1st Class
$50 - $80
Train from Nice Ville to Wien Hbf
Ave. Duration
19 h 18 min
Frequency
Twice a week
Estimated price
$160 - $250
Website
en.oui.sncf
Austrian Railways (ÖBB)
Website
oebb.at
Train from Wien Hbf to Maribor
Ave. Duration
3 h 39 min
Frequency
Once daily
Estimated price
$35 - $60
Website
fahrplan.oebb.at
Purchase an
eurail.com
Bus operators
FlixBus
Phone
+49 1807 123 99 123
Email
info@flixbus.de
Website
flixbus.de
Bus from Trieste to Ljubljana
Ave. Duration
1 h 35 min
Frequency
Every 4 hours
Estimated price
$5 - $9
Website
flixbus.co.uk
Bus from Marseille, Marseille St. Charles to Ljubljana
Ave. Duration
16 h 15 min
Frequency
Twice daily
Estimated price
$60 - $110
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
Arriva Slovenia
Phone
090 74 11
Website
arriva.si
Bus from Trieste to Ljubljana
Ave. Duration
1 h 40 min
Frequency
Twice daily
Estimated price
$8 - $13
Schedules at
arriva.si
Crnja Tours
Phone
+385 91 30 30 356
Email
info@crnja-tours.hr
Website
crnja-tours.hr
Bus from Trieste to Ljubljana
Ave. Duration
1 h 23 min
Frequency
Once daily
Estimated price
$10 - $15
Schedules at
crnja-tours.hr
Book at
crnja.getbybus.com
Florentia Bus
Phone
+39 055 967024
Email
info@florentiabus.it
Website
florentiabus.it
Bus from Trieste to Ljubljana
Ave. Duration
1 h 24 min
Frequency
Once daily
Estimated price
$60 - $90
Schedules at
florentiabus.it
Bus from Padova to Ljubljana
Ave. Duration
4 h 21 min
Frequency
Once daily
Estimated price
$65 - $95
Schedules at
florentiabus.it
Globtour
ATVO S.p.A.
Phone
+39 0421 5944
Email
atvo@atvo.it
Website
atvo.it
Bus from Trieste Station to Trg Osvobodilne Lubiana
Ave. Duration
1 h 40 min
Frequency
Once daily
Estimated price
$6 - $9
Schedules at
atvo.it
Eurolines IT
Phone
+39 0861 199 1900
Email
info@baltour.it
Website
eurolines.it
Bus from Trieste Piazza Libertà Autostazione to Ljubljana Avtobusna Postaja
Ave. Duration
1 h 30 min
Frequency
Twice a week
Estimated price
$22 - $30
Schedules at
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

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.

Questions & Answers

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

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

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

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 Barcelona Sants, Marseille-St-Charles, Nice Ville, Wien Hbf and Maribor. The journey, including transfers, takes approximately 38 h 24 min.

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.

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