The United States of America is the top country by length of rail lines in the world. As of 2021, length of rail lines in the United States of America was 148,553.3 km that accounts for 18.90% of the world's length of rail lines. The top 5 countries (others are China, Russian Federation, India, and Canada) account for 58.53% of it. The world's total length of rail lines was estimated at 786,129.6 km in 2021.

The description is composed by our digital data assistant.

Rail lines are the length of railway route available for train service, irrespective of the number of parallel tracks.

Total route rail lines (km)

20002005201020112012201320142015201620172018201920202021
Cambodia601.0
China58,656.062,200.066,239.072,487.085,843.079,306.085,320.089,966.091,675.093,742.096,353.0102,462.0106,235.0109,767.0
Hong Kong SAR, China113.0230.1
Indonesia4,684.04,828.04,861.05,107.05,196.05,357.05,384.04,748.75,483.35,483.0
Japan20,140.320,087.4
Korea, Rep.3,123.03,392.03,618.33,637.23,650.13,666.13,668.33,944.04,071.04,071.04,200.04,109.24,284.74,308.5
Malaysia1,636.01,667.02,209.72,250.32,773.01,655.01,655.01,655.01,655.0
Mongolia1,810.01,810.01,814.01,815.01,810.01,810.01,822.51,810.01,810.01,810.01,810.01,814.01,821.01,821.0
Philippines509.0509.0
Thailand4,044.04,458.04,458.03,742.03,742.04,092.0
Vietnam3,142.03,147.02,576.62,347.02,347.02,347.03,186.03,186.02,581.02,367.02,382.02,481.03,159.03,159.0
Albania440.0423.0
Armenia843.0826.1703.2703.2679.4685.7698.4698.4698.4698.4
Austria5,665.05,782.05,351.04,917.04,985.04,950.04,956.04,937.04,917.04,953.04,955.04,968.04,966.04,962.0
Azerbaijan2,116.02,122.02,079.12,079.32,068.12,068.12,066.42,067.82,074.02,132.02,133.12,139.92,239.22,138.9
Belarus5,512.05,498.05,482.05,482.05,462.05,469.05,470.05,470.05,459.05,459.05,459.05,459.25,453.55,474.0
Belgium3,471.03,544.03,582.03,592.03,631.03,607.03,602.03,605.03,607.03,615.03,615.03,612.0
Bosnia and Herzegovina943.01,000.01,027.11,027.11,027.11,027.11,027.11,027.11,018.1417.01,018.11,018.1
Bulgaria4,320.04,154.04,097.04,072.04,070.04,032.04,023.04,019.04,029.04,030.04,030.04,030.04,029.04,031.0
Croatia2,726.02,726.02,722.02,722.02,723.02,722.02,604.02,604.02,605.02,605.02,605.02,617.02,617.02,617.0
Czechia9,365.09,513.09,468.89,470.29,468.39,459.09,457.69,466.99,462.79,408.09,406.09,396.09,377.09,357.0
Denmark2,047.02,134.0
Estonia968.0959.0787.0792.0792.01,018.01,034.01,034.01,033.0
Finland5,854.05,732.05,919.05,944.05,944.05,944.05,944.05,923.05,926.05,926.05,926.05,923.05,918.05,918.0
France29,330.028,470.029,929.030,071.029,406.029,979.028,866.029,236.729,248.128,241.028,157.027,872.027,716.0
Georgia1,562.01,336.01,566.41,262.21,577.61,453.41,453.41,491.01,415.01,285.01,285.01,378.01,411.01,387.0
Germany36,642.034,228.233,714.133,575.933,506.033,449.033,426.033,332.033,380.033,488.033,440.033,423.033,399.033,401.0
Greece2,385.02,576.02,552.02,554.02,208.02,265.02,238.02,240.02,240.02,240.02,293.02,280.02,345.02,339.0
Hungary8,005.07,950.07,902.77,877.97,894.87,894.87,894.87,896.07,748.77,751.77,587.77,587.77,587.78,037.0
Ireland1,919.01,919.01,919.01,919.01,919.01,894.01,458.01,458.02,174.01,888.01,888.01,888.01,888.01,650.0
Italy16,295.016,751.016,703.716,726.416,741.616,751.616,722.616,723.816,788.316,787.216,780.816,778.617,255.617,305.2
Kazakhstan13,545.014,204.014,184.114,319.414,758.914,767.114,767.114,767.115,529.016,040.316,060.816,060.816,063.016,005.6
Kyrgyz Republic417.0417.0417.2417.2417.2417.0424.0424.0424.0424.0424.0424.0424.0417.0
Latvia2,331.02,270.01,897.01,865.01,864.01,859.01,859.01,859.61,859.61,859.61,859.61,859.61,859.11,859.1
Lithuania1,905.01,771.01,767.01,767.01,767.01,767.01,767.01,877.01,911.01,911.01,911.01,911.01,911.01,919.0
Luxembourg274.0275.0275.0275.0275.0275.0275.0275.0275.0275.0288.0288.0271.0271.0
North Macedonia699.0699.0699.0699.0699.0699.0699.0683.0683.0683.0683.0683.0683.0683.0
Moldova1,139.01,075.01,156.91,156.91,156.91,156.91,156.01,151.01,151.01,151.01,151.01,151.01,151.01,149.0
Montenegro248.0249.0239.2239.2249.0249.0249.0249.0249.0249.0250.0
Netherlands2,802.02,813.03,016.03,078.03,078.03,078.03,041.0
Norway4,179.04,087.04,154.04,219.04,209.04,209.04,208.04,200.03,885.03,885.0
Poland22,560.019,599.019,702.019,725.019,617.018,959.018,942.018,510.018,429.018,513.018,536.018,538.018,611.018,620.0
Portugal2,814.02,839.02,842.02,794.02,541.32,544.32,546.02,546.02,546.02,546.02,546.02,526.12,526.12,527.1
Romania11,364.010,781.010,777.010,777.010,777.010,768.010,770.010,770.010,766.010,766.010,765.010,759.010,769.010,769.0
Russian Federation86,075.085,542.085,292.085,166.085,248.085,266.084,581.085,262.085,375.085,545.085,626.085,494.085,555.085,544.0
Serbia3,809.03,809.03,809.03,809.03,809.03,809.03,809.03,809.03,736.03,736.03,724.53,724.53,333.43,348.1
Slovak Republic3,662.03,626.03,622.43,624.13,631.43,631.33,627.13,626.43,626.33,626.43,626.63,629.23,626.93,626.5
Slovenia1,201.01,228.01,228.11,209.11,209.11,209.11,209.11,209.01,209.01,209.11,209.01,209.01,209.01,209.0
Spain13,868.014,272.015,590.115,680.615,438.015,582.015,506.015,711.015,650.015,559.015,618.015,718.015,848.015,963.0
Sweden10,698.09,867.09,968.010,014.09,944.09,765.09,689.09,716.09,684.09,684.09,708.09,701.09,711.09,714.0
Switzerland3,216.03,399.03,573.63,551.23,557.83,611.04,018.73,976.34,034.54,050.54,046.83,647.23,671.84,122.3
Tajikistan533.0617.0620.7620.7608.0587.0597.0597.0620.0620.0620.0620.0662.0620.0
Turkiye8,671.08,697.09,594.09,642.09,642.09,718.010,087.010,131.010,131.010,207.010,315.010,378.010,378.010,546.0
Turkmenistan2,521.02,529.03,115.03,115.03,115.03,115.03,115.06,230.06,230.07,680.07,680.0
Ukraine22,302.022,001.021,705.021,665.421,642.521,625.921,625.920,975.221,603.021,625.921,625.921,625.921,625.9
United Kingdom16,992.015,888.016,209.615,846.515,861.016,532.116,245.116,257.016,294.016,295.016,295.016,351.016,178.6
Uzbekistan3,645.04,014.04,227.24,258.44,192.04,186.04,202.04,238.04,304.04,642.04,642.04,735.04,732.04,732.0
Argentina3,150.018,097.018,097.017,609.017,609.017,866.017,866.0
Chile2,035.02,120.02,057.02,396.02,396.02,396.02,396.0
Costa Rica581.0
Cuba4,252.04,065.0
Ecuador956.0
El Salvador547.0
Guatemala903.0
Panama485.0
Paraguay441.0
Uruguay2,993.02,993.01,498.01,498.01,498.01,498.01,498.01,498.01,498.01,498.0
Venezuela, RB336.0336.0
Algeria3,973.03,572.03,664.04,226.04,175.03,799.93,799.93,843.24,016.34,016.34,020.34,000.5
Djibouti781.0
Egypt, Arab Rep.5,062.05,195.05,195.05,153.05,153.0
Iran, Islamic Rep.6,042.07,131.08,216.58,367.58,368.08,592.58,559.58,559.58,576.09,021.09,327.09,454.09,453.89,455.0
Iraq2,603.01,898.02,138.02,370.0
Israel669.0910.01,034.01,078.91,142.51,153.01,194.01,277.01,340.11,495.01,521.01,598.91,619.01,720.0
Morocco1,907.01,907.02,109.02,109.02,109.02,109.02,109.02,109.02,109.02,109.02,295.02,295.02,295.02,295.0
Saudi Arabia958.01,020.01,412.02,620.02,939.0
Syrian Arab Republic1,771.02,043.02,139.0
Tunisia2,152.01,956.02,165.01,867.02,244.02,244.02,244.02,165.01,777.01,777.01,777.01,777.0
United Arab Emirates279.0261.0261.0279.0
Canada46,968.645,581.648,498.448,150.447,687.447,987.548,309.248,149.9
United States194,077.0194,025.0194,431.0194,136.0153,516.6154,321.5152,932.6151,735.0151,270.0150,966.0150,462.3149,488.6148,749.7148,553.3
Bangladesh2,745.02,855.02,835.02,791.02,877.02,877.02,791.02,877.02,877.02,877.02,877.02,877.0
India62,759.063,485.063,974.064,460.064,600.065,436.065,808.066,030.066,687.067,368.069,249.067,414.167,955.668,102.7
Pakistan7,791.07,791.07,791.07,791.07,791.07,791.07,784.07,791.07,791.07,791.07,791.07,791.0
Sri Lanka1,148.31,148.11,254.21,567.01,561.71,562.01,562.01,562.0
Botswana886.0886.0886.0886.0886.0886.0886.0
Burkina Faso622.0622.0518.0518.0518.0518.0518.0518.0518.0518.0518.0
Cameroon1,016.0982.0976.5976.51,004.0884.0884.0884.0884.0884.0
Congo, Rep.900.0795.0893.2
Cote d'Ivoire639.0639.0639.0639.0639.0639.0639.0639.0639.0639.0639.0639.0639.0639.0
Congo, Dem. Rep.3,641.03,641.03,641.03,641.03,641.03,641.03,641.03,641.03,641.03,641.03,641.03,641.03,641.03,641.0
Ethiopia754.0754.0754.0
Gabon731.0810.0810.0810.0810.0810.0810.0810.0810.0810.0810.0648.0648.0648.0
Ghana953.0
Kenya2,634.0
Madagascar883.0673.0673.0673.0673.0673.0673.0673.0673.0673.0673.0
Mali734.0
Mauritania728.0728.0728.0728.0728.0728.0728.0
Mozambique3,114.03,070.03,116.03,116.0
Nigeria3,557.03,528.03,528.03,528.03,528.03,528.03,528.03,528.0
Senegal906.0
South Africa20,953.020,953.020,953.020,953.020,953.020,953.020,953.0
Sudan4,599.04,578.04,708.04,313.04,313.04,313.04,313.02,747.02,747.02,747.0
Eswatini300.0300.0300.0
Tanzania4,582.02,707.02,701.0
Uganda259.0
Zambia1,248.01,248.01,248.0
Zimbabwe3,120.03,120.03,120.0