There are 7 ways to get from Hamburg to Madrid by plane, train, night bus, bus, car train 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.

Recommended option

Fly from Hamburg  •  5h 58m

  1. Fly from Hamburg (HAM) to Madrid (MAD) HAM - MAD

57€ - 172€

Cheapest option

Train to Bremen, fly  •  8h 33m

  1. Take the train from Hamburg Hbf to Bremen Hbf
  2. Fly from Bremen (BRE) to Madrid (MAD) BRE - MAD

44€ - 220€

5 alternative options

Train  •  20h 45m

  1. Take the train from Hamburg Hbf to Koeln Hbf Ic / ...
  2. Take the train from Koeln Hbf to Brussel-Zuid / Bruxelles-Midi Ice
  3. Take the train from Brussel-Zuid / Bruxelles-Midi to Montpellier Saint-Roch Tgv
  4. Take the train from Montpellier Saint-Roch to Madrid-Puerta De Atocha Ave

308€ - 565€

Night bus, bus  •  30h

  1. Take the night bus from Hamburg, Hamburg ZOB to Paris City Centre - Bercy Seine N71
  2. Take the bus from Paris City Centre - Bercy Seine to Madrid - Avénida de America Paris City Centre - Bercy Seine > Bordeaux City Centre > Bayonne > San Sebastián > Burgos > Madrid - Barajas Airport > Madrid - Avénida de America > Madrid - South Station

137€ - 190€

Bus  •  34h 15m

  1. Take the bus from Hamburg, Hamburg ZOB to Osnabrück N17 / ...
  2. Take the bus from Osnabrueck to Logroño
  3. Take the bus from Logroño to Madrid 100 / ...

159€ - 247€

Car train, drive  •  26h 2m

  1. Take the car train from Hamburg Altona to Lörrach Hbf Arz 1797
  2. Drive from Lörrach Hbf to Madrid

Drive  •  20h 4m

  1. Drive from Hamburg to Madrid 2161.6 km

250€ - 370€

Coronavirus (COVID-19) in Spain

There is widespread community transmission globally.
Some travel restrictions are being lifted in Spain. For the latest travel status, please check the official page for Spain.

For travel planning advice, please refer to our Rome2rio Coronavirus information page .
For the latest travel status, we recommend checking the official page for Spain.

Coronavirus (COVID-19) Travel Advice

Some border closures are in place for Spain due to Coronavirus (COVID-19). Most travel to this country is restricted.

Source Type: Government | Last updated: 5/16/2020

Some domestic travel restrictions began to ease in Spain from 5/9/2020.

Source Type: Government | Last updated: 5/11/2020

Lockdown measures are currently in place for Germany. Leaving Germany may be in violation of local restrictions.

Source Type: Government | Last updated: 4/18/2020

Data sourced from: CDC, ACAPS, OXFORD

Questions & Answers

The cheapest way to get from Hamburg to Madrid is to fly which costs 55€ - 180€ and takes 5h 58m.

More details

The quickest way to get from Hamburg to Madrid is to fly which costs 55€ - 180€ and takes 5h 58m.

More details

No, there is no direct bus from Hamburg to Madrid. However, there are services departing from Hamburg, Hamburg ZOB and arriving at Madrid - Avénida de America via Paris City Centre - Bercy Seine. The journey, including transfers, takes approximately 30h.

More details

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 via Koeln Hbf, Brussel-Zuid / Bruxelles-Midi and Montpellier Saint-Roch. The journey, including transfers, takes approximately 20h 45m.

More details

The distance between Hamburg and Madrid is 1789 km. The road distance is 2161.6 km.

Get driving directions

The best way to get from Hamburg to Madrid without a car is to train which takes 20h 45m and costs 300€ - 600€.

More details

It takes approximately 5h 58m to get from Hamburg to Madrid, including transfers.

More details

