There are 10 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€181–341Fly 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 24m€65–534Train
- 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€235–444Bus via Milan
- Take the bus from Madrid to Milanbus FlixBus N1138
- Take the bus from Milano, Autostazione Lampugnano to Koper Bankabus 419
31h 13m€186–274Drive 1,897.4 km
- Drive from Madrid to Kopercar 1,897.4 km
20h 6m€310–447Fly 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 7m€76–223Fly 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 22m€102–578Fly 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
9h 42m€84–266Fly to Il Caravaggio International Airport, shuttle
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Il Caravaggio International Airport (BGY)plane MAD - BGY
- Take a shuttle bus from Orio al Serio Airport to Portorož
10h 44m€543–1,124Bus
- Take the bus from Méndez Álvaro Estación Sur to Padovabus
- Take the bus from Padua to Koper Bankabus 419 / ...
32h 58m€145–179
Madrid to Koper by bus
Comparing Your Travel Options
The cheapest way to get from Madrid to Koper is to fly and train which costs €80 - €270 and takes 9h 42m.
The fastest way to get from Madrid to Koper is to fly and shuttle which takes 7h 12m and costs €180 - €350.
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 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 €180 - €280.
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 28m and costs €230 - €450. Alternatively, you can bus via Milan, which costs €180 - €280 and takes 31h 13m, you could also fly, which costs €75 - €230 and takes 9h 7m.
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
- 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–150
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport via Palma Mallorca
- Ave. Duration
- 5h
- When
- Tuesday and Thursday
- Estimated price
- €55–210
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport via Il Caravaggio International Airport
- Ave. Duration
- 5h 55m
- When
- Thursday
- Estimated price
- €55–210
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
- €45–170
Flights from Adolfo Suárez Madrid–Barajas Airport to Il Caravaggio International Airport
- Ave. Duration
- 2h 20m
- When
- Every day
- Estimated price
- €50–250
Flights from Adolfo Suárez Madrid–Barajas Airport to Il Caravaggio International Airport via Ibiza
- Ave. Duration
- 4h 45m
- When
- Wednesday
- Estimated price
- €50–250
Flights from Adolfo Suárez Madrid–Barajas Airport to Il Caravaggio International Airport via Palma Mallorca
- Ave. Duration
- 4h 55m
- When
- Friday
- Estimated price
- €50–250
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana
- Ave. Duration
- 2h 40m
- When
- Saturday
- Estimated price
- €110–190
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana via Barcelona
- Ave. Duration
- 5h 40m
- When
- Thursday and Sunday
- Estimated price
- €60–260
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 26m
- When
- Every day
- Estimated price
- €55–170
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport via Barcelona
- Ave. Duration
- 4h 55m
- When
- Monday and Thursday
- Estimated price
- €65–170
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport
- Ave. Duration
- 2h 45m
- When
- Thursday
- Estimated price
- €75–160
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
- Thursday and Sunday
- Estimated price
- €60–260
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 25m
- When
- Every day
- Estimated price
- €55–170
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport via Barcelona
- Ave. Duration
- 4h 55m
- When
- Monday and Thursday
- Estimated price
- €65–170
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 4m
- When
- Every day
- Estimated price
- €70–230
- Website
- volotea.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport via Toulouse
- Ave. Duration
- 5h 35m
- When
- Thursday and Sunday
- Estimated price
- €65–160
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 5h 10m
- When
- Every day
- Estimated price
- €70–230
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 4h 52m
- When
- Saturday, Wednesday, and Sunday
- Estimated price
- €70–230
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport via Munich
- Ave. Duration
- 5h 32m
- When
- Every day
- Estimated price
- €70–350
- 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, Saturday, and Sunday
- Estimated price
- €90–420
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 4h 52m
- When
- Saturday, Wednesday, and Sunday
- Estimated price
- €70–230
- 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–150
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 4h 55m
- When
- Wednesday and Sunday
- Estimated price
- €70–230
- Website
- swiss.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana via Zurich
- Ave. Duration
- 5h 10m
- When
- Tuesday
- Estimated price
- €85–350
Flights from Adolfo Suárez Madrid–Barajas Airport to Trieste – Friuli Venezia Giulia Airport via Rome
- Ave. Duration
- 4h 50m
- When
- Saturday
- Estimated price
- €70–230
- Website
- transavia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Ljubljana via Paris Orly
- Ave. Duration
- 5h 50m
- When
- Tuesday, Thursday, and Saturday
- Estimated price
- €90–420
- 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
- €28–120
- Website
- easyjet.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport via Geneva
- Ave. Duration
- 4h 20m
- When
- Friday
- Estimated price
- €45–210
- 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–200
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
- €85–150
- 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
- €55–100
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 27m
- Frequency
- Hourly
- Estimated price
- €45–80
- Website
- Ouigo
Rome2Rio's guide to Renfe Viajeros
Contact DetailsContact 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
- 4 times a day
- Estimated price
- €75–110
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Twice daily
- Estimated price
- €80–120
- Website
- Renfe Viajeros
- Phone
- +39.06.5210550
- Website
- Trenitalia
Train from Lyon Part Dieu to Milano Centrale
- Ave. Duration
- 4h 44m
- Frequency
- 4 times a day
- Estimated price
- €50–75
- Website
- Trenitalia
Train from Bologna Centrale to Venezia Mestre
- Ave. Duration
- 1h 44m
- Frequency
- Hourly
- Estimated price
- €18–25
- Website
- Trenitalia
Train from Venezia Mestre to Trieste Centrale
- Ave. Duration
- 2h 48m
- Frequency
- Every 30 minutes
- Estimated price
- €17–24
- Website
- Trenitalia
- Phone
- +39 06 5210550
- Website
- Trenitalia Frecce
Train from Milano Centrale to Trieste Centrale
- Ave. Duration
- 4h 12m
- Frequency
- Every 4 hours
- Estimated price
- €55–95
- 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 35m
- Frequency
- Every 4 hours
- Estimated price
- €20–35
- Website
- Trenitalia Frecce
- Phone
- +39 06 8937 1892
- Website
- Italo Treno
Train from Bologna Centrale to Venezia Mestre
- Ave. Duration
- 1h 19m
- 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
- €17–28
- Website
- Italo Treno
- Phone
- +39 06 68475475
- Website
- Trenitalia Intercity
Train from Bologna Centrale to Venezia Mestre
- Ave. Duration
- 1h 25m
- Frequency
- 3 times a day
- Estimated price
- €16–30
- Website
- Trenitalia Intercity
Train from Venezia Mestre to Trieste Centrale
- Ave. Duration
- 1h 57m
- Frequency
- 3 times a day
- Estimated price
- €15–29
- 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
- €140–220
- Website
- Flixbus
Bus from Milano, Autostazione Lampugnano to Koper Banka
- Ave. Duration
- 7h 8m
- Frequency
- 6 times a week
- Estimated price
- €40–60
- Website
- Flixbus
Bus from Padua to Koper Banka
- Ave. Duration
- 4h 13m
- Frequency
- Once daily
- Estimated price
- €19–28
- 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–370
- Website
- GoOpti
- Shared
- €27
- Private
- €155
Shuttle from Zagreb Airport to Ljubljana
- Ave. Duration
- 1h 56m
- Frequency
- On demand
- Estimated price
- €28–320
- Website
- GoOpti
- Shared
- €28–75
- Private
- €140–180
Shuttle from Orio al Serio Airport to Portorož
- Ave. Duration
- 4h 57m
- Frequency
- On demand
- Estimated price
- €490–850
- 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
- €8–17
- Website
- Nomago
- Phone
- +4-0263-21.55.00
- Website
- tabitatour.ro
Bus from Méndez Álvaro Estación Sur to Padova
- Ave. Duration
- 27h 34m
- Frequency
- Once a week
- 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 6m to drive from Madrid to Koper.
Book your Madrid to Koper bus tickets online with Omio and FlixBus.
There are 5015+ hotels available in Koper.











































