• Our partners include:

  • RailEurope
  • Deutsche Bahn
  • Trenitalia
  • SNCF
  • Flixbus
  • RENFE
  • Ouibus
  • BlaBlaCar
  • Booking.com
  • Skyscanner

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

Recommended option

Fly  •  5 h 51 min

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

$40 - $197

4 alternative options

Train  •  19 h 15 min

  1. Take the train from Hamburg Hbf to Köln Hbf Ic / ...
  2. Take the train from Köln Hauptbahnhof to Paris-Nord
  3. Take the train from Paris Gare de Lyon to Barcelona Sants Tgv
  4. Take the train from Barcelona Sants to Madrid-Puerta de Atocha Ave / ...

$444 - $648

Bus ALSA  •  34 h 18 min

  1. Take the bus from Hamburg to Bremen 075 / ...
  2. Take the bus from Bremen to Logroño
  3. Take the bus from Logroño to Madrid

$119 - $206

Bus Eurolines FR  •  36 h 1 min

  1. Take the bus from Hamburg to Bordeaux
  2. Take the bus from Bordeaux to Madrid

$189 - $346

Drive  •  20 h 9 min

  1. Drive from Hamburg to Madrid 1351.9 miles

$280 - $420

Questions & Answers

The cheapest way to get from Hamburg to Madrid is to fly which costs 30€ - 180€ and takes 5 h 51 min.

More details

The quickest way to get from Hamburg to Madrid is to fly which costs 30€ - 180€ and takes 5 h 51 min.

More details

No, there is no direct bus from Hamburg to Madrid. However, there are services departing from Zimmerstraße and arriving at Neptuno via Hamburg, Bordeaux and Méndez Álvaro - Terminal. The journey, including transfers, takes approximately 36 h 1 min.

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 Köln Hauptbahnhof, Paris Nord, Paris Gare de Lyon and Barcelona Sants. The journey, including transfers, takes approximately 19 h 15 min.

More details

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

Get driving directions

The best way to get from Hamburg to Madrid without a car is to train which takes 19 h 15 min and costs 380€ - 600€.

More details

It takes approximately 5 h 51 min to get from Hamburg to Madrid, including transfers.

More details

Hamburg to Madrid bus services, operated by Eurolines FR, depart from Hamburg station.

More details

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

More details

The best way to get from Hamburg to Madrid is to fly which takes 5 h 51 min and costs 30€ - 180€. Alternatively, you can train, which costs 380€ - 600€ and takes 19 h 15 min, you could also bus, which costs 100€ - 180€ and takes 34 h 18 min.

Mode details

Map of how to get from Hamburg to Madrid.
Launch map view
  • Distance: 1117.9 miles
  • Duration: 5 h 51 min

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

Iberia, Ryanair and nine other airlines fly from Hamburg to Madrid hourly. Alternatively, you can take a train from Hamburg to Madrid via Köln Hauptbahnhof, Paris-Nord, Paris Nord, Paris Gare De Lyon, Paris Gare de Lyon, and Barcelona Sants in around 19 h 15 min.

Airlines
Lufthansa
Website
lufthansa.com
Flights from Hamburg to Madrid via Frankfurt
Ave. Duration
4 h 55 min
When
Every day
Estimated price
$170 - $850
Flights from Hamburg to Madrid via Brussels
Ave. Duration
4 h 45 min
When
Monday to Saturday
Estimated price
$80 - $420
Flights from Hamburg to Madrid via Munich
Ave. Duration
4 h 53 min
When
Every day
Estimated price
$170 - $850
Air France
Website
airfrance.com
Flights from Hamburg to Madrid via Paris CDG
Ave. Duration
4 h 57 min
When
Every day
Estimated price
$160 - $500
KLM
Website
klm.com
Flights from Hamburg to Madrid via Amsterdam Schiphol
Ave. Duration
4 h 52 min
When
Every day
Estimated price
$150 - $440
Iberia
Website
iberia.com
Flights from Hamburg to Madrid
Ave. Duration
2 h 55 min
When
Every day
Estimated price
$85 - $380
Ryanair
Website
ryanair.com
Flights from Hamburg to Madrid
Ave. Duration
3 h
When
Monday, Friday, Saturday and Sunday
Estimated price
$35 - $330
Brussels Airlines
Website
brusselsairlines.com
Flights from Hamburg to Madrid via Brussels
Ave. Duration
4 h 45 min
When
Monday to Saturday
Estimated price
$80 - $420
Swiss
Website
swiss.com
Flights from Hamburg to Madrid via Zurich
Ave. Duration
4 h 55 min
When
Every day
Estimated price
$200 - $1,000
Train operators
Deutsche Bahn

