Germany interactive railway map. Mainline, regional and freight rail network — filterable by speed, electrification, track gauge and line usage.
Germany rail network drawn from data mapped by OpenStreetMap contributors, covering mainline railways, regional lines, commuter rail and freight corridors. Lines are colour-coded by rail type and filterable by maximum permitted speed, electrification system, track gauge and line usage. The map reveals the layered structure of the network: high-speed intercity spines, slower regional connectors, freight-only branches serving ports and industrial zones, and heritage lines preserved for tourism. Switch between filter modes to view the same railway infrastructure through a different lens — the same line that appears as a passenger main line in usage mode will show its permitted speed and electrification system in the other views.
Germany has 270,770 mapped railway segments including 26,039 tram lines, 5,072 metro segments, 9,708 light rail segments and 6,330 narrow gauge segments — one of the world's most extensive rail networks. It also includes 21,539 high-speed railway segments and 285,339 electrification-tagged segments.
Last update: 2026-06-07