Rail transport in Germany is provided predominantly by Deutsche Bahn (DB, lit. 'German Railway'). As of 2021, the railway network in Germany (DB only) had a length of 33,399 km (20,753 mi), of which 20,540 km (12,760 mi) were electrified and 18,556 km (11,530 mi) were double track. About 1,658 km (1,030 mi) are high-speed railway lines. Germany has the 6th longest railway network in the world, and the largest in Europe after Russia.
Germany was ranked 4th among national European rail systems in the 2017 European Railway Performance Index assessing intensity of use, quality of service and safety. It had a very good rating for intensity of use, by both passengers and freight, and good ratings for quality of service and safety. It also captured relatively high value in return for public investment with cost to performance ratios that outperform the average ratio for all European countries.
