There are 9 ways to get from Madrid to Koper by plane, shuttle, train (Renfe, Ouigo, Trenitalia), bus, car, or train
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Fly to Ljubljana, shuttle
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Ljubljana (LJU)plane MAD - LJU
- Take a shuttle bus from Zgornji Brnik, Letališče Jožeta Pučnika Ljubljana to Koper, Avtobusna Postaja
7h 12m€191–362Fly to Venice Marco Polo Airport, shuttle
cheapest- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Venice Marco Polo Airport (VCE)plane MAD - VCE
- Take a shuttle bus from Venezia, Aeroporto Marco Polo di Venezia to Portorož
8h 23m€65–365Train
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
- Take the train from Barcelona-Sants to Lyon Part Dieutrain
- Take the train from Lyon Part Dieu to Torino Porta Susatrain Fr
- Take the train from Torino Porta Susa to Trieste Centraletrain Fr
20h 30m€229–412Bus via Milan
- Take the bus from Madrid to Milanbus FlixBus N1138
- Take the bus from Milano, Autostazione Lampugnano to Koper Bankabus 419
31h 13m€192–290Drive 1,897.4 km
- Drive from Madrid to Kopercar 1,897.4 km
20h 7m€253–365Fly to Trieste – Friuli Venezia Giulia Airport
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Trieste – Friuli Venezia Giulia Airport (TRS)plane MAD - TRS
9h 20m€81–214Fly to Zagreb Franjo Tuđman Airport, shuttle, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Zagreb Franjo Tuđman Airport (ZAG)plane MAD - ZAG
- Take a shuttle bus from Zagreb Airport to Ljubljana, Avtobusna Postaja
- Take the bus from Ljubljana AP to Koperbus
9h 23m€249–418Fly to Bologna Guglielmo Marconi Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Bologna Guglielmo Marconi Airport (BLQ)plane MAD - BLQ
- Take the train from Bologna Centrale to Venezia Mestretrain
- Take the train from Venezia Mestre to Trieste Centraletrain
11h 9m€94–262Bus
- Take the bus from Méndez Álvaro Estación Sur to Padovabus
- Take the bus from Padua to Koper Bankabus 419 / ...
33h 40m€145–181
Madrid to Koper by bus
Comparing Your Travel Options
The cheapest way to get from Madrid to Koper is to fly which costs €80 - €220 and takes 9h 20m.
The fastest way to get from Madrid to Koper is to fly and shuttle which takes 7h 12m and costs €190 - €370.
No, there is no direct bus from Madrid to Koper. However, there are services departing from Madrid and arriving at Koper Banka via Milano, Autostazione Lampugnano. The journey, including transfers, takes approximately 31h 13m.
No, there is no direct train from Madrid to Koper. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Trieste Centrale via Barcelona-Sants, Lyon Part Dieu and Torino Porta Susa. The journey, including transfers, takes approximately 20h 30m.
The distance between Madrid and Koper is 1722 km. The road distance is 1897.4 km.
The best way to get from Madrid to Koper without a car is to bus via Milan which takes 31h 13m and costs €190 - €290.
It takes approximately 7h 12m to get from Madrid to Koper, including transfers.
Madrid to Koper bus services, operated by FlixBus, depart from Madrid station.
Madrid to Koper train services, operated by Renfe AVE, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid to Koper is to train which takes 20h 30m and costs €220 - €420. Alternatively, you can bus via Milan, which costs €190 - €290 and takes 31h 13m, you could also fly, which costs €80 - €220 and takes 9h 20m.
What companies run services between Madrid, Spain and Koper, Slovenia?
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Koper via Barcelona-Sants, Lyon Part Dieu, Torino Porta Susa, and Trieste Centrale in around 20h 30m. Alternatively, you can take a bus from Madrid to Koper Banka via Milano, Autostazione Lampugnano in around 31h 13m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana
- Ave. Duration
- 2h 40m
- When
- Saturday
- Estimated price
- €65–340
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana via Barcelona
- Ave. Duration
- 5h 40m
- When
- Monday, Thursday, and Sunday
- Estimated price
- €100–250
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 26m
- When
- Every day
- Estimated price
- €60–130
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport via Barcelona
- Ave. Duration
- 4h
- When
- Thursday
- Estimated price
- €65–180
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport
- Ave. Duration
- 2h 45m
- When
- Tuesday, Friday, and Sunday
- Estimated price
- €70–130
Flights from Adolfo Suárez Madrid–Barajas Airport to Bologna Guglielmo Marconi Airport
- Ave. Duration
- 2h 23m
- When
- Every day
- Estimated price
- €50–160
- Website
- vueling.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana via Barcelona
- Ave. Duration
- 5h 40m
- When
- Monday, Thursday, and Sunday
- Estimated price
- €100–250
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 25m
- When
- Every day
- Estimated price
- €60–130
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport via Barcelona
- Ave. Duration
- 4h
- When
- Thursday
- Estimated price
- €65–180
Flights from Adolfo Suárez Madrid–Barajas Airport to Bologna Guglielmo Marconi Airport
- Ave. Duration
- 2h 23m
- When
- Every day
- Estimated price
- €50–160
- Website
- ita-airways.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 5h 15m
- When
- Every day
- Estimated price
- €65–320
- Website
- swiss.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana via Zurich
- Ave. Duration
- 5h 36m
- When
- Tuesday and Friday
- Estimated price
- €90–330
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 5h 22m
- When
- Every day
- Estimated price
- €65–320
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport via Zurich
- Ave. Duration
- 4h 20m
- When
- Tuesday
- Estimated price
- €70–270
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 30m
- When
- Thursday, Friday, Sunday, Monday, Tuesday, and Saturday
- Estimated price
- €40–140
Flights from Adolfo Suárez Madrid–Barajas Airport to Bologna Guglielmo Marconi Airport
- Ave. Duration
- 2h 20m
- When
- Thursday, Friday, Saturday, Sunday, and Monday
- Estimated price
- €50–160
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 30m
- When
- Every day
- Estimated price
- €45–130
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 5h 8m
- When
- Every day
- Estimated price
- €75–260
- Website
- airfrance.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana via Paris Charles de Gaulle
- Ave. Duration
- 5h 40m
- When
- Monday, Wednesday, Thursday, Friday, and Sunday
- Estimated price
- €90–440
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 5h 16m
- When
- Every day
- Estimated price
- €65–320
- Website
- flyulendo.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 30m
- When
- Monday, Wednesday, Friday, and Sunday
- Estimated price
- €30–120
- Website
- croatiaairlines.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport
- Ave. Duration
- 2h 45m
- When
- Monday, Thursday, and Saturday
- Estimated price
- €85–190
Rome2Rio's guide to Renfe AVE
Contact Details
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 2m
- Frequency
- Hourly
- Estimated price
- €70–130
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 24m
- Frequency
- Hourly
- Estimated price
- €50–85
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Every 4 hours
- Estimated price
- €45–65
- Website
- Ouigo
Rome2Rio's guide to Renfe Viajeros
Contact Details
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- Twice daily
- Estimated price
- €75–120
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Once daily
- Estimated price
- €85–130
- Website
- Renfe Viajeros
- Phone
- +33 1 83 82 00 00
- Website
- Thello
Train from Lyon Part Dieu to Torino Porta Susa
- Ave. Duration
- 3h 57m
- Frequency
- Twice daily
- Estimated price
- €20–28
- Website
- Thello
- Phone
- +39 06 5210550
- Website
- Trenitalia Frecce
Train from Torino Porta Susa to Trieste Centrale
- Ave. Duration
- 5h
- Frequency
- Once daily
- Estimated price
- €75–120
- Website
- Trenitalia Frecce
Train from Bologna Centrale to Venezia Mestre
- Ave. Duration
- 1h 22m
- Frequency
- Hourly
- Estimated price
- €21–35
- Website
- Trenitalia Frecce
Train from Venezia Mestre to Trieste Centrale
- Ave. Duration
- 1h 45m
- Frequency
- 4 times a day
- Estimated price
- €29–50
- Website
- Trenitalia Frecce
- Phone
- +39 06 8937 1892
- Website
- Italo Treno
Train from Bologna Centrale to Venezia Mestre
- Ave. Duration
- 1h 21m
- Frequency
- Hourly
- Estimated price
- €18–30
- Website
- Italo Treno
Train from Venezia Mestre to Trieste Centrale
- Ave. Duration
- 2h 1m
- Frequency
- Twice daily
- Estimated price
- €24–40
- Website
- Italo Treno
- Phone
- +39.06.5210550
- Website
- Trenitalia
Train from Bologna Centrale to Venezia Mestre
- Ave. Duration
- 1h 57m
- Frequency
- Hourly
- Estimated price
- €19–28
- Website
- Trenitalia
Train from Venezia Mestre to Trieste Centrale
- Ave. Duration
- 2h 48m
- Frequency
- Hourly
- Estimated price
- €26–40
- Website
- Trenitalia
- Phone
- +39 06 68475475
- Website
- Trenitalia Intercity
Train from Bologna Centrale to Venezia Mestre
- Ave. Duration
- 1h 25m
- Frequency
- Twice daily
- Estimated price
- €15–35
- Website
- Trenitalia Intercity
Train from Venezia Mestre to Trieste Centrale
- Ave. Duration
- 1h 58m
- Frequency
- Twice daily
- Estimated price
- €21–45
- Website
- Trenitalia Intercity
- Phone
- +386 (0) 31 30 41 41
- info@zup-prevozi.eu
- Website
- zup-prevozi.eu
Shuttle from Zgornji Brnik, Letališče Jožeta Pučnika Ljubljana to Koper, Avtobusna Postaja
- Ave. Duration
- 1h 47m
- Frequency
- On demand
- Estimated price
- €90–110
- Schedules at
- zup-prevozi.eu
- Economy class
- €90–110
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- Flixbus
Bus from Madrid to Milan
- Ave. Duration
- 23h 5m
- Frequency
- Once daily
- Estimated price
- €150–230
- Website
- Flixbus
Bus from Milano, Autostazione Lampugnano to Koper Banka
- Ave. Duration
- 7h 8m
- Frequency
- Once daily
- Estimated price
- €40–65
- Website
- Flixbus
Bus from Padua to Koper Banka
- Ave. Duration
- 4h 13m
- Frequency
- Twice daily
- Estimated price
- €19–30
- Website
- Flixbus
- Phone
- +386 1 320 4530
- info@goopti.com
- Website
- GoOpti
Shuttle from Venezia, Aeroporto Marco Polo di Venezia to Portorož
- Ave. Duration
- 2h 32m
- Frequency
- On demand
- Estimated price
- €27–205
- Website
- GoOpti
- Shared
- €27
- Private
- €155
Shuttle from Zagreb Airport to Ljubljana, Avtobusna Postaja
- Ave. Duration
- 1h 56m
- Frequency
- On demand
- Estimated price
- €175
- Website
- GoOpti
- Phone
- +386 090 74 11
- info@arriva.si
- Website
- Arriva Slovenia
Bus from Ljubljana AP to Koper
- Ave. Duration
- 1h 22m
- Frequency
- Hourly
- Estimated price
- €9–11
- Website
- Arriva Slovenia
- Phone
- +386 1 431 77 00
- info@nomago.si
- Website
- Nomago
Bus from Ljubljana AP to Koper
- Ave. Duration
- 1h 22m
- Frequency
- Once a week
- Estimated price
- €3–9
- Website
- Nomago
- Phone
- +4-0263-21.55.00
- Website
- tabitatour.ro
Bus from Méndez Álvaro Estación Sur to Padova
- Ave. Duration
- 28h 16m
- Frequency
- Once daily
- Estimated price
- €120–160
- Schedules at
- tabitatour.ro
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.
Related travel guides
5 delightfully under-the-radar French towns you need to visit
Read the travel guide
Italy Travel Guides
Read the travel guide
Train travel in Spain: A guide to Renfe
Read the travel guide
Booking & Getting There
Madrid to Koper bus services, operated by FlixBus, arrive at Milan station.
Madrid to Koper train services, operated by Renfe AVE, arrive at Barcelona-Sants station.
Yes, the driving distance between Madrid to Koper is 1897 km. It takes approximately 20h 7m to drive from Madrid to Koper.
Book your Madrid to Koper bus tickets online with Omio, FlixBus and 12go.asia.
There are 400+ hotels available in Koper.






















































