ReferralsBusiness

No tickets in your cart.

Why not plan a trip?

My Bookings
Loading...
Loading...

TrainlineTrainline is Europe’s Nº 1 destination for train and bus tickets*

Official distributor

    Support image
    TrainlineTrainline

    Search. Book. Travel.

    Say hello to Your Account

    All your tickets and travel info, all in one place. Easy as that.

    ChatChat

    Got a question? Our support team are on hand 24/7.

    Companion image
    TrainlineTrainline

    Search. Book. Travel.

    No more fumbling in your pockets

    Digital tickets live neatly in our app, so you can just tap, scan and go.

    ETicketETicket

    All your tickets, all in the palm of your hand.

    Calendar week image
    TrainlineTrainline

    Search. Book. Travel.

    Looking for a cheap price?

    Look no further. Compare tickets easily with our price calendar.

    CalendarCalendar

    We’ll find you the cheapest day to travel.

    Support image
    TrainlineTrainline

    Search. Book. Travel.

    Say hello to Your Account

    All your tickets and travel info, all in one place. Easy as that.

    ChatChat

    Got a question? Our support team are on hand 24/7.

    Companion image
    TrainlineTrainline

    Search. Book. Travel.

    No more fumbling in your pockets

    Digital tickets live neatly in our app, so you can just tap, scan and go.

    ETicketETicket

    All your tickets, all in the palm of your hand.

    Calendar week image
    TrainlineTrainline

    Search. Book. Travel.

    Looking for a cheap price?

    Look no further. Compare tickets easily with our price calendar.

    CalendarCalendar

    We’ll find you the cheapest day to travel.

    Support image
    TrainlineTrainline

    Search. Book. Travel.

    Say hello to Your Account

    All your tickets and travel info, all in one place. Easy as that.

    ChatChat

    Got a question? Our support team are on hand 24/7.

    Companion image
    TrainlineTrainline

    Search. Book. Travel.

    No more fumbling in your pockets

    Digital tickets live neatly in our app, so you can just tap, scan and go.

    ETicketETicket

    All your tickets, all in the palm of your hand.

    Calendar week image
    TrainlineTrainline

    Search. Book. Travel.

    Looking for a cheap price?

    Look no further. Compare tickets easily with our price calendar.

    CalendarCalendar

    We’ll find you the cheapest day to travel.

    What customers say about Trainline

    Read real reviews from real users

    Taking the train from Vienna to Madrid in 27 hours 2 minutes

    Thinking about taking the train from Vienna to Madrid? We've got you covered.

    It usually takes around 29 hours 52 minutes to travel the 1810 km from Vienna to Madrid by train, although you can get there in as little as 27 hours 2 minutes on the fastest services. You'll normally find around 12 trains per day running on this route. You'll need to make 2 changes along the way as there aren't any direct services on this line. You can travel on this route with either TGV, AVE or Avlo. As the main train operators on this route, all offer comfortable seating and plenty of space for luggage as standard.

    Train tickets from Vienna to Madrid start from $291.58 when you book in advance, which can be cheaper than buying them on the day. Start a search in our Journey Planner to check out the latest prices.

    Keen to book your train tickets to Madrid? No need to wait, start a search with us today! If you want to find out a bit more about the journey first, you can find our train schedule below, tips on booking cheap tickets and our FAQs, including first and last train times.

    Vienna to Madrid by train

    It takes an average of 29h 52m to travel from Vienna to Madrid by train, over a distance of around 1124 miles (1810 km). There are normally 12 trains per day traveling from Vienna to Madrid and tickets for this journey start from $291.58 when you book in advance.

    First train

    12:15 am

    Last train

    11:35 pm

    Departure station

    Vienna

    Arrival station

    Madrid

    Journey time

    From 27h 2m

    Distance

    1124 miles (1810 km)

    Frequency

    12 trains per day

    Changes

    2 changes

    Price

    From $291.58

    Train and bus operators

    SNCF Voyageurs, Deutsche Bahn, Flixbus, BlaBlaCar Bus, OUIGO, ÖBB, iryo, Renfe, ALSA, Regiojet, Westbahn, TGV Lyria, SNCF, Trenitalia

    What do people frequently ask about the train journey from Vienna to Madrid?

    Want to know more about your journey from Vienna to Madrid? We've compiled some of the most frequently asked questions by our customers to help you plan your journey.

    How do I travel from Vienna to Madrid?

    You can get from Vienna to Madrid in 29 hours and 52 minutes on average, with the fastest trains taking just 27 hours and 2 minutes. Check out our Journey Planner for more details on times, tickets and prices.

    How long does the train from Vienna to Madrid take?

    The average journey time by train between Vienna and Madrid is 29 hours and 52 minutes, with around 12 trains per day running on this route. The journey time may be longer on weekends and holidays, so use our Journey Planner on this page to search for a specific travel date.

    How much does the train from Vienna to Madrid cost?

    Train tickets from Vienna to Madrid can start from as little as $291.58 when you book in advance and are usually more expensive when purchased on the day. Prices can also vary depending on the time of day, route and class you book.

    Is it possible to get a high-speed train from Vienna to Madrid?

    Yes, it is possible to travel on a high-speed train from Vienna to Madrid. There are often different amenities available on board high-speed trains from OUIGO and iryo - take a look at theclasses and onboard services. The fastest trip on a high-speed train can take 27 hours and 2 minutes.

    What are the train times from Vienna to Madrid?

    Check out the next trains departing from Vienna to Madrid for Tuesday Aug 12th 2025. For the full train timetable/schedule, or to search for a later time or date, click here.
    DepartsArrivesDuration
    6:20 am2:52 pm32h 32m, 2 changes
    7:15 am2:52 pm31h 37m, 3 changes
    8:20 am2:52 pm30h 32m, 4 changes
    9:35 am2:52 pm29h 17m, 5 changes
    10:20 am3:27 pm29h 7m, 3 changes
    11:35 am3:27 pm27h 52m, 4 changes
    5:20 pm8:52 pm27h 32m, 5 changes
    5:20 pm10:19 pm28h 59m, 3 changes
    5:35 pm8:52 pm27h 17m, 6 changes
    7:17 pm10:19 pm27h 2m, 5 changes

    Deutsche Bahn, OUIGO, ÖBB and iryo trains from Vienna to Madrid

    You can travel from Vienna to Madrid on Deutsche Bahn, OUIGO, ÖBB and iryo trains. When you search for times and tickets, we might also show you some other options with multiple connections or operators if they’re available.

    PhotoJoachimKohlerBremen, under licence CC BY-SA 4.0

    The Deutsche Bahn Group is owned by the German State and controls the majority of rail traffic in Germany as well as in many border regions of the country. Every year, Deutsche Bahn transports several million passengers and many stations in Germany are served exclusively by DB trains, including the ICE, IC and EC fleet.

    PhotoCramos, under licence CC BY-SA 4.0

    OUIGO is the low-cost, high-speed train service operated by the French national train company SNCF. Despite having only one class on board, OUIGO trains offer the same comfort as Second Class seats on TGV trains, although OUIGO tickets are only available to purchase online. To make your journey as smooth as possible, arrive at least 30 minutes before departure and bear in mind that there's an additional fee for bringing a suitcase with you, having a seat with power sockets and travelling with a stroller/buggy.

    ÖBB is the major railway company for Austria, subdivided into several subsidiaries, responsible for certain areas of transport, such as long distance and local transport, the operation of postal buses and the transport of goods. Railjet is ÖBB's high-speed train, which travels at speeds of up to 143 mph (230 km/h) and connects the main Austrian cities with Germany, Hungary, Switzerland, the Czech Republic and Italy.

    Operating since the end of 2022, iryo is a new high-speed train company in Spain. It’s a consortium between the Spanish airline Air Norstrum and the train company Trenitalia, one of the greatest leaders in European rail transport. The first private Spanish high-speed company to operate, iryo runs high-speed services on the Madrid – Zaragoza – Barcelona route and connects Madrid – Cuenca – Valencia/Alicante and Madrid – Cordoba – Seville/Malaga. They are doing this all with a fleet of ETR1000 model trains that offer the highest level of comfort in Spain, with a combination of advanced propulsion and highest quality onboard services, including WiFi connection and catering service. 98% of the parts of the trains are 100% recyclable, making this trip sustainable as well!

    What TGV INOUI, iryo, AVE and OUIGO classes are there from Vienna to Madrid?

    Compare the different travel classes offered by TGV INOUI, iryo, AVE and OUIGO when traveling from Vienna to Madrid.

    What are the onboard services on TGV INOUI, iryo, AVE and OUIGO?

    Discover more about the onboard services offered on trains from Vienna to Madrid.

    LuggageLuggageWhat baggage limits are there?

    On board TGV INOUI trains, you can take up to 2 pieces of luggage measuring no more than 70 x 90 x 50 cm (27.5 x 35.4 x 19.6 inches), plus one hand luggage measuring no more than 40 x 30 x 15 cm (15.7 x 11.8 x 5.9 inches). If you are bringing an XL baggage (maximum 90 x 130 cm or 35.4 x 51.1 inches), it will replace one of the two 70 x 90 x 50 cm (27.5 x 35.4 x 19.6 inches) pieces of luggage authorised.

    All your luggage must be labelled before entering the train.

    RestaurantRestaurantWhat food and drink is available?

    All TGV INOUI trains are equipped with a café-bar car offering a range of food and drink to suit you at any time of day. The Bar is always situated in car 4 or 14 of the train. There's a range of local and responsibly sourced products on offer.

    WiFiWiFiWhat onboard entertainment is available?

    TGV INOUI trains have free WiFi on board for you to use throughout your journey, allowing you to stay connected, reply to emails or even relax and enjoy what's offered on the TGV INOUI entertainment portal.

    ChildPassengerChildPassengerWhat facilities are there for travel with children?

    Children under 12 can get a half price ticket on TGV INOUI trains. Children under 4 travel free when they travel on your lap.

    ModeOfTransportBikeModeOfTransportBikeCan I bring a bike on board?

    If you've got a foldable bicycle, you can take it on the train as hand baggage, so long as it's no larger than 130 x 90 cm once folded. Or, if you can dismantle your bike, you can transport it in a cover or case no larger than 130 x 90 cm. You can still travel with a bike that cannot be folded or dismantled - you'll need to reserve a bike space on the train when you buy your ticket. Bike tickets cost €10 per bike, per journey.

    PetPetCan I bring pets on board?

    Small pets are allowed on board TGV INOUI trains provided they weigh less than 10kg. They must travel in a carrier no larger than 45 x 30 x 25 cm. Tickets for small pets cost €7. Larger dogs can also travel on TGV INOUI services, provided they are wearing a muzzle and are kept on a leash. Tickets for larger dogs cost €20. Guide dogs and assistance dogs travel free of charge on all SNCF trains.

    WheelchairWheelchairWhat special assistance is available?

    For disabled passengers or those with reduced mobility, you can request assistance through 'Accès Plus'. With this service, a member of staff will meet you at the station and help you get to your seat on the train. To book assistance, contact Accès Plus after you book your tickets (and no later than 48 hours before your train is due to depart).

    LuggageLuggageWhat baggage limits are there?

    You can carry up to 3 pieces of baggage on iryo trains, as long as they do not exceed 25kg (55.1lbs) in total. These 3 pieces can be 2 suitcases with a maximum size of 85 x 55 x 35cm (33.4 x 21.6 x 13.7 inches) and a backpack or handbag that does not exceed the dimensions of 36 x 27 x 15cm (14.1 x 10.6 x 5.9 inches).

    RestaurantRestaurantWhat food and drink is available?

    iryo offers different menus with high-quality products in all classes. You can buy your favorite meal from their onboard restaurant/bar car, which is usually near car 2. If you’re traveling in the Infinita Bistró Class, you can enjoy the Infinita Bistró food service – your meal will be served straight to your seat. Please note that you’ll need to book your meal at least 24 hours in advance.

    WiFiWiFiWhat onboard entertainment is available?

    You can enjoy free WiFi in all classes on iryo trains, as well as an onboard entertainment platform providing a wide selection of movies, TV series, live news and Spotify.

    ChildPassengerChildPassengerWhat facilities are there for travel with children?

    Kids aged 0-3 travel for free on all iryo trains. Kids aged 4-13 get a discounted ticket while those aged 14-18 need to pay the full price. Please note that kids aged under 18 need to be accompanied by their parents or legal guardians.

    ModeOfTransportBikeModeOfTransportBikeCan I bring a bike on board?

    You can take your bike on board iryo trains for free if it’s folded and does not exceed 90 x 120 x 40cm. Also, your bike must travel without the pedals and with the handlebar rotated 90 degrees.

    PetPetCan I bring pets on board?

    iryo allows pets that do not exceed 10kg (22lbs) in weight, as long as they travel inside a carrier with a maximum size of 60 x 35 x 35cm (23.6 x 13.7 x 13.7 inches). You'll need to buy a ticket for your pet in advance. In addition, guide dogs can travel at no additional cost.

    WheelchairWheelchairWhat special assistance is available?

    There are 2 seats for people with reduced mobility on iryo trains. Step-free access is also available both when boarding and when getting off the train.

    LuggageLuggageWhat baggage limits are there?

    With AVE, you can travel with up to 3 pieces of baggage that do not exceed 290cm (114.1 inches) and 25kg (55.1 pounds). In total, the maximum measurements of each piece of baggage are 85 x 55 x 35cm (33.4 x 21.6 x 13.7 inches). Musical instruments also count as hand baggage as long as they do not exceed the dimensions 30 x 120 x 38cm (11.8 x 47.2 x 14.9 inches) and are stored in a case.

    RestaurantRestaurantWhat food and drink is available?

    If you’d like to stretch your legs and grab a coffee during your journey, AVE trains have an onboard dining car. If you’d prefer to stay in your seat, AVE staff will pass through each car with a food and drink cart.

    WiFiWiFiWhat onboard entertainment is available?

    On AVE trains, you can take advantage of PlayRenfe – their free WiFi and entertainment pass. Giving you access to exclusive content and fast connection speeds, PlayRenfe can be downloaded from the app store on your phone. Once you’re connected, you can access the PlayRenfe portal, where you’ll find exclusive live sport, news, films and TV series.

    ChildPassengerChildPassengerWhat facilities are there for travel with children?

    Children under 3 years old travel for free with AVE, as long as they do not occupy a seat and have their free child ticket. Children from 3 to 14 years old can take advantage of a 40% discount on ticket prices.

    ModeOfTransportBikeModeOfTransportBikeCan I bring a bike on board?

    On all AVE trains, each passenger can take one bicycle or scooter on board, as long as it’s folded and carried inside a case. Also, the pedals must be removed and handlebars turned 90 degrees. Lastly, if the sum of the dimensions of the case is less than 180cm (70.8 inches), it's considered as hand luggage. However, if it’s bigger, it will be considered as special luggage (max dimensions 120 x 90 x 40 cm or 47.2 x 35.4 x 15.7 inches).

    PetPetCan I bring pets on board?

    With AVE, you can travel with a pet as long as it weighs no more than 10 kg (22 pounds) and travels inside a cage or carrier that measures max 60 x 35 x 35 cm (23 x 13 x 13 inches). Your pet must have their own pet ticket, unless you’re traveling with a Premium ticket, in which case the pet ticket is free. Guide and assistance dogs travel for free.

    WheelchairWheelchairWhat special assistance is available?

    AVE offer a free assistance and care service for people with reduced mobility. To request the service, passengers should contact AVE directly.

    LuggageLuggageWhat baggage limits are there?

    One piece of hand baggage (36 x 27 x 15 cm) and one piece of cabin baggage (55 x 35 x 25 cm) can be taken onboard. You can take additional or larger bags with you (max. 30kg) for an extra fee or by paying for OUIGO Plus.​

    RestaurantRestaurantWhat food and drink is available?

    On OUIGO trains in France: an at-seat service of snacks is available on Train classique services. This service is not available on high-speed OUIGO trains.
    On OUIGO trains in Spain: OUIBAR is located in car 4 of each train and offers a selection of hot and cold drinks, plus snacks.

    WiFiWiFiWhat onboard entertainment is available?

    WiFi (OUIFI) and an entertainment portal (OUIFUN) are available at an additional cost.

    ChildPassengerChildPassengerWhat facilities are there for travel with children?

    For OUIGO trains in France: Passengers under 12 years old pay a fixed price for tickets all year round - €5 for journeys on Train classique services, and €8 for high speed services.
    For OUIGO trains in Spain: Passengers under 12 pay €5 for all journeys.

    ModeOfTransportBikeModeOfTransportBikeCan I bring a bike on board?

    You can take your bicycle on board OUIGO trains if you add the 'Bike' option onto your ticket for an additional fee of at least €5. Your bike must be folded or dismantled and placed in a storage bag for transport.

    PetPetCan I bring pets on board?

    Pets are only allowed on board OUIGO trains if the 'Pets' option is added to your ticket at the time of booking. (1 pet per adult, per booking, €10 per pet.)

    WheelchairWheelchairWhat special assistance is available?

    For disabled passengers or those with reduced mobility, you can request assistance through 'Accès Plus'. With this service, a member of staff will meet you at the station and help you get to your seat on the train. To book assistance, contact Accès Plus after you book your tickets (and no later than 48 hours before your train is due to depart).

    How do I find cheap train tickets from Vienna to Madrid?

    If you’re planning a trip to Europe soon, our Trainline team of experts have put together some tips to help you find cheap tickets. Booking on the day in Europe is usually more expensive and costs can vary depending on the time of day, route or travel class.

    1. Book in advance

    The price of train tickets from Vienna to Madrid starts at $291.58§ one-way for a Standard Class ticket if you book in advance. Most train companies across Europe release their tickets around three to six months ahead of time, so if you know the dates you want to travel, you may be able to find cheaper tickets.

    2. Be flexible with your travel times

    If you can, consider traveling outside of 'peak hours' (generally between 06:00 - 10:00 and 15:00 - 19:00 on weekdays) as lots of trains companies increase their ticket prices during these commuter times.

    3. Buy a rail pass

    If you're visiting multiple locations on your trip, buying a rail pass can be cheaper than buying individual tickets. We're official retailers of Eurail Passes that are valid for travel in one country or multiple countries across Europe.

    4. Choose a slower or connecting train

    On some busier routes, you might have the option to take a slower or connecting train. It may take longer than some high-speed or direct services, but if you have some extra time on your hands, you might find a cheaper fare.

    5. Look out for train ticket sales and deals

    Many train companies in Europe will often run sales and offers on tickets throughout the year, so keep an eye out!

    For specific information about how to get your hands on cheap tickets, check out our European train tickets hub.

    §Some train companies may not offer any Advance ticket types or cheaper deals for early bookings. On rare occasions, train companies may choose to release special offers closer to the date on last-minute or late-release tickets. This is dependent on the individual train operating company you travel with.

    * Based on European average monthly visitors to Trainline’s app and website from 1.1.2023 to 10.31.2023 vs other independent retailers.

    Europe’s leading train and coach app

    We help customers across Europe make more than 172,000 smarter journeys every day.