If you must travel, travel safely. For contactless travel, use digital tickets on your phone.

Eurostar
SNCF

The best prices from hundreds of train and coach companies

Join millions of people who use us every day

Travel to thousands of destinations in 45 countries

Independent
"Trainline’s take-off has been vertical. It’s the only global digital travel platform of its sort."
GQ
"For those travelling by train, the most efficient and trustworthy way to purchase tickets is Trainline."
MSN
"If you’re thinking of getting the train the best site to use is thetrainline.com."

Budapest to Madrid by train

It takes an average of 38h 03m to travel from Budapest to Madrid by train, over a distance of around 1228 miles (1976 km). There are normally 5 trains per day travelling from Budapest to Madrid and tickets for this journey start from €283.90 when you book in advance.
Journey timeFrom 31h 45m
Price€283.90 - €818.70
Distance1228 miles (1976 km)
Frequency5 trains per day
Departure stationBudapest
Arrival stationMadrid
Changes4 changes
Train and bus operatorsSBB CFF FFS, DB, Meridian, Regiojet,

Budapest to Madrid train times

Check out the next trains departing from Budapest to Madrid for Tuesday 2nd Jun 2020. For the full train timetable/schedule, or to search for a later time or date, click here.
DepartsArrivesDuration
11:40 19:55 32h 15m, 7 changes
12:10 19:55 31h 45m, 8 changes
15:40 08:20 40h 40m, 4 changes
20:40 15:41 43h 01m, 6 changes
23:20 17:55 42h 35m, 10 changes

SBB, Deutsche Bahn, ÖBB and OUIGO trains from Budapest to Madrid

You can travel from Budapest to Madrid on SBB, Deutsche Bahn, ÖBB and OUIGO 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.

The Swiss rail network is operated by SBB. SBB train ticket prices are based on travel and not on the type of trains. You will find available return tickets (standard price, one way or round trip), Multiple journey tickets (for six individual trips on a pre-determined itinerary) and the City-Ticket (including a one-day transportation pass from the city of departure or arrival).

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.

Ö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.

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.

Cheap train tickets from Budapest to Madrid

Train tickets from Budapest to Madrid start at €283.90 one-way for a Standard Class ticket if you book in Advance, however, if you're booking last-minute tickets on the day, the average price is around €560.67.
lowest price found
from283.90
on the day
avg. single price560.67

Book in advance

Most of the train companies across Europe release their tickets around three to six months in advance, many of which can be cheaper the earlier you book. If you know the dates you want to travel, you may be able to find some cheaper train tickets from Budapest to Madrid by booking early.§

Be flexible with your travel times

Many of the train services in Europe are also popular commuter services, lots of train companies increase ticket prices during “peak hours” (generally between 06:00 – 10:00 and 15:00 – 19:00 on weekdays). If you can, consider travelling outside of peak hours to find lower priced tickets.

Choose a slower or connecting train

On some of the busier routes, you might also have the option to take a slower or connecting train. It may take a little longer than some high-speed or direct services, but if you have a little extra time on your hands, you might find a cheaper fare. Plus, you'll have more time to enjoy the view of the countryside!

Look out for special deals

Take a look at our handy guide to check when European train operators release their special deals and offers to see if you can find cheap tickets for your journey.

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.

Journey details

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

How long does the train from Budapest to Madrid take?

The average journey time by train between Budapest and Madrid is 38 hours and 3 minutes, with around 5 trains per day. 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.

What's the fastest journey time between Budapest and Madrid by train?

The fastest journey time by train from Budapest to Madrid is 31 hours and 45 minutes.

How much does the train from Budapest to Madrid cost?

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

Is there a direct train from Budapest to Madrid?

No, there are no direct train services from Budapest to Madrid. Travelling from Budapest to Madrid by train will require a minimum of 4 changes.

What time does the first train from Budapest to Madrid leave?

The first train from Budapest to Madrid leaves at 11:40. Times and services may vary during weekends and holidays.

What time does the last train from Budapest to Madrid leave?

The last train from Budapest to Madrid leaves at 23:20. Trains that depart in the early morning hours or very late evening may be sleeper services, time and services may also vary during weekends and holidays.

What's the distance between Budapest and Madrid by train?

Trains travelling from Budapest to Madrid cover a distance of around 1228 miles (1976 km) during the journey.

Looking for more information?

If you’re looking for the return train journey, check out trains from Madrid to Budapest.
Average prices for adult tickets in economy. Discount cards and coach journey excluded. Prices are based on searches made by our customers over the past 6 months. "14 days in advance" includes days 13 and 15. / The information provided is calculated based on scheduled train services for Budapest to Madrid for a typical week day using timetable data for 02/06/2020. On weekends, holidays or other exceptional times, fewer services may be available. The fare range provided has been found by our customers on Trainline on 11/05/2019 for travel on 12/05/2019 and for adult tickets in economy, discount cards and coach journeys excluded.

Europe’s leading train and coach app

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