There are 8 ways to get from Hamburg to Madrid by plane, train (Eurostar, TGV, Renfe, Ouigo), bus, car, train, or car 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
best- Fly from Hamburg Airport (HAM) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane HAM - MAD
5h 53m€79–255Train
- Take the train from Hamburg Hbf to Köln Hbftrain 43 / ...
- Take the train from Koeln Hbf to Paris Nordtrain
- Take the train from Paris Gare De Lyon to Barcelona-Santstrain Tgv
- Take the train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
19h 38m€508–929Bus
- Take the bus from Hamburg, Zentraler Omnibusbahnhof to Brussels-North train stationbus N380 / ...
- Take the bus from Brussels-North train station to Madridbus FlixBus N1143
32h 25m€181–276Drive 2,124.9 km
- Drive from Hamburg to Madridcar 2,124.9 km
20h 3m€346–500Train via Lyon
- Take the train from Hamburg Hbf to Köln Hbftrain 43 / ...
- Take the train from Koeln Hbf to Brussel-Zuid / Bruxelles-Miditrain
- Take the train from Brussel-Zuid / Bruxelles-Midi 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
20h 45m€422–857Train, bus via Paris
- Take the train from Hamburg-Harburg to Paris-Esttrain Trn
- Take the bus from Paris, Quai de Bercy to Estación Sur de Autobusesbus
32h 37m€214–429Train, bus
- Take the train from Hamburg Hbf to Frankfurttrain 22 / ...
- Take the bus from Frankfurt - Main Bus Station to Madrid - Barajas Airport T4bus BlaBlaCar Bus
33h 50m€227–416Car train, drive
- Take the cartrain from Hamburg Hbf to Lörrach Hbfcartrain
- Drive from Lörrach Hbf to Madridcar
25h 30m€341–477
Hamburg to Madrid by train
Comparing Your Travel Options
The cheapest way to get from Hamburg to Madrid is to fly which costs €75 - €260 and takes 5h 53m.
The fastest way to get from Hamburg to Madrid is to fly which takes 5h 53m and costs €75 - €260.
No, there is no direct bus from Hamburg to Madrid. However, there are services departing from Hamburg, Zentraler Omnibusbahnhof and arriving at Madrid via Brussels-North train station. The journey, including transfers, takes approximately 32h 25m.
No, there is no direct train from Hamburg to Madrid. However, there are services departing from Hamburg Hbf and arriving at Madrid-Puerta de Atocha-Almudena Grandes via Koeln Hbf, Paris Nord, Paris Gare De Lyon and Barcelona-Sants. The journey, including transfers, takes approximately 19h 38m.
The distance between Hamburg and Madrid is 1806 km. The road distance is 2124.9 km.
The best way to get from Hamburg to Madrid without a car is to train which takes 19h 38m and costs €500 - €950.
It takes approximately 5h 53m to get from Hamburg to Madrid, including transfers.
Hamburg to Madrid bus services, operated by FlixBus, depart from Hamburg, Zentraler Omnibusbahnhof station.
Hamburg to Madrid train services, operated by Deutsche Bahn Intercity (DB IC), depart from Hamburg Hbf station.
The best way to get from Hamburg to Madrid is to fly which takes 5h 53m and costs €75 - €260. Alternatively, you can train, which costs €500 - €950 and takes 19h 38m, you could also bus, which costs €180 - €280 and takes 32h 25m.
What companies run services between Hamburg, Germany and Madrid, Spain?
Iberia, KLM, and four other airlines fly from Hamburg Airport (HAM) to Adolfo Suárez Madrid–Barajas Airport (MAD) every 3 hours. Alternatively, you can take a train from Hamburg Hbf to Madrid-Puerta de Atocha-Almudena Grandes via Koeln Hbf, Paris Nord, Paris Gare De Lyon, and Barcelona-Sants in around 19h 38m.
- Website
- klm.com
Flights from Hamburg Airport to Adolfo Suárez Madrid–Barajas Airport via Amsterdam Schiphol
- Ave. Duration
- 5h 4m
- When
- Every day
- Estimated price
- €85–430
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Hamburg Hbf to Köln Hbf
- Ave. Duration
- 4h 1m
- Frequency
- Hourly
- Estimated price
- €80–160
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Hamburg Hbf to Köln Hbf
- Ave. Duration
- 4h 1m
- Frequency
- Hourly
- Estimated price
- €80–160
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Hamburg Hbf to Frankfurt
- Ave. Duration
- 3h 45m
- Frequency
- Hourly
- Estimated price
- €95–190
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +49 30 300 137 300
- [email protected]
- Website
- Flixbus
Bus from Hamburg, Zentraler Omnibusbahnhof to Brussels-North train station
- Ave. Duration
- 9h 30m
- Frequency
- Twice daily
- Estimated price
- €50–80
- Website
- Flixbus
Bus from Brussels-North train station to Madrid
- Ave. Duration
- 21h 55m
- Frequency
- Once daily
- Estimated price
- €130–200
- Website
- Flixbus
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 France: A guide to SNCF
Read the travel guide
Booking & Getting There
Hamburg to Madrid bus services, operated by FlixBus, arrive at Brussels-North train station.
Hamburg to Madrid train services, operated by Deutsche Bahn Intercity (DB IC), arrive at Köln Hbf station.
Yes, the driving distance between Hamburg to Madrid is 2125 km. It takes approximately 20h 3m to drive from Hamburg to Madrid.
Book your Hamburg to Madrid train tickets online with Omio.
Book your Hamburg to Madrid bus tickets online with Omio and FlixBus.
There are 7012+ hotels available in Madrid.








