Hamburg to Madrid train with Deutsche Bahn Intercity (DB IC)

Mon, Jul 06
+ Add return
Deutsche Bahn Intercity (DB IC)
Regionale
Deutsche Bahn
iryo
Frecciarossa
2,000+ travel companies
Deutsche Bahn Intercity (DB IC)
Regionale
Deutsche Bahn
iryo
Frecciarossa
2,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 Jul 06

Cheapest price

$664

Average price

$664

Fastest journey

1 d 8 h 9 m

Average duration

1 d 8 h 9 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 traveling at rush hour.

The average ticket from Hamburg to Madrid will cost around $664 if you buy it on the day, but the cheapest tickets can be found for only $664.

Fast trains

It's difficult to get from Hamburg to Madrid without transferring at least 4 times.

  • Deutsche Bahn Intercity (DB IC)
    8:09 AM32h09
    Hamburg
    4:18 PMMadrid
    $6641One-way
    4 transfers

Travel Information

Compare train, bus, 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 bus with prices starting from $113. For those with little time consider booking a flight which can get you there in 3h 49m. In case you are seeking to minimise your carbon footprint the bus is your best bet as it emits only 1.8 - 4.5kg. The ticket price range depends on the travel mode: a bus costs an average of $113, and a train costs an average of $664.

Distance: 1111 miles (1789 km)

Compare train with

Train
Most popular
Flight
Bus
Driving

$664

Average price

$278

Average price

$210

Average price

Cheapest

$569

Average price

(fuel + tolls)

32h 43m

Average total duration

32h 13m

Onboard

+

30m

Additional time*

6h 49m

Average total duration

Fastest

3h 49m

Onboard

+

3h 0m

Additional time*

30h 47m

Average total duration

30h 17m

Onboard

+

30m

Additional time*

21h 54m

Average total duration

(door-to-door)

-

CO2 emissions

5.4 - 10.7kg

CO2 emissions

1.8 - 4.5kg

CO2 emissions

Lowest

-

CO2 emissions

Direct Options

Direct Options

Direct Options

Direct Options

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

The cheapest way to travel from Hamburg to Madrid is a bus with an average price of $210 (€173).

This is compared to other travel options from Hamburg to Madrid:

A bus is $67 (€55) less than a flight for this route with tickets for a flight from Hamburg to Madrid costing on average $278 (€228).

A bus is $453 (€372) less than a train for this route with tickets for a train from Hamburg to Madrid costing on average $664 (€545).

The fastest way to travel from Hamburg to Madrid is by flight with an average journey time of 3h 49m.

Other travel options to Madrid take longer:

Bus takes on average 30h 17m.

Train takes on average 32h 13m.

It's helpful to compare your options as there are 3 ways to travel between Hamburg and Madrid including taking a train, bus, and flight.
We recommend using the flight as it is the most popular way to get from Hamburg to Madrid among Omio's users.
Take the train. It's the cheaper option, and the extra time on board is usually more relaxing than driving it.

Tickets start at around $664 (€545) compared to roughly $569 (€467) in fuel and tolls — a saving of about $-94.78 (€-77.82). The journey takes 32h 13m versus 21h 54m by car, so you'll arrive a bit later, but you can work, read, or sleep along the way rather than spending the time behind the wheel. You'll also save the hassle of parking at the other end.

Driving is worth it if you're on a tight schedule, travelling as a group, or want to stop somewhere en route.

Live departures

Hamburg to Madrid train times

The table below shows live departures for Hamburg to Madrid trains for tomorrow, Monday, July 6. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesTransfers
Tickets
Deutsche Bahn Intercity (DB IC)8:09 AM Hamburg
32h09
4:18 PM Madrid4 transfers

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, bus, or flight

Compare train, bus, 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.

