Skip to content

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

Rail lines in Spain

Rail lines in Spain was 15,963 (km) in 2021. That is up from 15,681 in 2011 (1.8%). The earliest observation is 13,856 in 1995. In 2020, it ranked 14 of 66 countries with data (rank 1 = highest value).

Latest value
15,963
km · 2021
5-year change
+313
2016 to 2021, +2%
10-year change
+282.4
2011 to 2021, +1.8%
World rank
14
of 66 countries in 2020

History

Source: Railisa Database, International Union of Railways (UIC) (IS.RRS.TOTL.KM)trackingzoo.com

Lines break where years are missing; nothing is interpolated. Regional and world lines are the provider's own weighted aggregates.

Ranking in 2020

Rank 1 is the highest value. Higher is not necessarily better for this measure.
RankCountrykm
1United States148,750
2China106,235
3Russia85,555
4India67,956
5Canada48,309
…
11Italy17,256
12United Kingdom16,351
13Kazakhstan16,063
14Spain15,848
15Romania10,769
16Türkiye10,378
17Sweden9,711

Full ranking

Similar countries

Same region and income group, latest available year for each (years can differ).

CountryValueYear
Austria4,9622021
Belgium3,6122021
Bulgaria4,0312021
Croatia2,6172021
Czechia9,3572021
Denmark2,1312009
Estonia1,0332017
Finland5,9182021

All observations

YearkmStatus
202115,963reported
202015,848reported
201915,718reported
201815,618reported
201715,559reported
201615,650reported
201515,711reported
201415,506reported
201315,582reported
201215,438reported
201115,680.563reported
201015,590.12reported
200915,044reported
200815,041reported
200715,011.52reported
200614,472reported
200514,272reported
200414,395reported
200314,387reported
200213,856reported
200113,868reported
200013,868reported
199913,875reported
199813,862reported
199713,853reported
199613,837reported
199513,856reported

27 observations from 1995 to 2021.

Definition and source

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 in Spain", https://trackingzoo.com/countries/spain/rail-lines.

Rail lines for every country