• Our partners include:

  • RailEurope
  • Deutsche Bahn
  • Trenitalia
  • SNCF
  • Flixbus
  • RENFE
  • Ouibus
  • BlaBlaCar
  • Booking.com
  • Skyscanner

There are 5 ways to get from Mainz to Heidelberg by train, bus, tram, rideshare or car

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2rio's travel planner.

Recommended option

Train  •  52 min

  1. Take the train from Mainz Hbf to Heidelberg Hbf Ic / ...

$24 - $35

Cheapest option

Rideshare  •  1 h 23 min

  1. Take the rideshare from Mainz to Heidelberg 57.1 miles

$5

3 alternative options

Bus  •  1 h 40 min

  1. Take the bus from Mainz to Heidelberg 227

$5 - $10

Train, line 5 tram  •  1 h 42 min

  1. Take the train from Mainz Hbf to Mannheim Hbf Ic / ...
  2. Take the line 5 tram from MA Hauptbahnhof to Altes Hallenbad 5

$28 - $38

Drive  •  50 min

  1. Drive from Mainz to Heidelberg 55.6 miles

$11 - $17

Questions & Answers

The cheapest way to get from Mainz to Heidelberg is to rideshare which costs 4€ and takes 1 h 23 min.

More details

The quickest way to get from Mainz to Heidelberg is to drive which costs 10€ - 15€ and takes 50 min.

More details

Yes, there is a direct bus departing from Mainz and arriving at Heidelberg. Services depart twice daily, and operate every day. The journey takes approximately 1 h 40 min.

More details

Yes, there is a direct train departing from Mainz Hbf and arriving at Heidelberg Hbf. Services depart every four hours, and operate every day. The journey takes approximately 52 min.

More details

The distance between Mainz and Heidelberg is 71 km. The road distance is 88.9 km.

Get driving directions

The best way to get from Mainz to Heidelberg without a car is to train which takes 52 min and costs 21€ - 30€.

More details

The train from Mainz Hbf to Heidelberg Hbf takes 52 min including transfers and departs every four hours.

More details

Mainz to Heidelberg bus services, operated by FlixBus, depart from Mainz station.

More details

Mainz to Heidelberg train services, operated by Deutsche Bahn, depart from Mainz Hbf station.

More details

The best way to get from Mainz to Heidelberg is to train which takes 52 min and costs 21€ - 30€. Alternatively, you can bus, which costs 5€ - 9€ and takes 1 h 40 min.

Mode details

Map of how to get from Mainz to Heidelberg.
Launch map view
  • Distance: 44.1 miles
  • Duration: 52 min

What companies run services between Mainz, Germany and Heidelberg, Germany?

Deutsche Bahn operates a train from Mainz to Heidelberg every 4 hours. Tickets cost $24 - $35 and the journey takes 52 min. Alternatively, FlixBus operates a bus from Mainz to Heidelberg twice daily. Tickets cost $5 - $10 and the journey takes 1 h 40 min.

Train operators
Deutsche Bahn

Deutsche Bahn is the German railway company, and the largest railway operator and infrastructure owner in Europe. Based in Berlin, Deutsche Bahn was founded in 1994, and offers many different types of rail transportation including ICE or Intercity-Express for high-speed services between major cities and regions, IC (InterCity) for long-distance trains, RE (Regional Express) trains that connect regions and cities, and the S-Bahn rapid transit service. There are two main tickets on offer: the Flexpreis that has full flexibility, and the Sparpreis which is the cheaper, advanced fare.

Contact Details
Phone
+49 0180 6 99 66 33
Website
bahn.com
Train from Mainz Hbf to Heidelberg Hbf
Ave. Duration
52 min
Frequency
Every 4 hours
Estimated price
$24 - $35
Website
bahn.de
Train from Mainz Hbf to Mannheim Hbf
Ave. Duration
39 min
Frequency
Hourly
Estimated price
$21 - $35
Website
bahn.de
RNV
Website
rnv-online.de
Tram from MA Hauptbahnhof to Altes Hallenbad
Ave. Duration
54 min
Frequency
Every 20 minutes
Estimated price
$6 - $8
Schedules at
rnv-online.de
Bus operators
FlixBus

One of Europe’s leading bus companies, Flixbus serves over 1400 destinations, in 26 countries including Germany, France, Italy, Austria, the Netherlands, Croatia, Spain, and across Scandinavia and central and eastern Europe. Founded in 2012, Flixbus’ extensive network connects cities with approximately 200,000 trips, with buses often departing every 30 minutes. One of the most affordable ways to get around Europe (and expanding soon into the US), a Flixbus journey is cost-effective, well-connected, comfortable and safe.

Rome2rio's guide to FlixBus
Contact Details
Phone
+49 1807 123 99 123
Email
info@flixbus.de
Website
flixbus.de
Bus from Mainz to Heidelberg
Ave. Duration
1 h 40 min
Frequency
Twice daily
Estimated price
$5 - $10
Website
flixbus.co.uk
Other operators
BlaBlaCar

A ridesharing platform with 40 million users, Blablacar gives you access to destinations without worrying about on-the-road chaos. The basic idea is that you carpool with locals who are already planning to drive your route and have space in their car. With some flexibility you’ll get to your destination – often faster and cheaper than other means. On the website or app, enter your departure and arrival points and your date of travel, sift through the profiles of drivers who’ve posted pre-planned drives and find one whose timing and preferences match yours. Request to join the ride, wait be accepted, and pay your share of the set price.

Rome2rio's guide to BlaBlaCar
Contact Details
Website
blablacar.com
Rideshare from Mainz to Heidelberg
Ave. Duration
1 h 23 min
Frequency
Every 4 hours
Estimated price
$5
Book at
blablacar.co.uk

Want to know more about travelling around Germany

Rome2rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.

More Questions & Answers

Mainz to Heidelberg bus services, operated by FlixBus, arrive at Heidelberg station.

More details

Mainz to Heidelberg train services, operated by Deutsche Bahn, arrive at Heidelberg Hbf station.

More details

Yes, the driving distance between Mainz to Heidelberg is 89 km. It takes approximately 50 min to drive from Mainz to Heidelberg.

Get driving directions

Book your Mainz to Heidelberg train tickets online with Rome2rio.

Search and book

Book your Mainz to Heidelberg bus tickets online with FlixBus.

Search and book

There are 562+ hotels available in Heidelberg. Prices start at $63 USD per night.

More details

Check out Blablacar's carpooling service for rideshare options between Mainz and Heidelberg. A great option if you don't have a driver's licence or want to avoid public transport.

Read Rome2rio's guide to Blablacar