Mon
Jul 06
Tue
Jul 07
Wed
Jul 08
Thu
Jul 09
Fri
Jul 10
Sat
Jul 11
Sun
Jul 12
Mon
Jul 13
Tue
Jul 14
Wed
Jul 15
Thu
Jul 16
Fri
Jul 17
Sat
Jul 18
Sun
Jul 19
Mon
Jul 20
Tue
Jul 21
Wed
Jul 22
Thu
Jul 23
Fri
Jul 24
Sat
Jul 25
Sun
Jul 26

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 32h 13m. Cheap train tickets for this journey start at $664 (€545) but you can travel from only $110 (€91) by flight.

The earliest train runs at 00:40, the last at 23:50. The fastest train covers the 1111 miles (1789 km) distance in 32h 9m.

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
Flight from $110 (€91)
Distance
1111 miles (1789 km)
Average train duration
32h 13m
Cheapest ticket price
$664 (€545)
Trains per day
5
Fastest train
32h 9m
First train
12:40 AM
Last train
11:50 PM
High Season
Oct - Dec
Low Season
Apr - Jun
Busiest Day
Mon
Least Busy Day
Sun
Best time to book
2 days
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
Flight from $110 (€91)

Train companies: Deutsche Bahn Intercity (DB IC) from Hamburg to Madrid trainsDeutsche Bahn Intercity (DB IC) trains will get you between Hamburg and Madrid from $110 (€91). With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

Deutsche Bahn Intercity (DB IC)

Luggage & cancellation policy
Average Duration
32h 9m
Cheapest Price
$664 (€545)
Deutsche Bahn Intercity (DB IC) frequency
1 a day

Complete guide to Madrid

Things to do in Madrid

Discover the best of Madrid — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Madrid trip today.

  • Must visit

Museo Nacional del Prado

Spain’s premier fine art museum, famed for masterpieces by Velázquez, Goya, El Greco, Rubens, and Bosch. A top priority for first-time visitors and art lovers.

  • Must visit

Museo Nacional Centro de Arte Reina Sofía

Madrid’s leading modern art museum, best known for Picasso’s Guernica alongside major works by Dalí and Miró. Essential for 20th-century art.

  • Must visit

Museo Nacional Thyssen-Bornemisza

A major collection spanning medieval to modern art, completing Madrid’s Golden Triangle of Art. Strong for European painting and accessible curation.

Euro

Moderate for Western Europe: museums and transit are fair, while central hotels and fine dining cost more.

Average meal costs

Budget
EUR 10-15 for a simple meal.
Mid-range
EUR 20-35 per person.
Fine dining
EUR 60+ per person.
Coffee
EUR 1.80-3.50 for coffee.

Tipping culture

Service is usually included. Round up or leave 5-10% for great restaurant service; small change in cafes, bars, and taxis is appreciated, not required.

