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 27mFt 16,748–66,259Train
- 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
26h 50mFt 142,255–327,613Train, 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 96,398–145,759Drive 2,372.6 km
- Drive from Madrid to Budapestcar 2,372.6 km
25h 22mFt 141,326–204,137Fly 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 23mFt 26,328–123,009Fly 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 42mFt 29,078–109,509Train, bus
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Gironatrain Ave
- Take the bus from Girona, Estació d'Autobusos to Budapest, Népliget Autóbusz-Pályaudvarbus 1922
33h 52mFt 88,396–156,186Bus
- 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 79,407–124,572Bus, 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
2d 1hFt 63,134–75,139
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 - 70 000 Ft and takes 6h 27m.
The fastest way to get from Madrid to Budapest is to fly which takes 6h 27m and costs 16 000 Ft - 70 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 26h 50m.
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 26h 50m and costs 140 000 Ft - 330 000 Ft.
It takes approximately 6h 27m 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 27m and costs 16 000 Ft - 70 000 Ft. Alternatively, you can train, which costs 140 000 Ft - 330 000 Ft and takes 26h 50m, you could also bus, which costs 75 000 Ft - 130 000 Ft and takes 38h 46m.
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-Kelenfoeld via Barcelona-Sants, Lyon Part Dieu, Mannheim Hbf, Mannheim, Hauptbahnhof, Salzburg Hauptbahnhof, Salzburg Hbf, and Wien Hbf in around 26h 50m.
- 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 20,000–65,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Monday to Saturday
- Estimated price
- Ft 20,000–75,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport via Venice
- Ave. Duration
- 5h
- When
- Monday
- Estimated price
- Ft 20,000–75,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 25,000–70,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 25,000–70,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 25,000–70,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Barcelona
- Ave. Duration
- 5h 42m
- When
- Sunday, Tuesday, Thursday, and Saturday
- Estimated price
- Ft 25,000–70,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
- Every 30 minutes
- Estimated price
- Ft 32,000–60,000
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Girona
- Ave. Duration
- 4h 31m
- Frequency
- Every 2 hours
- Estimated price
- Ft 39,000–70,000
- Website
- Renfe AVE
- 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
- 5 times a week
- Estimated price
- Ft 43,000–70,000
- Website
- Flixbus
Bus from Girona, Estació d'Autobusos to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 28h 21m
- 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 60,000–95,000
- Website
- Flixbus
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 6433+ hotels available in Budapest.









