There are 8 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 26mFt 16,780–71,292Train
- 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 37mFt 140,291–309,551Train, bus via Marseille
- 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
31h 23mFt 100,068–145,708Drive 2,372.6 km
- Drive from Madrid to Budapestcar 2,372.6 km
25h 22mFt 142,493–205,823Fly 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
9h 7mFt 28,280–124,992Train, bus
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Perpignantrain 9725
- Take the bus from Perpignan to Budapest, Népliget Autóbusz-Pályaudvarbus 1922
33h 1mFt 92,183–143,046Bus
- Take the bus from Madrid, Avenida de América to Barcelona, Estació d'Autobusos Nordbus ALSA - Ma-Z-Ba
- Take the bus from Barcelona, Estació d'Autobusos Nord to Budapest, Népliget Autóbusz-Pályaudvarbus 1922
38h 46mFt 84,502–129,717Bus, 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,402–75,961
Madrid to Budapest by train
Comparing Your Travel Options
The cheapest way to get from Madrid to Budapest is to fly which costs 16 000 Ft - 75 000 Ft and takes 6h 26m.
The fastest way to get from Madrid to Budapest is to fly which takes 6h 26m and costs 16 000 Ft - 75 000 Ft.
No, there is no direct bus from Madrid to Budapest. However, there are services departing from Madrid, Avenida de América and arriving at Budapest, Népliget Autóbusz-Pályaudvar via Barcelona, Estació d'Autobusos Nord. The journey, including transfers, takes approximately 38h 46m.
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 37m.
The distance between Madrid and Budapest is 2002 km. The road distance is 2372.6 km.
The best way to get from Madrid to Budapest without a car is to train which takes 27h 37m and costs 140 000 Ft - 310 000 Ft.
It takes approximately 6h 26m to get from Madrid to Budapest, including transfers.
Madrid to Budapest bus services, operated by ALSA, depart from Madrid, Avenida de América 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 26m and costs 16 000 Ft - 75 000 Ft. Alternatively, you can train, which costs 140 000 Ft - 310 000 Ft and takes 27h 37m, you could also bus, which costs 80 000 Ft - 130 000 Ft and takes 38h 46m.
What companies run services between Madrid, Spain and Budapest, Hungary?
Wizz Air, Ryanair, and four other airlines fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Budapest Ferenc Liszt International Airport (BUD) every 4 hours. 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 37m.
- Website
- ryanair.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 18,000–70,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- Ft 21,000–80,000
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Budapest Ferenc Liszt International Airport via Munich
- Ave. Duration
- 6h 5m
- When
- Every day
- Estimated price
- Ft 24,000–120,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport via Munich
- Ave. Duration
- 5h 11m
- When
- Every day
- Estimated price
- Ft 25,000–120,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 20,000–85,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h 1m
- When
- Every day
- Estimated price
- Ft 18,000–60,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–65,000
- Website
- austrian.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport via Munich
- Ave. Duration
- 5h 30m
- When
- Sunday and Friday
- Estimated price
- Ft 70,000–120,000
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 2m
- Frequency
- Hourly
- Estimated price
- Ft 31,000–55,000
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- [email protected]
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 24m
- Frequency
- Hourly
- Estimated price
- Ft 20,000–36,000
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Every 4 hours
- Estimated price
- Ft 17,000–29,000
- Website
- Ouigo
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- Twice daily
- Estimated price
- Ft 27,000–40,000
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Once daily
- Estimated price
- Ft 30,000–44,000
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Marseille St Charles
- Ave. Duration
- 8h 42m
- Frequency
- Once daily
- Estimated price
- Ft 50,000–80,000
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Perpignan
- Ave. Duration
- 5h 5m
- Frequency
- Once daily
- Estimated price
- Ft 37,000–55,000
- Website
- Renfe Viajeros
- Phone
- +33 1 84 94 36 35
- Website
- TGV inOui
Train from Lyon Part Dieu to Mannheim Hbf
- Ave. Duration
- 5h 16m
- Frequency
- Once daily
- Estimated price
- Ft 47,000–70,000
- Website
- TGV inOui
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Mannheim, Hauptbahnhof to Salzburg Hauptbahnhof
- Ave. Duration
- 5h 7m
- Frequency
- 3 times a day
- Estimated price
- Ft 30,000–70,000
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Salzburg Hbf to Wien Hbf
- Ave. Duration
- 2h 52m
- Frequency
- 3 times a week
- Estimated price
- Ft 19,000–43,000
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +43 (0)5 1717
- Website
- Railjet
Train from Salzburg Hbf to Wien Hbf
- *
- Ft 16,000–25,000
Train from Wien Hbf to Budapest-Kelenfoeld
- *
- Ft 13,000–21,000
Train from Wien Hbf to Budapest-Kelenfoeld
- *
- Ft 13,000–21,000
- Phone
- +43 (0) 5 1717
- Website
- ÖBB Intercity
Train from Salzburg Hbf to Wien Hbf
- Ave. Duration
- 2h 59m
- Frequency
- Hourly
- Estimated price
- Ft 12,000–23,000
- Website
- ÖBB Intercity
- Website
- ÖBB Intercity
- Phone
- +43 (0) 5 1717
- Website
- ÖBB EuroCity
Train from Salzburg Hbf to Wien Hbf
- Ave. Duration
- 2h 42m
- Frequency
- Once daily
- Estimated price
- Ft 26,000–30,000
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 36m
- Frequency
- Every 4 hours
- Estimated price
- Ft 21,000–24,000
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 36m
- Frequency
- Every 4 hours
- Estimated price
- Ft 21,000–24,000
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
- Phone
- _AUSTRIAN_RAILWAYS_(ÖBB)
- Website
- Austrian Railways
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 28m
- Frequency
- Twice daily
- Estimated price
- Ft 18,000–29,000
- Website
- Austrian Railways
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 28m
- Frequency
- Twice daily
- Estimated price
- Ft 18,000–29,000
- Website
- Austrian Railways
- Phone
- +420 222 222 221
- [email protected]
- Website
- RegioJet
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 31m
- Frequency
- 3 times a day
- Estimated price
- Ft 4,300–7,500
- Website
- RegioJet
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 31m
- Frequency
- 3 times a day
- Estimated price
- Ft 4,300–7,500
- Website
- RegioJet
- Phone
- 0219521
- Website
- Romanian Railways (CFR)
Train from Timisoara Nord to Budapest-Keleti
- Ave. Duration
- 5h 23m
- Frequency
- Twice daily
- Estimated price
- Ft 8,500–10,000
- Website
- Romanian Railways (CFR)
- Phone
- +49 30 300 137 300
- [email protected]
- Website
- Flixbus
Bus from Marseille, Gare de Marseille-Saint-Charles to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 21h 41m
- Frequency
- 4 times a week
- Estimated price
- Ft 47,000–70,000
- Website
- Flixbus
Bus from Perpignan to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 26h 56m
- Frequency
- Twice a week
- Estimated price
- Ft 55,000–90,000
- Website
- Flixbus
Bus from Barcelona, Estació d'Autobusos Nord to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 29h 41m
- Frequency
- Twice a week
- Estimated price
- Ft 65,000–100,000
- Website
- Flixbus
- Phone
- +34 910 207 007
- Website
- ALSA
Bus from Madrid, Avenida de América to Barcelona, Estació d'Autobusos Nord
- Ave. Duration
- 8h 5m
- Frequency
- Every 3 hours
- Estimated price
- Ft 19,000–30,000
- Website
- ALSA
- 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 55,000–70,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
Booking & Getting There
Madrid to Budapest bus services, operated by ALSA, arrive at Barcelona, Estació d'Autobusos Nord station.
Madrid to Budapest train services, operated by Renfe AVE, arrive at Barcelona-Sants station.
Yes, the driving distance between Madrid to Budapest is 2373 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.
There are 6391+ hotels available in Budapest.

























