FAQs: Trains from Hamburg to Madrid

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
Train ticket prices from Hamburg to Madrid can vary. The cheapest ticket starts at $664 (€545), while the average price is around $664 (€545).
The train from Hamburg to Madrid takes 32h 9m and runs 5 per day.
The first train from Hamburg to Madrid leaves at 12:40 AM.
The distance by train from Hamburg to Madrid is 1111 miles (1789 km).
The last train from Hamburg to Madrid leaves at 11:50 PM.
There is no high speed train available from Hamburg to Madrid.
There is no direct train service currently available from Hamburg to Madrid.
Unfortunately, there is no night train available from Hamburg to Madrid.
The cheapest way to get from Hamburg to Madrid is by flight, with a cost of around $110 (€91).
The train journey from Hamburg to Madrid offers diverse scenery, with views of the German countryside, the Rhine Valley, and the changing landscapes of France and Spain, providing a picturesque experience.
A day trip from Hamburg to Madrid is not feasible as the travel duration is 32h 9m. The journey covers a distance of 1111 miles (1789 km). There are 5 trips per day available for this route by train.
In Madrid, you can explore Puerta del Sol, a bustling public square known for its iconic clock and vibrant atmosphere, and savor gourmet foods at Mercado de San Miguel. Discover the vibrant nightlife in the Malasaña district, enjoy a traditional flamenco show, or visit the Santiago Bernabéu Stadium, home to Real Madrid. For cultural sights, visit the Prado Museum, the Royal Palace of Madrid, and Retiro Park. Don't miss Plaza Mayor and the lively Gran Vía for shopping and theaters.
For a well-rounded experience in Madrid, plan to spend at least 3 to 4 days. This allows time to explore major attractions like the Prado Museum, Royal Palace, Retiro Park, and enjoy the local cuisine and vibrant neighborhoods.
Yes, you can take the train from Hamburg to Madrid.
Since both Hamburg and Madrid are in the Schengen Area, a passport is not required for European Union (EU) or Schengen-associated country citizens. A national ID card is sufficient.
Popular day trips by train from Madrid include Toledo, Segovia, Valladolid, Ávila, Cuenca.
We recommend using the flight as it is the most popular way to get from Hamburg to Madrid among Omio's users.
Items not allowed on trains typically include hazardous materials such as explosives, flammable liquids, corrosive substances, and illegal drugs. Additionally, large or bulky items that may obstruct aisles or emergency exits, as well as pets without proper carriers, may be restricted. Specific prohibited items can vary by train operator and region, so please check the rules for your particular journey.
Spain uses the euro (€) as its currency. Travelers can use both cash and cards, but cards are widely accepted in cities and tourist areas, while cash may be preferred for small purchases, markets, and rural locations.
In Madrid, the main safety concerns for travelers include pickpocketing, especially in crowded areas like Puerta del Sol, Gran Vía, and on public transportation. Common scams involve distraction techniques, such as someone asking for signatures on petitions or offering friendship bracelets, to steal valuables. Travelers should also be cautious of unlicensed taxi drivers and always use official transport services. Staying vigilant in busy tourist spots and keeping belongings secure helps minimize risks.
Pack lightweight, versatile clothing suitable for the destination's climate, and use secure, lockable luggage to protect belongings. Keep essential items like travel documents, medication, and valuables in a carry-on bag for easy access. Use packing organizers or cubes to maximize space and maintain order. Lastly, include a small first aid kit and personal hygiene items for added comfort during travel.

popular train stations

Popular train stations from Hamburg to Madrid

Most Hamburg to Madrid trains use the Hamburg Hbf to station pair. Use this guide to compare Hamburg and Madrid train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.

Departure train stations in Hamburg
Arrival train stations in Madrid

Which Hamburg station do trains to Madrid leave from?

Trains from Hamburg to Madrid leave from Hamburg Hbf. The station is 1 miles (3 km) from Hamburg city centre at Hachmannplatz 16, 20099 Hamburg, Germany.
Hamburg HbfHachmannplatz 16, 20099 Hamburg, GermanyWifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost and Found OfficeTicket OfficeBike ParkingBike RentalCar RentalInformation Desk
City-centre transport

Getting to Hamburg Hbf from Hamburg city centre

Hamburg Hbf is 2 km from Hamburg city centre. Public transport options include:

TrainS5, S3, S1 · 2m · $4 · every ~44 min
BusX35, 16, 606, 17, 6 · 3m · $2 · every ~47 min
SubwayU4, U2 · 1m · $2 · every ~33 min

Hamburg Hbf train station facilities and services

Hamburg Hbf has practical services for this route, including Wifi, Lockers, Shopping, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lounge, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental, and Information Desk.

Food and drink

Food options include: Le Crobag, Burger King, Coffee Fellows, Havin Grill, KFC, Mr. CLOU, Starbucks, dean&david, SPAR Express, Pommesfreunde, & more

Wi-Fi and ATMs

Free Wi-Fi in the station. ATMs are available at Hamburg Hbf.

Tickets and information

