Rail Network Length (km) by Country: 2021 World Rankings
The total length of rail line in the country operated for passenger transport, goods transport, or both. Data from the World Bank.
The United States has the highest length of rail lines (km): 148,553 in 2021. Next are China (109,767), Russia (85,544), India (68,103) and Canada (48,150). Hong Kong has the lowest length of rail lines (km): 230 in 2021. The median across the 112 countries is 2,317, counting each country once, so it is not a world average.
Source: World Bank World Development Indicators. 112 of 218 countries and territories have a figure. Each country shows its latest available year, from 2000 to 2021. The most common is 2021 (65 of 112 countries).
- Highest
- 148,553
- United States, 2021
- Lowest
- 230
- Hong Kong, 2021
- Median
- 2,317
- Counting each country once, so it is not a world average
- Coverage
- 112 of 218
- Countries and territories with a figure; latest available, 2000 to 2021
- Sum of the table
- 786,130
- Sum of 65 countries with 2021 figures, not an official world figure
| # | Country | Rail Lines (total km) | Year | Change since 2011 (%) |
|---|---|---|---|---|
| 1 | United States | 148,553 | 2021 | -23.5% |
| 2 | China | 109,767 | 2021 | +51.4% |
| 3 | Russia | 85,544 | 2021 | +0.4% |
| 4 | India | 68,103 | 2021 | +5.7% |
| 5 | Canada | 48,150 | 2021 | n/a |
| 6 | Germany | 33,401 | 2021 | -0.5% |
| 7 | Brazil | 32,622 | 2007 | n/a |
| 8 | France | 27,716 | 2021 | -7.8% |
| 9 | Ukraine | 21,626 | 2020 | -0.2%2011 to 2020 |
| 10 | South Africa | 20,953 | 2021 | n/a |
| 11 | Japan | 20,087 | 2011 | 0.0%2011 to 2011 |
| 12 | Poland | 18,620 | 2021 | -5.6% |
| 13 | Argentina | 17,866 | 2019 | n/a |
| 14 | Italy | 17,305 | 2021 | +3.5% |
| 15 | United Kingdom | 16,179 | 2021 | -0.2% |
| 16 | Kazakhstan | 16,006 | 2021 | +11.8% |
| 17 | Spain | 15,963 | 2021 | +1.8% |
| 18 | Romania | 10,769 | 2021 | -0.1% |
| 19 | Türkiye | 10,546 | 2021 | +9.4% |
| 20 | Sweden | 9,714 | 2021 | -3.0% |
| 21 | Iran | 9,455 | 2021 | +13.0% |
| 22 | Czechia | 9,357 | 2021 | -1.2% |
| 23 | Hungary | 8,037 | 2021 | +2.0% |
| 24 | Pakistan | 7,791 | 2019 | 0.0%2011 to 2019 |
| 25 | Turkmenistan | 7,680 | 2018 | +146.5%2011 to 2018 |
| 26 | Finland | 5,918 | 2021 | -0.4% |
| 27 | Indonesia | 5,483 | 2019 | +13.6%2011 to 2019 |
| 28 | Belarus | 5,474 | 2021 | -0.1% |
| 29 | Egypt | 5,153 | 2016 | n/a |
| 30 | Cuba | 5,076 | 2007 | n/a |
| 31 | Austria | 4,962 | 2021 | +0.9% |
| 32 | Uzbekistan | 4,732 | 2021 | +11.1% |
| 33 | South Korea | 4,309 | 2021 | +18.5% |
| 34 | Switzerland | 4,122 | 2021 | +16.1% |
| 35 | Thailand | 4,092 | 2017 | -8.2%2011 to 2017 |
| 36 | Bulgaria | 4,031 | 2021 | -1.0% |
| 37 | Algeria | 4,001 | 2021 | -5.3% |
| 38 | Norway | 3,885 | 2021 | -6.5% |
| 39 | DR Congo | 3,641 | 2021 | 0.0% |
| 40 | Slovakia | 3,626 | 2021 | +0.1% |
| 41 | Belgium | 3,612 | 2021 | n/a |
| 42 | Nigeria | 3,528 | 2015 | 0.0%2011 to 2015 |
| 43 | Serbia | 3,348 | 2021 | -12.1% |
| 44 | Vietnam | 3,159 | 2021 | +34.6% |
| 45 | Zimbabwe | 3,120 | 2020 | n/a |
| 46 | Mozambique | 3,116 | 2011 | 0.0%2011 to 2011 |
| 47 | Netherlands | 3,041 | 2021 | n/a |
| 48 | Saudi Arabia | 2,939 | 2018 | n/a |
| 49 | Bangladesh | 2,877 | 2019 | +3.1%2011 to 2019 |
| 50 | Sudan | 2,747 | 2020 | -36.3%2011 to 2020 |
| 51 | Tanzania | 2,701 | 2017 | -0.2%2011 to 2017 |
| 52 | Croatia | 2,617 | 2021 | -3.9% |
| 53 | Portugal | 2,527 | 2021 | -9.6% |
| 54 | Chile | 2,396 | 2021 | n/a |
| 55 | Iraq | 2,370 | 2014 | n/a |
| 56 | Greece | 2,339 | 2021 | -8.4% |
| 57 | Morocco | 2,295 | 2021 | +8.8% |
| 58 | Syria | 2,139 | 2010 | n/a |
| 58 | Azerbaijan | 2,139 | 2021 | +2.9% |
| 60 | Denmark | 2,131 | 2009 | n/a |
| 61 | Lithuania | 1,919 | 2021 | +8.6% |
| 62 | Kenya | 1,917 | 2004 | n/a |
| 63 | Latvia | 1,859 | 2021 | -0.3% |
| 64 | Mongolia | 1,821 | 2021 | +0.3% |
| 65 | Tunisia | 1,777 | 2021 | n/a |
| 66 | Israel | 1,720 | 2021 | +59.4% |
| 67 | Malaysia | 1,655 | 2021 | -26.5% |
| 68 | Ireland | 1,650 | 2021 | -14.0% |
| 69 | Sri Lanka | 1,562 | 2019 | +36.0%2011 to 2019 |
| 70 | Uruguay | 1,498 | 2021 | n/a |
| 71 | Georgia | 1,387 | 2021 | +9.9% |
| 72 | Zambia | 1,248 | 2019 | n/a |
| 73 | Slovenia | 1,209 | 2021 | -0.0% |
| 74 | Moldova | 1,149 | 2021 | -0.7% |
| 75 | Estonia | 1,033 | 2017 | +30.4%2011 to 2017 |
| 76 | Bosnia and Herzegovina | 1,018 | 2019 | -0.9%2011 to 2019 |
| 77 | Ecuador | 956 | 2000 | n/a |
| 78 | Ghana | 953 | 2006 | n/a |
| 79 | Senegal | 906 | 2004 | n/a |
| 80 | Republic of the Congo | 893 | 2012 | n/a |
| 81 | Botswana | 886 | 2021 | n/a |
| 82 | Guatemala | 885 | 2004 | n/a |
| 83 | Cameroon | 884 | 2021 | -9.5% |
| 84 | Costa Rica | 848 | 2001 | n/a |
| 85 | Malawi | 797 | 2007 | n/a |
| 86 | Djibouti | 781 | 2003 | n/a |
| 87 | Benin | 758 | 2006 | n/a |
| 88 | Ethiopia | 754 | 2018 | n/a |
| 89 | Mali | 733 | 2002 | n/a |
| 90 | Mauritania | 728 | 2021 | n/a |
| 91 | Armenia | 698 | 2021 | n/a |
| 92 | North Macedonia | 683 | 2021 | -2.3% |
| 93 | Madagascar | 673 | 2021 | 0.0% |
| 94 | Cambodia | 650 | 2004 | n/a |
| 95 | Gabon | 648 | 2021 | -20.0% |
| 96 | Côte d'Ivoire | 639 | 2021 | 0.0% |
| 97 | Tajikistan | 620 | 2021 | -0.1% |
| 98 | El Salvador | 547 | 2003 | n/a |
| 99 | Burkina Faso | 518 | 2021 | n/a |
| 100 | Philippines | 509 | 2016 | n/a |
| 101 | Panama | 485 | 2000 | n/a |
| 102 | Paraguay | 441 | 2000 | n/a |
| 103 | Albania | 423 | 2009 | n/a |
| 104 | Kyrgyzstan | 417 | 2021 | -0.0% |
| 105 | Lebanon | 401 | 2002 | n/a |
| 106 | Venezuela | 336 | 2006 | n/a |
| 107 | Eswatini | 300 | 2011 | 0.0%2011 to 2011 |
| 108 | United Arab Emirates | 279 | 2021 | n/a |
| 109 | Luxembourg | 271 | 2021 | -1.5% |
| 110 | Uganda | 259 | 2002 | n/a |
| 111 | Montenegro | 250 | 2019 | +4.5%2011 to 2019 |
| 112 | Hong Kong | 230 | 2021 | n/a |
Each figure is the latest available for that country, so rows can refer to different years; compare years before comparing values. n/a means the source has no figure for that country in that column. Values are rounded for display; the CSV download has full precision.
106 countries and territories have no figure
Afghanistan, American Samoa, Andorra, Angola, Antigua and Barbuda, Aruba, Australia, Bahamas, Bahrain, Barbados, Belize, Bermuda, Bhutan, Bolivia, British Virgin Islands, Brunei, Burundi, Cabo Verde, Cayman Islands, Central African Republic, Chad, Channel Islands, Colombia, Comoros, Curaçao, Cyprus, Dominica, Dominican Republic, Equatorial Guinea, Eritrea, Faroe Islands, Fiji, French Polynesia, Gibraltar, Greenland, Grenada, Guam, Guinea, Guinea-Bissau, Guyana, Haiti, Honduras, Iceland, Isle of Man, Jamaica, Jordan, Kiribati, Kosovo, Kuwait, Laos, Lesotho, Liberia, Libya, Liechtenstein, Macao, Maldives, Malta, Marshall Islands, Mauritius, Mexico, Micronesia, Monaco, Myanmar, Namibia, Nauru, Nepal, New Caledonia, New Zealand, Nicaragua, Niger, North Korea, Northern Mariana Islands, Oman, Palau, Papua New Guinea, Peru, Puerto Rico, Qatar, Rwanda, Saint Martin, Samoa, San Marino, Sao Tome and Principe, Seychelles, Sierra Leone, Singapore, Sint Maarten, Solomon Islands, Somalia, South Sudan, St. Kitts and Nevis, St. Lucia, St. Vincent and the Grenadines, Suriname, Taiwan, The Gambia, Timor-Leste, Togo, Tonga, Trinidad and Tobago, Turks and Caicos Islands, Tuvalu, U.S. Virgin Islands, Vanuatu, West Bank and Gaza, Yemen.
Embed this map
<a href="https://statisticsoftheworld.com/ranking/rail-network-length"><img src="https://statisticsoftheworld.com/maps/IS.RRS.TOTL.KM.svg" width="960" height="500" alt="World map of length of rail lines (km), latest available, 2000 to 2021. Source: World Bank World Development Indicators."></a>
<p>Source: World Bank World Development Indicators. Map: <a href="https://statisticsoftheworld.com/ranking/rail-network-length">Statistics of the World</a></p>Then and now
| # | 2000 | 2011 | 2021 |
|---|---|---|---|
| 1 | United States (194,077) | United States (194,136) | United States (148,553) |
| 2 | Russia (86,075) | Russia (85,166) | China (109,767) |
| 3 | India (62,759) | China (72,487) | Russia (85,544) |
| 4 | China (58,656) | India (64,460) | India (68,103) |
| 5 | Germany (36,642) | Germany (33,576) | Canada (48,150) |
| 6 | France (29,330) | France (30,071) | Germany (33,401) |
| 7 | Poland (22,560) | Ukraine (21,665) | Brazil (32,622, 2007) |
| 8 | Ukraine (22,302) | Japan (20,087) | France (27,716) |
| 9 | United Kingdom (16,992) | Poland (19,725) | Ukraine (21,626, 2020) |
| 10 | Italy (16,295) | Italy (16,726) | South Africa (20,953) |
Israel rose the most since 2011, +59.4%, among the 52 countries with figures for both 2011 and 2021. Malaysia fell the most, -26.5%.
Rose the most since 2011
- Israel: +59.4%
- China: +51.4%
- Vietnam: +34.6%
- South Korea: +18.5%
- Switzerland: +16.1%
Fell the most since 2011
- Malaysia: -26.5%
- United States: -23.5%
- Gabon: -20.0%
- Ireland: -14.0%
- Serbia: -12.1%
From the change column: countries whose latest figure is for 2021 and that have a 2011 figure.
By region
| Region | Countries | Highest | Lowest | Median, each country counted once | Sum of same-year figures |
|---|---|---|---|---|---|
| East Asia & Pacific | 11 | China (109,767) | Hong Kong (230) | 3,159 | 120,941 (6 countries, 2021) |
| Europe & Central Asia | 46 | Russia (85,544) | Montenegro (250, 2019) | 3,619 | 347,393 (39 countries, 2021) |
| Latin America & Caribbean | 12 | Brazil (32,622, 2007) | Venezuela (336, 2006) | 921 | 3,894 (2 countries, 2021) |
| Middle East, North Africa, Afghanistan & Pakistan | 13 | Iran (9,455) | United Arab Emirates (279) | 2,295 | 19,527 (6 countries, 2021) |
| North America | 2 | United States (148,553) | Canada (48,150) | 98,352 | 196,703 (2 countries, 2021) |
| South Asia | 3 | India (68,103) | Sri Lanka (1,562, 2019) | 2,877 | 68,103 (1 country, 2021) |
| Sub-Saharan Africa | 25 | South Africa (20,953) | Uganda (259, 2002) | 886 | 29,570 (9 countries, 2021) |
A regional sum adds the countries with 2021 figures; it is not an official regional figure.
Where major economies rank
- United States: 148,553 in 2021, rank 1 of 112.
- China: 109,767 in 2021, rank 2 of 112.
- India: 68,103 in 2021, rank 4 of 112.
- Japan: 20,087 in 2011, rank 11 of 112.
- Germany: 33,401 in 2021, rank 6 of 112.
- United Kingdom: 16,179 in 2021, rank 15 of 112.
- France: 27,716 in 2021, rank 8 of 112.
- Brazil: 32,622 in 2007, rank 7 of 112.
- Canada: 48,150 in 2021, rank 5 of 112.
- Nigeria: 3,528 in 2015, rank 42 of 112.
About these figures
Definition. The total length of rail line in the country operated for passenger transport, goods transport, or both. (The publisher's definition of “Rail lines (total route-km)”, copied from the World Bank (World Development Indicators) on 2026-09-07.)
Unit. route-kilometers
Coverage. 112 of 218 countries and territories have a figure. Each country shows its latest available year, from 2000 to 2021. The most common is 2021 (65 of 112 countries).
The median and any other summary on this page count each country once, so they are not world averages. Values are rounded for display; the CSV download has full precision.
The publisher revises past years when it updates the series, so a figure here can change after it first appears.
Questions about these figures
Which country has the highest length of rail lines (km)?
The United States has the highest length of rail lines (km): 148,553 in 2021. The figures come from the World Bank World Development Indicators.
Which country has the lowest length of rail lines (km)?
Hong Kong has the lowest length of rail lines (km): 230 in 2021.
How many countries are ranked, and for which years?
112 countries and territories have a figure in this ranking. Each country shows its latest available year, from 2000 to 2021. The most common is 2021 (65 of 112 countries).
What is the median length of rail lines (km) across countries?
The median is 2,317: half of the 112 countries are above it and half below. The most common year of the figures is 2021. It counts each country once, so it is not a world average.
How much of the combined total do the largest countries account for?
Among the 65 countries with 2021 figures, the ten largest account for 73.5% of their combined total.
Which country's length of rail lines (km) changed the most since 2011?
Among the 52 countries with figures for both 2011 and 2021, Israel changed the most: +59.4% since 2011, to 1,720 in 2021.
Where does the United States rank on length of rail lines (km)?
The United States ranks 1 of 112, at 148,553 in 2021.
Which country has the highest length of rail lines (km) in each region?
East Asia & Pacific: China (109,767); Europe & Central Asia: Russia (85,544); Latin America & Caribbean: Brazil (32,622, 2007); Middle East, North Africa, Afghanistan & Pakistan: Iran (9,455); North America: the United States (148,553); South Asia: India (68,103); Sub-Saharan Africa: South Africa (20,953). Figures are for 2021 unless another year is shown. Regions follow the World Bank's groups.
Use and cite this data
- The download button above saves this table's rows as CSV, filtered and in the order shown. The API also serves this indicator as CSV: statisticsoftheworld.com/api/v1/rankings/IS.RRS.TOTL.KM?format=csv. It lists the stored latest figures highest first under the publisher's country names and can include the World aggregate, so its rows and ranks can differ from this table.
- Licence: CC BY 4.0. Attribution is required; dataset-specific notices and third-party restrictions still apply. Source terms.
- The map above can be embedded: open "Embed this map" under it for code that links back to this page.
- Each country has its own row link, such as https://statisticsoftheworld.com/ranking/rail-network-length#USA.
- Spotted an error? Report a data correction. How to cite: citation guide.
Statistics of the World. Rail Network Length (km) by Country: 2021 Rankings. Data: World Bank World Development Indicators, figures for 2000 to 2021. https://statisticsoftheworld.com/ranking/rail-network-length
Use this data programmatically
Fetch the same 112-country ranking as JSON or CSV: fresh on every request, drop-in for dashboards, scripts, and notebooks. 1,000 free requests/day, no signup needed; sign up for usage tracking and 50,000/day on Pro.
curl 'https://statisticsoftheworld.com/api/v1/rankings/IS.RRS.TOTL.KM?format=csv' \ -o rail-network-length.csv