0
Ranking · latest available · data as of 26 October 2026 · printed 27 Oct 2026
NationsTree / Rankings / Rail lines

Rail lines (route-km)

Length of the railway network, in route-kilometres. Ranked from largest to smallest.

Source: World Bank · World Development Indicators · IS.RRS.TOTL.KM

Top 5 over time

Dashed line: world median
CSV
#CountryRegionRail linesroute-kmYear
1 United States North America 148,553 route-km 2021
2 China East Asia & Pacific 109,767 route-km 2021
3 Russia Europe & Central Asia 85,544 route-km 2021
4 India South Asia 68,103 route-km 2021
5 Canada North America 48,150 route-km 2021
6 Germany Europe & Central Asia 33,401 route-km 2021
7 France Europe & Central Asia 27,716 route-km 2021
8 Ukraine Europe & Central Asia 21,626 route-km 2020
9 South Africa Sub-Saharan Africa 20,953 route-km 2021
10 Poland Europe & Central Asia 18,620 route-km 2021
11 Argentina Latin America & Caribbean 17,866 route-km 2019
12 Italy Europe & Central Asia 17,305 route-km 2021
13 United Kingdom Europe & Central Asia 16,179 route-km 2021
14 Kazakhstan Europe & Central Asia 16,006 route-km 2021
15 Spain Europe & Central Asia 15,963 route-km 2021
16 Romania Europe & Central Asia 10,769 route-km 2021
17 Türkiye Europe & Central Asia 10,546 route-km 2021
18 Sweden Europe & Central Asia 9,714 route-km 2021
19 Iran Middle East, North Africa, Afghanistan & Pakistan 9,455 route-km 2021
20 Czechia Europe & Central Asia 9,357 route-km 2021
21 Hungary Europe & Central Asia 8,037 route-km 2021
22 Pakistan Middle East, North Africa, Afghanistan & Pakistan 7,791 route-km 2019
23 Turkmenistan Europe & Central Asia 7,680 route-km 2018
24 Finland Europe & Central Asia 5,918 route-km 2021
25 Indonesia East Asia & Pacific 5,483 route-km 2019
26 Belarus Europe & Central Asia 5,474 route-km 2021
27 Austria Europe & Central Asia 4,962 route-km 2021
28 Uzbekistan Europe & Central Asia 4,732 route-km 2021
29 South Korea East Asia & Pacific 4,309 route-km 2021
30 Switzerland Europe & Central Asia 4,122 route-km 2021
31 Thailand East Asia & Pacific 4,092 route-km 2017
32 Bulgaria Europe & Central Asia 4,031 route-km 2021
33 Algeria Middle East, North Africa, Afghanistan & Pakistan 4,001 route-km 2021
34 Norway Europe & Central Asia 3,885 route-km 2021
35 DR Congo Sub-Saharan Africa 3,641 route-km 2021
36 Slovakia Europe & Central Asia 3,626 route-km 2021
37 Belgium Europe & Central Asia 3,612 route-km 2021
38 Serbia Europe & Central Asia 3,348 route-km 2021
39 Vietnam East Asia & Pacific 3,159 route-km 2021
40 Zimbabwe Sub-Saharan Africa 3,120 route-km 2020
41 Netherlands Europe & Central Asia 3,041 route-km 2021
42 Saudi Arabia Middle East, North Africa, Afghanistan & Pakistan 2,939 route-km 2018
43 Bangladesh South Asia 2,877 route-km 2019
44 Sudan Sub-Saharan Africa 2,747 route-km 2020
45 Tanzania Sub-Saharan Africa 2,701 route-km 2017
46 Croatia Europe & Central Asia 2,617 route-km 2021
47 Portugal Europe & Central Asia 2,527 route-km 2021
48 Chile Latin America & Caribbean 2,396 route-km 2021
49 Greece Europe & Central Asia 2,339 route-km 2021
50 Morocco Middle East, North Africa, Afghanistan & Pakistan 2,295 route-km 2021
51 Azerbaijan Europe & Central Asia 2,139 route-km 2021
52 Lithuania Europe & Central Asia 1,919 route-km 2021
53 Latvia Europe & Central Asia 1,859 route-km 2021
54 Mongolia East Asia & Pacific 1,821 route-km 2021
55 Tunisia Middle East, North Africa, Afghanistan & Pakistan 1,777 route-km 2021
56 Israel Middle East, North Africa, Afghanistan & Pakistan 1,720 route-km 2021
57 Malaysia East Asia & Pacific 1,655 route-km 2021
58 Ireland Europe & Central Asia 1,650 route-km 2021
59 Sri Lanka South Asia 1,562 route-km 2019
60 Uruguay Latin America & Caribbean 1,498 route-km 2021
61 Georgia Europe & Central Asia 1,387 route-km 2021
62 Zambia Sub-Saharan Africa 1,248 route-km 2019
63 Slovenia Europe & Central Asia 1,209 route-km 2021
64 Moldova Europe & Central Asia 1,149 route-km 2021
65 Estonia Europe & Central Asia 1,033 route-km 2017
66 Bosnia and Herzegovina Europe & Central Asia 1,018 route-km 2019
67 Botswana Sub-Saharan Africa 886 route-km 2021
68 Cameroon Sub-Saharan Africa 884 route-km 2021
69 Ethiopia Sub-Saharan Africa 754 route-km 2018
70 Mauritania Sub-Saharan Africa 728 route-km 2021
71 Armenia Europe & Central Asia 698 route-km 2021
72 North Macedonia Europe & Central Asia 683 route-km 2021
73 Madagascar Sub-Saharan Africa 673 route-km 2021
74 Gabon Sub-Saharan Africa 648 route-km 2021
75 Côte d'Ivoire Sub-Saharan Africa 639 route-km 2021
76 Tajikistan Europe & Central Asia 620 route-km 2021
77 Burkina Faso Sub-Saharan Africa 518 route-km 2021
78 Kyrgyzstan Europe & Central Asia 417 route-km 2021
79 United Arab Emirates Middle East, North Africa, Afghanistan & Pakistan 279 route-km 2021
80 Luxembourg Europe & Central Asia 271 route-km 2021
81 Montenegro Europe & Central Asia 250 route-km 2019
82 Hong Kong East Asia & Pacific 230 route-km 2021
— Albania Europe & Central Asia 423 route-km 2009
— Benin Sub-Saharan Africa 758 route-km 2006
— Brazil Latin America & Caribbean 32,622 route-km 2007
— Cambodia East Asia & Pacific 650 route-km 2004
— Congo Sub-Saharan Africa 893 route-km 2012
— Costa Rica Latin America & Caribbean 848 route-km 2001
— Cuba Latin America & Caribbean 5,076 route-km 2007
— Denmark Europe & Central Asia 2,131 route-km 2009
— Djibouti Middle East, North Africa, Afghanistan & Pakistan 781 route-km 2003
— Ecuador Latin America & Caribbean 956 route-km 2000
— Egypt Middle East, North Africa, Afghanistan & Pakistan 5,153 route-km 2016
— El Salvador Latin America & Caribbean 547 route-km 2003
— Eswatini Sub-Saharan Africa 300 route-km 2011
— Ghana Sub-Saharan Africa 953 route-km 2006
— Guatemala Latin America & Caribbean 885 route-km 2004
— Iraq Middle East, North Africa, Afghanistan & Pakistan 2,370 route-km 2014
— Japan East Asia & Pacific 20,087 route-km 2011
— Kenya Sub-Saharan Africa 1,917 route-km 2004
— Lebanon Middle East, North Africa, Afghanistan & Pakistan 401 route-km 2002
— Malawi Sub-Saharan Africa 797 route-km 2007
— Mali Sub-Saharan Africa 733 route-km 2002
— Mozambique Sub-Saharan Africa 3,116 route-km 2011
— Myanmar East Asia & Pacific 4,746 route-km 1999
— New Zealand East Asia & Pacific 3,908 route-km 1998
— Nigeria Sub-Saharan Africa 3,528 route-km 2015
— North Korea East Asia & Pacific 5,214 route-km 1999
— Panama Latin America & Caribbean 485 route-km 2000
— Paraguay Latin America & Caribbean 441 route-km 2000
— Peru Latin America & Caribbean 1,639 route-km 1998
— Philippines East Asia & Pacific 509 route-km 2016
— Senegal Sub-Saharan Africa 906 route-km 2004
— Syria Middle East, North Africa, Afghanistan & Pakistan 2,139 route-km 2010
— Uganda Sub-Saharan Africa 259 route-km 2002
— Venezuela Latin America & Caribbean 336 route-km 2006

Latest value per country. Ranked: countries with data from the last 5 years of the series; older values are listed below without a rank. 82 ranked.

Comparison0 / 5
Compare