# Rail lines (total route-km) — Spain
> Latest: 15,963 (2021). Change: +0.7% vs 2020.
- Frequency: Annual · Coverage: 1995–2021
- Data updated: 2026-10-08
- Source: World Bank — IS.RRS.TOTL.KM — https://data.worldbank.org/indicator/IS.RRS.TOTL.KM
- License: CC BY 4.0
- Interactive chart: https://econdash.org/chart/wdi-is-rrs-totl-km/ESP
## Recent values
| Year | Value |
| :--- | :--- |
| 2017 | 15.56K |
| 2018 | 15.62K |
| 2019 | 15.72K |
| 2020 | 15.85K |
| 2021 | 15.96K |
## How to cite
APA: World Bank. (2021). Rail lines (total route-km) — Spain [Data set]. Retrieved November 13, 2026, from EconDash: https://econdash.org/chart/wdi-is-rrs-totl-km/ESP. Original source: https://data.worldbank.org/indicator/IS.RRS.TOTL.KM
## Full data
Full time series: https://econdash.org/docs/agent-payments (free API trial for core indicators of 10 major economies; otherwise an API key or pay per call)
