There are 7 ways to get from Madrid to Budapest by plane, train (Renfe, Ouigo, TGV), train, bus, car, or car 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
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Budapest Ferenc Liszt International Airport (BUD)plane MAD - BUD
6h 5mFt 19,583–52,283Train
- 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 Mannheim Hbftrain Tgv
- Take the train from Mannheim Hbf to Wien Meidlingtrain Nj
- Take the train from Vienna Meidling Train Station to Budapest-Kelenföldtrain
27h 2mFt 76,466–175,846Train, bus
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Marseille St Charlestrain 9725
- Take the bus from Marseille, Gare de Marseille-Saint-Charles to Budapest, Népliget Autóbusz-Pályaudvarbus N882 / ...
34h 25mFt 61,091–88,093Drive, car train
- Drive from Madrid to München Ostcar
- Take the car train from München Ost to Salzburg Hbfcartrain
- Drive from Salzburg Hbf to Budapestcar
25hFt 175,592–244,856Bus
- Take the bus from Madrid to Milanbus FlixBus N1138
- Take the bus from Milano, Autostazione Lampugnano to Budapest, Népliget Autóbusz-Pályaudvarbus 403 / ...
38h 5mFt 43,840–74,877Bus, train
- Take the bus from Madrid Mendez Alvaro Estacion Sur to Zagreb Central Bus Stationbus Union Ivkoni - Unibus 3419 / ...
- Take the train from Zagreb Glavni Kol. to Budapest-Delitrain Ic
42h 33mFt 42,860–61,513Drive 2,373.7 km
- Drive from Madrid to Budapestcar 2,373.7 km
25h 22mFt 137,858–199,128
Madrid to Budapest by train
Questions & Answers
The cheapest way to get from Madrid to Budapest is to fly which costs 19 000 Ft - 55 000 Ft and takes 6h 5m.
The fastest way to get from Madrid to Budapest is to fly which takes 6h 5m and costs 19 000 Ft - 55 000 Ft.
No, there is no direct bus from Madrid to Budapest. However, there are services departing from Madrid and arriving at Budapest, Népliget Autóbusz-Pályaudvar via Milano, Autostazione Lampugnano. The journey, including transfers, takes approximately 38h 5m.
No, there is no direct train from Madrid to Budapest. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Budapest-Kelenföld via Barcelona-Sants, Lyon Part Dieu, Mannheim Hbf and Vienna Meidling Train Station. The journey, including transfers, takes approximately 27h 2m.
The distance between Madrid and Budapest is 2002 km. The road distance is 2373.7 km.
The best way to get from Madrid to Budapest without a car is to train which takes 27h 2m and costs 75 000 Ft - 180 000 Ft.
It takes approximately 6h 5m to get from Madrid to Budapest, including transfers.
Madrid to Budapest bus services, operated by FlixBus, depart from Madrid station.
Madrid to Budapest train services, operated by Renfe AVE, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid to Budapest is to fly which takes 6h 5m and costs 19 000 Ft - 55 000 Ft. Alternatively, you can train, which costs 75 000 Ft - 180 000 Ft and takes 27h 2m, you could also bus, which costs 43 000 Ft - 75 000 Ft and takes 38h 5m.
What companies run services between Madrid, Spain and Budapest, Hungary?
Wizz Air, Ryanair, and Iberia fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Budapest Ferenc Liszt International Airport (BUD) 4 times a day. Alternatively, you can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Budapest-Kelenföld via Barcelona-Sants, Lyon Part Dieu, Mannheim Hbf, Wien Meidling, and Vienna Meidling Train Station in around 27h 2m.
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Budapest Ferenc Liszt International Airport
- Ave. Duration
- 3h 20m
- When
- Every day
- Estimated price
- Ft 19,000–50,000
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Budapest Ferenc Liszt International Airport
- Ave. Duration
- 3h 10m
- When
- Every day
- Estimated price
- Ft 27,000–50,000
- Website
- wizzair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Budapest Ferenc Liszt International Airport
- Ave. Duration
- 3h 15m
- When
- Every day
- Estimated price
- Ft 14,000–42,000
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 2h 37m
- Frequency
- Hourly
- Estimated price
- Ft 13,000–45,000
- 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
- 2h 57m
- Frequency
- Hourly
- Estimated price
- Ft 13,000–35,000
- 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 2m
- Frequency
- Every 4 hours
- Estimated price
- Ft 11,000–23,000
- Website
- https://www.ouigo.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 4m
- Frequency
- Twice daily
- Estimated price
- Ft 18,000–25,000
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Once daily
- Estimated price
- Ft 20,000–27,000
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Marseille St Charles
- Ave. Duration
- 8h 15m
- Frequency
- Once daily
- Estimated price
- Ft 35,000–47,000
- Website
- https://www.renfe.com/es/en
- Phone
- +33 1 84 94 36 35
- Website
- sncf-connect.com
Train from Lyon Part Dieu to Mannheim Hbf
- Ave. Duration
- 5h 17m
- Frequency
- Once daily
- Estimated price
- Ft 18,000–60,000
- Website
- https://www.sncf-connect.com/en-en
- Phone
- +32 70 79 79 79
- Website
- belgiantrain.be
Train from Mannheim Hbf to Wien Meidling
- Ave. Duration
- 7h 38m
- Frequency
- 4 times a week
- Estimated price
- Ft 23,000–34,000
- Website
- https://www.belgiantrain.be/en
- 2nd Class
- Ft 23,000–34,000
- 1st Class
- Ft 37,000–55,000
- Phone
- +420 222 222 221
- info@regiojet.cz
- Website
- regiojet.com
Train from Vienna Meidling Train Station to Budapest-Kelenföld
- Ave. Duration
- 2h 24m
- Frequency
- 3 times a day
- Estimated price
- Ft 4,500–10,000
- Website
- https://regiojet.com/
- Phone
- +49 (0) 221 800 20 820
- info@urlaubs-express.de
- Website
- urlaubs-express.de
Car train from München Ost to Salzburg Hbf
- Ave. Duration
- 49 min
- Frequency
- Once daily
- Estimated price
- Ft 35,000–41,000
- Website
- https://urlaubs-express.de/?lang=en
- Phone
- +385 60 333 444
- informacije@hzpp.hr
- Website
- hzpp.hr
Train from Zagreb Glavni Kol. to Budapest-Deli
- Ave. Duration
- 5h 54m
- Frequency
- Once daily
- Estimated price
- Ft 7,000–10,000
- Website
- http://www.hzpp.hr/en
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- flixbus.fr
Bus from Marseille, Gare de Marseille-Saint-Charles to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 25h 10m
- Frequency
- Twice daily
- Estimated price
- Ft 26,000–42,000
- Website
- https://www.flixbus.co.uk
Bus from Madrid to Milan
- Ave. Duration
- 23h 5m
- Frequency
- Once daily
- Estimated price
- Ft 26,000–47,000
- Website
- https://www.flixbus.co.uk
Bus from Milano, Autostazione Lampugnano to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 14h
- Frequency
- Twice daily
- Estimated price
- Ft 17,000–28,000
- Website
- https://www.flixbus.co.uk
- Phone
- 07001 8282
- booking@union-ivkoni.com
- Website
- union-ivkoni.com
Bus from Madrid Mendez Alvaro Estacion Sur to Zagreb Central Bus Station
- Ave. Duration
- 35h 30m
- Frequency
- 3 times a week
- Estimated price
- Ft 35,000–55,000
- Website
- https://union-ivkoni.com/en
Want to know more about travelling around Hungary
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
Want to know more about Flixbus?
Read the travel guide
5 delightfully under-the-radar French towns you need to visit
Read the travel guide
Heading to Europe? Read this before you buy a Eurail Pass
Read the travel guide
More Questions & Answers
Madrid to Budapest bus services, operated by FlixBus, arrive at Milan station.
Madrid to Budapest train services, operated by Renfe AVE, arrive at Barcelona-Sants station.
Yes, the driving distance between Madrid to Budapest is 2374 km. It takes approximately 25h 22m to drive from Madrid to Budapest.
Book your Madrid to Budapest train tickets online with Omio.
Book your Madrid to Budapest bus tickets online with Omio and FlixBus.
There are 6515+ hotels available in Budapest.



