Hamburg to Madrid bus services, operated by FlixBus, depart from Hamburg, Hamburg ZOB station.

More details

Hamburg to Madrid train services, operated by Deutsche Bahn Intercity, depart from Hamburg Hbf station.

More details

The best way to get from Hamburg to Madrid is to fly which takes 5h 58m and costs 55€ - 180€. Alternatively, you can train, which costs 300€ - 600€ and takes 20h 45m, you could also bus, which costs 150€ - 250€ and takes 34h 15m.

Mode details

Map of how to get from Hamburg to Madrid.
Launch map view
  • Distance: 1788.7 km
  • Duration: 5h 58m

What companies run services between Hamburg, Germany and Madrid, Spain?

Iberia, Lufthansa and 10 other airlines fly from Hamburg to Madrid hourly. Alternatively, you can take a train from Hamburg to Madrid via Koeln Hbf, Brussel-Zuid / Bruxelles-Midi, and Montpellier Saint-Roch in around 20h 45m.

Airlines
Lufthansa
Website
lufthansa.com
Flights from Hamburg to Madrid via Frankfurt
Ave. Duration
4h 38m
When
Every day
Estimated price
190€ - 450€
Flights from Hamburg to Madrid via Brussels
Ave. Duration
4h 50m
When
Monday to Saturday
Estimated price
90€ - 340€
Flights from Hamburg to Madrid via Munich
Ave. Duration
5h
When
Every day
Estimated price
190€ - 450€
Flights from Bremen to Madrid via Frankfurt
Ave. Duration
5h 13m
When
Every day
Estimated price
180€ - 650€
Flights from Bremen to Madrid via Munich
Ave. Duration
5h 51m
When
Every day
Estimated price
180€ - 650€
Ryanair
Website
ryanair.com
Flights from Hamburg to Madrid via London Stansted
Ave. Duration
5h 20m
When
Thursday and Saturday
Estimated price
45€ - 130€
Flights from Hamburg to Madrid via Palma Mallorca
Ave. Duration
5h 20m
When
Sunday
Estimated price
45€ - 130€
Flights from Bremen to Madrid via Milan Bergamo
Ave. Duration
5h 5m
When
Sunday
Estimated price
40€ - 190€
Flights from Bremen to Madrid via Palma Mallorca
Ave. Duration
5h 40m
When
Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday
Estimated price
40€ - 190€
Flights from Bremen to Madrid via London Stansted
Ave. Duration
6h 55m
When
Every day
Estimated price
40€ - 180€
KLM
Website
klm.com
Flights from Hamburg to Madrid via Amsterdam Schiphol
Ave. Duration
4h 50m
When
Every day
Estimated price
110€ - 600€
Flights from Bremen to Madrid via Amsterdam Schiphol
Ave. Duration
5h 25m
When
Every day
Estimated price
130€ - 550€
Air France
Website
airfrance.com
Flights from Hamburg to Madrid via Paris CDG
Ave. Duration
5h 15m
When
Every day
Estimated price
110€ - 320€
Flights from Bremen to Madrid via Paris CDG
Ave. Duration
4h 45m
When
Every day
Estimated price
100€ - 310€
Iberia
Website
iberia.com
Flights from Hamburg to Madrid
Ave. Duration
3h 2m
When
Every day
Estimated price
100€ - 450€
Brussels Airlines
Website
brusselsairlines.com
Flights from Hamburg to Madrid via Brussels
Ave. Duration
4h 50m
When
Monday to Saturday
Estimated price
90€ - 340€
Swiss
Website
swiss.com
Flights from Hamburg to Madrid via Zurich
Ave. Duration
5h 5m
When
Saturday and Sunday
Estimated price
210€ - 550€
Alitalia
Website
alitalia.com
Flights from Hamburg to Madrid via Milan Linate
Ave. Duration
5h 10m
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
180€ - 550€
Train operators
Deutsche Bahn Intercity

