# Rail lines (total route-km) by country (2021)

In 2021, United States had the highest rail lines (total route-km) of the 64 countries ranked (148,553 total route-km), followed by China (109,767 total route-km) and Russia (85,544 total route-km); United States was 35.3% higher than China; the top 3 together account for 43.8% of the total.

Rail lines (total route-km), unit: total route-km. Includes the 64 countries with data for 2021. Aggregates (world, regional and income groups) are excluded. A year appears only when at least 10 countries have data for it. Tables are shown for 8 of the 27 years with data.

## Rail lines (total route-km) by country, 2021

| Rank | Countries | Rail lines (total route-km) | Change | Share of total |
|---|---|---|---|---|
| 1 | United States | 148,553 total route-km | -0.1% | 18.9% |
| 2 | China | 109,767 total route-km | +3.3% | 14% |
| 3 | Russia | 85,544 total route-km | -0.0% | 10.9% |
| 4 | India | 68,103 total route-km | +0.2% | 8.7% |
| 5 | Canada | 48,150 total route-km | -0.3% | 6.1% |
| 6 | Germany | 33,401 total route-km | +0.0% | 4.3% |
| 7 | France | 27,716 total route-km | -0.6% | 3.5% |
| 8 | South Africa | 20,953 total route-km | +0.0% | 2.7% |
| 9 | Poland | 18,620 total route-km | +0.0% | 2.4% |
| 10 | Italy | 17,305 total route-km | +0.3% | 2.2% |
| 11 | United Kingdom | 16,179 total route-km | -1.1% | 2.1% |
| 12 | Kazakhstan | 16,006 total route-km | -0.4% | 2% |
| 13 | Spain | 15,963 total route-km | +0.7% | 2% |
| 14 | Romania | 10,769 total route-km | +0.0% | 1.4% |
| 15 | Turkey | 10,546 total route-km | +1.6% | 1.3% |
| 16 | Sweden | 9,714 total route-km | +0.0% | 1.2% |
| 17 | Iran | 9,455 total route-km | +0.0% | 1.2% |
| 18 | Czechia | 9,357 total route-km | -0.2% | 1.2% |
| 19 | Hungary | 8,037 total route-km | +5.9% | 1% |
| 20 | Finland | 5,918 total route-km | +0.0% | 0.8% |
| 21 | Belarus | 5,474 total route-km | +0.4% | 0.7% |
| 22 | Austria | 4,962 total route-km | -0.1% | 0.6% |
| 23 | Uzbekistan | 4,732 total route-km | +0.0% | 0.6% |
| 24 | South Korea | 4,308 total route-km | +0.6% | 0.5% |
| 25 | Switzerland | 4,122 total route-km | +12.3% | 0.5% |
| 26 | Bulgaria | 4,031 total route-km | +0.0% | 0.5% |
| 27 | Algeria | 4,000 total route-km | new | 0.5% |
| 28 | Norway | 3,885 total route-km | +0.0% | 0.5% |
| 29 | DR Congo | 3,641 total route-km | +0.0% | 0.5% |
| 30 | Slovakia | 3,626 total route-km | -0.0% | 0.5% |
| 31 | Belgium | 3,612 total route-km | -0.1% | 0.5% |
| 32 | Serbia | 3,348 total route-km | +0.4% | 0.4% |
| 33 | Vietnam | 3,159 total route-km | +0.0% | 0.4% |
| 34 | Netherlands | 3,041 total route-km | -1.2% | 0.4% |
| 35 | Croatia | 2,617 total route-km | +0.0% | 0.3% |
| 36 | Portugal | 2,527 total route-km | +0.0% | 0.3% |
| 37 | Chile | 2,396 total route-km | +0.0% | 0.3% |
| 38 | Greece | 2,339 total route-km | -0.3% | 0.3% |
| 39 | Morocco | 2,295 total route-km | +0.0% | 0.3% |
| 40 | Azerbaijan | 2,139 total route-km | -4.5% | 0.3% |
| 41 | Lithuania | 1,919 total route-km | +0.4% | 0.2% |
| 42 | Latvia | 1,859 total route-km | +0.0% | 0.2% |
| 43 | Mongolia | 1,821 total route-km | +0.0% | 0.2% |
| 44 | Tunisia | 1,777 total route-km | +0.0% | 0.2% |
| 45 | Israel | 1,720 total route-km | +6.2% | 0.2% |
| 46 | Malaysia | 1,655 total route-km | +0.0% | 0.2% |
| 47 | Ireland | 1,650 total route-km | -12.6% | 0.2% |
| 48 | Uruguay | 1,498 total route-km | +0.0% | 0.2% |
| 49 | Slovenia | 1,209 total route-km | +0.0% | 0.2% |
| 50 | Moldova | 1,149 total route-km | -0.2% | 0.1% |
| 51 | Botswana | 886 total route-km | +0.0% | 0.1% |
| 52 | Cameroon | 884 total route-km | +0.0% | 0.1% |
| 53 | Mauritania | 728 total route-km | +0.0% | 0.1% |
| 54 | Armenia | 698.4 total route-km | +0.0% | 0.1% |
| 55 | North Macedonia | 683 total route-km | +0.0% | 0.1% |
| 56 | Madagascar | 673 total route-km | +0.0% | 0.1% |
| 57 | Gabon | 648 total route-km | +0.0% | 0.1% |
| 58 | Cote d'Ivoire | 639 total route-km | +0.0% | 0.1% |
| 59 | Tajikistan | 620 total route-km | -6.3% | 0.1% |
| 60 | Burkina Faso | 518 total route-km | +0.0% | 0.1% |
| 61 | Kyrgyzstan | 417 total route-km | -1.7% | 0.1% |
| 62 | United Arab Emirates | 279 total route-km | +6.9% | 0% |
| 63 | Luxembourg | 271 total route-km | +0.0% | 0% |
| 64 | Hong Kong | 230.1 total route-km | new | 0% |

## Sources and licence

- Publishers: World Bank
- Licence: World Bank CC BY 4.0
- Original data: <https://api.worldbank.org/v2/country/all/indicator/EN.GHG.N2O.WA.MT.CE.AR5?format=json&date=1990:2025&per_page=20000>
- All publishers and licences: https://fatmira.com/data/statistics/sources/

Canonical URL: https://fatmira.com/data/statistics/rail-lines-total-route-km-by-country/
Last updated: 2026-11-10
Published by Fatmira. Cite as: "Rail lines (total route-km) by country (2021)", Fatmira, https://fatmira.com/data/statistics/rail-lines-total-route-km-by-country/ (accessed <date>).
