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 271,316 mapped railway segments including 26,060 tram lines, 5,074 metro segments, 9,722 light rail segments and 6,342 narrow gauge segments — one of the world's most extensive rail networks. It also includes 21,558 high-speed railway segments and 286,048 electrification-tagged segments.
Last update: 2026-06-20