Travel from Spain to Austria is: Unrestricted. See details.
Rome2rio uses cookies to help personalize content and show you personalised ads. By proceeding, you accept the use of cookies in accordance with our privacy policy. You may opt out of personalised ads at any time. OK

Need a hotel room in Vienna?

Book now

There are 6 ways to get from Madrid to Vienna by plane, train, bus or car

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2rio's travel planner.

Recommended option

Fly  •  5h 45m

  1. Fly from Madrid (MAD) to Vienna (VIE) MAD - VIE

5 alternative options

Train  •  22h 43m

  1. Take the train from Madrid-Puerta De Atocha to Barcelona-Sants Ave
  2. Take the train from Barcelona-Sants to Lyon Part Dieu Ave
  3. Take the train from Lyon Part Dieu to Karlsruhe Hbf Tgv
  4. Take the train from Karlsruhe Hauptbahnhof to Salzburg Hbf 60
  5. Take the train from Salzburg Hbf to Wien Hbf Rjx / ...

Train via Munich  •  22h 56m

  1. Take the train from Madrid-Puerta De Atocha to Barcelona-Sants Ave
  2. Take the train from Barcelona-Sants to Lyon Part Dieu Ave
  3. Take the train from Lyon Part Dieu to Strasbourg Tgv / ...
  4. Take the train from Strasbourg Bahnhof to München Hbf 83 / ...
  5. Take the train from München Hbf to Salzburg Hbf 90 / ...
  6. Take the train from Salzburg Hbf to Wien Hbf Rjx / ...

Bus  •  39h 30m

  1. Take the bus from Madrid Mendez Alvaro Estacion Sur to Ljubljana Central Bus Station Lisbon Oriente - Sofia Central Bus Station
  2. Take the bus from Ljubljana bus station to Vienna Central Station 907

Bus, train  •  3 days 10h

  1. Take the bus from Madrid to Munich
  2. Take the train from München Hbf to Salzburg Hbf 90 / ...
  3. Take the train from Salzburg Hbf to Wien Hbf Rjx / ...

Drive  •  22h 12m

  1. Drive from Madrid to Vienna 2369.1 km

Madrid to Vienna by train

The train journey time between Madrid and Vienna is around 22h 43m and covers a distance of around 2609 km. This includes an average layover time of around 3h 7m. Operated by Renfe AVE, Renfe SNCF, TGV inOui and others, the Madrid to Vienna train service departs from Madrid-Puerta De Atocha and arrives in Wien Hbf. Typically seven trains run weekly, although weekend and holiday schedules can vary so check in advance.

7 Weekly Trains
22h 43m Average Duration
€296 Cheapest Price
See schedules

Questions & Answers

The cheapest way to get from Madrid to Vienna is to fly which costs €40 - €260 and takes 5h 45m.

More details

The quickest way to get from Madrid to Vienna is to fly which costs €40 - €260 and takes 5h 45m.

More details

No, there is no direct bus from Madrid to Vienna station. However, there are services departing from Madrid Mendez Alvaro Estacion Sur and arriving at Vienna Central Station via Ljubljana bus station. The journey, including transfers, takes approximately 39h 30m.

More details

No, there is no direct train from Madrid to Vienna. However, there are services departing from Madrid-Puerta De Atocha and arriving at Wien Hbf via Barcelona-Sants, Lyon Part Dieu, Karlsruhe Hauptbahnhof and Salzburg Hbf. The journey, including transfers, takes approximately 22h 43m.

More details

The distance between Madrid and Vienna is 1809 km. The road distance is 2369.1 km.

Get driving directions

The best way to get from Madrid to Vienna without a car is to train which takes 22h 43m and costs €290 - €550.

More details

It takes approximately 5h 45m to get from Madrid to Vienna, including transfers.

More details

Madrid to Vienna bus services, operated by Union Ivkoni, depart from Madrid Mendez Alvaro Estacion Sur station.

More details

Madrid to Vienna train services, operated by Renfe AVE, depart from Madrid-Puerta De Atocha station.

More details

The best way to get from Madrid to Vienna is to fly which takes 5h 45m and costs €40 - €260. Alternatively, you can train, which costs €290 - €550 and takes 22h 43m, you could also bus, which costs €90 - €130 and takes 39h 30m.

Mode details

Map of how to get from Madrid to Vienna.
Launch map view
  • Distance: 1809.4 km
  • Duration: 5h 45m

What companies run services between Madrid, Spain and Vienna, Austria?

