There are 7 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

6 alternative options

Train  •  19 h

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

$477 - $659

Bus Ouibus  •  31 h 11 min

  1. Take the bus from Hamburg to Dortmund X73 / ...
  2. Take the bus from Dortmund to San Sebastián
  3. Take the bus from San Sebastián to Madrid - Avénida de America

$86 - $132

Bus Eurolines FR  •  36 h 33 min

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

$202 - $349

Train, bus  •  3 days 14 h

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

$140 - $220

Drive, train  •  23 h 14 min

  1. Drive from Hamburg to Düsseldorf Hbf
  2. Take the train from Düsseldorf Hbf to Paris Nord Tha
  3. Take the train from Paris Gare de Lyon to Barcelona Sants Tgv
  4. Take the train from Barcelona Sants to Malgrat de Mar R1
  5. Drive from Malgrat de Mar to Madrid

$485 - $638

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€ - 170€ and takes 5 h 51 min.

More details

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

More details

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

Get driving directions

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

More details

No, there is no direct bus from Hamburg to Madrid. However, there are services departing from Hamburg and arriving at Madrid - Avénida de America via Dortmund and San Sebastián. The journey, including transfers, takes approximately 31 h 11 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 Hbf, Bruxelles-Midi, Paris Nord, Paris Gare de Lyon and Barcelona Sants. The journey, including transfers, takes approximately 19 h.

More details

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

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

Airlines
Lufthansa
Website
lufthansa.com
Flights from Hamburg to Madrid via Frankfurt
Ave. Duration
4 h 35 min
When
Every day
Estimated price
$170 - $850
Flights from Hamburg to Madrid via Brussels
Ave. Duration
4 h 50 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 51 min
When
Every day
Estimated price
$160 - $500
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
2 h 55 min
When
Monday, Tuesday, Wednesday, Friday and Saturday
Estimated price
$35 - $330
Brussels Airlines
Website
brusselsairlines.com
Flights from Hamburg to Madrid via Brussels
Ave. Duration
4 h 50 min
When
Monday to Saturday
Estimated price
$80 - $420
KLM
Website
klm.com
Flights from Hamburg to Madrid via Amsterdam
Ave. Duration
5 h
When
Every day
Estimated price
$150 - $440
British Airways
Website
britishairways.com
Flights from Hamburg to Madrid via London Heathrow
Ave. Duration
5 h 5 min
When
Every day
Estimated price
$190 - $800
Train operators
Deutsche Bahn
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
Train from Köln Hbf to Bruxelles Midi
Ave. Duration
1 h 52 min
Frequency
Every 4 hours
Estimated price
$26 - $40
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
5 times a week
Schedules at
flixtrain.com
Train from Hamburg Hbf to Essen Hbf
Ave. Duration
3 h 10 min
Frequency
Hourly
Schedules at
reiseauskunft.bahn.de
Thalys
Website
thalys.com
Train from Köln Hbf to Bruxelles Midi
Ave. Duration
1 h 52 min
Frequency
5 times a day
Estimated price
$55 - $70
Website
thalys.com
2nd Class
$55 - $70
1st Class
$70 - $100
Train from Bruxelles-Midi to Paris Nord
Ave. Duration
1 h 22 min
Frequency
Every 30 minutes
Estimated price
$85 - $120
Website
thalys.com
2nd Class
$85 - $120
1st Class
$120 - $160
Train from Düsseldorf Hbf to Paris Nord
Ave. Duration
3 h 48 min
Frequency
5 times a day
Estimated price
$150 - $200
Website
thalys.com
2nd Class
$150 - $200
1st Class
$200 - $280
NS International
Website
nsinternational.nl
Train from Brussel-Zuid/Midi to Paris-Nord
Ave. Duration
1 h 22 min
Frequency
Every 3 hours
Schedules at
nsinternational.nl
TGV
Phone
0033 892 353535
Website
tgv.com
Train from Paris Gare de Lyon to Barcelona Sants
Ave. Duration
6 h 27 min
Frequency
3 times a day
Estimated price
$200 - $230
Website
en.oui.sncf
2nd Class
$200 - $230
1st Class
$260 - $400
Spanish Railways AVE
Website
renfe.com
Train from Barcelona Sants to Madrid-Puerta de Atocha
Ave. Duration
2 h 30 min
Frequency
Hourly
Estimated price
$75 - $110
Website
renfe.com
Barcelona Cercanías (RENFE)
Phone
900 41 00 41
Website
renfe.com
Train from Barcelona Sants to Malgrat de Mar
Ave. Duration
1 h 18 min
Frequency
Hourly
Estimated price
$4 - $7
Schedules at
renfe.com
Bus operators
FlixBus
Phone
+49 1807 123 99 123
Email
info@flixbus.de
Website
flixbus.de
Bus from Hamburg to Dortmund
Ave. Duration
4 h 15 min
Frequency
5 times a day
Estimated price
$19 - $35
Website
flixbus.co.uk
Ouibus
Phone
0890715298
Website
ouibus.com
Bus from Dortmund to San Sebastián
Ave. Duration
20 h 40 min
Frequency
Hourly
Estimated price
$50 - $75
Website
Ouibus
Bus from San Sebastián to Madrid - Avénida de America
Ave. Duration
5 h 40 min
Frequency
Every 30 minutes
Estimated price
$17 - $25
Website
Ouibus
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
$150 - $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.