Ticket office support is available at Hamburg Hbf. Information desks are located in the east hall on the opposite side of the DB ticket office.

Luggage and lost property

Luggage storage is the station has luggage lockers. Lost and found is available at the station.

Parking, taxis and toilets

Available at Hamburg Hbf: Parking, Taxis, WC.

Bike and car services

Available at Hamburg Hbf: Bike Parking, Bike Rental, Car Rental.

Accessibility

Accessibility facilities are available at Hamburg Hbf: Wheelchair friendly with lifts and ramps. Contact the Mobility Service Centre at +49 3065212888 or [email protected].

Shops, hotels and contact

Nearby hotels include Boutique 053 Hamburg Main Station, IntercityHotel Hamburg Hauptbahnhof, Park Hyatt Hamburg.

Hamburg-HarburgHamburg-Harburg, Hannoversche Str. 85, 21079 HamburgWifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost and Found OfficeTicket OfficeBike ParkingBike RentalCar RentalInformation Desk
City-centre transport

Getting to Hamburg-Harburg from Hamburg city centre

Hamburg-Harburg is 13 km from Hamburg city centre. Public transport options include:

TrainS3, S5 · 10m · $4 · every ~25 min
S3, S5 · 18m · $4 · every ~14 min
Bus641 · 24m · $4

Hamburg-Harburg train station facilities and services

Hamburg-Harburg has practical services for this route, including Wifi, Lockers, Shopping, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lounge, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental, and Information Desk.

Food and drink

Food options include: Café Bom Dia, Hünkar, Yoko Sushi Harburg, Mathewes Grill

Wi-Fi and ATMs

Wi-Fi is available at Hamburg-Harburg. ATMs are available at Hamburg-Harburg.

Tickets and information

Ticket office support is available at Hamburg-Harburg. Information desks are available at Hamburg-Harburg.

Luggage and lost property

Luggage storage is available at Hamburg-Harburg. Lost and found is available at the station.

Parking, taxis and toilets

Available at Hamburg-Harburg: Parking, Taxis, WC.

Bike and car services

Available at Hamburg-Harburg: Bike Parking, Bike Rental, Car Rental.

Accessibility

Accessibility facilities are available at Hamburg-Harburg.

Shops, hotels and contact

Nearby hotels include Hotel Panorama, Hotel Harburger Hof, Hotel Jeta, Hotel Süderelbe.

Hamburg-BergedorfHamburg-Bergedorf, Weidenbaumsweg 14, 21029 HamburgWifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost and Found OfficeTicket OfficeBike ParkingBike RentalCar RentalInformation Desk
City-centre transport

Getting to Hamburg-Bergedorf from Hamburg city centre

Hamburg-Bergedorf is 15 km from Hamburg city centre. Public transport options include:

TrainS7, S2 · 21m · $5 · every ~17 min
BusX80, 609 · 37m · $5 · every ~3 min
X80, 609 · 42m · $5 · every ~2 min

Hamburg-Bergedorf train station facilities and services

Hamburg-Bergedorf has practical services for this route, including Wifi, Lockers, Shopping, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lounge, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental, and Information Desk.

Food and drink

Food options include: Casa Vecchia, Burger Lounge, Il mío, Olivo

Wi-Fi and ATMs

Wi-Fi is available at Hamburg-Bergedorf. ATMs are available at Hamburg-Bergedorf.

Tickets and information

Ticket office support is available at Hamburg-Bergedorf. Information desks are available at Hamburg-Bergedorf.

Luggage and lost property

Luggage storage is available at Hamburg-Bergedorf. Lost and found is available at the station.

Parking, taxis and toilets

Available at Hamburg-Bergedorf: Parking, Taxis, WC.

Bike and car services

Available at Hamburg-Bergedorf: Bike Parking, Bike Rental, Car Rental.

Accessibility

Accessibility facilities are available at Hamburg-Bergedorf.

Shops, hotels and contact

Nearby hotels include 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