Ryanair, Iberia and nine other airlines fly from Madrid to Vienna hourly. Alternatively, you can take a train from Madrid to Vienna via Barcelona-Sants, Lyon Part Dieu, Karlsruhe Hbf, Karlsruhe Hauptbahnhof, and Salzburg Hbf in around 22h 43m.

Airlines
Ryanair
Website
ryanair.com
Flights from Madrid to Vienna
Ave. Duration
2h 50m
When
Every day
Estimated price
€30 - €260
Flights from Madrid to Vienna via Palma Mallorca
Ave. Duration
4h 51m
When
Monday, Wednesday, Thursday, Friday and Sunday
Estimated price
€30 - €260
Flights from Madrid to Vienna via Milan Bergamo
Ave. Duration
5h
When
Tuesday, Thursday, Friday, Saturday and Sunday
Estimated price
€30 - €260
Flights from Madrid to Vienna via Naples
Ave. Duration
5h 10m
When
Monday, Wednesday, Friday and Sunday
Estimated price
€30 - €260
Flights from Madrid to Vienna via Mahon
Ave. Duration
5h 10m
When
Tuesday, Thursday and Sunday
Estimated price
€30 - €260
Iberia
Website
iberia.com
Flights from Madrid to Vienna
Ave. Duration
3h
When
Every day
Estimated price
€65 - €460
Flights from Madrid to Vienna via Barcelona
Ave. Duration
4h 45m
When
Every day
Estimated price
€100 - €550
Vueling Airlines
Website
vueling.com
Flights from Madrid to Vienna
Ave. Duration
3h
When
Every day
Estimated price
€65 - €460
Flights from Madrid to Vienna via Barcelona
Ave. Duration
4h 45m
When
Every day
Estimated price
€100 - €550
Lufthansa
Website
lufthansa.com
Flights from Madrid to Vienna via Frankfurt
Ave. Duration
4h 57m
When
Monday, Tuesday, Wednesday, Thursday, Saturday and Sunday
Estimated price
€170 - €650
Flights from Madrid to Vienna via Munich
Ave. Duration
5h 20m
When
Every day
Estimated price
€170 - €650
Air France
Website
airfrance.com
Flights from Madrid to Vienna via Paris Charles de Gaulle
Ave. Duration
5h 15m
When
Every day
Estimated price
€160 - €850
Train operators
Renfe AVE
Rome2rio's guide to Renfe AVE
Contact Details
Phone
+34 91 232 03 20
Email
comunicacion@renfe.es
Website
renfe.com
Train from Madrid-Puerta De Atocha to Barcelona-Sants
Ave. Duration
2h 30m
Frequency
Hourly
Estimated price
€60 - €120
Website
Renfe AVE
Promo
€60 - €80
Promo+
€68 - €73
Flexible
€90 - €120
Renfe SNCF
Phone
+34 902 320 320
Email
comunicacion@renfe.es
Website
renfe-sncf.com
Train from Madrid-Puerta De Atocha to Barcelona-Sants
Ave. Duration
2h 57m
Frequency
Once daily
Estimated price
€55 - €85
Website
renfe-sncf.com
Train from Barcelona-Sants to Lyon Part Dieu
Ave. Duration
5h 5m
Frequency
Once daily
Estimated price
€60 - €85
Website
renfe-sncf.com
TGV inOui

France’s high-speed TGV train network runs at speeds of up to 320km/h connecting major cities across France and into neighbouring countries. All TGV tickets include a seat reservation; seating is 1+2 in 1st class, 2+2 in 2nd class. Popular routes include Paris to Marseille and Paris to Strasbourg. Most TGVs have a cafe area, power points at each seat and WiFi.

Contact Details
Phone
0033 892 353535
Website
sncf-connect.com
Train from Lyon Part Dieu to Karlsruhe Hbf
Ave. Duration
4h 42m
Frequency
Once daily
Estimated price
€90 - €120
Website
Oui.SNCF
2nd Class
€90 - €110
1st Class
€100 - €120
Train from Lyon Part Dieu to Strasbourg
Ave. Duration
4h 22m
Frequency
Every 4 hours
Estimated price
€80 - €110
Website
Oui.SNCF
2nd Class
€80 - €95
1st Class
€90 - €110
Train from Strasbourg to Muenchen Hbf
Ave. Duration
3h 50m
Frequency
Once daily
Estimated price
€65 - €85
Website
Oui.SNCF
2nd Class
€65 - €80
1st Class
€70 - €85
Deutsche Bahn Intercity-Express

