The Heidelberger Bergbahn, or Heidelberg Mountain Railway, is a two section funicular railway in the city of Heidelberg, Germany. The first section runs from a lower station at Kornmarkt in Heidelberg's Altstadt, via an intermediate station at Heidelberg Castle, to an upper station at Molkenkur. Here passengers may change to the second section, which runs to the Königstuhl, a nearby mountain with good views over the city and the River Neckar.
The upper and lower sections of the funicular have different histories and are sometimes referred to separately by the names Königstuhlbahn and Molkenkurbahn respectively. These two sections present quite different appearances, with the upper section using wooden bodied cars of historic appearance, whilst the lower section uses modern style cars. Similarly the upper stations at Molkenkur and Königstuhl are to the original design, whilst those further down the hill at Kornmakt and Heidelberg Castle present a more modern image.
The Heidelberger Bergbahn is operated by the Heidelberger Straßen- und Bergbahn AG (HSB), the operator of Heidelberg's tram and bus system, although the funicular predominantly serves tourist traffic. The lower section runs every 10 minutes throughout the day, whilst the connecting upper section runs every 20 minutes throughout the day. The services start and end at times that vary from summer to winter.