Hamburg to Madrid train with Deutsche Bahn

Sat 22 Nov
+ Add return
Deutsche Bahn
Great Western Rail
Avanti West Coast
Regionale
West Midlands Trains
1,000+ travel companies
Deutsche Bahn
Great Western Rail
Avanti West Coast
Regionale
West Midlands Trains
1,000+ travel companies
QR-Code
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
rate4.9
42K ratings
Google Play
rate4.6
136K reviews

The cheapest and fastest trains from Hamburg to Madrid

Showing times and prices for 24 Nov

Cheapest price

£483

Average price

£483

Fastest journey

1 d 7 h 51 m

Average duration

1 d 7 h 51 m

Trains per day

1

Distance

1789 km

Cheap tickets

The best way to find a cheap train ticket from Hamburg to Madrid is to book your journey as far in advance as possible and to avoid travelling at rush hour.

The average ticket from Hamburg to Madrid will cost around £483 if you buy it on the day, but you can find cheap train tickets today for only £483.

Fast trains

To travel from Hamburg to Madrid you need to make at least 4 changes.

Deutsche Bahn Intercity-Express
07:5431h51
Hamburg
15:45Madrid
£4831One-way
4 changes

Travel Information

Compare train, coach and flight for Hamburg to Madrid

Omio recommends booking the flight as it is the most popular option from Hamburg to Madrid among Omio's users. If you are prioritising price take the coach with prices starting from £96. For those with little time consider booking a flight which can get you there in 3h 46m. In case you are seeking to minimise your carbon footprint the coach is your best bet as it emits only 1.8 - 4.5kg. The ticket price range depends on the travel mode: a coach costs an average of £96, and a train costs an average of £487.

Distance: 1789 km

Compare train with

Train
Most popular
Flight
Coach

£487

Average Price

£229

Average Price

£194

Average Price

Cheapest

31h 59m

Average total duration

31h 29m

Onboard

+

30m

Additional time*

6h 46m

Average total duration

Fastest

3h 46m

Onboard

+

3h 0m

Additional time*

30h 36m

Average total duration

30h 6m

Onboard

+

30m

Additional time*

-

CO2 emissions

5.4 - 10.7kg

CO2 emissions

1.8 - 4.5kg

CO2 emissions

Lowest

Direct Options

Direct Options

Direct Options

Additional time: Average total travel duration to departure point, security checks and transfers.

Live departures

Hamburg to Madrid train times

The table below shows live departures for Hamburg to Madrid trains for today, Sunday 23 November. You can also manually refresh the results below to see updated train journeys.

Last updated at 00:51
ProviderDepartsDurationArrivesChanges
Tickets
deutsche_bahn09:46 Hamburg
29h59
15:45 Madrid4 changes

This is the last train of the day.

Find all the dates and times for this journey

Compare prices and tickets Hamburg to Madrid by train, coach or flight

Compare train, coach and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.

Sun
23 Nov
Mon
24 Nov
Tue
25 Nov
Wed
26 Nov
Thu
27 Nov
Fri
28 Nov
Sat
29 Nov
Sun
30 Nov
Mon
01 Dec
Tue
02 Dec
Wed
03 Dec
Thu
04 Dec
Fri
05 Dec
Sat
06 Dec
Sun
07 Dec
Mon
08 Dec
Tue
09 Dec
Wed
10 Dec
Thu
11 Dec
Fri
12 Dec
Sat
13 Dec

How far in advance should I book train tickets from Hamburg to Madrid?

The best time to book your train from Hamburg to Madrid is 91 days before departure. See how prices for trains change on the Hamburg to Madrid route.
Prices are for one-way tickets for one passenger from Hamburg to Madrid per month. Insights are sourced from fares found by Omio users in the last 12 months. Current prices may differ as prices vary depending on the time of day, class or how far in advance you book your train from Hamburg to Madrid.

Journey information

Overview: Train from Hamburg to Madrid

GermanyGermany
SpainSpain
Icon of train

Trains from Hamburg to Madrid run on average 5 times per day, taking around 31h 29m. Cheap train tickets for this journey start at £487 but you can travel from only £96 by coach.

The earliest train runs at 00:25, the last at 23:45. The fastest train covers the 1789 km distance in 29h 59m.

Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Coach from £96
Distance
1789 km
Average train duration
31h 29m
Cheapest ticket price
£487
Trains per day
5
Fastest train
29h 59m
First train
00:25
Last train
23:45
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Cheapest alternative travel mode
Coach from £96