German rail company Deutsche Bahn is known for its efficient and comfortable service. It offers many different types of rail transportation, including ICE or Intercity-Express for high-speed services between major cities and regions, IC (InterCity) for long-distance trains, RE (Regional Express) trains that connect regions and cities, and the S-Bahn rapid transit service. There are two main tickets on offer: the Flexpreis that has full flexibility, and the Sparpreis which is the cheaper, advanced fare (bookings usually open 6 months in advance for domestic tickets).

Contact Details
Phone
+49 0180 6 99 66 33
Website
bahn.com
Train from Karlsruhe Hauptbahnhof to Salzburg Hbf
Ave. Duration
4h 54m
Frequency
Once daily
Estimated price
€80 - €120
Website
Deutsche Bahn
Train from Strasbourg Bahnhof to München Hbf
Ave. Duration
3h 43m
Frequency
Once daily
Estimated price
€70 - €100
Website
Deutsche Bahn
Train from München Hbf to Salzburg Hbf
Ave. Duration
1h 28m
Frequency
Hourly
Estimated price
€28 - €40
Website
Deutsche Bahn
Swiss Railways (SBB/CFF/FFS)

The national railway company of Switzerland, Swiss Railways operates trains throughout the country and adjacent European nations including Germany, France, Italy and Austria. Tickets are sold in two classes - First and Second - with most long-distance trains offering a bistro car serving beverages and snacks. Individual tickets can be bought easily at stands, while a variety of travel passes are on offer to suit different travel needs.

Contact Details
Phone
+41 51 220 11 11
Website
sbb.ch
Train from Salzburg Hbf to Wien Hbf
Ave. Duration
2h 25m
Frequency
Every 3 hours
Estimated price
€90 - €170
Website
Swiss Railways (SBB/CFF/FFS)
Railjet

Railjet trains operate domestically within Austria and also connect to major cities in Germany, Czech Republic, Italy, Switzerland and Hungary. This premium service runs at speeds of up to 230km/h and offers three travel classes (economy, first and business), all with free Wi-Fi and power sockets. Other amenities include a bistro-restaurant car and family zones. Seat reservations can be made up to 90 days prior to the train's departure (compulsory for all cross-border trains but not for domestic routes).

Contact Details
Phone
+43 51717
Website
oebb.at
Train from Salzburg Hbf to Wien Hbf
Ave. Duration
2h 53m
Frequency
Every 30 minutes
Estimated price
€35 - €60
Website
Railjet
RegioJet
Phone
+420 542 42 42 42
Email
info@regiojet.cz
Website
regiojet.com
Train from Salzburg, Hbf to Vienna, Hbf
Ave. Duration
2h 30m
Frequency
Hourly
Estimated price
€7 - €26
Website
RegioJet
2nd Class
€7 - €11
1st Class
€17 - €26
Österreichische Bundesbahnen
Website
delfi.de
Train from Salzburg Hbf to Wien Hbf
Ave. Duration
2h 22m
Frequency
Every 4 hours
Schedules at
delfi.de
Train from München Hbf to Salzburg Hbf
Ave. Duration
1h 38m
Frequency
Twice daily
Schedules at
delfi.de
Austrian Railways (ÖBB)

Austria's national railway system is not only punctual, reliable and efficient, but offers free wifi to boot. Choose from high-speed intercity Railjet trains, overnight Nightjet trains and regional services such as Cityjet. ÖBB also operates international routes that connect cities in Austria with adjacent European countries including Germany, Hungary, Liechtenstein, Czech Republic, Switzerland and Slovenia. If you're planning to be in Austria for a while, consider the ÖBB Vorteilscard, an annual railcard that offers discounts on routes within Austria and in neighbouring countries.

Contact Details
Phone
05 17 17
Website
oebb.at
Train from Salzburg Hbf to Wien Hbf
Ave. Duration
2h 49m
Frequency
5 times a week
Estimated price
€50 - €70
Website
Austrian Railways
Book at
Austria Rail Pass
ÖBB EuroCity
Website
oebb.at
Train from Salzburg Hbf to Wien Hbf
Ave. Duration
2h 51m
Frequency
Once daily
Estimated price
€40 - €55
Website
oebb.at
ÖBB Intercity
Website
oebb.at
Train from Salzburg Hbf to Wien Hbf
Ave. Duration
2h 53m
Frequency
Once daily
Estimated price
€35 - €55
Website
oebb.at
SNCF

