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,770–61,621Train
- 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 9mFt 148,742–409,445Train, 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 96,716–156,100Drive 2,373.7 km
- Drive from Madrid to Budapestcar 2,373.7 km
25h 19mFt 135,661–195,954Fly 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 25mFt 26,070–110,371Fly 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 36,020–125,871Train, 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 Zuerich Hb to Wien Hbftrain Rjx
- Take the train from Wien Hbf to Budapest-Kelenfoeldtrain Ec
29h 51mFt 106,972–219,095Bus
- 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 74,720–125,646Bus, 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,488–75,463
Madrid to Budapest by train
Questions & Answers
The cheapest way to get from Madrid to Budapest is to fly which costs 16 000 Ft - 65 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 - 65 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 9m.
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 9m and costs 140 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 - 65 000 Ft. Alternatively, you can train, which costs 140 000 Ft - 410 000 Ft and takes 27h 9m, you could also bus, which costs 70 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) 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 27h 9m.
- 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–60,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Budapest Ferenc Liszt International Airport via Venice
- Ave. Duration
- 5h 55m
- When
- Tuesday and Friday
- Estimated price
- Ft 17,000–60,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- Ft 19,000–65,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–65,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 27,000–49,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 27,000–49,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 27,000–49,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Bratislava Airport via Barcelona
- Ave. Duration
- 5h 30m
- When
- Sunday
- Estimated price
- Ft 27,000–49,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–75,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- 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 10m
- When
- Every day
- Estimated price
- Ft 14,000–55,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 20,000–80,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 22,000–75,000
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 22m
- Frequency
- Every 30 minutes
- Estimated price
- Ft 34,000–65,000
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 22m
- Frequency
- Every 30 minutes
- Estimated price
- Ft 34,000–65,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 23,000–45,000
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 24m
- Frequency
- Hourly
- Estimated price
- Ft 23,000–45,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 2 hours
- Estimated price
- Ft 21,000–36,000
- Website
- Ouigo
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
- 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 29,000–44,000
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Twice daily
- Estimated price
- Ft 30,000–47,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–85,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 29,000–44,000
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Twice daily
- Estimated price
- Ft 30,000–47,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 17m
- Frequency
- Twice daily
- Estimated price
- Ft 47,000–75,000
- Website
- TGV inOui
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Mannheim, Hauptbahnhof to Salzburg Hauptbahnhof
- Ave. Duration
- 5h 4m
- Frequency
- 4 times a day
- Estimated price
- Ft 32,000–150,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 16,000–25,000
- Website
- Railjet
- Website
- Railjet
- *
- Ft 16,000–25,000
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 17m
- Frequency
- 4 times a day
- Estimated price
- Ft 13,000–21,000
- Website
- Railjet
- Website
- Railjet
- *
- Ft 13,000–21,000
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 17m
- Frequency
- 4 times a day
- Estimated price
- Ft 13,000–21,000
- Website
- Railjet
- Website
- Railjet
- *
- Ft 13,000–21,000
Train from Zuerich Hb to Wien Hbf
- *
- Ft 39,000–60,000
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 17m
- Frequency
- 4 times a day
- Estimated price
- Ft 13,000–21,000
- Website
- Railjet
- Website
- Railjet
- *
- Ft 13,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–28,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 24,000–43,000
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 22m
- Frequency
- Hourly
- Estimated price
- Ft 19,000–34,000
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 22m
- Frequency
- Hourly
- Estimated price
- Ft 19,000–34,000
- 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 16,000–30,000
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 22m
- Frequency
- Hourly
- Estimated price
- Ft 19,000–34,000
- Website
- ÖBB EuroCity
- Website
- ÖBB EuroCity
- 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 5,000–8,500
- Website
- RegioJet
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 31m
- Frequency
- Every 4 hours
- Estimated price
- Ft 5,000–8,500
- Website
- RegioJet
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 31m
- Frequency
- Every 4 hours
- Estimated price
- Ft 5,000–8,500
- Website
- RegioJet
- Phone
- _AUSTRIAN_RAILWAYS_(ÖBB)
- Website
- Austrian Railways
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 25m
- Frequency
- 4 times a day
- Estimated price
- Ft 18,000–34,000
- Website
- Austrian Railways
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 25m
- Frequency
- 4 times a day
- Estimated price
- Ft 18,000–34,000
- Website
- Austrian Railways
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 25m
- Frequency
- 4 times a day
- Estimated price
- Ft 18,000–34,000
- Website
- Austrian Railways
- 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 9,000–14,000
- 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 11,000–45,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 23m
- Frequency
- Twice daily
- Estimated price
- Ft 3,700–7,000
- Website
- Railways of Slovak Republic (ZSSK)
- Phone
- 0219521
- Website
- Romanian Railways (CFR)
Train from Timisoara Nord to Budapest-Keleti
- Ave. Duration
- 5h 28m
- Frequency
- 4 times a day
- Estimated price
- Ft 9,000–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
- 24h 11m
- Frequency
- 4 times a week
- Estimated price
- Ft 43,000–75,000
- Website
- Flixbus
Bus from Madrid to Nice Airport
- Ave. Duration
- 17h 25m
- Frequency
- Once daily
- Estimated price
- Ft 37,000–65,000
- Website
- Flixbus
Bus from Nice Airport to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 20h 56m
- Frequency
- 4 times a week
- Estimated price
- Ft 37,000–65,000
- Website
- Flixbus
- Phone
- +420 222 222 221
- [email protected]
- Website
- RegioJet
Bus from Lyon Perrache Bus Station to Zurich Central Bus Station Sihlquai
- Ave. Duration
- 6h 15m
- Frequency
- Twice a week
- Estimated price
- Ft 11,000–17,000
- Website
- RegioJet
- 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–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
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 6764+ hotels available in Budapest.






































































