Compare prices and tickets by train, bus or flight

Wed
Dec 8
$161Iberia
Thu
Dec 9
$161Iberia
Fri
Dec 10
$145Iberia
Sat
Dec 11
$101Iberia
Sun
Dec 12
$87Iberia
Mon
Dec 13
$124Iberia
Tue
Dec 14
$106Iberia
Wed
Dec 15
$169Iberia
Thu
Dec 16
$106Iberia
Fri
Dec 17
$202Air France
Sat
Dec 18
$161Iberia
Sun
Dec 19
$185Lufthansa Cityline
Mon
Dec 20
$159Vueling
Tue
Dec 21
$165Vueling
Wed
Dec 22
$359Lufthansa
Thu
Dec 23
$295HOP!
Fri
Dec 24
$178Air France
Sat
Dec 25
$187Iberia
Sun
Dec 26
$226Iberia
Mon
Dec 27
$238Iberia

More than 1,000 travel companies trust us to sell their tickets all in one place.

Deutsche Bahn
Renfe
Italo
Frecciarossa
Accommodation

Need a place to stay?

view on map
Top pick hotels
Entire homes & apartments

Find the best accommodation for you, with our partner Booking.com

View all

Overview: Train from Hamburg to Madrid

distanceDistance1109 miles (1788 km)
frequencyTrain frequency1 a day
changesDirect trainYes, there is 1 direct train a day

Trains from Hamburg to Madrid cover the 1109 miles (1788 km) long journey taking on average 29 h 20 min with our travel partners like. Normally, there is 1 train operating per day, including direct services available. Travelers depart most frequently from Hamburg Hbf and arrive in Madrid-Puerta de Atocha.

Travel Tips

Trains from Hamburg to Madrid
Travel by train to Madrid easily. Whether you want fast, cheap or something entirely different, our travel experts have collected everything you need to know so you can find the best option from Hamburg to Madrid.
FAQs
Is cross-border travel by train between Hamburg, Germany and Madrid, Spain allowed?

Travel by train between Hamburg, Germany and Madrid, Spain is: Partially open.

Is international entry into Madrid from Hamburg restricted?

International entry is allowed for: Entry is partially open for citizens and permanent residents of Germany

Do I need to quarantine on arrival in Spain from Hamburg?

Entry Requirements:

  • Negative COVID-19 test issued at most 3 days before arrival
  • Specific entry restrictions may apply for travel to Spain: Canary Islands
  • Health screen upon arrival
  • Travellers issued with the EU Digital COVID Certificate are exempt from quarantine and COVID-19 testing
  • Travellers who have recovered from COVID-19 in the last 6 months are exempt from providing a negative COVID-19 test (certificate needed)
  • Pre-arrival Health Control Form (FCS) required

What are the safety rules to follow in Madrid, Spain?

The government of Spain has imposed these measures to reduce the spread of COVID-19:

  • Physical distance required: 1.5 metre (s) (5 feet)
  • Face mask required: Mandatory

The above information was last checked on 12/7/21. Remember to check the latest COVID-19 travel safety regulations for your train between Hamburg and Madrid closer to your date of departure here

What are the COVID-19 restrictions for my return trip to Germany from Madrid, Spain?

The current restriction level for your return trip by train from Madrid to Hamburg is: Partially open

Are there any international entry restrictions on returning to Germany from Spain?

Reentry to Germany is allowed for: Entry is partially open for citizens and permanent residents of Spain

Do I need to quarantine on arrival in Germany from Madrid?

What are the requirements?

  • Negative COVID-19 test issued at most 3 days before arrival
  • Digital entry registration is required prior to arrival
  • The exact quarantine requirements depend on the regulations in each federal state

What are the safety rules to follow in Hamburg, Germany?

The government of Germany has imposed these measures to reduce the spread of COVID-19:

  • Physical distance: 1.5 metre (s) (5 feet)
  • Face mask: Mandatory

Last checked on 12/6/21. We do our best to keep this information up to date, but regulations can change so please double check the latest COVID-19 travel safety regulations ahead of your train to Hamburg from Madrid here.

How far is Madrid from Hamburg by train?
The distance to Madrid from Hamburg by train is approximately 1109 miles (1788 km).
How long is the train ride from Hamburg to Madrid?
While the time it takes to travel 1109 miles (1788 km) from Hamburg to Madrid can vary based on specific dates, weekends, and holidays, the Hamburg to Madrid train journey time is on average 29 h 20 min.
What station does the train from Hamburg to Madrid depart from? Which Madrid train station do I come into from Hamburg?

There are a few train stations in Hamburg to start your route from including Hamburg Hbf, Hamburg-Altona and Hamburg-Harburg. In Madrid you have a few train station options to choose from for your arrival including Madrid-Puerta de Atocha, Madrid Chamartín and Madrid Méndez Alvaro.

Omio customers traveling this route depart most frequently from Hamburg Hbf   and arrive in Madrid-Puerta de Atocha.

Where is the departure train station in Hamburg located? Where is the arrival train station in Madrid located?

Passengers booking this journey most frequently board their trains from Hamburg Hbf and need to travel around 1.6 miles (2.6 km) from the city center to get to this train station.

Passengers arriving in Madrid most often arrive at Madrid-Puerta de Atocha and need to travel around 1.1 miles (1.8 km) from this train station to the city center.

How many train services are there from Hamburg to Madrid a day?
The average number of trains departing Hamburg for Madrid is 1 a day. The train schedules and services may vary between weekdays and weekends.

Important Stations and Airports for this Journey

Hamburg
Madrid
Hamburg Hbf is the most popular Hamburg railway station for Omio travelers, but it's not the only one. Read all the information you need to know about the main train stations in Hamburg for your trip to Madrid.
Amenities at station
WifiWifi
LockersLockers
ParkingParking
ATMATM
TaxisTaxis
AccessibilityAccessibility
phone
Phone Number
+49 4039184400
ticketOfficeHours
Ticket Office Hours
Mon - Fri: 06: 00 - 21: 30 | Sat - Sun: 08: 00 - 20: 15
Public transit options for Hamburg Hbf
U-Bahn lines: U1, U2, U3, U4
S-Bahn lines: S1, S2, S3, S11, S21, S31
Bus lines: 2, 5, 6, 16, 17, 19, 112, X35, 31, 37
Train lines: ICE, EC, IC, FLX, NJ, RE, RB, IRE