Deutsche Bahn’s high-speed InterCity (IC) trains connect cities within Germany. They’re a popular way to travel as they’re faster than Deutsche Bahn’s regional trains and offer a frequent, fast service. All IC trains have first and second class carriages, power sockets and toilets, and most have a bistro cafe or restaurant. Tickets can be booked up to 180 days in advance of travel.

Contact Details
Website
bahn.com
Train from Hamburg Hbf to Bremen Hbf
Ave. Duration
55 min
Frequency
Every 2 hours
Estimated price
40€ - 65€
Website
reiseauskunft.bahn.de
Train from Hamburg Hbf to Koeln Hbf
Ave. Duration
4h 4m
Frequency
Every 3 hours
Estimated price
80€ - 120€
Website
reiseauskunft.bahn.de
Deutsche Bahn Intercity-Express

German rail company Deutsche Bahn is known for its efficient and comfortable service. It offers many different types of rail transportation, including ICE or Intercity-Express for high-speed services between major cities and regions, IC (InterCity) for long-distance trains, RE (Regional Express) trains that connect regions and cities, and the S-Bahn rapid transit service. There are two main tickets on offer: the Flexpreis that has full flexibility, and the Sparpreis which is the cheaper, advanced fare (bookings usually open 6 months in advance for domestic tickets).

Contact Details
Phone
+49 0180 6 99 66 33
Website
bahn.com
Train from Hamburg Hbf to Bremen Hbf
Ave. Duration
55 min
Frequency
Every 4 hours
Estimated price
27€ - 40€
Website
Deutsche Bahn
Train from Hamburg Hbf to Koeln Hbf
Ave. Duration
4h
Frequency
Every 4 hours
Estimated price
80€ - 110€
Website
Deutsche Bahn
Train from Koeln Hbf to Brussel-Zuid / Bruxelles-Midi
Ave. Duration
1h 52m
Frequency
Every 4 hours
Estimated price
40€ - 60€
Website
Deutsche Bahn
HVV
Phone
040/ 19 449
Website
hvv.de
Train from Hamburg Hbf to Bremen Hbf
Ave. Duration
1h 29m
Frequency
Every 30 minutes
Estimated price
3€ - 5€
Website
HVV
Deutsche Bahn Eurocity

Deutsche Bahn’s EuroCity (EC) trains connect German cities to major cities in neighbouring European countries, and are operated in conjunction with their national train company. All EC trains offer First and Standard class; cars are air-conditioned and food and drinks are available onboard. Tickets can be booked up to 180 days in advance of travel. Seat reservations are not compulsory but are recommended for popular routes.

Contact Details
Website
bahn.com
Train from Hamburg Hbf to Bremen Hbf
Ave. Duration
55 min
Frequency
3 times a day
Estimated price
16€ - 23€
Website
reiseauskunft.bahn.de
Train from Hamburg Hbf to Koeln Hbf
Ave. Duration
4h 4m
Frequency
3 times a day
Estimated price
40€ - 60€
Website
reiseauskunft.bahn.de
Thalys
Phone
+32 70 66 77 88
Website
thalys.com
Train from Koeln Hbf to Brussel-Zuid / Bruxelles-Midi
Ave. Duration
1h 52m
Frequency
4 times a day
Estimated price
65€ - 130€
Website
Thalys
Standard
65€ - 90€
Comfort
75€ - 100€
Premium
90€ - 130€
TGV inOui

France’s high-speed TGV train network runs at speeds of up to 320km/h connecting major cities across France and into neighbouring countries. All TGV tickets include a seat reservation; seating is 1+2 in 1st class, 2+2 in 2nd class. Popular routes include Paris to Marseille and Paris to Strasbourg. Most TGVs have a cafe area, power points at each seat and WiFi.

