There are 10 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€176–357Fly 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 11m€80–272Train
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
- Take the train from Barcelona-Sants to Paris Gare De Lyontrain Tgv
- Take the train from Paris Gare De Lyon to Augsburg Hbftrain Tgv
- Take the train from Augsburg Hbf to Linz/Donau Hbftrain Drf
21h 40m€480–856Bus
- Take the bus from Madrid to Lyonbus FlixBus N748 / ...
- Take the bus from Lyon to Linz Industriezeilebus FlixBus 1921
33h€170–283Drive 2,094.9 km
- Drive from Madrid to Linzcar 2,094.9 km
21h 32m€339–490Fly 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/Donau Hbftrain
8h 47m€116–336Fly 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 12m€144–325Fly to Václav Havel Airport Prague, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Václav Havel Airport Prague (PRG)plane MAD - PRG
- Take the train from Praha Hlavni Nadrazi to Linz/Donau Hbftrain
10h 37m€103–306Bus, train
- Take the bus from Estación Sur de Autobuses to Karlsruhe - Central Station South Sidebus
- Take the train from Pforzheim Hbf to Stuttgart Hbftrain Re
- Take the train from Hauptbahnhof to Linz/Donau Hbftrain Drf
33h 43m€274–523Bus, night train
- Take the bus from Méndez Álvaro Estación Sur to Padovabus
- Take the nighttrain from Padova to Linz/Donau Hbfnighttrain Nj
39h 28m€166–271
Madrid to Linz by train
Questions & Answers
The cheapest way to get from Madrid to Linz is to fly and train which costs €80 - €280 and takes 7h 11m.
The fastest way to get from Madrid to Linz is to fly and train which takes 7h 11m and costs €80 - €280.
No, there is no direct bus from Madrid to Linz. However, there are services departing from Madrid and arriving at Linz Industriezeile via Lyon. The journey, including transfers, takes approximately 33h.
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/Donau Hbf via Barcelona-Sants, Paris Gare De Lyon and Augsburg Hbf. The journey, including transfers, takes approximately 21h 40m.
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 21h 40m and costs €480 - €900.
It takes approximately 8h 47m to get from Madrid to Linz, including transfers.
Madrid to Linz bus services, operated by FlixBus, depart from Madrid 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 €170 - €360. Alternatively, you can train, which costs €480 - €900 and takes 21h 40m, you could also bus, which costs €170 - €290 and takes 33h.
What companies run services between Madrid, Spain and Linz, Austria?
Lufthansa, DAT Danish Air Transport, and five other airlines fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Linz Airport (LNZ) 4 times a day. Alternatively, you can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Linz/Donau Hbf via Barcelona-Sants, Paris Gare De Lyon, and Augsburg Hbf in around 21h 40m.
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Frankfurt
- Ave. Duration
- 6h 50m
- When
- Every day
- Estimated price
- €110–550
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Frankfurt
- Ave. Duration
- 4h 48m
- When
- Every day
- Estimated price
- €90–340
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 32m
- When
- Every day
- Estimated price
- €65–340
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague via Munich International Airport
- Ave. Duration
- 5h 28m
- When
- Every day
- Estimated price
- €70–320
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- €45–160
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 35m
- When
- Every day
- Estimated price
- €80–180
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 55m
- When
- Every day
- Estimated price
- €75–180
- Website
- eurowings.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Palma Mallorca
- Ave. Duration
- 9h 55m
- When
- Tuesday and 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
- €140–310
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Palma Mallorca
- Ave. Duration
- 4h 25m
- When
- Monday and Thursday
- Estimated price
- €140–310
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 55m
- When
- Every day
- Estimated price
- €85–160
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Monday to Saturday
- Estimated price
- €50–190
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport via Venice
- Ave. Duration
- 5h
- When
- Monday and Tuesday
- Estimated price
- €50–190
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 55m
- When
- Monday, Tuesday, Thursday, and Sunday
- Estimated price
- €60–180
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 35m
- When
- Every day
- Estimated price
- €90–230
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 55m
- When
- Every day
- Estimated price
- €85–160
- Website
- dat.dk
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Frankfurt
- Ave. Duration
- 6h 12m
- When
- Every day
- Estimated price
- €110–400
- Website
- lufthansa-city.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 32m
- When
- Every day
- Estimated price
- €65–340
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via London Stansted
- Ave. Duration
- 6h 40m
- When
- Friday
- Estimated price
- €100–350
- Website
- smartwings.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 55m
- When
- Every day
- Estimated price
- €85–160
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 20 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 22m
- Frequency
- Hourly
- Estimated price
- €60–130
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Hourly
- Estimated price
- €55–100
- 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–120
- Website
- Renfe Viajeros
- Phone
- +33 1 84 94 36 35
- Website
- TGV inOui
Train from Barcelona-Sants to Paris Gare De Lyon
- Ave. Duration
- 6h 46m
- Frequency
- 4 times a day
- Estimated price
- €210–340
- Website
- TGV inOui
Train from Paris Gare De Lyon to Augsburg Hbf
- Ave. Duration
- 5h 23m
- Frequency
- Twice a week
- Estimated price
- €150–250
- Website
- TGV inOui
- Phone
- +43 1 89900
- service@westbahn.at
- Website
- Westbahn
Train from Augsburg Hbf to Linz/Donau Hbf
- Ave. Duration
- 3h 29m
- Frequency
- Twice daily
- Estimated price
- €60–110
- Website
- Westbahn
Train from Salzburg Hauptbahnhof to Linz/Donau Hbf
- Ave. Duration
- 1h 12m
- Frequency
- 5 times a day
- Estimated price
- €23–40
- Website
- Westbahn
Train from Muenchen Ost to Linz/Donau Hbf
- Ave. Duration
- 2h 51m
- Frequency
- Every 3 hours
- Estimated price
- €50–90
- Website
- Westbahn
Train from Hauptbahnhof to Linz/Donau Hbf
- Ave. Duration
- 5h 20m
- Frequency
- Twice daily
- Estimated price
- €95–170
- 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/Donau Hbf
- *
- €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
- €24–50
- Website
- ÖBB Intercity
- Website
- ÖBB Intercity
- Phone
- +43 5 1717
- Website
- Österreichische Bundesbahnen
Train from Salzburg Hauptbahnhof to Linz/Donau Hbf
- Ave. Duration
- 1h 14m
- Frequency
- Twice daily
- Estimated price
- €30–45
- Website
- Österreichische Bundesbahnen
- Phone
- _AUSTRIAN_RAILWAYS_(ÖBB)
- Website
- Austrian Railways
Train from Salzburg Hauptbahnhof to Linz/Donau Hbf
- Ave. Duration
- 1h 26m
- Frequency
- Twice daily
- Estimated price
- €25–50
- Website
- Austrian Railways
- Phone
- +43 (0) 5 1717
- Website
- ÖBB EuroCity
Train from Salzburg Hauptbahnhof to Linz/Donau Hbf
- Ave. Duration
- 1h 14m
- Frequency
- Once daily
- Estimated price
- €26–50
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Praha Hlavni Nadrazi to Linz/Donau Hbf
- Ave. Duration
- 3h 45m
- Frequency
- Every 4 hours
- Estimated price
- €60–110
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
- Phone
- +31 30 751 5155
- Website
- Nederlandse Spoorwegen (NS)
Train from Salzburg Hauptbahnhof to Linz/Donau Hbf
- Ave. Duration
- 1h 17m
- Frequency
- Once daily
- Estimated price
- €13–28
- 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
- Once daily
- Estimated price
- €45–90
- Website
- Belgian Railways
- Phone
- +420 221 111 122
- info@cd.cz
- Website
- Czech Railways (ČD)
Train from Praha Hlavni Nadrazi to Linz/Donau Hbf
- Ave. Duration
- 5h 53m
- Frequency
- Twice daily
- Estimated price
- €35–55
- Website
- Czech Railways (ČD)
- Phone
- +49 711 400 534 44
- stuttgart@arverio.de
- Website
- Arverio Baden-Württemberg
Train from Pforzheim Hbf to Stuttgart Hbf
- Ave. Duration
- 33 min
- Frequency
- Every 30 minutes
- Estimated price
- €10–20
- Schedules at
- Arverio Baden-Württemberg
- 2nd Class Ticket
- €10–13
- 1st Class Ticket
- €13–20
- Phone
- +49 711 400 534 44
- stuttgart@arverio.de
- Website
- Arverio Baden-Württemberg GmbH
Train from Pforzheim Hbf to Stuttgart Hbf
- Ave. Duration
- 33 min
- Frequency
- Hourly
- Estimated price
- €10–15
- Schedules at
- Arverio Baden-Württemberg GmbH
- Phone
- +49 711 2092-7087
- Website
- DB Regio Stuttgart
Train from Pforzheim Hbf to Stuttgart Hbf
- Ave. Duration
- 55 min
- Frequency
- Hourly
- Estimated price
- €11–16
- Schedules at
- DB Regio Stuttgart
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Pforzheim Hbf to Stuttgart Hbf
- Ave. Duration
- 31 min
- Frequency
- Every 4 hours
- Estimated price
- €9–40
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +43 (0) 51717
- Website
- Nightjet
Night train from Padova to Linz/Donau Hbf
- Ave. Duration
- 10h 54m
- Frequency
- Twice daily
- Estimated price
- €40–120
- Website
- Nightjet
- Sleeper Carriage
- €100–120
- Couchette Carriage
- €70–85
- Seating Carriage
- €40–50
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- Flixbus
Bus from Madrid to Lyon
- Ave. Duration
- 16h 40m
- Frequency
- 3 times a day
- Estimated price
- €95–160
- Website
- Flixbus
Bus from Lyon to Linz Industriezeile
- Ave. Duration
- 15h 20m
- Frequency
- 3 times a week
- Estimated price
- €75–130
- Website
- Flixbus
- Phone
- +3 318 576 2228
- Website
- BlaBlaCar Bus
Bus from Estación Sur de Autobuses to Karlsruhe - Central Station South Side
- Ave. Duration
- 26h 15m
- Frequency
- Once daily
- Estimated price
- €160–290
- Website
- BlaBlaCar Bus
- 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
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
More Questions & Answers
Madrid to Linz bus services, operated by FlixBus, arrive at Lyon 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 and FlixBus.
There are 413+ hotels available in Linz.



















































































