World Train Map

Train routes in Spain

67 routes · high-speed 21 · classic 24 · scenic 10 · heritage 4 · mountain 5 · luxury 3

67 routes cross Spain in the World Train Map atlas. The longest is the Alvia Vigo–Barcelona at 1,371 km; the fastest is the TGV inOui, running up to 320 km/h; the oldest line dates to 1851. Every route links to its facts, photo and story, and to the interactive world map.

Open the world railway map →

Part of the Europe train map: every route on the continent, one map.

High-speed (21)

  • AVE

    Madrid → Barcelona · 621 km · 2 h 30 min

    Renfe · S-103 Velaro E

    Scheduled at 300 km/h, this line flipped one of the world’s busiest air routes to rail.

    Wikipedia ↗
  • AVE

    Madrid → Seville · 471 km · 2 h 20 min

    Renfe · S-100 (Alstom)

    Spain’s first AVE, built for Expo ’92 in standard gauge, the line that reset Spanish railways.

    Wikipedia ↗
  • AVE

    Madrid → Valencia · 391 km · 1 h 40 min

    Renfe · Ouigo · iryo · S-112 “Pato”

    Madrid to the Mediterranean paella coast in 100 minutes aboard the duck-nosed “Pato”.

    Wikipedia ↗
  • AVE

    Madrid → Málaga · 513 km · 2 h 20 min

    Renfe · iryo · S-102 Talgo 350

    Splits from the Seville line at Córdoba and dives through the Sierra to the Costa del Sol.

    Wikipedia ↗
  • Euromed

    Barcelona → Alicante · 543 km · ≈ 5 h 18 min

    Renfe · Talgo 250 (S-130)

    Talgo tilting sets swap the Madrid high-speed line for the classic Mediterranean corridor at Camp de Tarragona, then follow the coast and the Iberian-gauge line beyond Valencia to Alicante.

    Wikipedia ↗
  • Avant Málaga–Granada

    Málaga → Granada · 165 km · 1 h 23 min

    Renfe · Renfe Avant

    The Bobadilla branch of 1874 served Granada for a century and a half; its high speed replacement opened in 2019, but Málaga meant a change at Antequera until the Gobantes chord made it direct in 2022.

    Wikipedia ↗
  • AVE

    Madrid → Alicante · 480 km · 2 h 12 min

    Renfe · S-112 "Pato"

    Branches off the Madrid–Levante high-speed line to reach the Costa Blanca, opened in 2013 and worked by S-112 “Pato” trainsets.

  • AVE

    Madrid → Zaragoza · 307 km · 1 h 35 min

    Renfe · S-103 Velaro

    The first stretch of Spain’s Madrid–Barcelona line (2003), crossing the Guadalajara plateau and Ebro valley to Zaragoza in 75 minutes.

  • AVE

    Madrid → A Coruña · 646 km · 3 h 36 min

    Renfe · S-106 Avril · S-730 Alvia

    Leaps into Galicia through 30 tunnels, including the 8.6 km O Corno bore, then runs on down the Atlantic axis through Santiago de Compostela to the coast at A Coruña.

    Wikipedia (ES) ↗
  • AVE

    Madrid → Granada · 568 km · 3 h 5 min

    Renfe · S-112 "Pato"

    Opened in 2019, it branches off the Córdoba–Málaga line at Antequera to lift the AVE network into the foothills of the Sierra Nevada.

    Wikipedia ↗
  • AVE

    Barcelona → Málaga · 1,119 km · 6 h 57 min

    Renfe · S-112 "Pato"

    A single high-speed run tying the Mediterranean to the Costa del Sol, skirting Madrid to stitch two AVE corridors together.

    Wikipedia ↗
  • Avant Málaga–Sevilla

    Málaga → Seville · 290 km · ≈ 2 h 05 min

    Renfe · Renfe Avant S-104

    Andalusia’s own high-speed shuttle: Málaga to Seville via Córdoba’s mezquita city in two hours, on the S-104 sets built for exactly this.

    Wikipedia ↗
  • TGV inOui

    Paris → Barcelona · 1,073 km · 6 h 39 min

    SNCF Voyageurs · TGV Euroduplex

    Paris to Barcelona in 6 h 39 min, diving under the Pyrenees through the 8.3 km Perthus tunnel at the Spanish border.

    Wikipedia ↗
  • Alvia

    Madrid → Cádiz · 664 km · 4 h 25 min

    Renfe · Renfe S-130 gauge-changing Talgo

    Off the 1992 Madrid–Seville high-speed spine, a gauge-changing Talgo carries on through sherry country to the Atlantic at Cádiz.

    Wikipedia ↗
  • AVE Madrid–Oviedo

    Madrid → Oviedo · 480 km · 3 h

    Renfe · Renfe S-106 Avril

    The 2023 Variante de Pajares pierced the Cantabrian wall with a 25 km base tunnel, cutting Asturias’ link to Madrid to about three hours.

    Wikipedia ↗
  • Alvia Madrid–Badajoz

    Madrid → Badajoz · 440 km · 4 h

    Renfe · Renfe S-730 dual-mode Talgo

    High speed reached long-isolated Extremadura in 2022, passing the Roman city of Mérida to the Portuguese border at Badajoz.

    Wikipedia ↗
  • AVE Madrid–Murcia

    Madrid → Murcia · 529 km · 2 h 55 min

    Renfe · Renfe S-112 & S-106

    High speed reached the Segura in December 2022, running Madrid to Murcia via Cuenca and Albacete on a new elevated approach into the palm-country capital.

    Wikipedia ↗
  • Alvia

    Madrid → San Sebastián · 549 km · ≈ 5 h 50 min

    Renfe · Renfe S-730 gauge-changer

    Gauge-changing Alvias to the Basque coast: the 2022 Burgos high-speed line, Vitoria’s green ring and the belle-époque bay of La Concha at the end.

    Wikipedia ↗
  • Alvia

    Madrid → Santander · 440 km · ≈ 4 h

    Renfe · Renfe S-730 gauge-changer

    Off the high-speed line at Palencia and over the 1866 Reinosa pass, then a mountain descent to the Cantabrian Sea and Santander’s curved bay.

    Wikipedia ↗
  • Avant Eje Atlántico

    A Coruña → Vigo · 156 km · ≈ 1 h 20 min

    Renfe · Renfe Avant S-121

    Galicia’s rebuilt Atlantic spine: 250 km/h between the rías with Santiago de Compostela halfway. The north–south line Madrid’s radial map forgets.

    Wikipedia ↗
  • Avant Madrid–Toledo

    Madrid → Toledo · 75 km · ≈ 35 min

    Renfe · Renfe Avant S-104

    Thirty-three minutes off the Seville high-speed line to the city on the Tagus bend: El Greco’s Toledo as a Madrid day trip.

    Wikipedia ↗
