There are 9 ways to get from Madrid to Hamburg by plane, train (Renfe, Ouigo, TGV, Eurostar), 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 to Hamburg Airport
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Hamburg Airport (HAM)plane MAD - HAM
5h 44m€79–256Train
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
- Take the train from Barcelona-Sants to Paris Gare De Lyontrain Tgv
- Take the train from Paris Nord to Brussel-Zuidtrain
- Take the train from Brussel-Zuid / Bruxelles-Midi to Koeln Hbftrain Ice
- Take the train from Köln Hbf to Hamburg Hbftrain 43 / ...
20h 30m€338–650Bus
- Take the bus from Madrid to Parisbus FlixBus N1093 / ...
- Take the bus from Paris, Quai de Bercy (Bercy Seine) to Hamburg, Zentraler Omnibusbahnhofbus N71 / ...
29h 30m€127–296Drive 2,125.4 km
- Drive from Madrid to Hamburgcar 2,125.4 km
20h 6m€364–526Fly to Bremen Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Bremen Airport (BRE)plane MAD - BRE
- Take the train from Bremen Hbf to Hamburg Hbftrain
7h 56m€107–387Train via Lyon
- 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 Brussel-Zuid / Bruxelles-Miditrain Tgv
- Take the train from Brussel-Zuid / Bruxelles-Midi to Koeln Hbftrain Ice
- Take the train from Köln Hbf to Hamburg Hbftrain 43 / ...
21h 4m€331–653Bus via Madrid, Estación Sur De Autobuses
- Take the bus from Estación Sur de Autobuses to Paris - Bercy-Seine Bus Stationbus BlaBlaCar Bus
- Take the bus from Paris - Bercy-Seine Bus Station to Hamburg - Bus Stationbus BlaBlaCar Bus
31h€195–288Bus, train
- Take the bus from Madrid - Barajas Airport T4 to Frankfurt - Main Bus Stationbus BlaBlaCar Bus
- Take the train from Frankfurt to Hamburg Hbftrain 20 / ...
33h 39m€241–382Drive, car train
- Drive from Madrid to Lörrach Hbfcar
- Take the cartrain from Lörrach Hbf to Hamburg Hbfcartrain
26h 35m€358–493
Madrid to Hamburg by train
Comparing Your Travel Options
The cheapest way to get from Madrid to Hamburg is to fly which costs €75 - €260 and takes 5h 44m.
The fastest way to get from Madrid to Hamburg is to fly which takes 5h 44m and costs €75 - €260.
No, there is no direct bus from Madrid to Hamburg. However, there are services departing from Madrid and arriving at Hamburg, Zentraler Omnibusbahnhof via Paris, Quai de Bercy (Bercy Seine). The journey, including transfers, takes approximately 29h 30m.
No, there is no direct train from Madrid to Hamburg. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Hamburg Hbf via Barcelona-Sants, Paris Gare de Lyon, Paris Nord, Brussel-Zuid / Bruxelles-Midi and Köln Hbf. The journey, including transfers, takes approximately 20h 30m.
The distance between Madrid and Hamburg is 1806 km. The road distance is 2125.4 km.
The best way to get from Madrid to Hamburg without a car is to train which takes 20h 30m and costs €330 - €650.
It takes approximately 5h 44m to get from Madrid to Hamburg, including transfers.
Madrid to Hamburg bus services, operated by FlixBus, depart from Madrid station.
Madrid to Hamburg train services, operated by Renfe AVE, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid to Hamburg is to fly which takes 5h 44m and costs €75 - €260. Alternatively, you can train, which costs €330 - €650 and takes 20h 30m, you could also bus, which costs €120 - €300 and takes 29h 30m.
What companies run services between Madrid, Spain and Hamburg, Germany?
Iberia, Eurowings, and four other airlines fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Hamburg Airport (HAM) every 3 hours. Alternatively, you can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Hamburg Hbf via Barcelona-Sants, Paris Gare de Lyon, Paris Nord, Brussel-Zuid, Brussel-Zuid / Bruxelles-Midi, and Köln Hbf in around 20h 30m.
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Hamburg Airport via Frankfurt
- Ave. Duration
- 5h 5m
- When
- Every day
- Estimated price
- €100–360
Flights from Adolfo Suárez Madrid–Barajas Airport to Bremen Airport via Frankfurt
- Ave. Duration
- 4h 25m
- When
- Monday and Sunday
- Estimated price
- €140–500
Flights from Adolfo Suárez Madrid–Barajas Airport to Bremen Airport via Munich
- Ave. Duration
- 6h 20m
- When
- Every day
- Estimated price
- €110–600
- Website
- klm.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Hamburg Airport via Amsterdam Schiphol
- Ave. Duration
- 4h 46m
- When
- Every day
- Estimated price
- €75–380
Flights from Adolfo Suárez Madrid–Barajas Airport to Bremen Airport via Amsterdam Schiphol
- Ave. Duration
- 4h 40m
- When
- Monday, Tuesday, Wednesday, Thursday, Friday, and Sunday
- Estimated price
- €100–550
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Bremen Airport via London Stansted
- Ave. Duration
- 5h 51m
- When
- Thursday, Sunday, and Saturday
- Estimated price
- €80–290
Flights from Adolfo Suárez Madrid–Barajas Airport to Bremen Airport via Palma Mallorca
- Ave. Duration
- 6h 5m
- When
- Sunday
- Estimated price
- €80–290
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Hamburg Airport
- Ave. Duration
- 2h 57m
- When
- Every day
- Estimated price
- €75–170
- Website
- eurowings.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Hamburg Airport via Dusseldorf
- Ave. Duration
- 4h 35m
- When
- Friday
- Estimated price
- €70–270
Flights from Adolfo Suárez Madrid–Barajas Airport to Hamburg Airport via Stuttgart
- Ave. Duration
- 6h 45m
- When
- Monday
- Estimated price
- €70–270
- Website
- brusselsairlines.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Hamburg Airport via Brussels
- Ave. Duration
- 4h 45m
- When
- Monday, Tuesday, Wednesday, Thursday, Friday, and Sunday
- Estimated price
- €65–280
- Website
- luxair.lu
Flights from Adolfo Suárez Madrid–Barajas Airport to Hamburg Airport via Luxembourg
- Ave. Duration
- 6h
- When
- Friday
- Estimated price
- €95–430
- Website
- lufthansa-city.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Bremen Airport via Munich
- Ave. Duration
- 7h 5m
- When
- Wednesday
- Estimated price
- €110–600
Rome2Rio's guide to Renfe AVE
Contact 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
- Hourly
- Estimated price
- €70–130
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 2m
- Frequency
- Hourly
- Estimated price
- €70–130
- 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 24m
- Frequency
- Hourly
- Estimated price
- €50–85
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 24m
- Frequency
- Hourly
- Estimated price
- €50–85
- 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
- Every 4 hours
- Estimated price
- €45–65
- Website
- Ouigo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Every 4 hours
- Estimated price
- €45–65
- Website
- Ouigo
Rome2Rio's guide to Renfe Viajeros
Contact 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
- Twice daily
- Estimated price
- €75–120
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- Twice daily
- Estimated price
- €75–120
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Once daily
- Estimated price
- €85–130
- Website
- Renfe Viajeros
- Phone
- +33 1 84 94 36 35
- Website
- TGV inOui
Train from Barcelona-Sants to Paris Gare De Lyon
- Ave. Duration
- 6h 52m
- Frequency
- Twice daily
- Estimated price
- €170–210
- Website
- TGV inOui
Train from Lyon Part Dieu to Brussel-Zuid / Bruxelles-Midi
- Ave. Duration
- 3h 55m
- Frequency
- Every 4 hours
- Estimated price
- €110–150
- Website
- TGV inOui
- Phone
- +31 30 751 5155
- Website
- Nederlandse Spoorwegen (NS)
Train from Paris Nord to Brussel-Zuid
- Ave. Duration
- 1h 23m
- Frequency
- Every 3 hours
- Estimated price
- €30–65
- Website
- Nederlandse Spoorwegen (NS)
Train from Bremen Hbf to Hamburg Hbf
- Ave. Duration
- 58 min
- Frequency
- Every 4 hours
- Estimated price
- €11–24
- Website
- Nederlandse Spoorwegen (NS)
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Brussel-Zuid / Bruxelles-Midi to Koeln Hbf
- Ave. Duration
- 1h 50m
- Frequency
- Every 2 hours
- Estimated price
- €30–50
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Köln Hbf to Hamburg Hbf
- Ave. Duration
- 4h 4m
- Frequency
- Hourly
- Estimated price
- €60–95
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Bremen Hbf to Hamburg Hbf
- Ave. Duration
- 58 min
- Frequency
- Hourly
- Estimated price
- €16–25
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Brussel-Zuid / Bruxelles-Midi to Koeln Hbf
- Ave. Duration
- 1h 50m
- Frequency
- Every 2 hours
- Estimated price
- €30–50
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Köln Hbf to Hamburg Hbf
- Ave. Duration
- 4h 4m
- Frequency
- Hourly
- Estimated price
- €60–95
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Frankfurt to Hamburg Hbf
- Ave. Duration
- 3h 43m
- Frequency
- Hourly
- Estimated price
- €70–120
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +44 (0)3432 186 186
- Website
- Eurostar
Train from Brussel-Zuid / Bruxelles-Midi to Koeln Hbf
- Ave. Duration
- 1h 50m
- Frequency
- 5 times a day
- Estimated price
- €90–150
- Website
- Eurostar
Train from Brussel-Zuid / Bruxelles-Midi to Koeln Hbf
- Ave. Duration
- 1h 50m
- Frequency
- 5 times a day
- Estimated price
- €90–150
- Website
- Eurostar
- Phone
- +49 581 97164164
- [email protected]
- Website
- metronom
Train from Bremen Hbf to Hamburg Hbf
- Ave. Duration
- 1h 28m
- Frequency
- Every 30 minutes
- Estimated price
- €29
- Schedules at
- metronom
- Phone
- +43 5 1717
- Website
- Österreichische Bundesbahnen
Train from Bremen Hbf to Hamburg Hbf
- Ave. Duration
- 1h 7m
- Frequency
- 3 times a day
- Estimated price
- €29–45
- Website
- Österreichische Bundesbahnen
- Phone
- +49 (0) 221 800 20 820
- [email protected]
- Website
- Urlaubs-Express (UEX)
Car train from Lörrach Hbf to Hamburg Hbf
- Ave. Duration
- 11h 3m
- Frequency
- Twice a week
- Estimated price
- €100–120
- Website
- Urlaubs-Express (UEX)
- Phone
- +49 30 300 137 300
- [email protected]
- Website
- Flixbus
Bus from Madrid to Paris
- Ave. Duration
- 16h 15m
- Frequency
- 4 times a day
- Estimated price
- €110–180
- Website
- Flixbus
Bus from Paris, Quai de Bercy (Bercy Seine) to Hamburg, Zentraler Omnibusbahnhof
- Ave. Duration
- 12h 15m
- Frequency
- 3 times a day
- Estimated price
- €80–120
- Website
- Flixbus
- Phone
- +34 910 207 007
- Website
- alsa.es
Bus from Madrid to Paris
- Ave. Duration
- 15h 30m
- Frequency
- Twice daily
- Estimated price
- €45–170
- Schedules at
- alsa.es
- Phone
- +3 318 576 2228
- Website
- BlaBlaCar Bus
Bus from Estación Sur de Autobuses to Paris - Bercy-Seine Bus Station
- Ave. Duration
- 15h 30m
- Frequency
- Every 4 hours
- Estimated price
- €110–160
- Website
- BlaBlaCar Bus
Bus from Paris - Bercy-Seine Bus Station to Hamburg - Bus Station
- Ave. Duration
- 14h 30m
- Frequency
- Twice daily
- Estimated price
- €85–130
- Website
- BlaBlaCar Bus
Bus from Madrid - Barajas Airport T4 to Frankfurt - Main Bus Station
- Ave. Duration
- 28h 5m
- Frequency
- 3 times a day
- Estimated price
- €170–260
- Website
- BlaBlaCar Bus
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
Booking & Getting There
Madrid to Hamburg bus services, operated by FlixBus, arrive at Paris station.
Madrid to Hamburg train services, operated by Renfe AVE, arrive at Barcelona-Sants station.
Yes, the driving distance between Madrid to Hamburg is 2125 km. It takes approximately 20h 6m to drive from Madrid to Hamburg.
Book your Madrid to Hamburg train tickets online with 12go.asia.
Book your Madrid to Hamburg bus tickets online with Omio, FlixBus and 12go.asia.
There are 400+ hotels available in Hamburg.






















































