There are 8 ways to get from Madrid to Koper by plane, shuttle, train (Renfe, Ouigo, Trenitalia), 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.
Fly to Venice Marco Polo Airport, shuttle
best- 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 18m€65–745Train
- 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 Milano Centraletrain Fr
- Take the train from Milano Centrale to Trieste Centraletrain Fr
20h 28m€254–500Bus via Milan
- Take the bus from Madrid to Milanbus FlixBus N1138
- Take the bus from Milano, Autostazione Lampugnano to Koper Bankabus 419 / ...
31h 13m€153–252Drive 1,897.4 km
- Drive from Madrid to Kopercar 1,897.4 km
20h 4m€299–432Fly to Ljubljana, shuttle
- 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
8h 47m€176–322Fly to Trieste – Friuli Venezia Giulia Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Trieste – Friuli Venezia Giulia Airport (TRS)plane MAD - TRS
- Take the bus from Trieste Airport to Koper Bankabus
9h€75–199Fly 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
- Take the bus from Ljubljana AP to Koperbus
9h 16m€103–752Bus
- Take the bus from Méndez Álvaro Estación Sur to Padovabus
- Take the bus from Padua to Koper Bankabus 419 / ...
32h 58m€142–177
Madrid to Koper by bus
Questions & Answers
The cheapest way to get from Madrid to Koper is to fly and bus which costs €75 - €200 and takes 9h.
The fastest way to get from Madrid to Koper is to fly and shuttle which takes 8h 18m and costs €65 - €750.
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 Milano Centrale. The journey, including transfers, takes approximately 20h 28m.
The distance between Madrid and Koper is 1613 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 €150 - €260.
It takes approximately 8h 18m 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 28m and costs €250 - €500. Alternatively, you can bus via Milan, which costs €150 - €260 and takes 31h 13m.
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, Milano Centrale, and Trieste Centrale in around 20h 28m. Alternatively, you can take a bus from Madrid to Koper Banka via Milano, Autostazione Lampugnano in around 31h 13m.
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana via Munich
- Ave. Duration
- 4h 22m
- When
- Monday, Tuesday, Friday, and Sunday
- Estimated price
- €85–410
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana via Frankfurt
- Ave. Duration
- 4h 45m
- When
- Every day
- Estimated price
- €110–190
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 5h 20m
- When
- Every day
- Estimated price
- €65–290
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport via Munich
- Ave. Duration
- 5h 18m
- When
- Every day
- Estimated price
- €75–350
Rome2Rio's guide to Renfe AVE
Contact DetailsContact 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
- Every 30 minutes
- Estimated price
- €90–160
- Website
- Renfe AVE
- 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–600
- Website
- GoOpti
- Shared
- €27
- Private
- €155
Shuttle from Zagreb Airport to Ljubljana
- Ave. Duration
- 1h 56m
- Frequency
- On demand
- Estimated price
- €28–500
- Website
- GoOpti
- Shared
- €28–75
- Private
- €140–180
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
Italy Travel Guides
Read the travel guide
5 delightfully under-the-radar French towns you need to visit
Read the travel guide
Train travel in Spain: A guide to Renfe
Read the travel guide
More Questions & Answers
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 4m to drive from Madrid to Koper.
Book your Madrid to Koper bus tickets online with Omio and FlixBus.
There are 6183+ hotels available in Koper.












