There are 10 ways to get from Madrid to Heidelberg by plane, train, train (Renfe, Ouigo, TGV), bus, car, or train (Renfe, TGV)
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 Frankfurt, train
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Frankfurt (FRA)plane MAD - FRA
- Take the train from Frankfurt to Mannheim, Hauptbahnhoftrain
6h 2m€87–286Fly to Luxembourg, bus, train
cheapest- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Luxembourg (LUX)plane MAD - LUX
- Take the bus from Kirchberg, Gare routière Luxexpo to Merzig, Bahnhofbus
- Take the train from Merzig to Mannheim, Hauptbahnhoftrain
9h 35m€86–286Train via Barcelona
- 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 Strasbourgtrain Tgv
- Take the train from Strasbourg to Karlsruhe Hbftrain Ice / ...
- Take the train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhoftrain 55 / ...
16h 5m€261–556Bus
- Take the bus from Estación Sur de Autobuses to Karlsruhe - Central Station South Sidebus BlaBlaCar Bus
- Take the bus from Karlsruhe central train station to Heidelberg Pre Waypointbus FlixBus 108 / ...
27h 40m€169–297Drive 1,722.1 km
- Drive from Madrid to Heidelbergcar 1,722.1 km
16h 34m€271–392Fly to Stuttgart Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Stuttgart Airport (STR)plane MAD - STR
- Take the train from Hauptbahnhof to Heidelberg, Hauptbahnhoftrain
8h 25m€111–335Fly to Strasbourg International Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Strasbourg International Airport (SXB)plane MAD - SXB
- Take the train from Strasbourg to Karlsruhe Hbftrain
- Take the train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhoftrain
6h 48m€109–385Fly to Basel, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Basel (BSL)plane MAD - BSL
- Take the train from Basel SBB to Mannheim, Hauptbahnhoftrain
7h 41m€115–427Train
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Avignon Tgvtrain 9725
- Take the train from Avignon Tgv to Mannheim Hbftrain Tgv
16h 29m€311–491Bus via Valladolid
- Take the bus from Estación Sur de Autobuses to Valladolidbus ALSA - Mad-Cl-Ast / ...
- Take the bus from Valladolid to Mannheim central bus stationbus FlixBus N1151
30h 18m€142–243
Madrid to Heidelberg by train
Questions & Answers
The cheapest way to get from Madrid to Heidelberg is to fly and train which costs €85 - €290 and takes 6h 2m.
The fastest way to get from Madrid to Heidelberg is to fly and train which takes 6h 2m and costs €85 - €290.
No, there is no direct bus from Madrid to Heidelberg. However, there are services departing from Estación Sur de Autobuses and arriving at Heidelberg Pre Waypoint via Karlsruhe central train station. The journey, including transfers, takes approximately 27h 40m.
No, there is no direct train from Madrid to Heidelberg. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Heidelberg, Hauptbahnhof via Barcelona-Sants, Lyon Part Dieu, Strasbourg and Karlsruhe Hauptbahnhof. The journey, including transfers, takes approximately 16h 5m.
The distance between Madrid and Heidelberg is 1522 km. The road distance is 1722.1 km.
The best way to get from Madrid to Heidelberg without a car is to train via Barcelona which takes 16h 5m and costs €260 - €600.
It takes approximately 6h 2m to get from Madrid to Heidelberg, including transfers.
Madrid to Heidelberg bus services, operated by BlaBlaCar Bus, depart from Estación Sur de Autobuses station.
Madrid to Heidelberg train services, operated by Renfe AVE, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid to Heidelberg is to train via Barcelona which takes 16h 5m and costs €260 - €600. Alternatively, you can bus, which costs €160 - €300 and takes 27h 40m.
What companies run services between Madrid, Spain and Heidelberg, Germany?
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Heidelberg, Hauptbahnhof via Barcelona-Sants, Lyon Part Dieu, Strasbourg, and Karlsruhe Hauptbahnhof in around 16h 5m. Alternatively, you can take a bus from Estación Sur de Autobuses to Heidelberg Pre Waypoint via Karlsruhe central train station in around 27h 40m.
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Frankfurt
- Ave. Duration
- 2h 36m
- When
- Every day
- Estimated price
- €80–290
Flights from Adolfo Suárez Madrid–Barajas Airport to Stuttgart Airport via Munich
- Ave. Duration
- 4h 45m
- When
- Every day
- Estimated price
- €80–370
Flights from Adolfo Suárez Madrid–Barajas Airport to Stuttgart Airport via Zurich
- Ave. Duration
- 4h 40m
- When
- Tuesday to Sunday
- Estimated price
- €60–280
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Frankfurt
- Ave. Duration
- 2h 45m
- When
- Every day
- Estimated price
- €70–170
Flights from Adolfo Suárez Madrid–Barajas Airport to Strasbourg International Airport
- Ave. Duration
- 2h 15m
- When
- Monday to Friday
- Estimated price
- €130–230
- Website
- airfrance.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Luxembourg via Paris Charles de Gaulle
- Ave. Duration
- 4h 33m
- When
- Every day
- Estimated price
- €70–350
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Frankfurt
- Ave. Duration
- 2h 40m
- When
- Every day
- Estimated price
- €80–210
- Website
- swiss.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Stuttgart Airport via Zurich
- Ave. Duration
- 6h 35m
- When
- Every day
- Estimated price
- €60–330
- Website
- eurowings.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Stuttgart Airport via Valencia
- Ave. Duration
- 4h 5m
- When
- Every day
- Estimated price
- €90–250
Flights from Adolfo Suárez Madrid–Barajas Airport to Stuttgart Airport via Bilbao
- Ave. Duration
- 4h 20m
- When
- Monday, Wednesday, Friday, and Sunday
- Estimated price
- €90–250
- Website
- luxair.lu
Flights from Adolfo Suárez Madrid–Barajas Airport to Luxembourg
- Ave. Duration
- 2h 15m
- When
- Friday, Monday, Wednesday, and Sunday
- Estimated price
- €70–370
- Website
- volotea.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Strasbourg International Airport via Montpellier
- Ave. Duration
- 5h 30m
- When
- Friday
- Estimated price
- €85–340
- Website
- easyjet.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Basel
- Ave. Duration
- 2h 15m
- When
- Monday, Tuesday, Wednesday, Thursday, Friday, and Sunday
- Estimated price
- €55–190
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Luxembourg
- Ave. Duration
- 2h 20m
- When
- Tuesday, Wednesday, Friday, and Saturday
- Estimated price
- €50–170
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Frankfurt to Mannheim, Hauptbahnhof
- Ave. Duration
- 35 min
- Frequency
- Hourly
- Estimated price
- €13–60
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Strasbourg to Karlsruhe Hbf
- Ave. Duration
- 39 min
- Frequency
- Every 2 hours
- Estimated price
- €14–65
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhof
- Ave. Duration
- 29 min
- Frequency
- Every 3 hours
- Estimated price
- €9–45
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Hauptbahnhof to Heidelberg, Hauptbahnhof
- Ave. Duration
- 46 min
- Frequency
- Hourly
- Estimated price
- €16–75
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Strasbourg to Karlsruhe Hbf
- Ave. Duration
- 39 min
- Frequency
- Every 2 hours
- Estimated price
- €14–65
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhof
- Ave. Duration
- 29 min
- Frequency
- Every 3 hours
- Estimated price
- €9–45
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Basel SBB to Mannheim, Hauptbahnhof
- Ave. Duration
- 2h 6m
- Frequency
- Hourly
- Estimated price
- €45–200
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +31 30 751 5155
- Website
- Nederlandse Spoorwegen (NS)
Train from Frankfurt to Mannheim, Hauptbahnhof
- Ave. Duration
- 32 min
- Frequency
- 5 times a day
- Estimated price
- €8–17
- Website
- Nederlandse Spoorwegen (NS)
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 20 minutes
- Estimated price
- €90–160
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- [email protected]
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 22m
- Frequency
- Hourly
- Estimated price
- €60–130
- 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
- Hourly
- Estimated price
- €55–100
- 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–120
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Twice daily
- Estimated price
- €80–130
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Avignon Tgv
- Ave. Duration
- 8h 2m
- Frequency
- Twice daily
- Estimated price
- €130–210
- Website
- Renfe Viajeros
- Phone
- +33 1 84 94 36 35
- Website
- TGV inOui
Train from Lyon Part Dieu to Strasbourg
- Ave. Duration
- 4h 12m
- Frequency
- Hourly
- Estimated price
- €100–160
- Website
- TGV inOui
Train from Strasbourg to Karlsruhe Hbf
- Ave. Duration
- 41 min
- Frequency
- Every 2 hours
- Estimated price
- €16–26
- Website
- TGV inOui
Train from Strasbourg to Karlsruhe Hbf
- Ave. Duration
- 41 min
- Frequency
- Every 2 hours
- Estimated price
- €16–26
- Website
- TGV inOui
Train from Avignon Tgv to Mannheim Hbf
- Ave. Duration
- 6h 30m
- Frequency
- Twice daily
- Estimated price
- €170–280
- Website
- TGV inOui
- Phone
- +33 1 84 94 36 35
- Website
- Oui.SNCF
Train from Strasbourg to Karlsruhe Hbf
- Ave. Duration
- 52 min
- Frequency
- Twice a week
- Estimated price
- €13–26
- Website
- Oui.SNCF
Train from Strasbourg to Karlsruhe Hbf
- Ave. Duration
- 52 min
- Frequency
- Twice a week
- Estimated price
- €13–26
- Website
- Oui.SNCF
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Regio (DB Regional)
Train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhof
- Ave. Duration
- 48 min
- Frequency
- Hourly
- Estimated price
- €13–22
- Website
- Deutsche Bahn Regio (DB Regional)
Train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhof
- Ave. Duration
- 48 min
- Frequency
- Hourly
- Estimated price
- €13–22
- Website
- Deutsche Bahn Regio (DB Regional)
- Phone
- +43 5 1717
- Website
- Österreichische Bundesbahnen
Train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhof
- Ave. Duration
- 42 min
- Frequency
- Twice daily
- Estimated price
- €17–26
- Website
- Österreichische Bundesbahnen
Train from Karlsruhe Hauptbahnhof to Heidelberg, Hauptbahnhof
- Ave. Duration
- 42 min
- Frequency
- Twice daily
- Estimated price
- €17–26
- Website
- Österreichische Bundesbahnen
Train from Basel SBB to Mannheim, Hauptbahnhof
- Ave. Duration
- 3h 3m
- Frequency
- Twice a week
- Estimated price
- €55–85
- Website
- Österreichische Bundesbahnen
- Phone
- +39 06 68475475
- [email protected]
- Website
- Trenitalia Eurocity
Train from Basel SBB to Mannheim, Hauptbahnhof
- Ave. Duration
- 2h 12m
- Frequency
- Twice daily
- Estimated price
- €55–110
- Website
- Trenitalia Eurocity
- 1st Class
- €75–110
- 2nd Class
- €55–80
- Phone
- +49 621 830 1200
- Website
- Süwex
Train from Merzig to Mannheim, Hauptbahnhof
- Ave. Duration
- 2h 11m
- Frequency
- Every 2 hours
- Estimated price
- €27–40
- Schedules at
- Süwex
- Phone
- +3 318 576 2228
- Website
- BlaBlaCar Bus
Bus from Estación Sur de Autobuses to Karlsruhe - Central Station South Side
- Ave. Duration
- 26h 15m
- Frequency
- Once daily
- Estimated price
- €160–290
- Website
- BlaBlaCar Bus
- Phone
- +49 30 300 137 300
- [email protected]
- Website
- Flixbus
Bus from Karlsruhe central train station to Heidelberg Pre Waypoint
- Ave. Duration
- 44 min
- Frequency
- Hourly
- Estimated price
- €4–7
- Website
- Flixbus
Bus from Valladolid to Mannheim central bus station
- Ave. Duration
- 26h
- Frequency
- 3 times a week
- Estimated price
- €120–210
- Website
- Flixbus
- Phone
- +352 2465 2465
- [email protected]
- Website
- Mobiliteit
Bus from Kirchberg, Gare routière Luxexpo to Merzig, Bahnhof
- Ave. Duration
- 50 min
- Frequency
- Hourly
- Website
- Mobiliteit
- Phone
- +34 910 207 007
- Website
- ALSA
Bus from Estación Sur de Autobuses to Valladolid
- Ave. Duration
- 2h 15m
- Frequency
- Hourly
- Estimated price
- €16–26
- Website
- ALSA
Want to know more about travelling around Germany
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
Madrid to Heidelberg bus services, operated by BlaBlaCar Bus, arrive at Karlsruhe - Central Station South Side.
Madrid to Heidelberg train services, operated by Renfe AVE, arrive at Barcelona-Sants station.
Yes, the driving distance between Madrid to Heidelberg is 1722 km. It takes approximately 16h 34m to drive from Madrid to Heidelberg.
Book your Madrid to Heidelberg train tickets online with Omio.
Book your Madrid to Heidelberg bus tickets online with Omio.
There are 1249+ hotels available in Heidelberg.

































































