Rail lines: top countries, 2020

Data
| Rank | Country | km |
|---|---|---|
| 1 | United States | 148,750 |
| 2 | China | 106,235 |
| 3 | Russia | 85,555 |
| 4 | India | 67,956 |
| 5 | Canada | 48,309 |
| 6 | Germany | 33,399 |
| 7 | France | 27,872 |
| 8 | Ukraine | 21,626 |
| 9 | South Africa | 20,953 |
| 10 | Poland | 18,611 |
Source and method
Railisa Database, International Union of Railways (UIC) (IS.RRS.TOTL.KM), dataset version 2026-11-11. Sovereign states with an observation in 2020 are ranked from the highest value. Licence: cc-by-4-0-world-bank.