• Our partners include:

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

There are 7 ways to get from Madrid to Hamburg 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 to Hamburg  •  5 h 39 min

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

$39 - $197

6 alternative options

Fly to Bremen, train  •  8 h 59 min

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

$134 - $451

Train  •  19 h 48 min

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

$510 - $649

Bus FlixBus  •  29 h 50 min

  1. Take the bus from Madrid to Paris, Paris 793
  2. Take the bus from Paris, Paris to Hamburg N71

$122 - $209

Bus Eurolines FR  •  36 h 25 min

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

$191 - $350

Bus, train  •  2 days 14 h

  1. Take the bus from Madrid to Essen
  2. Take the train from Essen Hbf to Hamburg Dammtor Ic / ...

$184 - $275

Drive  •  20 h 8 min

  1. Drive from Madrid to Hamburg 1350.8 miles

$280 - $410

Questions & Answers

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

More details

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

More details

No, there is no direct bus from Madrid to Hamburg. However, there are services departing from Madrid and arriving at Hamburg via Paris, Paris. The journey, including transfers, takes approximately 29 h 50 min.

More details

No, there is no direct train from Madrid to Hamburg. However, there are services departing from Madrid-Puerta de Atocha and arriving at Hamburg Hbf via Barcelona Sants, Paris Gare De Lyon, Paris-Nord and Köln Hbf. The journey, including transfers, takes approximately 19 h 48 min.

More details

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

Get driving directions

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

More details

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

More details

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

More details

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

More details

The best way to get from Madrid to Hamburg is to fly which takes 5 h 39 min and costs 30€ - 180€. Alternatively, you can train, which costs 440€ - 600€ and takes 19 h 48 min, you could also bus, which costs 100€ - 190€ and takes 29 h 50 min.

Mode details

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

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

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

Airlines
Lufthansa
Website
lufthansa.com
Flights from Madrid to Hamburg via Frankfurt
Ave. Duration
4 h 51 min
When
Every day
Estimated price
$170 - $850
Flights from Madrid to Hamburg via Munich
Ave. Duration
5 h 15 min
When
Every day
Estimated price
$170 - $850
Flights from Madrid to Bremen via Frankfurt
Ave. Duration
5 h 18 min
When
Every day
Estimated price
$220 - $950
Flights from Madrid to Bremen via Munich
Ave. Duration
5 h 27 min
When
Every day
Estimated price
$220 - $950
KLM
Website
klm.com
Flights from Madrid to Hamburg via Amsterdam Schiphol
Ave. Duration
4 h 52 min
When
Every day
Estimated price
$150 - $440
Flights from Madrid to Bremen via Amsterdam Schiphol
Ave. Duration
4 h 43 min
When
Every day
Estimated price
$210 - $550
Ryanair
Website
ryanair.com
Flights from Madrid to Hamburg
Ave. Duration
3 h
When
Monday, Friday, Saturday and Sunday
Estimated price
$35 - $330
Flights from Madrid to Hamburg via Palma Mallorca
Ave. Duration
5 h 15 min
When
Monday
Estimated price
$35 - $330
Flights from Madrid to Bremen via London Stansted
Ave. Duration
5 h
When
Monday, Thursday and Friday
Estimated price
$50 - $250
Air France
Website
airfrance.com
Flights from Madrid to Hamburg via Paris CDG
Ave. Duration
4 h 32 min
When
Every day
Estimated price
$160 - $500
Flights from Madrid to Bremen via Paris CDG
Ave. Duration
5 h 20 min
When
Every day
Estimated price
$190 - $470
Iberia
Website
iberia.com
Flights from Madrid to Hamburg
Ave. Duration
2 h 55 min
When
Monday, Tuesday, Thursday, Friday and Sunday
Estimated price
$85 - $380
Flights from Madrid to Hamburg via Barcelona
Ave. Duration
5 h 5 min
When
Monday, Wednesday and Friday
Estimated price
$120 - $600
Vueling Airlines
Website
vueling.com
Flights from Madrid to Hamburg
Ave. Duration
2 h 55 min
When
Monday, Tuesday, Thursday, Friday and Sunday
Estimated price
$85 - $380
Flights from Madrid to Hamburg via Barcelona
Ave. Duration
5 h 5 min
When
Monday, Wednesday and Friday
Estimated price
$120 - $600
easyJet
Website
easyjet.com
Flights from Madrid to Hamburg via London Gatwick
Ave. Duration
5 h 5 min
When
Monday
Estimated price
$120 - $650
Flights from Madrid to Hamburg via Geneva
Ave. Duration
5 h 15 min
When
Monday
Estimated price
$120 - $650
Swiss
Website
swiss.com
Flights from Madrid to Bremen via Zurich
Ave. Duration
9 h 20 min
When
Monday, Tuesday, Thursday and Friday
Estimated price
$90 - $700
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 Bremen Hbf to Hamburg Dammtor
Ave. Duration
1 h 1 min
Frequency
Hourly
Estimated price
$29 - $45
Website
bahn.de
Train from Köln Hbf to Hamburg Hbf
Ave. Duration
4 h 5 min
Frequency
Hourly
Estimated price
$90 - $130
Website
bahn.de
Train from Essen Hbf to Hamburg Dammtor
Ave. Duration
3 h 21 min
Frequency
Every 2 hours
Estimated price
$75 - $110
Website
bahn.de
Spanish Railways AVE
inOui TGV
Phone
0033 892 353535
Website
en.oui.sncf
Train from Barcelona Sants to Paris Gare de Lyon
Ave. Duration
6 h 28 min
Frequency
Every 4 hours
Estimated price
$200 - $230
Website
en.oui.sncf
2nd Class
$200 - $230
1st Class
$260 - $390
Spanish Railways (RENFE)

