Heidelberg to Madrid train with Deutsche Bahn

Sat, Nov 29
+ Add return
Deutsche Bahn
Regionale
iryo
Italo
AVE
1,000+ travel companies
Deutsche Bahn
Regionale
iryo
Italo
AVE
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 Heidelberg to Madrid

Showing times and prices for Nov 30

Cheapest price

$242

Average price

$242

Fastest journey

1 d 1 h 27 m

Average duration

1 d 1 h 27 m

Trains per day

1

Distance

1394 km

Cheap tickets

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

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

Fast trains

It's difficult to get from Heidelberg to Madrid without transferring at least 2 times.

Deutsche Bahn Regional
02:18PM25h27
Heidelberg
03:45PMMadrid
$2421One-way
2 transfers

Travel Information

Compare train, bus, and flight for Heidelberg to Madrid

Omio recommends booking the flight as it is the most popular option from Heidelberg to Madrid among Omio's users. If you are prioritising price take the bus with prices starting from €64. For those with little time consider booking a flight which can get you there in 3h 15m. The ticket price range depends on the travel mode: a bus costs an average of €64, and a train costs an average of €198.

Distance: 866 miles (1394 km)

Compare train with

Train
Most popular
Flight
Bus

€198

Average price

€161

Average price

€113

Average price

Cheapest

25h 57m

Average total duration

25h 27m

Onboard

+

30m

Additional time*

6h 15m

Average total duration

Fastest

3h 15m

Onboard

+

3h 0m

Additional time*

24h 0m

Average total duration

23h 30m

Onboard

+

30m

Additional time*

Direct Options

Direct Options

Direct Options

Live departures

Heidelberg to Madrid train times

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

Last updated at 6:32 PM
ProviderDepartsDurationArrivesTransfers
Tickets
deutsche_bahn2:18 PM Heidelberg
25h27
3:45 PM Madrid2 transfers

This is the last train of the day.

Find all the dates and times for this journey

Compare prices and tickets Heidelberg 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.

Sun
Nov 30
Mon
Dec 01
Tue
Dec 02
Wed
Dec 03
Thu
Dec 04
Fri
Dec 05
Sat
Dec 06

Journey information

Overview: Train from Heidelberg to Madrid

GermanyGermany
SpainSpain
Icon of train

Trains from Heidelberg to Madrid run on average 2 times per day, taking around 25h 27m. Cheap train tickets for this journey start at $245 (€198) but you can travel from only $79 (€64) by bus.

The earliest train runs at 00:25, the last at 23:45. The fastest train covers the 866 miles (1394 km) distance in 25h 27m.

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
Bus from $79 (€64)
Distance
866 miles (1394 km)
Average train duration
25h 27m
Cheapest ticket price
$245 (€198)
Trains per day
2
Fastest train
25h 27m
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
Bus from $79 (€64)

Train companies: Deutsche Bahn from Heidelberg to Madrid trainsDeutsche Bahn trains will get you between Heidelberg and Madrid from $79 (€64). 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
25h 27m
Cheapest Price
$242 (€196)
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: Trains from Heidelberg to Madrid

Find answers to the most common questions about traveling from Heidelberg 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
A day trip from Heidelberg to Madrid is not feasible as the journey takes 25h 27m and covers a distance of 866 miles (1394 km). The frequency of this trip per day for trains is 2.
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.
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.
Yes, you can take the train from Heidelberg to Madrid.
The distance by train from Heidelberg to Madrid is 866 miles (1394 km).
The train journey from Heidelberg to Madrid is scenic, offering views of the Rhine Valley's vineyards and castles, the rolling hills and forests of central France, and the picturesque landscapes of northern Spain.
The first train from Heidelberg to Madrid leaves at 12:25 AM.
Train ticket prices from Heidelberg to Madrid can vary. The cheapest ticket starts at $245 (€198), while the average price is around $245 (€198).
The last train from Heidelberg to Madrid leaves at 11:45 PM.
The cheapest way to get from Heidelberg to Madrid is by bus, with a cost of around $79 (€64).
There is no direct train service currently available from Heidelberg to Madrid.
The train from Heidelberg to Madrid takes 25h 27m and runs 2 per day.
Unfortunately, there is no night train available from Heidelberg to Madrid.

popular train stations

Popular train stations from Heidelberg to Madrid

Heidelberg
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:00 - 20:00
  • Tuesday: 07:00 - 20:00
  • Wednesday: 07:00 - 20:00
  • Thursday: 07:00 - 20:00
  • Friday: 07:00 - 20:00
  • Saturday: 09:00 - 19:00
  • Sunday: 09:00 - 19:00
ticketOfficeHours
Distance to city center
1 km
Dining
Dining
  • Heid´s Grill
  • McDonald's
  • Uuuhmami
  • Taj Mahal
Hotel
Hotel
  • Leonardo Hotel
  • Qube Hotel
  • NH Heidelberg
  • Krokodil

More options for your journey from Heidelberg to Madrid

Here are some other resources that might have the information you need

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