There are 9 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
7h 57m€166–386Fly 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 25m€86–301Train
- 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 München Hbftrain 11 / ...
- Take the train from Muenchen Hbf Gl.5-10 to Linz/Donau Hbftrain 967 / ...
22h 43m€306–583Bus
- Take the bus from Estación Sur de Autobuses to Karlsruhe - Central Station South Sidebus BlaBlaCar Bus
- Take the bus from Karlsruhe central train station to Linz Industriezeilebus 091
35h 10m€212–315Drive 2,093.9 km
- Drive from Madrid to Linzcar 2,093.9 km
21h 34m€297–428Fly 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 Hbf to Linz/Donau Hbftrain
8h 49m€115–380Fly 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 Freising to Linz/Donau Hbftrain
8h 50m€136–326Fly 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 38m€95–270Bus, night train
- Take the bus from Méndez Álvaro Estación Sur to Padovabus
- Take the nighttrain from Venezia Mestre to Linz/Donau Hbfnighttrain Nj
38h 26m€163–268
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 €90 - €270 and takes 10h 38m.
The fastest way to get from Madrid to Linz is to fly and train which takes 7h 25m and costs €85 - €310.
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 Karlsruhe central train station. The journey, including transfers, takes approximately 35h 10m.
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, Lyon Part Dieu, Strasbourg, Hauptbahnhof and Muenchen Hbf Gl.5-10. The journey, including transfers, takes approximately 22h 43m.
The distance between Madrid and Linz is 1673 km. The road distance is 2093.9 km.
The best way to get from Madrid to Linz without a car is to train which takes 22h 43m and costs €300 - €600.
It takes approximately 7h 57m 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 7h 57m and costs €160 - €390. Alternatively, you can train, which costs €300 - €600 and takes 22h 43m, you could also bus, which costs €210 - €320 and takes 35h 10m.
What companies run services between Madrid, Spain and Linz, Austria?
Lufthansa, DAT Danish Air Transport, and four 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, Lyon Part Dieu, Strasbourg, Stuttgart Hbf, Hauptbahnhof, München Hbf, and Muenchen Hbf Gl.5-10 in around 22h 43m.
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Frankfurt
- Ave. Duration
- 7h
- When
- Every day
- Estimated price
- €95–470
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Frankfurt
- Ave. Duration
- 5h 11m
- When
- Every day
- Estimated price
- €85–490
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport via Munich International Airport
- Ave. Duration
- 5h 25m
- When
- Every day
- Estimated price
- €65–340
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 32m
- When
- Every day
- Estimated price
- €65–350
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague via Frankfurt
- Ave. Duration
- 5h
- When
- Every day
- Estimated price
- €150–300
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague via Munich International Airport
- Ave. Duration
- 6h 30m
- When
- Friday
- Estimated price
- €150–300
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h 1m
- When
- Every day
- Estimated price
- €55–140
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 38m
- When
- Every day
- Estimated price
- €80–230
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 56m
- When
- Every day
- Estimated price
- €70–180
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via London Stansted
- Ave. Duration
- 10h 5m
- When
- Sunday
- Estimated price
- €100–360
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Alicante–Elche
- Ave. Duration
- 4h 50m
- When
- Monday and Thursday
- Estimated price
- €95–350
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Monday, Tuesday, Wednesday, Thursday, Saturday, and Sunday
- Estimated price
- €60–210
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- €60–160
- Website
- austrian.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Frankfurt
- Ave. Duration
- 5h 11m
- When
- Every day
- Estimated price
- €85–490
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Dusseldorf
- Ave. Duration
- 4h 50m
- When
- Friday
- Estimated price
- €120–340
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport via Munich International Airport
- Ave. Duration
- 6h 30m
- When
- Friday
- Estimated price
- €200–320
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 35m
- When
- Friday
- Estimated price
- €85–250
- Website
- eurowings.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Palma Mallorca
- Ave. Duration
- 9h 50m
- When
- Saturday
- Estimated price
- €100–420
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Dusseldorf
- Ave. Duration
- 5h 40m
- When
- Monday and Friday
- Estimated price
- €120–340
- 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
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 55m
- When
- Every day
- Estimated price
- €90–160
- Website
- dat.dk
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Frankfurt
- Ave. Duration
- 6h 17m
- When
- Every day
- Estimated price
- €95–470
- Website
- lufthansa-city.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 30m
- When
- Every day
- Estimated price
- €65–350
- Website
- skyalps.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Rome
- Ave. Duration
- 5h 5m
- When
- Monday
- Estimated price
- €95–270
- 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
- €90–160
- Website
- easyjet.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague via Basel
- Ave. Duration
- 6h 50m
- When
- Monday, Friday, and Sunday
- Estimated price
- €70–200
Rome2Rio's guide to Renfe AVE
Contact 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
- Hourly
- Estimated price
- €70–130
- 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
- €50–85
- 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
- Every 4 hours
- Estimated price
- €45–65
- Website
- Ouigo
Rome2Rio's guide to Renfe Viajeros
Contact 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
- Twice daily
- Estimated price
- €75–120
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Once daily
- Estimated price
- €85–130
- 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 4 hours
- Estimated price
- €80–100
- Website
- TGV inOui
Train from Strasbourg to Stuttgart Hbf
- Ave. Duration
- 1h 22m
- Frequency
- 3 times a day
- Estimated price
- €24–30
- Website
- TGV inOui
Train from Hauptbahnhof to München Hbf
- Ave. Duration
- 2h 16m
- Frequency
- Once daily
- Estimated price
- €35–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
- Once daily
- Estimated price
- €134
- Website
- Oui.SNCF
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Strasbourg to Stuttgart Hbf
- Ave. Duration
- 1h 20m
- Frequency
- 5 times a day
- Estimated price
- €22–35
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Hauptbahnhof to München Hbf
- Ave. Duration
- 1h 58m
- Frequency
- Hourly
- Estimated price
- €30–55
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Salzburg Hbf to Linz/Donau Hbf
- Ave. Duration
- 1h 19m
- Frequency
- Twice a week
- Estimated price
- €18–27
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +31 30 751 5155
- Website
- Nederlandse Spoorwegen (NS)
Train from Hauptbahnhof to München Hbf
- Ave. Duration
- 1h 58m
- Frequency
- 3 times a day
- Estimated price
- €23–50
- Website
- Nederlandse Spoorwegen (NS)
Train from Salzburg Hbf to Linz/Donau Hbf
- Ave. Duration
- 1h 17m
- Frequency
- Once daily
- Estimated price
- €12–26
- Website
- Nederlandse Spoorwegen (NS)
- Phone
- +43 1 89900
- service@westbahn.at
- Website
- Westbahn
Train from Hauptbahnhof to München Hbf
- Ave. Duration
- 2h 53m
- Frequency
- Twice daily
- Estimated price
- €45–70
- Website
- Westbahn
Train from Muenchen Hbf Gl.5-10 to Linz/Donau Hbf
- Ave. Duration
- 2h 48m
- Frequency
- Every 4 hours
- Estimated price
- €50–80
- Website
- Westbahn
Train from Salzburg Hbf to Linz/Donau Hbf
- Ave. Duration
- 1h 12m
- Frequency
- Hourly
- Estimated price
- €24–40
- Website
- Westbahn
Train from Freising to Linz/Donau Hbf
- Ave. Duration
- 2h 44m
- Frequency
- 4 times a day
- Estimated price
- €50–75
- Website
- Westbahn
- Phone
- +43 (0)5 1717
- Website
- Railjet
Train from Salzburg Hbf to Linz/Donau Hbf
- *
- €22–35
Train from Flughafen Wien to Linz/Donau Hbf
- *
- €30–50
- Phone
- _AUSTRIAN_RAILWAYS_(ÖBB)
- Website
- Austrian Railways
Train from Salzburg Hbf to Linz/Donau Hbf
- Ave. Duration
- 1h 26m
- Frequency
- Hourly
- Estimated price
- €32
- Website
- Austrian Railways
- Phone
- +43 (0) 5 1717
- Website
- ÖBB Intercity
Train from Salzburg Hbf to Linz/Donau Hbf
- Ave. Duration
- 1h 19m
- Frequency
- Hourly
- Estimated price
- €12–26
- Website
- ÖBB Intercity
- Website
- ÖBB Intercity
Train from Flughafen Wien to Linz/Donau Hbf
- Ave. Duration
- 1h 54m
- Frequency
- Hourly
- Estimated price
- €20–45
- Website
- ÖBB Intercity
- Website
- ÖBB Intercity
- Phone
- +43 5 1717
- Website
- Österreichische Bundesbahnen
Train from Salzburg Hbf to Linz/Donau Hbf
- Ave. Duration
- 1h 13m
- Frequency
- Twice daily
- Estimated price
- €30–45
- Website
- Österreichische Bundesbahnen
- Phone
- +43 (0) 5 1717
- Website
- ÖBB EuroCity
Train from Salzburg Hbf to Linz/Donau Hbf
- Ave. Duration
- 1h 14m
- Frequency
- Once daily
- Estimated price
- €32
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Praha Hlavni Nadrazi to Linz/Donau Hbf
- Ave. Duration
- 3h 46m
- Frequency
- 4 times a day
- Estimated price
- €74
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
- 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
- Once daily
- Estimated price
- €22–35
- Website
- Czech Railways (ČD)
- Phone
- +43 (0) 51717
- Website
- Nightjet
Night train from Venezia Mestre to Linz/Donau Hbf
- Ave. Duration
- 8h 52m
- Frequency
- Once daily
- Estimated price
- €35–110
- Website
- Nightjet
- Sleeper Carriage
- €95–110
- Couchette Carriage
- €65–80
- Seating Carriage
- €35–45
- 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
- 3 times a day
- Estimated price
- €160–240
- Website
- BlaBlaCar Bus
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- Flixbus
Bus from Karlsruhe central train station to Linz Industriezeile
- Ave. Duration
- 7h 55m
- Frequency
- Once daily
- Estimated price
- €45–75
- Website
- Flixbus
- Phone
- +4-0263-21.55.00
- Website
- tabitatour.ro
Bus from Méndez Álvaro Estación Sur to Padova
- Ave. Duration
- 28h 16m
- Frequency
- Once daily
- 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
Booking & Getting There
Madrid to Linz bus services, operated by BlaBlaCar Bus, arrive at Karlsruhe - Central Station South Side.
Madrid to Linz train services, operated by Renfe AVE, arrive at Barcelona-Sants station.
Yes, the driving distance between Madrid to Linz is 2094 km. It takes approximately 21h 34m 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 400+ hotels available in Linz.






















































