Based in Madrid, Renfe is a state-owned train operator, that connects cities across Spain and neighbouring countries including Portugal, France, Germany, Switzerland, and the Netherlands. Renfe’s extensive network means most destinations offer multiple trains a day, with the most popular routes normally offering a train each hour. Locally known as AVE, the high-speed trains can reach speeds of up to 350km/h, making travel between major cities very efficient. Comfort is key in a Renfe train, with seats with footrests in all three classes of travel: Standard, Club and First. Each seat has an individual light, a pull-down table and an electrical outlet for in Club and First classes. There is free WiFi for first class passengers and for those with a + Renfe card.

Rome2rio's guide to Spanish Railways (RENFE)
Contact Details
Phone
902 320 320
Website
renfe.com
Train from Barcelona Sants Station to Paris Gare De Lyon
Ave. Duration
6 h 28 min
Frequency
Twice daily
Estimated price
$120 - $150
Website
renfe.com
Thalys
Phone
+32 70 66 77 88
Website
thalys.com
Train from Paris-Nord to Köln Hauptbahnhof
Ave. Duration
3 h 20 min
Frequency
5 times a day
Estimated price
$140 - $180
Website
thalys.com
2nd Class
$140 - $180
1st Class
$190 - $260
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 Madrid to Paris, Paris
Ave. Duration
16 h 5 min
Frequency
Once daily
Estimated price
$70 - $120
Website
flixbus.co.uk
Bus from Paris, Paris to Hamburg
Ave. Duration
12 h 45 min
Frequency
Once daily
Estimated price
$50 - $90
Website
flixbus.co.uk
Eurolines FR
Phone
+ 33 1 41 86 24 21
Website
eurolines.fr
Bus from Madrid to Bordeaux
Ave. Duration
8 h 30 min
Frequency
Once daily
Estimated price
$85 - $130
Schedules at
eurolines.fr
Bus from Bordeaux to Hamburg
Ave. Duration
25 h
Frequency
3 times a week
Estimated price
$140 - $210
Schedules at
eurolines.fr
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 Madrid to Essen
Ave. Duration
2 days 10 h
Frequency
Twice daily
Estimated price
$100 - $170
Website
alsa.com

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.

More Questions & Answers

The quickest flight from Madrid Airport to Hamburg Airport is the direct flight which takes 2 h 55 min.

Search flights

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

More details

Madrid to Hamburg train services, operated by Deutsche Bahn, arrive at Hamburg Hbf station.

More details

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

Get driving directions

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

Search flights

Book your Madrid to Hamburg bus tickets online with FlixBus and FlixBus.

Search and book

There are 735+ hotels available in Hamburg. Prices start at $55 USD per night.

More details

The best way to get from Madrid to Madrid Airport is to train which takes 22 min and costs 1€ - 3€.

More details