Train companies: Deutsche Bahn from Hamburg to Madrid trainsDeutsche Bahn trains will get you between Hamburg and Madrid from £96. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

Deutsche Bahn

About
Deutsche Bahn (DB) is Germany’s main train operator, running around 40,000 domestic and international services each day. Its fleet includes a variety of train types: high-speed ICE (Intercity Express) trains, reaching up to 300 km/h; IC (Intercity) and EC (EuroCity) trains for long-distance travel; and IRE (Interregio-Express), RE (Regional Express), and RB (Regionalbahn) services for regional and local connections. While bathrooms are standard on all trains, amenities such as onboard restaurants and free Wi-Fi are available only on certain train types and routes. DB offers a wide range of fares, including Super Saver, Saver, and Flexible tickets, along with discount cards like the BahnCard 25, 50, and 100. Additional options include single tickets, day tickets, and group tickets. Popular routes include Berlin–Munich, Hamburg–Frankfurt, Cologne–Stuttgart, Berlin–Dresden, and Hamburg–Cologne, as well as numerous regional services across Germany.
Luggage & cancellation policy
Average Duration
29h 59m
Cheapest Price
£483
Deutsche Bahn frequency
1 a day
Luggage included
Passengers are allowed to bring hand luggage and one additional larger item free of charge, provided they can carry it themselves
Luggage storage
Luggage can be stored in overhead racks, under the seat, or in designated luggage areas near the doors or in the middle of the carriage.
Cancellation Policy
Tickets can be canceled based on their fare conditions as mentioned in what type of train tickets are refundable?
Refund
If DB cancels a train, passengers are entitled to a full refund of the ticket price.
Amenities on board the train
Wifi
Food sold onboard
Most ICE and many IC/EC trains have:
A Bordrestaurant (restaurant car) where you can sit and eat.
A Bordbistro (bistro bar) with snacks, hot meals, and drinks to-go.
At-seat service in 1st class: staff will take your order and serve food/drinks directly to your seat.
Regional trains (RE / RB / S-Bahn):
No onboard catering.
You’re welcome to bring your own food and drinks.
Seat reservation
Second Class:
Not included by default.
You can add a seat reservation when booking (recommended for busy routes).
Costs around €4.90 per seat (or €5.90 if booked separately later).
First Class:
Yes, always included in the ticket price.
Toilets
USB plugs
Accessibility
DB trains are equipped with facilities for passengers with reduced mobility, including wheelchair spaces, accessible restrooms, and assistance services.
Pets
Small pets (e.g. cats, small dogs, etc.):
Allowed for free if they can fit in a transport box (max. size: hand luggage).
Must stay in the box for the entire journey.
Large dogs:
Require a separate (paid) ticket — typically half the price of a regular second-class ticket.
Must be leashed and wear a muzzle while on the train.
Cannot sit on seats.
Assistance dogs:
Travel free of charge.
Do not need a muzzle or leash if medically not required.
Allowed to accompany the passenger at all times.
Quiet zone

FAQs: Hamburg to Madrid train

Find answers to the most common questions about traveling from Hamburg to Madrid by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Madrid, this guide helps you travel smarter and with confidence.

FAQs
To fully experience Madrid, 3 to 4 days are recommended, allowing time to explore its cultural landmarks, vibrant neighbourhoods, and rich culinary scene.
The cost of a train ticket from Hamburg to Madrid can vary. The cheapest tickets are usually available from £487, while the average price tends to be around £487.
A day trip from Hamburg to Madrid is not feasible as the journey duration is 29h 59m. However, there are 5 trips per day available for this route by train, covering a distance of 1789 km.
The train journey from Hamburg to Madrid offers varied scenery, including picturesque German countryside, the charming landscapes of France, and the scenic vistas of northern Spain, making it a visually appealing experience.
In Madrid, visit the bustling Puerta del Sol for its iconic clock and vibrant atmosphere. Enjoy a variety of gourmet foods at Mercado de San Miguel and explore the lively nightlife in the Malasaña district. Experience traditional Spanish culture by attending a flamenco show. Sports enthusiasts can visit the Santiago Bernabéu Stadium for a tour or a football match. Discover artistic masterpieces at the Prado Museum and explore the opulent Royal Palace of Madrid. Relax in Retiro Park, admire the Plaza Mayor, and enjoy shopping or entertainment along Gran Vía.
Booking trains from Hamburg to Madrid in advance is advisable, especially during peak travel seasons or for long journeys, to ensure availability and secure better fares.
The cheapest way to get from Hamburg to Madrid is by coach, costing approximately £96.
The train journey from Hamburg to Madrid covers a distance of 1789 km and takes approximately 29h 59m. Trains run 5 per day.
The train distance from Hamburg to Madrid is 1789 km.
The last train from Hamburg to Madrid departs at 23:45.
There is no night train service from Hamburg to Madrid.
The first train from Hamburg to Madrid leaves at 0:25.
Trains from Hamburg to Madrid run approximately 5 times per day.
Yes, you can take the train from Hamburg to Madrid.
Unfortunately, there is no direct train service currently available from Hamburg to Madrid.
To get from Hamburg to Madrid, you can choose from several travel options including train, coach and flight.

