COVID-19 Travel restrictions may apply upon entering Hungary. Learn More.
Duration 2 days 0h
Distance 2509.4 km
Average price 284 394 Ft
Frequency 5/week

Trip overview

The train between Madrid and Budapest takes 2 days 0h. The train runs, on average, 5 times per week from Madrid to Budapest. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.


  1. Madrid-Puerta De Atocha
  2. Barcelona-Sants
  3. Lyon Part Dieu
  4. Genève
  5. Zuerich Hb
  6. Budapest
26h 50m
173 963 Ft - 319 521 Ft

Madrid to Budapest train times

Trains run five times a week between Madrid and Budapest. The service departs Madrid at 20:30 in the evening, which arrives into Budapest at 21:59. All services require a transfer, and take on average 2 days 0h. The schedules shown below are for the next available departures.
Train services typically run at the following times each day These schedules are estimated
These schedules are estimated: The schedules shown above are estimated schedules based on typical services on the average day and may vary depending on when you plan to travel. Please make sure you confirm the departure/arrival times and availability with the operator before planning your trip.

Frequently asked questions

Want to know about travelling from Madrid to Budapest? We have put together a list of the most frequently asked questions from our users such as: What is the cheapest mode of transport?, What is the quickest option?, How much do tickets usually cost? and many more.

There is widespread community transmission globally.
Some travel restrictions are being lifted in Hungary. For the latest travel status, please check the official page for Hungary.

Learn More.

No, there is no direct train from Madrid to Budapest. However, there are services departing from Madrid-Puerta De Atocha and arriving at Budapest-Keleti via Barcelona-Sants, Lyon Part Dieu, Genève and Zuerich Hb. The journey, including transfers, takes approximately 26h 50m.

More details

The distance between Madrid and Budapest is 1974 km. The road distance is 2509.4 km.

Get driving directions

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

More details

Madrid to Budapest train services, operated by Swiss Railways (SBB/CFF/FFS), arrive at Budapest-Keleti station.

More details

There are 3223+ hotels available in Budapest. Prices start at 30 000 Ft per night.

More details

Get the Rome2rio app

Find the best way to get from A to B, anywhere in the world, on your mobile or tablet.

Compare your options: plane, train, bus, car, ferry, bike share, driving and walking directions all in one search.

Learn more about our apps