France’s state-owned railway company is a fast and efficient way of travelling around the country, with over 14,000 trains operating daily. SNCF runs the country’s extensive rail network, including the high-speed TGV network, regional TER trains and local Intercités. It also operates international routes including Eurostar and Thalys, as well as the low-cost, long-distance Ouigo services that run on limited routes across France. Book up to 3 months in advance for the cheapest fares. The railway network consists of about 32,000km in total, of which 1800km are high-speed lines and 14,500km are electrified.

Rome2rio's guide to SNCF
Contact Details
Phone
+33 9 70 60 99 70
Website
sncf.com
Train from Lyon Part Dieu to Strasbourg Bahnhof
Ave. Duration
3h 39m
Frequency
Once daily
Estimated price
€55 - €110
Website
Oui.SNCF
2nd Class
€55 - €85
Rail 1st Class
€75 - €110
Transdev
Phone
030 200730
Website
transdev.de
Train from Muenchen Hbf Gl.5-10 to Salzburg Hbf
Ave. Duration
1h 47m
Frequency
Hourly
Website
Transdev
WESTbahn Gmbh
Phone
+43 1 89900
Email
meinenachricht@westbahn.at
Website
westbahn.at
Train from Muenchen Hbf Gl.5-10 to Salzburg Hbf
Ave. Duration
1h 33m
Frequency
5 times a day
Estimated price
€11 - €14
Website
WESTbahn Gmbh
Meridian, BOB & BRB
Phone
+49 8024 997171
Email
kontakt@bayerischeoberlandbahn.de
Website
brb.de
Train from München Hbf to Salzburg Hbf
Ave. Duration
1h 57m
Frequency
5 times a day
Website
Meridian, BOB & BRB
Bus operators
Union Ivkoni
Phone
02/989 0000
Website
union-ivkoni.com
Bus from Madrid Mendez Alvaro Estacion Sur to Ljubljana Central Bus Station
Ave. Duration
33h 30m
Frequency
Twice a week
Estimated price
€70 - €100
Website
Union Ivkoni
FlixBus

One of Europe’s leading bus companies, Flixbus serves 2000+ destinations in 29 countries, including Germany, France, Italy, Austria, the Netherlands and Croatia and into Scandinavia and eastern Europe, as well as some US cities. Coaches have toilets, free WiFi and power outlets, plus snacks and drinks for purchase on board. Flixbus is a good choice for the budget-conscious traveller; purchase tickets in advance for the cheapest fares (note: there is no option to reserve a seat in advance).

Rome2rio's guide to FlixBus
Contact Details
Phone
+49 30 300 137 300
Email
service@flixbus.com
Website
flixbus.de
Bus from Ljubljana bus station to Vienna Central Station
Ave. Duration
5h
Frequency
Once daily
Estimated price
€19 - €24
Website
flixbus.co.uk
Frequently asked questions
Is there Wi-Fi on FlixBus?
Yes - FlixBus offers free Wi-Fi
Are there power outlets on FlixBus?
Yes
Does FlixBus offer meals or snacks?
Yes - snacks and drinks may be purchased from the driver. Please note, this is not available on all services.
For more information, please visit this page
ALSA

A Spanish subsidiary of National Express, ALSA provides bus and coach services across Spain and neighbouring countries including Portugal, France, Germany, the Netherlands, Italy, Poland and Malta. Founded in 1923, ALSA values service and the customer experience. Buses are equipped with communal TV screens showing movies, individual behind-seat screens, ALSA radio, app for books and music, and free WiFi. ALSA services are accessible to people with disabilities, and guide dogs are welcome on all journeys. There are three types of tickets on offer (Frequent Traveller Pass, Share Pass and ALSA Pass), along with discounts for senior citizens, students and children.

Contact Details
Phone
+34 902 42 22 42
Email
alsa@alsa.es
Website
alsa.es
Bus from Madrid to Munich
Ave. Duration
3 days 6h
Frequency
Twice daily
Estimated price
€190 - €270
Website
ALSA

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.

More Questions & Answers

The quickest flight from Madrid Airport to Vienna Airport is the direct flight which takes 2h 50m.

Search flights

Madrid to Vienna bus services, operated by FlixBus, arrive at Vienna Central Station.

More details

Madrid to Vienna train services, operated by Swiss Railways (SBB/CFF/FFS), arrive at Wien Hbf station.

More details

Yes, the driving distance between Madrid to Vienna is 2369 km. It takes approximately 22h 12m to drive from Madrid to Vienna.

Get driving directions

Vueling Airlines, Air France, Iberia and two other airlines offer flights from Madrid Airport to Vienna Airport.

Search flights

There are 582+ hotels available in Vienna. Prices start at €100 per night.

More details

ticket