Spain—Rail Lines (total km)
Category: InfrastructureSource: World Bank World Development Indicators ↗Global Rank: #17 of 112Updated April 2026
Latest Value
15,963
2021
YoY Change
+0.7%
2020 → 2021
Global Rank
#17
of 112 countries
Maximum
15,963
2021
Minimum
13,856
2002
CAGR
+0.7%
22 years
Last
15,963
Previous
15,848
Highest
15,963
Lowest
13,856
Source
World Bank World Development Indicators
Spain's rail lines (total km) was 15,963 in 2021, ranking #17 out of 112 countries. This represents a +0.7% change from 2020. Over the past 22 years, the highest recorded value was 15,963 (2021) and the lowest was 13,856 (2002). Data sourced from the World Bank World Development Indicators.
Source: World Bank World Development Indicators
Historical Data
| Year | Value | Change |
|---|---|---|
| 2021 | 15,963 | +0.7% |
| 2020 | 15,848 | +0.8% |
| 2019 | 15,718 | +0.6% |
| 2018 | 15,618 | +0.4% |
| 2017 | 15,559 | -0.6% |
| 2016 | 15,650 | -0.4% |
| 2015 | 15,711 | +1.3% |
| 2014 | 15,506 | -0.5% |
| 2013 | 15,582 | +0.9% |
| 2012 | 15,438 | -1.5% |
| 2011 | 15,681 | +0.6% |
| 2010 | 15,590 | +3.6% |
| 2009 | 15,044 | +0.0% |
| 2008 | 15,041 | +0.2% |
| 2007 | 15,012 | +3.7% |
| 2006 | 14,472 | +1.4% |
| 2005 | 14,272 | -0.9% |
| 2004 | 14,395 | +0.1% |
| 2003 | 14,387 | +3.8% |
| 2002 | 13,856 | -0.1% |
| 2001 | 13,868 | +0.0% |
| 2000 | 13,868 |
Top Countries — Rail Lines (total km)
| # | Country | Value | Year |
|---|---|---|---|
| 1 | United States | 148,553 | 2021 |
| 2 | China | 109,767 | 2021 |
| 3 | Russian Federation | 85,544 | 2021 |
| 4 | India | 68,103 | 2021 |
| 5 | Canada | 48,150 | 2021 |
| 6 | Germany | 33,401 | 2021 |
| 7 | Brazil | 32,622 | 2007 |
| 8 | France | 27,716 | 2021 |
| 9 | Ukraine | 21,626 | 2020 |
| 10 | South Africa | 20,953 | 2021 |
About This Indicator
Definition
Rail Lines (total km) — World Bank World Development Indicators.
Methodology
Data compiled by Railisa Database, International Union of Railways (UIC), uri: https://uic-stats.uic.org/.