9 of 21

Classic (24)

  • R13 Barcelona–Lleida

    Barcelona → Lleida · 172 km · 3 h 44 min

    Renfe · Renfe regional

    Barcelona to Lleida the slow way, three and three quarter hours down the coast to Vilanova and then inland by Valls and Montblanc, on the Valls to Vilanova line of 29 December 1881.

  • C-1 Gijon-Puente de los Fierros

    Gijon → Puente de los Fierros · 74 km · 1 h 21 min

    Renfe · Renfe Cercanias EMU

    Up the Caudal valley from the Asturian coast through Oviedo and Pola de Lena to Puente de los Fierros, where the line stops at the foot of the Pajares ramp and the climb to Leon begins.

  • MD León–Ponferrada

    León → Ponferrada · 128 km · 1 h 55 min

    Renfe · Renfe Media Distancia

    The Rampa de Brañuelas took more than a decade to build and helped bankrupt the company that began it. León to Ponferrada over the Montes de León in under two hours, through since 4 February 1882.

  • Alvia Vigo–Barcelona

    Vigo → Barcelona · 1,371 km · 14 h 08 min

    Renfe · Renfe Alvia

    Fourteen hours from the Atlantic to the Mediterranean, Vigo to Barcelona by Santiago, the Bierzo, León, Pamplona and Zaragoza. At 1,371 km it is the longest scheduled domestic run on this map.

  • Comboio Raiano

    Abrantes → Badajoz · 146 km · 2 h 16 min

    CP · CP Regional railcar

    The borderland train across the cork oaks of the Alentejo, Abrantes to Badajoz by way of Ponte de Sor, Crato and Elvas, on the link to Spain that opened in September 1863.

  • Alvia Madrid–Salamanca

    Madrid → Salamanca · 228 km · ≈ 1 h 45 min

    Renfe · Renfe Alvia S-730

    Over the Guadarrama by high-speed line, then across Castile to the golden sandstone of Salamanca in well under two hours.

    Wikipedia ↗
  • Celta

    Porto → Vigo · 180 km · ≈ 2 h 35 min

    CP · Renfe · IC Celta

    The only train across the Portugal–Spain border in the north: down the Minho, over the Valença bridge, into Galicia. Two countries, one ticket, 2 h 35.

    Wikipedia (PT) ↗
  • Zafra–Huelva railway

    Zafra → Huelva · 184 km · ≈ 3 h 18 min

    Renfe · Media Distancia

    Built in 1889 to carry Sierra de Aracena ore down to the quays at Huelva, and still crossing it past halts named for villages miles from the line: Jabugo, Almonaster, Valdelamusa.

    Wikipedia ↗
  • Manresa–Lleida railway

    Manresa → Lleida · 117 km · ≈ 1 h 59 min

    Renfe · Rodalies R12

    Inland Catalonia the slow way, over the Segarra plateau by Calaf and Cervera; the first trains ran into Lleida in 1860 while the coastal route through Valls took the traffic.

    Wikipedia (CA) ↗
  • Ciudad Real–Badajoz railway

    Ciudad Real → Badajoz · 334 km · ≈ 4 h 42 min

    Renfe · Regional Exprés

    338 km west across La Mancha and the Extremadura dehesa, from Ciudad Real to the Portuguese border city of Badajoz, on track opened in 1866.

    Wikipedia (ES) ↗
  • Linares Baeza–Almería railway

    Almería → Linares-Baeza · 234 km · ≈ 3 h 52 min

    Renfe · Media Distancia

    Iberian gauge from the Alcázar–Cádiz main line at Linares down through the Sierra to the Mediterranean at Almería, through the desert country the spaghetti Westerns made famous.

    Wikipedia ↗
  • Castejón–Alsasua railway

    Castejón de Ebro → Altsasu · 138 km · ≈ 2 h 08 min

    Renfe · Alvia

    Iberian-gauge track up the Ebro and over into Navarre, opened in 1865 and still the Madrid–Basque Country road through Altsasu.

  • Manzanares–Ciudad Real line

    Manzanares → Ciudad Real · 64 km · ≈ 57 min

    Renfe · Media Distancia

    Single Iberian-gauge track across La Mancha, opened in 1861 by the MZA company and electrified today as Adif's line 522.

    Wikipedia (ES) ↗
  • Valencia–Alicante line

    Valencia → Alicante · 179 km · ≈ 2 h 17 min

    Renfe · Euromed & Intercity

    The Iberian-gauge coastal alternative to the AVE: 1,668 mm single track through Xàtiva and Villena, still worked end to end by the Euromed.

  • Alicante–Murcia line

    Alicante → Murcia · 77 km · ≈ 54 min

    Renfe · Alvia & Regional

    Iberian gauge since 1884, threading the Elche palm groves and the Segura valley between two provincial capitals in under an hour.

    Wikipedia ↗
  • Sevilla–Huelva

    Seville → Huelva · 121 km · 1 h 30 min

    Renfe · Media Distancia · Intercity

    The 1880 MZA line west over the Guadalquivir plain and Condado vineyards to the Atlantic at Huelva, whose neo-Mudéjar terminus has stood empty since 2019 and lost its roof to a fire in 2022.

    Wikipedia (ES) ↗
  • Almería–Granada

    Almería → Granada · 176 km · ≈ 2 h 25 min

    Renfe · Media Distancia

    Across the high desert of the Hoya de Guadix: Almería’s palms to Granada by way of Moreda, through the badlands the spaghetti Westerns loved.

  • Jaén–Cádiz

    Jaén → Cádiz · 415 km · ≈ 5 h

    Renfe · Media Distancia

    One train across all Andalucía: olive country at Jaén, the Guadalquivir at Córdoba and Seville, sherry country at Jerez, and the Atlantic at Cádiz.

  • Jaén–Madrid

    Jaén → Madrid · 378 km · ≈ 4 h

    Renfe · Media Distancia

    The classic climb out of Andalucía: through the Despeñaperros gorge, the old gateway pass, then straight across La Mancha to Madrid.

  • Sevilla–Zafra

    Seville → Zafra · 172 km · ≈ 2 h 45 min

    Renfe · Media Distancia

    North out of Seville into the Sierra Morena: cork oaks and mining country by Cazalla and Llerena to the junction town of Zafra.

    Wikipedia ↗
  • R-1 Madrid–Ávila

    Madrid → Ávila · 130 km · 2 h 25 min

    Renfe · Renfe Media Distancia

    Out of Madrid past El Escorial and over the Guadarrama to Ávila and its complete medieval walls, on the main line to the French border built between 1860 and 1864.

  • Monforte de Lemos–A Coruña railway

    Monforte de Lemos → A Coruña · 184 km · 2 h 38 min

    Renfe · IR 12641

    For seventy years the only railway between Galicia and the meseta: Lugo to A Coruña opened on 10 October 1875, and the last stretch east of Monforte on 4 September 1883.

    Wikipedia ↗
  • Valladolid–Puebla de Sanabria railway

    Valladolid → Puebla de Sanabria · 238 km · 2 h 58 min

    Renfe · R 18322

    Thirty years of building, some of it by Republican prisoners at forced labour: the climb from Zamora to Puebla de Sanabria opened on 23 September 1952.

    Wikipedia ↗
  • Zaragoza–Barcelona by Caspe

    Zaragoza → Barcelona · 346 km · 6 h 3 min

    Renfe · R 17050

    MZA’s second way from Zaragoza to the sea, built to cut out Lleida: Reus to Móra opened in 1891, Caspe was reached in 1893, the line was complete in 1894 and carried its first trains in 1895.

    Wikipedia ↗