Deutsche Bahn is the German railway company, and the largest railway operator and infrastructure owner in Europe. Based in Berlin, Deutsche Bahn was founded in 1994, and 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.

Contact Details
Phone
+49 0180 6 99 66 33
Website
bahn.com
Train from Hamburg Hbf to Köln Hbf
Ave. Duration
4 h
Frequency
Hourly
Estimated price
$85 - $130
Website
bahn.de
Flixtrain
Website
flixtrain.com
Train from Hamburg, Hamburg central station to Cologne, Cologne central station
Ave. Duration
4 h 8 min
Frequency
Twice daily
Estimated price
$25 - $35
Schedules at
flixtrain.com
Thalys
Website
thalys.com
Train from Köln Hauptbahnhof to Paris-Nord
Ave. Duration
3 h 21 min
Frequency
5 times a day
Estimated price
$140 - $180
Website
thalys.com
2nd Class
$140 - $180
1st Class
$190 - $260
inOui TGV
Phone
0033 892 353535
Website
en.oui.sncf
Train from Paris Gare de Lyon to Barcelona Sants
Ave. Duration
6 h 27 min
Frequency
5 times a day
Estimated price
$200 - $230
Website
en.oui.sncf
2nd Class
$200 - $230
1st Class
$260 - $390
Spanish Railways AVE
Bus operators
FlixBus

One of Europe’s leading bus companies, Flixbus serves over 1400 destinations, in 26 countries including Germany, France, Italy, Austria, the Netherlands, Croatia, Spain, and across Scandinavia and central and eastern Europe. Founded in 2012, Flixbus’ extensive network connects cities with approximately 200,000 trips, with buses often departing every 30 minutes. One of the most affordable ways to get around Europe (and expanding soon into the US), a Flixbus journey is cost-effective, well-connected, comfortable and safe.

Rome2rio's guide to FlixBus
Contact Details
Phone
+49 1807 123 99 123
Email
info@flixbus.de
Website
flixbus.de
Bus from Hamburg to Bremen
Ave. Duration
1 h 35 min
Frequency
Hourly
Estimated price
$6 - $11
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 so you’re never bored on your journey. ALSA services are accessible to people with disabilities, and guide dogs are welcome on all journeys. Flexibility is another highlight of an ALSA journey, with 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 Bremen to Logroño
Ave. Duration
26 h 45 min
Frequency
Once daily
Estimated price
$95 - $150
Website
alsa.com
Bus from Logroño to Madrid
Ave. Duration
4 h
Frequency
Hourly
Estimated price
$27 - $45
Website
alsa.com
PLM Autocares
Phone
+34 902 14 41 74
Email
info@plmautocares.com
Website
plmautocares.com
Bus from Logroño to Madrid
Ave. Duration
4 h
Frequency
4 times a day
Estimated price
$17 - $26
Schedules at
plmautocares.com
Eurolines FR
Phone
+ 33 1 41 86 24 21
Website
eurolines.fr
Bus from Hamburg to Bordeaux
Ave. Duration
25 h
Frequency
3 times a week
Estimated price
$140 - $210
Schedules at
eurolines.fr
Bus from Bordeaux to Madrid
Ave. Duration
8 h 30 min
Frequency
Once daily
Estimated price
$85 - $130
Schedules at
eurolines.fr

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 2 h 55 min.

Search flights

Hamburg to Madrid bus services, operated by Eurolines FR, arrive at Madrid station.

More details

Hamburg to Madrid train services, operated by Spanish Railways AVE, arrive at Madrid-Puerta de Atocha station.

More details

Yes, the driving distance between Hamburg to Madrid is 2163 km. It takes approximately 20 h 9 min to drive from Hamburg to Madrid.

Get driving directions

Iberia, Ryanair, Brussels Airlines and four other airlines offer flights from Hamburg Airport to Madrid Airport.

Search flights

There are 3737+ hotels available in Madrid. Prices start at $53 USD per night.

More details

The best way to get from Hamburg to Hamburg Airport is to line 39 bus which takes 14 min and costs 2€ - 4€.

More details