Rail lines are the length of railway route available for train service, irrespective of the number of parallel tracks.
| 2000 | 2005 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Portugal | 2,814.0 | 2,839.0 | 2,842.0 | 2,794.0 | 2,541.3 | 2,544.3 | 2,546.0 | 2,546.0 | 2,546.0 | 2,546.0 | 2,546.0 | 2,526.1 | 2,526.1 | 2,527.1 |
| Spain | 13,868.0 | 14,272.0 | 15,590.1 | 15,680.6 | 15,438.0 | 15,582.0 | 15,506.0 | 15,711.0 | 15,650.0 | 15,559.0 | 15,618.0 | 15,718.0 | 15,848.0 | 15,963.0 |
| Chile | 2,035.0 | 2,120.0 | 2,057.0 | 2,396.0 | 2,396.0 | 2,396.0 | 2,396.0 | |||||||
| Argentina | 3,150.0 | 18,097.0 | 18,097.0 | 17,609.0 | 17,609.0 | 17,866.0 | 17,866.0 | |||||||
| Uruguay | 2,993.0 | 2,993.0 | 1,498.0 | 1,498.0 | 1,498.0 | 1,498.0 | 1,498.0 | 1,498.0 | 1,498.0 | 1,498.0 | ||||
| Costa Rica | 581.0 | |||||||||||||
| Cuba | 4,252.0 | 4,065.0 | ||||||||||||
| Venezuela (Bolivarian Republic of) | 336.0 | 336.0 | ||||||||||||
| Guatemala | 903.0 | |||||||||||||
| Ecuador | 956.0 | |||||||||||||
| El Salvador | 547.0 | |||||||||||||
| Panama | 485.0 | |||||||||||||
| Paraguay | 441.0 |