9 of 24

Scenic (10)

  • Tren dels Llacs

    Lleida → La Pobla de Segur · 89 km · 2 h 30 min

    FGC · Vintage “yeyé” railcar + coaches

    A heritage “train of the lakes” climbing beside the Noguera Pallaresa past reservoirs and tunnels to the Pyrenean foothills.

    Wikipedia ↗
  • Zaragoza–València (via Teruel)

    Zaragoza → Valencia · 355 km · ≈ 5 h 30 min

    Renfe · Renfe MD

    The emptiest main line in Spain: five hours via Teruel, a provincial capital with no direct Madrid train, through ochre gorges to the Mediterranean.

    Wikipedia (ES) ↗
  • El Canfranero

    Zaragoza → Canfranc · 224 km · ≈ 3 h 20 min

    Renfe · Renfe Media Distancia diesel railcar

    Reopened in June 2025 after two years of works, the line climbs to Europe’s grandest abandoned border station, shut since a 1970 bridge collapse.

    Wikipedia (ES) ↗
  • R11 Costa Brava Line

    Barcelona → Portbou · 172 km · 2 h 21 min

    Rodalies de Catalunya · Renfe Class 447/449 EMU

    Regional trains skirt Costa Brava cliffs near the French border before Portbou, terminus of the line completed in 1878.

    Wikipedia ↗
  • Mr Henderson’s Railway

    Algeciras → Antequera Santa Ana · 180 km · ≈ 3 h

    Renfe · Media Distancia · Alvia

    Up the Serranía de Ronda from Gibraltar bay: the British-built 1892 line that is Mr Henderson’s railway proper, Algeciras to the Bobadilla plain, ending today at Antequera Santa Ana’s high-speed interchange.

    Wikipedia ↗
  • Rodalies R3

    Barcelona → Latour-de-Carol · 160 km · ≈ 3 h 15 min

    Renfe · Rodalies EMU

    Climbs from Barcelona to 1,494 m at Toses, the roof of the Spanish network, to meet the Yellow Train across the platform at Latour-de-Carol.

    Wikipedia ↗
  • Media Distancia R-3f

    Bilbao → Santander · 119 km · 3 h

    Renfe · Renfe 2700-series metre-gauge DMU

    Three metre-gauge trains a day still thread all 119 km of the 1898 Santander–Bilbao railway, winding through green Basque and Cantabrian valleys.

    Wikipedia ↗
  • Media Distancia R-1f

    Ferrol → Oviedo · 314 km · 7 h 15 min

    Renfe · Renfe 2700-series metre-gauge DMU

    Europe’s longest narrow-gauge ride: two trains a day take seven hours to weave around Galicia’s rias and along the Asturian cliffs from Ferrol to Oviedo.

    Wikipedia (ES) ↗
  • Xàtiva–Alcoi railway

    Alcoi → Xàtiva · 63 km · ≈ 1 h 47 min

    Renfe · Regional

    Iberian-gauge single track opened in 1904, climbing 64 km of viaducts and tunnels from the Xàtiva plain into the mountains at Alcoi.

    Wikipedia (ES) ↗
  • Málaga–Sevilla

    Málaga → Seville · 220 km · 3 h 42 min

    Renfe · Media Distancia

    The slow way between Andalucía’s two great cities: up the Guadalhorce past El Chorro’s gorge, beneath the Caminito del Rey walkway, then across the campiña by Osuna and Marchena.

9 of 10

Heritage (4)

Mountain (5)

Luxury (3)

Photos via Wikimedia Commons; each route page credits the author & licence

What is the fastest train in Spain?

The TGV inOui, running Paris to Barcelona at up to 320 km/h. It is one of 67 routes in Spain in this atlas.

Are there night trains in Spain?

Not in this atlas. Spain has 67 routes here and none of them is a scheduled sleeper, though night trains from neighbouring countries may still reach it.

Can you cross the border by train from Spain?

Yes, 4 of its 67 routes continue into another country: Comboio Raiano (Abrantes – Badajoz), Celta (Porto – Vigo), TGV inOui (Paris – Barcelona), Rodalies R3 (Barcelona – Latour-de-Carol).

Which is the most scenic railway in Spain?

Spain has 15 scenic or mountain lines in this atlas. The longest is the Zaragoza–València (via Teruel), 355 km.

Cross-border lines continue into