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 22mFt 16,832–66,363Train
- 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 2mFt 132,368–258,341Train, 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
31h 23mFt 98,605–151,991Drive 2,372.6 km
- Drive from Madrid to Budapestcar 2,372.6 km
25h 22mFt 139,909–202,090Fly 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 32mFt 28,782–120,013Fly 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 39mFt 29,082–110,513Train, bus via Barcelona
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
- Take the train from Barcelona-Sants to Narbonnetrain Tgv
- Take the bus from Narbonne to Budapest, Népliget Autóbusz-Pályaudvarbus
32h 40mFt 81,568–157,341Bus
- 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,581–129,837Bus, 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,624–76,227
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 22m.
The fastest way to get from Madrid to Budapest is to fly which takes 6h 22m 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 27h 2m.
The distance between Madrid and Budapest is 2003 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 2m and costs 130 000 Ft - 260 000 Ft.
It takes approximately 6h 22m 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 22m and costs 16 000 Ft - 70 000 Ft. Alternatively, you can train, which costs 130 000 Ft - 260 000 Ft and takes 27h 2m, 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 2m.
- 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–60,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Monday, Tuesday, Wednesday, Thursday, Saturday, and Sunday
- Estimated price
- Ft 22,000–80,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Palma Mallorca
- Ave. Duration
- 4h 55m
- When
- Saturday
- Estimated price
- Ft 26,000–90,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Pisa
- Ave. Duration
- 5h 49m
- When
- Tuesday
- Estimated price
- Ft 26,000–90,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Milan Malpensa
- Ave. Duration
- 8h 12m
- When
- Sunday and Friday
- Estimated price
- Ft 26,000–90,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Turin
- Ave. Duration
- 9h 25m
- When
- Saturday
- Estimated price
- Ft 26,000–90,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Barcelona
- Ave. Duration
- 4h 50m
- When
- Monday
- Estimated price
- Ft 26,000–90,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 19,000–90,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h 1m
- When
- Every day
- Estimated price
- Ft 22,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–60,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Barcelona
- Ave. Duration
- 4h 45m
- When
- Tuesday and Saturday
- Estimated price
- Ft 23,000–75,000
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Budapest Ferenc Liszt International Airport via Munich
- Ave. Duration
- 5h 15m
- When
- Every day
- Estimated price
- Ft 24,000–120,000
- Website
- swiss.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport via Zurich
- Ave. Duration
- 6h 20m
- When
- Monday, Thursday, Friday, Saturday, and Sunday
- Estimated price
- Ft 49,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
- Every 30 minutes
- Estimated price
- Ft 28,000–49,000
- 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 28,000–49,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 19,000–34,000
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 24m
- Frequency
- Hourly
- Estimated price
- Ft 19,000–34,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
- Hourly
- Estimated price
- Ft 16,000–25,000
- Website
- Ouigo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Hourly
- Estimated price
- Ft 16,000–25,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
- 4 times a day
- Estimated price
- Ft 26,000–41,000
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Twice daily
- Estimated price
- Ft 28,000–44,000
- Website
- Renfe Viajeros
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
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- 4 times a day
- Estimated price
- Ft 26,000–41,000
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Narbonne
- Ave. Duration
- 2h 10m
- Frequency
- 3 times a day
- Estimated price
- Ft 10,000–17,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
- Twice daily
- Estimated price
- Ft 43,000–65,000
- Website
- TGV inOui
Train from Barcelona-Sants to Narbonne
- Ave. Duration
- 2h 12m
- Frequency
- 4 times a day
- Estimated price
- Ft 16,000–24,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 28,000–47,000
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Salzburg Hbf to Wien Hbf
- Ave. Duration
- 2h 52m
- Frequency
- 4 times a week
- Estimated price
- Ft 18,000–30,000
- Website
- Deutsche Bahn Intercity (DB IC)
- Phone
- +43 (0)5 1717
- Website
- Railjet
Train from Salzburg Hbf to Wien Hbf
- Ave. Duration
- 2h 25m
- Frequency
- Every 30 minutes
- Estimated price
- Ft 17,000–25,000
- Website
- Railjet
- Website
- Railjet
- *
- Ft 17,000–25,000
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 22m
- Frequency
- Every 4 hours
- Estimated price
- Ft 14,000–21,000
- Website
- Railjet
- Website
- Railjet
- *
- Ft 14,000–21,000
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 22m
- Frequency
- Every 4 hours
- Estimated price
- Ft 14,000–21,000
- Website
- Railjet
- Website
- Railjet
- *
- Ft 14,000–21,000
- Phone
- +43 (0) 5 1717
- Website
- ÖBB Intercity
Train from Salzburg Hbf to Wien Hbf
- Ave. Duration
- 2h 52m
- Frequency
- Hourly
- Estimated price
- Ft 13,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
- Twice daily
- Estimated price
- Ft 29,066
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 35m
- Frequency
- Hourly
- Estimated price
- Ft 22,920
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 35m
- Frequency
- Hourly
- Estimated price
- Ft 22,920
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Bratislava Hlavna Stanica to Budapest-Nyugati
- Ave. Duration
- 2h 23m
- Frequency
- 4 times a day
- Estimated price
- Ft 19,929
- 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
- 5 times a day
- Estimated price
- Ft 13,000–24,000
- Website
- Austrian Railways
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 28m
- Frequency
- 5 times a day
- Estimated price
- Ft 13,000–24,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
- Every 4 hours
- Estimated price
- Ft 3,800–7,500
- Website
- RegioJet
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 31m
- Frequency
- Every 4 hours
- Estimated price
- Ft 3,800–7,500
- Website
- RegioJet
- Phone
- +420 221 111 122
- [email protected]
- Website
- Czech Railways (ČD)
Train from Bratislava Hlavna Stanica to Budapest-Nyugati
- Ave. Duration
- 2h 23m
- Frequency
- Every 4 hours
- Estimated price
- Ft 6,000–9,500
- Website
- Czech Railways (ČD)
- Phone
- +48 22 322 22 22
- [email protected]
- Website
- PKP Intercity
Train from Bratislava Hlavna Stanica to Budapest-Nyugati
- Ave. Duration
- 2h 32m
- Frequency
- Twice daily
- Estimated price
- Ft 9,000–16,000
- Website
- PKP Intercity
- Phone
- +421 24 48 58 188
- [email protected]
- Website
- Railways of Slovak Republic (ZSSK)
Train from Bratislava Hlavna Stanica to Budapest-Nyugati
- Ave. Duration
- 2h 32m
- Frequency
- Twice daily
- Estimated price
- Ft 3,800–7,000
- Website
- Railways of Slovak Republic (ZSSK)
- Phone
- 0219521
- Website
- Romanian Railways (CFR)
Train from Timisoara Nord to Budapest-Keleti
- Ave. Duration
- 5h 13m
- Frequency
- 3 times a day
- 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
- 6 times a week
- Estimated price
- Ft 48,000–75,000
- Website
- Flixbus
Bus from Narbonne to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 25h 21m
- Frequency
- 3 times a week
- Estimated price
- Ft 55,000–85,000
- Website
- Flixbus
Bus from Barcelona, Estació d'Autobusos Nord to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 29h 41m
- Frequency
- 3 times 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 and 12go.asia.
There are 400+ hotels available in Budapest.
















































