popular train stations

Important Stations and Airports in Hamburg and Madrid

Hamburg
Madrid
Amenities at train station
WifiWifi
LockersLockers
ShoppingShopping
ParkingParking
DiningDining
ATMATM
TaxisTaxis
AccessibilityAccessibility
WCWC
HotelHotel
LoungeLounge
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Bike RentalBike Rental
Car RentalCar Rental
Information DeskInformation Desk
information
ticketOfficeHours
Ticket Office Hours
  • Monday: 07:40 - 18:30
  • Tuesday: 07:40 - 18:30
  • Wednesday: 07:40 - 18:30
  • Thursday: 07:40 - 18:30
  • Friday: 07:40 - 18:30
  • Saturday: 08:00 - 13:30
  • Sunday: 09:00 - 14:30
ticketOfficeHours
Distance to city center
13 km
Dining
Dining
  • Café Bom Dia
  • Hünkar
  • Yoko Sushi Harburg
  • Mathewes Grill
Hotel
Hotel
  • Hotel Panorama
  • Hotel Harburger Hof
  • Hotel Jeta
  • Hotel Süderelbe
Amenities at train station
WifiWifi
LockersLockers
ShoppingShopping
ParkingParking
DiningDining
ATMATM
TaxisTaxis
AccessibilityAccessibility
WCWC
HotelHotel
LoungeLounge
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Bike RentalBike Rental
Car RentalCar Rental
Information DeskInformation Desk
information
ticketOfficeHours
Ticket Office Hours
  • Mon - Fri: 06:00 - 21:30
  • Sat - Sun: 08:00 - 20:15
ticketOfficeHours
Distance to city center
2 km
Wifi
Wifi
  • Free Wi-Fi in the station.
Lockers
Lockers
  • The station has luggage lockers.
Dining
Dining
  • Le Crobag
  • Burger King
  • Coffee Fellows
  • Havin Grill
  • KFC
  • Mr. CLOU
  • Starbucks
  • dean&david
  • SPAR Express
  • Pommesfreunde
  • & more
Accessibility
Accessibility
  • Wheelchair friendly with lifts and ramps. Contact the Mobility Service Centre at +49 3065212888 or [email protected].
Hotel
Hotel
  • Boutique 053 Hamburg Main Station
  • IntercityHotel Hamburg Hauptbahnhof
  • Park Hyatt Hamburg
Information Desk
Information Desk
  • Located in the east hall on the opposite side of the DB ticket office.
Amenities at train station
WifiWifi
LockersLockers
ShoppingShopping
ParkingParking
DiningDining
ATMATM
TaxisTaxis
AccessibilityAccessibility
WCWC
HotelHotel
LoungeLounge
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Bike RentalBike Rental
Car RentalCar Rental
Information DeskInformation Desk
information
ticketOfficeHours
Ticket Office Hours
  • Monday: 07:30 - 18:30
  • Tuesday: 07:30 - 18:30
  • Wednesday: 07:30 - 18:30
  • Thursday: 07:30 - 18:30
  • Friday: 07:30 - 18:30
ticketOfficeHours
Distance to city center
15 km
Dining
Dining
  • Casa Vecchia
  • Burger Lounge
  • Il mío
  • Olivo
Hotel
Hotel
  • Sachsentor
  • Hotel Hanseat

The Omio App Makes Travel Planning Easy

We’ll get you where you want to go. From live train updates to mobile tickets, our innovative app is the ideal way to plan and keep track of your travel.

ios-badge
android-badge
Hand With Phone