There are 10 ways to get from Madrid to Linz by plane, train, train (Renfe, Ouigo, TGV), bus, car, 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 Salzburg Airport, train
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Salzburg Airport (SZG)plane MAD - SZG
- Take the train from Salzburg Hbf to Linz Hbftrain
8h 26m€87–295Fly 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 Hbftrain
7h 23m€79–247Train
- 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 42 / ...
- Take the train from Muenchen Hbf Gl.5-10 to Linz Hbftrain 961 / ...
23h 37m€296–675Bus
- Take the bus from Madrid to Lyonbus FlixBus N1149
- Take the bus from Lyon to Linz Industriezeilebus FlixBus 1921
34h 25m€147–248Drive 2,095.8 km
- Drive from Madrid to Linzcar 2,095.8 km
21h 33m€342–494Fly to Linz Airport
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Linz Airport (LNZ)plane MAD - LNZ
8h 17m€86–307Fly 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 Hbftrain
9h 5m€118–313Fly 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 Hbftrain
10h 38m€92–286Bus, train
- Take the bus from Estación Sur de Autobuses to Geneva - Bus stationbus
- Take the bus from Geneva to Salzburg Hbfbus
- Take the train from Salzburg Hbf to Linz Hbftrain Rjx / ...
34h 43mBus, night train
- Take the bus from Méndez Álvaro Estación Sur to Padovabus
- Take the night train from Venezia Mestre to Linz Hbfnighttrain Nj
37h 33m€114–399
Madrid to Linz by train
Questions & Answers
The cheapest way to get from Madrid to Linz is to fly and train which costs €75 - €250 and takes 7h 23m.
The fastest way to get from Madrid to Linz is to fly and train which takes 7h 23m and costs €75 - €250.
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 34h 25m.
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 Hbf via Barcelona-Sants, Lyon Part Dieu, Strasbourg, Hauptbahnhof and Muenchen Hbf Gl.5-10. The journey, including transfers, takes approximately 23h 37m.
The distance between Madrid and Linz is 1688 km. The road distance is 2095.8 km.
The best way to get from Madrid to Linz without a car is to train which takes 23h 37m and costs €290 - €700.
It takes approximately 8h 26m 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 train which takes 23h 37m and costs €290 - €700. Alternatively, you can bus, which costs €140 - €250 and takes 34h 25m, you could also fly, which costs €85 - €310 and takes 8h 17m.
What companies run services between Madrid, Spain and Linz, Austria?
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Linz Hbf via Barcelona-Sants, Lyon Part Dieu, Strasbourg, Stuttgart Hbf, Hauptbahnhof, München Hbf, and Muenchen Hbf Gl.5-10 in around 23h 37m. Alternatively, you can take a bus from Madrid to Linz Industriezeile via Lyon in around 34h 25m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- €70–170
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 38m
- When
- Every day
- Estimated price
- €80–200
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 56m
- When
- Every day
- Estimated price
- €65–140
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Frankfurt
- Ave. Duration
- 5h 22m
- When
- Every day
- Estimated price
- €85–420
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 35m
- When
- Every day
- Estimated price
- €60–330
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague via Munich International Airport
- Ave. Duration
- 5h 40m
- When
- Every day
- Estimated price
- €75–300
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h 5m
- When
- Every day
- Estimated price
- €50–180
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via London Stansted
- Ave. Duration
- 6h 50m
- When
- Monday
- Estimated price
- €85–310
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via Alicante–Elche
- Ave. Duration
- 5h 10m
- When
- Sunday
- Estimated price
- €80–300
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- €55–160
- Website
- eurowings.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Barcelona
- Ave. Duration
- 4h 25m
- When
- Friday
- Estimated price
- €95–240
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Palma Mallorca
- Ave. Duration
- 5h 10m
- When
- Wednesday, Saturday, and Sunday
- Estimated price
- €95–240
Flights from Adolfo Suárez Madrid–Barajas Airport to Salzburg Airport via Dusseldorf
- Ave. Duration
- 5h 45m
- When
- Friday
- Estimated price
- €90–310
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 55m
- When
- Every day
- Estimated price
- €75–140
- 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–190
Flights from Adolfo Suárez Madrid–Barajas Airport to Václav Havel Airport Prague
- Ave. Duration
- 2h 55m
- When
- Every day
- Estimated price
- €75–140
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Linz Airport via London Stansted
- Ave. Duration
- 6h 25m
- When
- Friday
- Estimated price
- €85–310
- Website
- lufthansa-city.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport
- Ave. Duration
- 2h 35m
- When
- Every day
- Estimated price
- €60–330
- Website
- swiss.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Munich International Airport via Zurich
- Ave. Duration
- 4h 20m
- When
- Monday, Wednesday, Thursday, Friday, Saturday, and Sunday
- Estimated price
- €75–310
- 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
- €75–140
Train from Salzburg Hbf to Linz Hbf
- Ave. Duration
- 1h 8m
- Frequency
- Hourly
- Estimated price
- €22–35
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/railjet
- *
- €22–35
Train from Flughafen Wien to Linz Hbf
- Ave. Duration
- 1h 41m
- Frequency
- Every 3 hours
- Estimated price
- €30–50
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/railjet
- *
- €30–50
- Phone
- +43 1 89900
- meinenachricht@westbahn.at
- Website
- westbahn.at
Train from Salzburg Hbf to Linz Hbf
- Ave. Duration
- 1h 12m
- Frequency
- Hourly
- Estimated price
- €21–35
- Website
- https://westbahn.at/en/
Train from Hauptbahnhof to München Hbf
- Ave. Duration
- 2h 24m
- Frequency
- 4 times a day
- Estimated price
- €40–65
- Website
- https://westbahn.at/en/
Train from Muenchen Hbf Gl.5-10 to Linz Hbf
- Ave. Duration
- 2h 46m
- Frequency
- Every 4 hours
- Estimated price
- €45–75
- Website
- https://westbahn.at/en/
Train from Muenchen Ost to Linz Hbf
- Ave. Duration
- 2h 36m
- Frequency
- Every 4 hours
- Estimated price
- €45–75
- Website
- https://westbahn.at/en/
- Phone
- +43 5 1717
- Website
- oebb.at
Train from Salzburg Hbf to Linz Hbf
- Ave. Duration
- 1h 19m
- Frequency
- Hourly
- Estimated price
- €14–35
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket?cref=oebb-header
Train from Muenchen Hbf Gl.5-10 to Linz Hbf
- Ave. Duration
- 3h 9m
- Frequency
- Once daily
- Estimated price
- €30–70
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket?cref=oebb-header
Train from Flughafen Wien to Linz Hbf
- Ave. Duration
- 1h 54m
- Frequency
- Hourly
- Estimated price
- €23–55
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket?cref=oebb-header
Train from Muenchen Ost to Linz Hbf
- Ave. Duration
- 2h 59m
- Frequency
- Once daily
- Estimated price
- €30–70
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket?cref=oebb-header
Train from Salzburg Hbf to Linz Hbf
- Ave. Duration
- 2h 26m
- Frequency
- Hourly
- Estimated price
- €24–45
- Website
- https://www.oebb.at/en/
- Phone
- +32 70 79 79 79
- Website
- belgiantrain.be
Train from Salzburg Hbf to Linz Hbf
- Ave. Duration
- 1h 16m
- Frequency
- 5 times a week
- Estimated price
- €27–50
- Website
- https://www.belgiantrain.be/en
- Phone
- +48 22 322 22 22
- infokraj@intercity.pl
- Website
- intercity.pl
Train from Salzburg Hbf to Linz Hbf
- Ave. Duration
- 1h 14m
- Frequency
- Twice daily
- Estimated price
- €18–45
- Website
- https://www.intercity.pl/en/
Train from Muenchen Hbf Gl.5-10 to Linz Hbf
- Ave. Duration
- 3h 9m
- Frequency
- Twice daily
- Estimated price
- €40–95
- Website
- https://www.intercity.pl/en/
Train from Muenchen Ost to Linz Hbf
- Ave. Duration
- 2h 58m
- Frequency
- Twice daily
- Estimated price
- €40–90
- Website
- https://www.intercity.pl/en/
- Phone
- +43 5 1717
- Website
- oebb.at
Train from Salzburg Hbf to Linz Hbf
- Ave. Duration
- 1h 14m
- Frequency
- Once daily
- Estimated price
- €25–45
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket
Train from Praha Hlavni Nadrazi to Linz Hbf
- Ave. Duration
- 3h 45m
- Frequency
- 4 times a day
- Estimated price
- €55–110
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket
Rome2Rio's guide to Renfe AVE
Contact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 2m
- Frequency
- Hourly
- Estimated price
- €80–140
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 20m
- Frequency
- Hourly
- Estimated price
- €65–110
- Website
- https://iryo.eu/en/home
- Phone
- +34 910 780 990
- Website
- ouigo.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 18m
- Frequency
- 5 times a day
- Estimated price
- €55–80
- Website
- https://www.ouigo.com/es/en
Rome2Rio's guide to Renfe Viajeros
Contact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- Twice daily
- Estimated price
- €60–110
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Once daily
- Estimated price
- €65–120
- Website
- https://www.renfe.com/es/en
- Phone
- +33 1 84 94 36 35
- Website
- sncf-connect.com
Train from Lyon Part Dieu to Strasbourg
- Ave. Duration
- 4h 12m
- Frequency
- Every 4 hours
- Estimated price
- €95–160
- Website
- https://www.sncf-connect.com/en-en
Train from Strasbourg to Stuttgart Hbf
- Ave. Duration
- 1h 30m
- Frequency
- 3 times a day
- Estimated price
- €30–50
- Website
- https://www.sncf-connect.com/en-en
Train from Hauptbahnhof to München Hbf
- Ave. Duration
- 2h 26m
- Frequency
- Once daily
- Estimated price
- €45–75
- Website
- https://www.sncf-connect.com/en-en
- Phone
- +49 30 311 682904
- Website
- bahn.de
Train from Strasbourg to Stuttgart Hbf
- Ave. Duration
- 1h 30m
- Frequency
- 5 times a day
- Estimated price
- €27–65
- Website
- https://int.bahn.de/en
Train from Hauptbahnhof to München Hbf
- Ave. Duration
- 2h 46m
- Frequency
- Every 30 minutes
- Estimated price
- €40–95
- Website
- https://int.bahn.de/en
- Phone
- +31 30 751 5155
- Website
- ns.nl
Train from Hauptbahnhof to München Hbf
- Ave. Duration
- 1h 57m
- Frequency
- Twice daily
- Estimated price
- €24–60
- Website
- https://www.ns.nl/en
- Phone
- +420 221 111 122
- info@cd.cz
- Website
- cd.cz
Train from Praha Hlavni Nadrazi to Linz Hbf
- Ave. Duration
- 5h 53m
- Frequency
- Once daily
- Estimated price
- €29–50
- Website
- https://www.cd.cz/en/default.htm
- Phone
- +43 51717
- Website
- nightjet.com
Night train from Venezia Mestre to Linz Hbf
- Ave. Duration
- 8h 41m
- Frequency
- Once daily
- Estimated price
- €50–264
- Website
- https://www.nightjet.com/en/#/home
- Sleeper Carriage
- €259–264
- Couchette Carriage
- €140–160
- Seating Carriage
- €50–65
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- flixbus.fr
Bus from Madrid to Lyon
- Ave. Duration
- 18h 15m
- Frequency
- Once daily
- Estimated price
- €80–140
- Website
- https://www.flixbus.co.uk
Bus from Lyon to Linz Industriezeile
- Ave. Duration
- 15h 10m
- Frequency
- 3 times a week
- Estimated price
- €65–110
- Website
- https://www.flixbus.co.uk
- Phone
- +34 910 207 007
- alsa@alsa.es
- Website
- alsa.com
Bus from Estación Sur de Autobuses to Geneva - Bus station
- Ave. Duration
- 21h 30m
- Frequency
- Twice a week
- Estimated price
- €120–250
- Website
- https://www.alsa.com/en/
Bus from Geneva to Salzburg Hbf
- Ave. Duration
- 10h 50m
- Frequency
- Twice a week
- Schedules at
- https://web.facebook.com/profile.php?id=100086702768199
- 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
- €60–75
- 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
Heading to Europe? Read this before you buy a Eurail Pass
Read the travel guide
5 delightfully under-the-radar French towns you need to visit
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 2096 km. It takes approximately 21h 33m 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 371+ hotels available in Linz.























































































