Read real reviews from real users
Want to find out more about taking the train from Madrid to Heidelberg Hbf? Look no further.
There are around 6 trains per day running between Madrid and Heidelberg Hbf, which usually take 22 hours 12 minutes to complete the 865 miles (1393 km) journey. It can take as little as 14 hours 31 minutes on the fastest services though, if you want to get there as quickly as possible. Although there aren't any direct services on this line, it's still easy to travel to Heidelberg Hbf from Madrid, you'll just need to make 3 changes along the way. During your journey, you're likely to be travelling with TGV, AVE or Avlo, as these are the main train operators on this route.
You can save money on train tickets from Madrid to Heidelberg Hbf if you book in advance, as tickets usually start from £270.70. Use our Journey Planner at the top of the page to compare ticket prices and get the cheapest fares.
Want to book your train tickets now? Just start a search with us today. If you want to find out more about the journey, read on for timetables (including first and last train times), FAQs and tips on how to book cheap train tickets.
First train | 06:15 | |
---|---|---|
Last train | 13:25 | |
Departure station | Madrid | |
Arrival station | Heidelberg Hbf | |
Journey time | From 14h 31m | |
Distance | 865 miles (1393 km) | |
Frequency | 6 trains per day | |
Changes | 3 changes | |
Price | From £270.70 | |
Train and bus operators |
AVE is Renfe's flagship high-speed service, with trains capable of reaching up to 193 mph (310 km/h). It’s one of the fastest trains in Europe and connects the main cities of Spain. Most AVE trains offer two comfort classes – Estándard (Standard Class) and Confort (First Class equivalent, with 1-1 configuration, ultra-wide seats, gourmet food and drink and lounge access). All AVE trains have air conditioning, power sockets, free WiFi and a buffet carriage serving a selection of food and drinks. There are three fares for AVE services: the cheapest but least flexible Básico fare, the Elige fare (slightly pricier but more flexible), and the Premium fare for seats in Confort Class.
OUIGO is the low-cost brand of French rail company SNCF, who operate trains in France and Spain. In France, all seats on OUIGO are Second Class and tickets can only be purchased online. You can also pay for additional extras, such as reserving a seat in the ‘quiet area’, at-seat power sockets and extra luggage. OUIGO has been operating in Spain since May 2021, and their trains include an onboard bar and a premium class of service called OUIGO Plus.
Operating since the end of 2022, iryo is a new high-speed train company in Spain. It’s a consortium between the Spanish airline Air Norstrum and the train company Trenitalia, one of the greatest leaders in European rail transport. The first private Spanish high-speed company to operate, iryo runs high-speed services on the Madrid – Zaragoza – Barcelona route and connects Madrid – Cuenca – Valencia/Alicante and Madrid – Cordoba – Seville/Malaga. They are doing this all with a fleet of ETR1000 model trains that offer the highest level of comfort in Spain, with a combination of advanced propulsion and highest quality onboard services, including WiFi connection and catering service. 98% of the parts of the trains are 100% recyclable, making this trip sustainable as well!
Renfe is the national train operator in Spain. It operates trains on the longest high-speed railway network in Europe, and the second-longest in the world. The country's major cities are linked up by the high-speed AVE and Avlo trains, while other long-distance routes are served by Altaria, Talgo, Alvia and Euromed trains. Renfe also operates cross-border services into neighbouring Portugal and France. Depending on which service you are travelling on, you'll usually find two classes on Renfe trains - Estándard (Standard Class) and Confort (First Class). Fare types range from the cheapest (but least flexible) Básico fare, to the more flexible Elige fares, to the Premium fare for seats in Confort carriages.
In Second Class, TGV INOUI allows you to travel comfortably while enjoying the onboard services, such as free WiFi, power sockets and more.
Want to travel in style? Upgrade to First Class and you’ll enjoy all the benefits of Second Class as well as some additional perks.
Enjoy comfy seats with power sockets, fold-down tables and free WiFi in Second Class. Some IC trains are double decker trains (IC2) too.
Upgrade to First Class and you'll get to enjoy Fast Track in some German stations and free access to DB lounges.
If you're travelling in ICE's Second Class, you'll get to enjoy free WiFi and a bistrò carriage where you can buy snacks and drinks.
In addition to all the amenities in Second Class, in First Class you'll get more legroom, a catering service, Fast Track in some stations and free access to DB lounges.
If you're looking for a reasonably-priced experience without compromising on the best service and comfort, Inicial Class is ideal for you!
Singular Class is ideal for business travellers looking for flexibility and comfort. If you need to, you can adapt your ticket to your needs at the time.
If you're looking for added comfort and full flexibility, Singular Only YOU class is a fantastic choice, with access to select hotels too.
iryo's Infinita Bistró Class offers plenty of amenities on board, including wider leather reclining seats, free WiFi and at-seat meal service offering a complimentary gourmet meal. You'll need to book your meal 24 hours in advance.
On board TGV INOUI trains, you can take up to 2 pieces of luggage measuring no more than 70 x 90 x 50 cm, plus one hand luggage measuring no more than 40 x 30 x 15 cm. If you are bringing an XL baggage (maximum 90 x 130 cm), it will replace one of the two 70 x 90 x 50 cm pieces of luggage authorised.
All your luggage must be labelled before entering the train.
All TGV INOUI trains are equipped with a café-bar carriage offering a range of food and drink to suit you at any time of day. The Bar is always situated in carriage 4 or 14 of the train. There's a range of local and responsibly sourced products on offer to whet your appetite.
TGV INOUI trains have free WiFi on board for you to use throughout your journey, allowing you to stay connected, reply to emails or even relax and enjoy what's offered on the TGV INOUI entertainment portal.
Children under 12 can get a half price ticket on TGV INOUI trains. Children under 4 travel free when they travel on your lap.
If you've got a foldable bicycle, you can take it on the train as hand luggage, so long as it's no larger than 130 x 90 cm once folded. Or, if you can dismantle your bike, you can transport it in a cover or case no larger than 130 x 90 cm. You can still travel with a bike that cannot be folded or dismantled - you'll need to reserve a bike space on the train when you buy your ticket. Bike tickets cost €10 per bike, per journey.
Small pets are allowed on board TGV INOUI trains provided they weigh less than 10kg. They must travel in a carrier no larger than 45 x 30 x 25 cm. Tickets for small pets cost €7. Larger dogs can also travel on TGV INOUI services, provided they are wearing a muzzle and are kept on a lead. Tickets for larger dogs cost €20. Guide dogs and assistance dogs travel free of charge on all SNCF trains.
For disabled passengers or those with reduced mobility, you can request assistance through 'Accès Plus'. With this service, a member of staff will meet you at the station and help you get to your seat on the train. To book assistance, contact Accès Plus after you book your tickets (and no later than 48 hours before your train is due to depart).
You can take as much luggage as you like for free without making a reservation.
Luggage items include briefcases, laptops, rucksacks, trolley bags or suitcases. You can also take pushchairs, folding bikes, scooters, skis and surfboards.
Luggage should be stored under the seat or in the overhead luggage rack. Generally, the standard dimensions of luggage racks are 70 x 50 x 30 cm. Larger items of luggage such as suitcases can be stored in the large luggage racks by the doors.
You will find an extensive menu in the on-board restaurant, or you can grab a snack from the bistro carriage. If you opt for the latter, you can enjoy your food and drink in the bistro or take it back to your seat.
If you upgrade to First Class, you will be served complimentary food and drink at your seat.
Although the menu changes every three months, you will always find a wide variety of locally sourced food and drink, including a range of vegetarian and vegan dishes.
Currently, free WiFi is available on certain IC trains. Deutsche Bahn are gradually installing free WiFi on all their IC trains.
On IC trains, children under 5 years old travel free of charge and don’t need a ticket. Kids up to 14 years old travel for free if they are accompanied by a person who is at least 15 years old.
On board, you will find family and children areas which are bookable.
You need a bicycle ticket and reservation to take a bicycle on a IC train. The reservation for your bike is included in the price.
Bike storage spaces are usually located in second class carriages. Please note that your seat and bike storage space might be located in different carriages.
With IC, you can travel with your pet. If you have a small dog or pet, you do not need an extra ticket and they can travel for free in a transport box. If your dog or pet is bigger than the size of a house cat, you will need an additional ticket, which costs 50% less than a standard ticket. Dogs not travelling in a transport box must be on a lead and wear a muzzle.
Assistance dogs travel free of charge and do not have to wear a muzzle on the train.
Deutsche Bahn offer the Mobility Service, where staff will help you board, disembark or change trains. Staff will also answer any questions or assist with any queries to make your journey easier.
You can take as much luggage as you like for free without making a reservation.
Luggage items include briefcases, laptops, rucksacks, trolley bags or suitcases. You can also take pushchairs, folding bikes, scooters, skis and surfboards.
Luggage should be stored under the seat or in the overhead luggage rack. Generally, the standard dimensions of luggage racks are 70 x 50 x 30 cm. Larger items of luggage such as suitcases can be stored in the large luggage racks by the doors.
When travelling with ICE, you can enjoy an extensive menu in the on-board restaurant, or you can grab a snack from the bistro carriage. If you choose the latter, you can enjoy your food and drink in the bistro or take it back to your seat.
Upgrade to First Class and you will be served complimentary food and drink at your seat.
DB change their menu every three months, but you will always find a wide variety of locally sourced food and drink, including a range of vegetarian and vegan dishes.
If you’re travelling on a ICE train, you can connect to the free WiFi and catch up on some work or your favourite TV show.
You can also connect to the ICE portal, where you’ll find a wide range of entertainment, such as films, television, audiobooks, games, newspapers and magazines.
On DB’s ICE trains, kids under 5 years old travel for free and don’t need a ticket. Children up to 14 years old travel for free if they are accompanied by a person who is at least 15 years old.
You can also book family areas and children compartments on all ICE trains.
With ICE, you need a bicycle ticket and reservation to take a bicycle onboard. The reservation for your bike is included in the price.
Generally, bike storage spaces are located in second class carriages. Please note that your seat and bike storage space might be located in different carriages.
You can travel with your pet on all ICE trains. You do not need an extra ticket If you have a small dog and they can travel in a transport box. If your dog or pet is bigger than the size of a house cat, you will need an additional ticket, which costs 50% less than a standard ticket. Dogs not travelling in a transport box must be on a lead and wear a muzzle.
Assistance dogs travel free of charge and do not have to wear a muzzle on the train.
DB’s Mobility Service can assist you with boarding, disembarking or changing trains. Also, staff are happy to answer any questions or assist with any queries to make your journey easier.
You can carry up to 3 pieces of luggage on iryo trains, as long as they do not exceed 25kg in total. These 3 pieces can be 2 suitcases with a maximum size of 85 x 55 x 35cm and a backpack or handbag that does not exceed the dimensions of 36 x 27 x 15cm.
iryo offers different menus with high-quality products in all classes. You can buy your favourite meal from their onboard restaurant/bar carriage, which is usually near coach 2.
If you’re travelling in the Infinita Bistró Class, you can enjoy the Infinita Bistró food service – your meal will be served straight to your seat. Please note that you’ll need to book your meal at least 24 hours in advance.
You can enjoy free WiFi in all classes on iryo trains, as well as an onboard entertainment platform providing a wide selection of movies, TV series, live news and Spotify.
Children aged 0-3 travel for free on all iryo trains. Children aged 4-13 get a discounted ticket while those aged 14-18 need to pay the full price. Please note that children aged under 18 need to be accompanied by their parents or legal guardians.
You can take your bike on board iryo trains for free if it’s folded and does not exceed 90 x 120 x 40cm. Also, your bike must travel without the pedals and with the handlebar rotated 90 degrees.
iryo allows pets that do not exceed 10kg in weight, as long as they travel inside a carrier with a maximum size of 60 x 35 x 35cm. You'll need to buy a ticket for your pet in advance. In addition, guide dogs can travel at no additional cost.
There are seats for people with reduced mobility on iryo trains. Step-free access is also available both when boarding and when getting off the train.
Most of the train companies across Europe release their tickets around three to six months in advance, many of which can be cheaper the earlier you book. If you know the dates you want to travel, you may be able to find some cheaper train tickets from Madrid to Heidelberg Hbf by booking early.§
Many of the train services in Europe are also popular commuter services, lots of train companies increase ticket prices during “peak hours” (generally between 06:00 – 10:00 and 15:00 – 19:00 on weekdays). If you can, consider travelling outside of peak hours to find lower priced tickets.
On some of the busier routes, you might also have the option to take a slower or connecting train. It may take a little longer than some high-speed or direct services, but if you have a little extra time on your hands, you might find a cheaper fare. Plus, you'll have more time to enjoy the view of the countryside!
Take a look at our handy guides to find out when train operators release their special deals and offers to see if you can find cheap European train tickets for your journey.
For specific information about how to get your hands on cheap tickets, check out our European train tickets hub.
The average journey time by train between Madrid and Heidelberg Hbf is 22 hours and 12 minutes, with around 6 trains per day. The journey time may be longer on weekends and holidays, so use our Journey Planner on this page to search for a specific travel date.
The fastest journey time by train from Madrid to Heidelberg Hbf is 14 hours and 31 minutes.
Train ticket prices from Madrid to Heidelberg Hbf can start from as little as £270.70 when you book in advance. The cost of tickets can vary depending on the time of day, route and class you book and are usually more expensive if you book on the day.
No, there are no direct train services from Madrid to Heidelberg Hbf. Travelling from Madrid to Heidelberg Hbf by train will require a minimum of 3 changes.
The first train from Madrid to Heidelberg Hbf leaves at 06:15. Times and services may vary during weekends and holidays.
The last train from Madrid to Heidelberg Hbf leaves at 13:25. Trains that depart in the early morning hours or very late evening may be sleeper services, time and services may also vary during weekends and holidays.
Trains travelling from Madrid to Heidelberg Hbf cover a distance of around 865 miles (1393 km) during the journey.
If you’re looking for the return train journey, check out trains from Heidelberg Hbf to Madrid.