Skip to content

Independent statistics from official sources: World Bank, IMF, WHO and UN agencies

Rail lines: countries ranked (2020)

66 sovereign states with an observation in 2020, in km. Some countries have 2021 data, but 2020 is the latest year with broad coverage, so it is used for a like-for-like ranking.

Rank 1 is the highest value. Higher is not necessarily better for this measure. Only sovereign states with an observation in 2020 are ranked; there is no imputation.

Rail lines by country in 2020
RankCountrykmYearTrend10-year change
1United States148,7502020
2China106,2352020
3Russia85,5552020
4India67,9562020
5Canada48,3092020
6Germany33,3992020
7France27,8722020
8Ukraine21,6262020
9South Africa20,9532020
10Poland18,6112020
11Italy17,2562020
12United Kingdom16,3512020
13Kazakhstan16,0632020
14Spain15,8482020
15Romania10,7692020
16Türkiye10,3782020
17Sweden9,7112020
18Iran9,4542020
19Czechia9,3772020
20Hungary7,5882020
21Finland5,9182020
22Belarus5,4542020
23Austria4,9662020
24Uzbekistan4,7322020
25South Korea4,2852020
26Bulgaria4,0292020
27Norway3,8852020
28Switzerland3,6722020
29Democratic Republic of the Congo3,6412020
30Slovakia3,6272020
31Belgium3,6152020
32Serbia3,3332020
33Vietnam3,1592020
34Zimbabwe3,1202020
35Netherlands3,0782020
36Sudan2,7472020
37Croatia2,6172020
38Portugal2,5262020
39Chile2,3962020
40Greece2,3452020
41Morocco2,2952020
42Azerbaijan2,2392020
43Lithuania1,9112020
44Ireland1,8882020
45Latvia1,8592020
46Mongolia1,8212020
47Tunisia1,7772020
48Malaysia1,6552020
49Israel1,6192020
50Uruguay1,4982020
51Georgia1,4112020
52Slovenia1,2092020
53Moldova1,1512020
54Botswana8862020
55Cameroon8842020
56Mauritania7282020
57Armenia698.42020
58North Macedonia6832020
59Madagascar6732020
60Tajikistan6622020
61Gabon6482020
62Côte d’Ivoire6392020
63Burkina Faso5182020
64Kyrgyzstan4242020
65Luxembourg2712020
66United Arab Emirates2612020

About this measure

The total length of rail line in the country operated for passenger transport, goods transport, or both.

Source: Railisa Database, International Union of Railways (UIC) via World Bank World Development Indicators (IS.RRS.TOTL.KM). Dataset version 2026-11-11, retrieved 2026-12-02. Licence: cc-by-4-0-world-bank.

How to cite this page
Railisa Database, International Union of Railways (UIC), via World Bank World Development Indicators, series IS.RRS.TOTL.KM, release 2026-11-11. Retrieved 2026-12-02 from TrackingZoo, "Rail lines: countries ranked", https://trackingzoo.com/rankings/rail-lines.

Trends, regions and downloads for rail lines