There are 9 ways to get from Heidelberg to Madrid by train, plane, train (TGV, Renfe, Ouigo), 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.
Train to Frankfurt, fly
best- Take the train from Mannheim, Hauptbahnhof to Frankfurttrain
- Fly from Frankfurt (FRA) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane FRA - MAD
6h 12m€87–289Train, bus to Luxembourg, fly
cheapest- Take the train from Mannheim, Hauptbahnhof to Merzigtrain
- Take the bus from Merzig, Bahnhof to Kirchberg, Gare routière Luxexpobus
- Fly from Luxembourg (LUX) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane LUX - MAD
9h 44m€86–289Train
- Take the train from Heidelberg, Hauptbahnhof to Karlsruhe Hauptbahnhoftrain S3
- Take the train from Karlsruhe Hauptbahnhof to Strasbourg Bahnhoftrain 83 / ...
- Take the train from Strasbourg to Lyon Part Dieutrain Tgv
- Take the train from Lyon Part Dieu to Barcelona-Santstrain
- Take the train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
16h 17m€260–637Bus
- Take the bus from Heidelberg Post Waypoint to Karlsruhe central train stationbus FlixBus 108 / ...
- Take the bus from Karlsruhe - Central Station South Side to Estación Sur de Autobusesbus BlaBlaCar Bus
28h 34m€164–297Drive 1,719 km
- Drive from Heidelberg to Madridcar 1,719 km
16h 39m€271–391Train to Stuttgart Airport, fly
- Take the train from Heidelberg, Hauptbahnhof to Hauptbahnhoftrain
- Fly from Stuttgart Airport (STR) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane STR - MAD
7h 58m€112–333Train, train to Strasbourg International Airport, fly
- Take the train from Heidelberg, Hauptbahnhof to Karlsruhe Hauptbahnhoftrain
- Take the train from Karlsruhe Hauptbahnhof to Strasbourg Bahnhoftrain
- Fly from Strasbourg International Airport (SXB) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane SXB - MAD
7h 35m€112–383Train to Basel, fly
- Take the train from Mannheim, Hauptbahnhof to Basel SBBtrain
- Fly from Basel (BSL) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane BSL - MAD
8h 5m€98–430Bus via Valladolid
- Take the bus from Mannheim central bus station to Valladolidbus FlixBus N1151
- Take the bus from Valladolid to Madrid Moncloabus Alsa / ...
30h 35m€141–242
Heidelberg to Madrid by train
Questions & Answers
The cheapest way to get from Heidelberg to Madrid is to train and fly which costs €85 - €290 and takes 6h 12m.
The fastest way to get from Heidelberg to Madrid is to train and fly which takes 6h 12m and costs €85 - €290.
No, there is no direct bus from Heidelberg to Madrid. However, there are services departing from Heidelberg Post Waypoint and arriving at Estación Sur de Autobuses via Karlsruhe - Central Station South Side. The journey, including transfers, takes approximately 28h 34m.
No, there is no direct train from Heidelberg to Madrid. However, there are services departing from Heidelberg, Hauptbahnhof and arriving at Madrid-Puerta de Atocha-Almudena Grandes via Karlsruhe Hauptbahnhof, Strasbourg, Lyon Part Dieu and Barcelona-Sants. The journey, including transfers, takes approximately 16h 17m.
The distance between Heidelberg and Madrid is 1522 km. The road distance is 1719 km.
The best way to get from Heidelberg to Madrid without a car is to train which takes 16h 17m and costs €260 - €650.
It takes approximately 6h 12m to get from Heidelberg to Madrid, including transfers.
Heidelberg to Madrid bus services, operated by FlixBus, depart from Heidelberg Post Waypoint station.
Heidelberg to Madrid train services, operated by Deutsche Bahn Regio (DB Regional), depart from Heidelberg, Hauptbahnhof station.
The best way to get from Heidelberg to Madrid is to train which takes 16h 17m and costs €260 - €650. Alternatively, you can bus, which costs €160 - €300 and takes 28h 34m.
What companies run services between Heidelberg, Germany and Madrid, Spain?
You can take a train from Heidelberg, Hauptbahnhof to Madrid-Puerta de Atocha-Almudena Grandes via Karlsruhe Hauptbahnhof, Strasbourg Bahnhof, Strasbourg, Lyon Part Dieu, and Barcelona-Sants in around 16h 17m. Alternatively, you can take a bus from Heidelberg Post Waypoint to Estación Sur de Autobuses via Karlsruhe - Central Station South Side in around 28h 34m.
- Website
- iberia.com
Flights from Frankfurt to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 2h 50m
- When
- Every day
- Estimated price
- €70–170
Flights from Stuttgart Airport to Adolfo Suárez Madrid–Barajas Airport via Barcelona
- Ave. Duration
- 4h 31m
- When
- Every day
- Estimated price
- €80–250
Flights from Strasbourg International Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 2h 20m
- When
- Monday to Friday
- Estimated price
- €130–230
Flights from Strasbourg International Airport to Adolfo Suárez Madrid–Barajas Airport via Barcelona
- Ave. Duration
- 4h 47m
- When
- Monday
- Estimated price
- €80–230
Flights from Basel to Adolfo Suárez Madrid–Barajas Airport via Barcelona
- Ave. Duration
- 5h 2m
- When
- Every day
- Estimated price
- €70–190
- Website
- vueling.com
Flights from Frankfurt to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 2h 50m
- When
- Every day
- Estimated price
- €70–170
Flights from Stuttgart Airport to Adolfo Suárez Madrid–Barajas Airport via Barcelona
- Ave. Duration
- 4h 31m
- When
- Every day
- Estimated price
- €80–250
Flights from Strasbourg International Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 2h 20m
- When
- Monday to Friday
- Estimated price
- €130–230
Flights from Strasbourg International Airport to Adolfo Suárez Madrid–Barajas Airport via Barcelona
- Ave. Duration
- 4h 47m
- When
- Monday
- Estimated price
- €80–230
Flights from Basel to Adolfo Suárez Madrid–Barajas Airport via Barcelona
- Ave. Duration
- 5h 2m
- When
- Every day
- Estimated price
- €70–190
- Website
- lufthansa.com
Flights from Frankfurt to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 2h 40m
- When
- Every day
- Estimated price
- €80–290
- Website
- aireuropa.com
Flights from Frankfurt to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 2h 45m
- When
- Every day
- Estimated price
- €80–210
Flights from Stuttgart Airport to Adolfo Suárez Madrid–Barajas Airport via Palma Mallorca
- Ave. Duration
- 4h 15m
- When
- Monday to Wednesday
- Estimated price
- €90–250
- Website
- airfrance.com
Flights from Stuttgart Airport to Adolfo Suárez Madrid–Barajas Airport via Palma Mallorca
- Ave. Duration
- 4h 15m
- When
- Monday to Wednesday
- Estimated price
- €90–250
Flights from Luxembourg to Adolfo Suárez Madrid–Barajas Airport via Paris Charles de Gaulle
- Ave. Duration
- 4h 47m
- When
- Every day
- Estimated price
- €65–330
- Website
- swiss.com
Flights from Frankfurt to Adolfo Suárez Madrid–Barajas Airport via Zurich
- Ave. Duration
- 5h 40m
- When
- Every day
- Estimated price
- €90–320
Flights from Stuttgart Airport to Adolfo Suárez Madrid–Barajas Airport via Zurich
- Ave. Duration
- 4h 15m
- When
- Tuesday to Sunday
- Estimated price
- €95–330
- Website
- ryanair.com
Flights from Stuttgart Airport to Adolfo Suárez Madrid–Barajas Airport via Milan Malpensa
- Ave. Duration
- 4h 10m
- When
- Monday
- Estimated price
- €85–210
Flights from Luxembourg to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 2h 30m
- When
- Tuesday, Wednesday, Friday, and Saturday
- Estimated price
- €50–170
- Website
- luxair.lu
Flights from Luxembourg to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 2h 20m
- When
- Friday, Monday, Wednesday, and Sunday
- Estimated price
- €70–370
- Website
- easyjet.com
Flights from Basel to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 2h 20m
- When
- Monday, Tuesday, Wednesday, Thursday, Friday, and Sunday
- Estimated price
- €55–190
- Website
- volotea.com
Flights from Luxembourg to Adolfo Suárez Madrid–Barajas Airport via Toulouse
- Ave. Duration
- 4h 35m
- When
- Thursday and Sunday
- Estimated price
- €55–250
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Mannheim, Hauptbahnhof to Frankfurt
- Ave. Duration
- 31 min
- Frequency
- Hourly
- Estimated price
- €13–60
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Heidelberg, Hauptbahnhof to Karlsruhe Hauptbahnhof
- Ave. Duration
- 36 min
- Frequency
- 5 times a day
- Estimated price
- €9–45
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Karlsruhe Hauptbahnhof to Strasbourg Bahnhof
- Ave. Duration
- 46 min
- Frequency
- Every 4 hours
- Estimated price
- €15–65
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Heidelberg, Hauptbahnhof to Hauptbahnhof
- Ave. Duration
- 47 min
- Frequency
- Hourly
- Estimated price
- €16–75
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Heidelberg, Hauptbahnhof to Karlsruhe Hauptbahnhof
- Ave. Duration
- 36 min
- Frequency
- 5 times a day
- Estimated price
- €9–45
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Karlsruhe Hauptbahnhof to Strasbourg Bahnhof
- Ave. Duration
- 46 min
- Frequency
- Every 4 hours
- Estimated price
- €15–65
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Mannheim, Hauptbahnhof to Basel SBB
- Ave. Duration
- 2h 11m
- Frequency
- Hourly
- Estimated price
- €45–200
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +31 30 751 5155
- Website
- Nederlandse Spoorwegen (NS)
Train from Mannheim, Hauptbahnhof to Frankfurt
- Ave. Duration
- 31 min
- Frequency
- Once daily
- Estimated price
- €8–17
- Website
- Nederlandse Spoorwegen (NS)
Train from Mannheim, Hauptbahnhof to Basel SBB
- Ave. Duration
- 2h 50m
- Frequency
- Once daily
- Estimated price
- €28–60
- Website
- Nederlandse Spoorwegen (NS)
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Regio (DB Regional)
Train from Heidelberg, Hauptbahnhof to Karlsruhe Hauptbahnhof
- Ave. Duration
- 48 min
- Frequency
- Every 30 minutes
- Estimated price
- €13–22
- Website
- Deutsche Bahn Regio (DB Regional)
Train from Heidelberg, Hauptbahnhof to Karlsruhe Hauptbahnhof
- Ave. Duration
- 48 min
- Frequency
- Every 30 minutes
- Estimated price
- €13–22
- Website
- Deutsche Bahn Regio (DB Regional)
- Phone
- +43 5 1717
- Website
- Österreichische Bundesbahnen
Train from Heidelberg, Hauptbahnhof to Karlsruhe Hauptbahnhof
- Ave. Duration
- 28 min
- Frequency
- 3 times a day
- Estimated price
- €17–26
- Website
- Österreichische Bundesbahnen
Train from Heidelberg, Hauptbahnhof to Karlsruhe Hauptbahnhof
- Ave. Duration
- 28 min
- Frequency
- 3 times a day
- Estimated price
- €17–26
- Website
- Österreichische Bundesbahnen
- Phone
- +33 1 84 94 36 35
- Website
- TGV inOui
Train from Strasbourg to Lyon Part Dieu
- Ave. Duration
- 3h 47m
- Frequency
- Every 2 hours
- Estimated price
- €100–160
- Website
- TGV inOui
Train from Lyon Part Dieu to Barcelona-Sants
- Ave. Duration
- 5h 59m
- Frequency
- Twice a week
- Estimated price
- €130–210
- Website
- TGV inOui
Rome2Rio's guide to Renfe Viajeros
Contact DetailsContact Details
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Lyon Part Dieu to Barcelona-Sants
- Ave. Duration
- 4h 48m
- Frequency
- Twice daily
- Estimated price
- €80–130
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 28m
- Frequency
- 4 times a day
- Estimated price
- €75–120
- Website
- Renfe Viajeros
Rome2Rio's guide to Renfe AVE
Contact DetailsContact Details
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 2m
- Frequency
- Every 20 minutes
- Estimated price
- €90–160
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- [email protected]
- Website
- Iryo
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 23m
- Frequency
- Hourly
- Estimated price
- €60–130
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 28m
- Frequency
- Every 2 hours
- Estimated price
- €55–100
- Website
- Ouigo
- Phone
- +49 621 830 1200
- Website
- Süwex
Train from Mannheim, Hauptbahnhof to Merzig
- Ave. Duration
- 2h 4m
- Frequency
- Every 2 hours
- Estimated price
- €27–40
- Schedules at
- Süwex
- Phone
- +49 30 300 137 300
- [email protected]
- Website
- Flixbus
Bus from Heidelberg Post Waypoint to Karlsruhe central train station
- Ave. Duration
- 44 min
- Frequency
- Hourly
- Estimated price
- €4–7
- Website
- Flixbus
Bus from Mannheim central bus station to Valladolid
- Ave. Duration
- 25h 10m
- Frequency
- 3 times a week
- Estimated price
- €120–210
- Website
- Flixbus
- Phone
- +3 318 576 2228
- Website
- BlaBlaCar Bus
Bus from Karlsruhe - Central Station South Side to Estación Sur de Autobuses
- Ave. Duration
- 26h 50m
- Frequency
- Twice daily
- Estimated price
- €160–290
- Website
- BlaBlaCar Bus
- Phone
- +352 2465 2465
- [email protected]
- Website
- Mobiliteit
Bus from Merzig, Bahnhof to Kirchberg, Gare routière Luxexpo
- Ave. Duration
- 54 min
- Frequency
- Hourly
- Website
- Mobiliteit
- Phone
- +34 910 207 007
- Website
- ALSA
Bus from Valladolid to Madrid Moncloa
- Ave. Duration
- 2h 30m
- Frequency
- Every 2 hours
- Estimated price
- €16–25
- Website
- ALSA
Want to know more about travelling around Spain
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
Heading to Europe? Read this before you buy a Eurail Pass
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
Heidelberg to Madrid bus services, operated by FlixBus, arrive at Karlsruhe central train station.
Heidelberg to Madrid train services, operated by Deutsche Bahn Regio (DB Regional), arrive at Karlsruhe Hauptbahnhof station.
Yes, the driving distance between Heidelberg to Madrid is 1719 km. It takes approximately 16h 39m to drive from Heidelberg to Madrid.
Book your Heidelberg to Madrid train tickets online with Omio.
Book your Heidelberg to Madrid bus tickets online with Omio.
There are 7008+ hotels available in Madrid.






















