Contact Details
Phone
0033 892 353535
Website
en.oui.sncf
Train from Brussel-Zuid / Bruxelles-Midi to Montpellier Saint-Roch
Ave. Duration
5h 46m
Frequency
Twice daily
Estimated price
150€ - 210€
Website
Oui.SNCF
2nd Class
150€ - 180€
1st Class
170€ - 210€
Renfe SNCF
Website
renfe-sncf.com
Train from Montpellier Saint-Roch to Madrid-Puerta De Atocha
Ave. Duration
6h 3m
Frequency
Once daily
Estimated price
75€ - 110€
Website
renfe-sncf.com
BahnTouristikExpress GmbH
Phone
+49 (0) 911 / 240 388 – 22
Email
info@bahntouristikexpress.de
Website
bahntouristikexpress.de
Car train from Hamburg Altona to Lörrach Hbf
Ave. Duration
10h 31m
Frequency
Twice a week
Website
BahnTouristikExpress GmbH
Bus operators
FlixBus

One of Europe’s leading bus companies, Flixbus serves 2000+ destinations in 29 countries, including Germany, France, Italy, Austria, the Netherlands and Croatia and into Scandinavia and eastern Europe, as well as some US cities. Coaches have toilets, free WiFi and power outlets, plus snacks and drinks for purchase on board. Flixbus is a good choice for the budget-conscious traveller; purchase tickets in advance for the cheapest fares (note: there is no option to reserve a seat in advance).

Rome2rio's guide to FlixBus
Contact Details
Phone
+49 1807 123 99 123
Email
info@flixbus.de
Website
flixbus.de
Night bus from Hamburg, Hamburg ZOB to Paris City Centre - Bercy Seine
Ave. Duration
12h 25m
Frequency
3 times a week
Estimated price
40€ - 55€
Website
flixbus.co.uk
Bus from Hamburg, Hamburg ZOB to Osnabrück
Ave. Duration
3h 30m
Frequency
Twice daily
Estimated price
13€ - 17€
Website
flixbus.co.uk
ALSA

A Spanish subsidiary of National Express, ALSA provides bus and coach services across Spain and neighbouring countries including Portugal, France, Germany, the Netherlands, Italy, Poland and Malta. Founded in 1923, ALSA values service and the customer experience. Buses are equipped with communal TV screens showing movies, individual behind-seat screens, ALSA radio, app for books and music, and free WiFi. ALSA services are accessible to people with disabilities, and guide dogs are welcome on all journeys. There are three types of tickets on offer (Frequent Traveller Pass, Share Pass and ALSA Pass), along with discounts for senior citizens, students and children.

Contact Details
Phone
+34 902 42 22 42
Website
alsa.es
Bus from Paris City Centre - Bercy Seine to Madrid - Avénida de America
Ave. Duration
16h 35m
Frequency
Once daily
Estimated price
95€ - 140€
Website
alsa.com
Bus from Osnabrueck to Logroño
Ave. Duration
25h 15m
Frequency
Once daily
Estimated price
130€ - 190€
Website
alsa.com
Bus from Logroño to Madrid
Ave. Duration
4h
Frequency
Hourly
Estimated price
26€ - 40€
Website
alsa.com

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.

More Questions & Answers

The quickest flight from Hamburg Airport to Madrid Airport is the direct flight which takes 3h.

Search flights

Hamburg to Madrid bus services, operated by ALSA, arrive at Madrid - Avénida de America station.

More details

Hamburg to Madrid train services, operated by Renfe SNCF, arrive at Madrid-Puerta De Atocha station.

More details

Yes, the driving distance between Hamburg to Madrid is 2162 km. It takes approximately 20h 4m to drive from Hamburg to Madrid.

Get driving directions

Iberia, Brussels Airlines, KLM and five other airlines offer flights from Hamburg Airport to Madrid Airport.

Search flights

There are 4157+ hotels available in Madrid. Prices start at 87€ per night.

More details

The best way to get from Hamburg to Hamburg Airport is to subway which takes 12 min and costs 2€.

More details