There are 8 ways to get from Madrid to Linz by plane, train (Renfe, Ouigo, TGV), bus, car, train, or night train
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Fly to Linz Airport
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Linz Airport (LNZ)plane MAD - LNZ
8h 47m€166–346Fly to Vienna International Airport, train
cheapest- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Vienna International Airport (VIE)plane MAD - VIE
- Take the train from Flughafen Wien to Linz/Donau Hbftrain
7h 23m€83–291Train
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
- Take the train from Barcelona-Sants to Lyon Part Dieutrain
- Take the train from Lyon Part Dieu to Strasbourgtrain Tgv
- Take the train from Strasbourg to Stuttgart Hbftrain Ice / ...
- Take the train from Hauptbahnhof to Linz Hauptbahnhoftrain Drf
23h 3m€343–653Bus
- Take the bus from Estación Sur de Autobuses to Lyon - Gerland Bus Stationbus BlaBlaCar Bus
- Take the bus from Lyon to Linz Industriezeilebus FlixBus 1921
33h 30m€175–276Drive 2,094.9 km
- Drive from Madrid to Linzcar 2,094.9 km
21h 32m€351–507Fly to Salzburg Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Salzburg Airport (SZG)plane MAD - SZG
- Take the train from Salzburg Hauptbahnhof to Linz Hauptbahnhoftrain
8h 47m€116–370Fly to Munich International Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Munich International Airport (MUC)plane MAD - MUC
- Take the train from Muenchen Ost to Linz/Donau Hbftrain
9h 16m€136–347Bus, night train
- Take the bus from Méndez Álvaro Estación Sur to Padovabus
- Take the bus from Padova to Trevisobus 101
- Take the nighttrain from Treviso Centrale to Linz/Donau Hbfnighttrain Nj
38h 36m€161–267
Madrid to Linz by train
Comparing Your Travel Options
The cheapest way to get from Madrid to Linz is to fly and train which costs €80 - €300 and takes 7h 23m.
The fastest way to get from Madrid to Linz is to fly and train which takes 7h 23m and costs €80 - €300.
No, there is no direct bus from Madrid to Linz. However, there are services departing from Estación Sur de Autobuses and arriving at Linz Industriezeile via Lyon. The journey, including transfers, takes approximately 33h 30m.
No, there is no direct train from Madrid to Linz. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Linz Hauptbahnhof via Barcelona-Sants, Lyon Part Dieu, Strasbourg and Hauptbahnhof. The journey, including transfers, takes approximately 23h 3m.
The distance between Madrid and Linz is 1673 km. The road distance is 2094.9 km.
The best way to get from Madrid to Linz without a car is to train which takes 23h 3m and costs €340 - €700.
It takes approximately 8h 47m to get from Madrid to Linz, including transfers.
Madrid to Linz bus services, operated by BlaBlaCar Bus, depart from Estación Sur de Autobuses station.
Madrid to Linz train services, operated by Renfe AVE, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid to Linz is to fly which takes 8h 47m and costs €160 - €350. Alternatively, you can train, which costs €340 - €700 and takes 23h 3m, you could also bus, which costs €170 - €280 and takes 33h 30m.
What companies run services between Madrid, Spain and Linz, Austria?
Lufthansa, DAT Danish Air Transport, and three other airlines fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Linz Airport (LNZ) 3 times a day. Alternatively, you can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Linz Hauptbahnhof via Barcelona-Sants, Lyon Part Dieu, Strasbourg, Stuttgart Hbf, and Hauptbahnhof in around 23h 3m.
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Frankfurt
- Ave. Duration
- 6h 42m
- When
- Every day
- Estimated price
- €100–550
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Frankfurt
- Ave. Duration
- 4h 54m
- When
- Every day
- Estimated price
- €90–470
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 32m
- When
- Every day
- Estimated price
- €65–340
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- €50–160
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 38m
- When
- Every day
- Estimated price
- €75–190
- Website
- eurowings.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Palma Mallorca
- Ave. Duration
- 9h 55m
- When
- Saturday
- Estimated price
- €100–400
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Barcelona
- Ave. Duration
- 4h 15m
- When
- Monday
- Estimated price
- €150–310
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Palma Mallorca
- Ave. Duration
- 4h 15m
- When
- Monday and Sunday
- Estimated price
- €150–310
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- €55–210
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport via Venice
- Ave. Duration
- 6h 12m
- When
- Thursday and Friday
- Estimated price
- €55–210
- Website
- lufthansa-city.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 31m
- When
- Every day
- Estimated price
- €65–340
- Website
- dat.dk
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Frankfurt
- Ave. Duration
- 6h 10m
- When
- Every day
- Estimated price
- €100–430
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 40m
- When
- Every day
- Estimated price
- €75–240
Rome2Rio's guide to Renfe AVE
Contact DetailsContact Details
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 2m
- Frequency
- Every 30 minutes
- Estimated price
- €90–160
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 24m
- Frequency
- Hourly
- Estimated price
- €60–95
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 27m
- Frequency
- Hourly
- Estimated price
- €45–80
- Website
- Ouigo
Rome2Rio's guide to Renfe Viajeros
Contact DetailsContact Details
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- 4 times a day
- Estimated price
- €75–110
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Twice daily
- Estimated price
- €80–120
- Website
- Renfe Viajeros
- Phone
- +33 1 84 94 36 35
- Website
- TGV inOui
Train from Lyon Part Dieu to Strasbourg
- Ave. Duration
- 4h 12m
- Frequency
- Every 2 hours
- Estimated price
- €100–150
- Website
- TGV inOui
Train from Strasbourg to Stuttgart Hbf
- Ave. Duration
- 1h 29m
- Frequency
- 3 times a day
- Estimated price
- €30–50
- Website
- TGV inOui
- Phone
- +33 1 84 94 36 35
- Website
- Oui.SNCF
Train from Lyon Part Dieu to Strasbourg
- Ave. Duration
- 4h 14m
- Frequency
- Twice daily
- Estimated price
- €85–150
- Website
- Oui.SNCF
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Strasbourg to Stuttgart Hbf
- Ave. Duration
- 1h 30m
- Frequency
- 4 times a day
- Estimated price
- €28–60
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +43 1 89900
- service@westbahn.at
- Website
- Westbahn
Train from Hauptbahnhof to Linz Hauptbahnhof
- Ave. Duration
- 5h 20m
- Frequency
- Twice daily
- Estimated price
- €100–170
- Website
- Westbahn
Train from Salzburg Hauptbahnhof to Linz Hauptbahnhof
- Ave. Duration
- 1h 12m
- Frequency
- 5 times a day
- Estimated price
- €25–40
- Website
- Westbahn
Train from Muenchen Ost to Linz/Donau Hbf
- Ave. Duration
- 2h 51m
- Frequency
- Every 3 hours
- Estimated price
- €55–85
- Website
- Westbahn
- Phone
- +43 (0)5 1717
- Website
- Railjet
Train from Flughafen Wien to Linz/Donau Hbf
- *
- €30–50
Train from Salzburg Hauptbahnhof to Linz Hauptbahnhof
- *
- €22–35
- Phone
- +43 (0) 5 1717
- Website
- ÖBB Intercity
Train from Flughafen Wien to Linz/Donau Hbf
- Ave. Duration
- 1h 54m
- Frequency
- Hourly
- Estimated price
- €22–40
- Website
- ÖBB Intercity
- Website
- ÖBB Intercity
- Phone
- +43 5 1717
- Website
- Österreichische Bundesbahnen
Train from Salzburg Hauptbahnhof to Linz Hauptbahnhof
- Ave. Duration
- 1h 13m
- Frequency
- Twice daily
- Estimated price
- €30–45
- Website
- Österreichische Bundesbahnen
- Phone
- _AUSTRIAN_RAILWAYS_(ÖBB)
- Website
- Austrian Railways
Train from Salzburg Hauptbahnhof to Linz Hauptbahnhof
- Ave. Duration
- 1h 26m
- Frequency
- Twice daily
- Estimated price
- €25–45
- Website
- Austrian Railways
- Phone
- +43 (0) 5 1717
- Website
- ÖBB EuroCity
Train from Salzburg Hauptbahnhof to Linz Hauptbahnhof
- Ave. Duration
- 1h 14m
- Frequency
- Once daily
- Estimated price
- €27–33
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
- Phone
- +31 30 751 5155
- Website
- Nederlandse Spoorwegen (NS)
Train from Salzburg Hauptbahnhof to Linz Hauptbahnhof
- Ave. Duration
- 1h 17m
- Frequency
- Once daily
- Estimated price
- €13–27
- Website
- Nederlandse Spoorwegen (NS)
- Phone
- +32 70 79 79 79
- Website
- Belgian Railways
Train from Muenchen Ost to Linz/Donau Hbf
- Ave. Duration
- 3h
- Frequency
- Twice daily
- Estimated price
- €45–75
- Website
- Belgian Railways
- Phone
- +43 (0) 51717
- Website
- Nightjet
Night train from Treviso Centrale to Linz/Donau Hbf
- Ave. Duration
- 8h 29m
- Frequency
- Twice daily
- Estimated price
- €30–105
- Website
- Nightjet
- Sleeper Carriage
- €95–105
- Couchette Carriage
- €65–75
- Seating Carriage
- €30–45
- Phone
- +3 318 576 2228
- Website
- BlaBlaCar Bus
Bus from Estación Sur de Autobuses to Lyon - Gerland Bus Station
- Ave. Duration
- 17h 10m
- Frequency
- Every 4 hours
- Estimated price
- €90–150
- Website
- BlaBlaCar Bus
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- Flixbus
Bus from Lyon to Linz Industriezeile
- Ave. Duration
- 15h 20m
- Frequency
- Twice a week
- Estimated price
- €85–130
- Website
- Flixbus
- Phone
- +4-0263-21.55.00
- Website
- tabitatour.ro
Bus from Méndez Álvaro Estación Sur to Padova
- Ave. Duration
- 27h 34m
- Frequency
- Once a week
- Estimated price
- €120–160
- Schedules at
- tabitatour.ro
- Phone
- +39 0422 588311
- info@mobilitadimarca.it
- Website
- Mobilità di Marca S.p.A.
Bus from Padova to Treviso
- Ave. Duration
- 1h 10m
- Frequency
- Hourly
- Estimated price
- €5–6
- Website
- Mobilità di Marca S.p.A.
- 2nd Class
- €5–6
Want to know more about travelling around Austria
Rome2Rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.
Related travel guides
5 delightfully under-the-radar French towns you need to visit
Read the travel guide
Heading to Europe? Read this before you buy a Eurail Pass
Read the travel guide
Train travel in Spain: A guide to Renfe
Read the travel guide
Booking & Getting There
Madrid to Linz bus services, operated by BlaBlaCar Bus, arrive at Lyon - Gerland Bus Station.
Madrid to Linz train services, operated by Renfe AVE, arrive at Barcelona-Sants station.
Yes, the driving distance between Madrid to Linz is 2095 km. It takes approximately 21h 32m to drive from Madrid to Linz.
Book your Madrid to Linz train tickets online with Omio.
Book your Madrid to Linz bus tickets online with Omio.
There are 407+ hotels available in Linz.























































































