There are 9 ways to get from Madrid to Budapest by plane, train (Renfe, Ouigo, TGV), 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.
Fly to Budapest Ferenc Liszt International Airport
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Budapest Ferenc Liszt International Airport (BUD)plane MAD - BUD
6h 11mFt 16,786–56,637Train
- 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, Hauptbahnhof to Salzburg Hauptbahnhoftrain 62
- Take the train from Salzburg Hbf to Wien Hbftrain Rjx / ...
- Take the train from Wien Hbf to Budapest-Kelenfoeldtrain Ec
27h 8mFt 149,996–402,518Train, 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 1922
33h 53mFt 98,246–154,346Drive 2,373.7 km
- Drive from Madrid to Budapestcar 2,373.7 km
25h 19mFt 136,215–196,755Fly to Vienna International Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Vienna International Airport (VIE)plane MAD - VIE
- Take the train from Wien Hbf to Budapest-Kelenfoeldtrain
8h 24mFt 26,066–105,337Fly to Bratislava Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Bratislava Airport (BTS)plane MAD - BTS
- Take the train from Bratislava Hlavna Stanica to Budapest-Nyugatitrain
10h 38mFt 31,016–102,837Train, bus via Zurich
- 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 bus from Lyon Perrache Bus Station to Zurich Central Bus Station Sihlquaibus
- Take the train from Zürich HB to Wien Hbftrain
- Take the train from Wien Hbf to Budapest-Kelenfoeldtrain Ec
28h 33mFt 81,226–182,168Bus
- Take the bus from Madrid to Nice Airportbus FlixBus N1138
- Take the bus from Nice Airport to Budapest, Népliget Autóbusz-Pályaudvarbus 1922
39h 21mFt 78,223–129,141Bus, train
- Take the bus from Méndez Álvaro Estación Sur to Timișoara, Gara Timisoara Nordbus
- Take the train from Timisoara Nord to Budapest-Keletitrain Ir
2dFt 63,265–75,195
Madrid to Budapest by train
Questions & Answers
The cheapest way to get from Madrid to Budapest is to fly which costs 16 000 Ft - 60 000 Ft and takes 6h 11m.
The fastest way to get from Madrid to Budapest is to fly which takes 6h 11m and costs 16 000 Ft - 60 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 Nice Airport. The journey, including transfers, takes approximately 39h 21m.
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-Kelenfoeld via Barcelona-Sants, Lyon Part Dieu, Mannheim, Hauptbahnhof, Salzburg Hbf and Wien Hbf. The journey, including transfers, takes approximately 27h 8m.
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 8m and costs 150 000 Ft - 410 000 Ft.
It takes approximately 6h 11m 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 11m and costs 16 000 Ft - 60 000 Ft. Alternatively, you can train, which costs 150 000 Ft - 410 000 Ft and takes 27h 8m, you could also bus, which costs 75 000 Ft - 130 000 Ft and takes 39h 21m.
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) 3 times a day. Alternatively, you can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Budapest-Kelenfoeld via Barcelona-Sants, Lyon Part Dieu, Mannheim Hbf, Mannheim, Hauptbahnhof, Salzburg Hauptbahnhof, Salzburg Hbf, and Wien Hbf in around 27h 8m.
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Budapest Ferenc Liszt International Airport
- Ave. Duration
- 3h 5m
- When
- Monday to Saturday
- Estimated price
- Ft 17,000–55,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- Ft 19,000–55,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport via Venice
- Ave. Duration
- 5h
- When
- Monday and Tuesday
- Estimated price
- Ft 19,000–55,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Palma Mallorca
- Ave. Duration
- 5h 7m
- When
- Tuesday, Wednesday, and Saturday
- Estimated price
- Ft 26,000–48,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Milan Malpensa
- Ave. Duration
- 5h 40m
- When
- Wednesday and Thursday
- Estimated price
- Ft 26,000–48,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Alghero
- Ave. Duration
- 8h 55m
- When
- Monday, Wednesday, and Thursday
- Estimated price
- Ft 26,000–48,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Barcelona
- Ave. Duration
- 5h 30m
- When
- Sunday
- Estimated price
- Ft 26,000–48,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 21,000–80,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- Ft 18,000–55,000
- Website
- wizzair.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 15,000–46,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Basel
- Ave. Duration
- 4h 45m
- When
- Thursday and Sunday
- Estimated price
- Ft 21,000–75,000
- Website
- smartwings.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Palma Mallorca
- Ave. Duration
- 4h 45m
- When
- Wednesday, Saturday, and Sunday
- Estimated price
- Ft 21,000–65,000
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 22m
- Frequency
- Every 30 minutes
- Estimated price
- Ft 34,000–60,000
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 22m
- Frequency
- Every 30 minutes
- Estimated price
- Ft 34,000–60,000
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- [email protected]
- Website
- iryo.eu
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 31m
- Frequency
- Hourly
- Estimated price
- Ft 23,000–47,000
- Website
- https://iryo.eu/en/home
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 31m
- Frequency
- Hourly
- Estimated price
- Ft 23,000–47,000
- Website
- https://iryo.eu/en/home
- Phone
- +34 900 759 781
- Website
- ouigo.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Every 2 hours
- Estimated price
- Ft 21,000–36,000
- Website
- https://www.ouigo.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Every 2 hours
- Estimated price
- Ft 21,000–36,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 29m
- Frequency
- 4 times a day
- Estimated price
- Ft 28,000–43,000
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Twice daily
- Estimated price
- Ft 30,000–46,000
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Marseille St Charles
- Ave. Duration
- 8h 42m
- Frequency
- Twice daily
- Estimated price
- Ft 50,000–80,000
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- 4 times a day
- Estimated price
- Ft 28,000–43,000
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Twice daily
- Estimated price
- Ft 30,000–46,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
- Twice daily
- Estimated price
- Ft 49,000–80,000
- Website
- https://www.sncf-connect.com/en-en
- Phone
- +49 30 2970
- Website
- bahn.de
Train from Mannheim, Hauptbahnhof to Salzburg Hauptbahnhof
- Ave. Duration
- 5h 4m
- Frequency
- 4 times a day
- Estimated price
- Ft 32,000–140,000
- Website
- https://int.bahn.de/en
- Phone
- +43 (0)5 1717
- Website
- oebb.at
Train from Salzburg Hbf to Wien Hbf
- Ave. Duration
- 2h 25m
- Frequency
- Every 30 minutes
- Estimated price
- Ft 16,000–25,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/railjet
- Website
- https://shop.oebbtickets.at/en/ticket
- *
- Ft 16,000–25,000
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 36m
- Frequency
- 5 times a day
- Estimated price
- Ft 13,000–21,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/railjet
- Website
- https://shop.oebbtickets.at/en/ticket
- *
- Ft 13,000–20,000
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 36m
- Frequency
- 5 times a day
- Estimated price
- Ft 13,000–21,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/railjet
- Website
- https://shop.oebbtickets.at/en/ticket
- *
- Ft 13,000–20,000
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 36m
- Frequency
- 5 times a day
- Estimated price
- Ft 13,000–21,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/railjet
- Website
- https://shop.oebbtickets.at/en/ticket
- *
- Ft 13,000–20,000
- Phone
- +43 (0) 5 1717
- Website
- oebb.at
Train from Salzburg Hbf to Wien Hbf
- Ave. Duration
- 2h 52m
- Frequency
- Hourly
- Estimated price
- Ft 13,000–28,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket?cref=oebb-header
- Phone
- +43 (0) 5 1717
- Website
- oebb.at
Train from Salzburg Hbf to Wien Hbf
- Ave. Duration
- 2h 42m
- Frequency
- Twice daily
- Estimated price
- Ft 24,000–43,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 22m
- Frequency
- Hourly
- Estimated price
- Ft 19,000–34,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 22m
- Frequency
- Hourly
- Estimated price
- Ft 19,000–34,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket
Train from Bratislava Hlavna Stanica to Budapest-Nyugati
- Ave. Duration
- 2h 23m
- Frequency
- 4 times a day
- Estimated price
- Ft 16,000–30,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 22m
- Frequency
- Hourly
- Estimated price
- Ft 19,000–34,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket
- Phone
- +420 222 222 221
- [email protected]
- Website
- regiojet.com
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 31m
- Frequency
- Every 4 hours
- Estimated price
- Ft 5,000–8,500
- Website
- https://regiojet.com/
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 31m
- Frequency
- Every 4 hours
- Estimated price
- Ft 5,000–8,500
- Website
- https://regiojet.com/
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 31m
- Frequency
- Every 4 hours
- Estimated price
- Ft 5,000–8,500
- Website
- https://regiojet.com/
- Phone
- _AUSTRIAN_RAILWAYS_(ÖBB)
- Website
- oebb.at
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 28m
- Frequency
- 4 times a day
- Estimated price
- Ft 18,000–33,000
- Website
- https://www.oebb.at/en/
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 28m
- Frequency
- 4 times a day
- Estimated price
- Ft 18,000–33,000
- Website
- https://www.oebb.at/en/
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 28m
- Frequency
- 4 times a day
- Estimated price
- Ft 18,000–33,000
- Website
- https://www.oebb.at/en/
- Phone
- +420 221 111 122
- [email protected]
- Website
- cd.cz
Train from Bratislava Hlavna Stanica to Budapest-Nyugati
- Ave. Duration
- 2h 23m
- Frequency
- Every 4 hours
- Estimated price
- Ft 9,000–14,000
- Website
- https://www.cd.cz/en/default.htm
- Phone
- +48 22 322 22 22
- [email protected]
- Website
- intercity.pl
Train from Bratislava Hlavna Stanica to Budapest-Nyugati
- Ave. Duration
- 2h 32m
- Frequency
- 3 times a day
- Estimated price
- Ft 12,000–42,000
- Website
- https://www.intercity.pl/en/
- Phone
- +421 24 48 58 188
- [email protected]
- Website
- zssk.sk
Train from Bratislava Hlavna Stanica to Budapest-Nyugati
- Ave. Duration
- 2h 23m
- Frequency
- Twice daily
- Estimated price
- Ft 3,700–7,000
- Website
- https://www.zssk.sk/en/
Train from Zürich HB to Wien Hbf
- Ave. Duration
- 7h 52m
- Frequency
- Once daily
- Estimated price
- Ft 13,000–25,000
- Website
- https://www.zssk.sk/en/
- Phone
- 0219521
- Website
- cfrcalatori.ro
Train from Timisoara Nord to Budapest-Keleti
- Ave. Duration
- 5h 23m
- Frequency
- 4 times a day
- Estimated price
- Ft 9,000–10,000
- Website
- https://www.cfrcalatori.ro/en/
- Phone
- +49 30 300 137 300
- [email protected]
- Website
- https://www.flixbus.fr
Bus from Marseille, Gare de Marseille-Saint-Charles to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 24h 11m
- Frequency
- 4 times a week
- Estimated price
- Ft 45,000–75,000
- Website
- https://www.flixbus.co.uk
Bus from Madrid to Nice Airport
- Ave. Duration
- 17h 25m
- Frequency
- Once daily
- Estimated price
- Ft 39,000–65,000
- Website
- https://www.flixbus.co.uk
Bus from Nice Airport to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 20h 56m
- Frequency
- 4 times a week
- Estimated price
- Ft 39,000–65,000
- Website
- https://www.flixbus.co.uk
- Phone
- +420 222 222 221
- [email protected]
- Website
- regiojet.com
Bus from Lyon Perrache Bus Station to Zurich Central Bus Station Sihlquai
- Ave. Duration
- 6h 15m
- Frequency
- Twice a week
- Estimated price
- Ft 12,000–17,000
- Website
- https://regiojet.com/
- Phone
- +4-0263-21.55.00
- Website
- tabitatour.ro
Bus from Méndez Álvaro Estación Sur to Timișoara, Gara Timisoara Nord
- Ave. Duration
- 42h 34m
- Frequency
- Once a week
- Estimated price
- Ft 50,000–65,000
- Schedules at
- tabitatour.ro
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 Nice Airport 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 19m 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 6948+ hotels available in Budapest.






































































