Need a hotel room in Budapest?

Book now

There are 7 ways to get from Madrid to Budapest by plane, train, bus, shuttle 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.

Recommended option

Fly  •  6h 19m

  1. Fly from Madrid (MAD) to Budapest (BUD) MAD - BUD

10 049 Ft - 114 530 Ft

6 alternative options

Train  •  26h 3m

  1. Take the train from Madrid-Puerta De Atocha to Barcelona-Sants Ave
  2. Take the train from Barcelona-Sants to Lyon Part Dieu Ave
  3. Take the train from Lyon Part Dieu to Mulhouse Ville Tgv
  4. Take the train from Mulhouse to Zürich HB Tgv
  5. Take the train from Zuerich Hb to Budapest-Kelenfoeld Rjx

183 477 Ft - 326 606 Ft

Train, bus via Innsbruck  •  28h 58m

  1. Take the train from Madrid-Puerta De Atocha to Barcelona-Sants Ave
  2. Take the train from Barcelona-Sants to Lyon Part Dieu Ave
  3. Take the bus from Lyon Perrache to Innsbruck Südbahnstraße
  4. Take the train from Innsbruck Hbf to Wien Hbf Rjx / ...
  5. Take the train from Wien Hbf to Budapest-Kelenfoeld Ec / ...

130 477 Ft - 229 106 Ft

Train, bus  •  37h 11m

  1. Take the train from Madrid-Puerta De Atocha to Barcelona-Sants Ave
  2. Take the bus from Barcelona to Budapest Népliget bus station 1922

57 727 Ft - 83 356 Ft

Bus, shuttle  •  38h

  1. Take the bus from Madrid to Mestre
  2. Take a shuttle bus from Venezia to Budapest Eurobusways

79 017 Ft - 133 492 Ft

Bus  •  42h 22m

  1. Take the bus from Madrid - Estacion Sur to Arad
  2. Take the bus from Arad to Budapest

42 625 Ft - 56 753 Ft

Drive  •  23h 27m

  1. Drive from Madrid to Budapest 2509.4 km

85 000 Ft - 130 000 Ft

Madrid to Budapest by train

The train journey time between Madrid and Budapest is around 2 days 0h and covers a distance of around 2803 km. The fastest train normally takes 2 days 0h. Operated by Renfe AVE, Renfe SNCF, TGV inOui and others, the Madrid to Budapest train service departs from Madrid-Puerta De Atocha and arrives in Budapest-Kelenfoeld. Typically five trains run weekly, although weekend and holiday schedules can vary so check in advance.

Train route overview

Average train time:
2 days 0h
Fastest train time:
2 days 0h
Trains per week:
5
Cheapest price:
171 477 Ft
Carbon emissions:
147 kg CO2

First and last trains

First train departs at:
20:40
Last train departs at:
20:40

The schedules shown below are for the next available departures.

Madrid to Budapest train schedules

Train services typically run at the following times each day These schedules are estimated
Estimated schedules: These schedules are estimated and based on typical services on an average day. Please check times and availability with the operator before travelling.
Spain → Hungary
Restricted

Travel safe during COVID-19

International entry into Hungary from Spain

  • Entry is restricted for citizens and permanent residents of Spain
Show more details
Allowed for: Citizens and permanent residents of Bahrain, Croatia, Czech Republic, Georgia, Hungary, Moldova, Mongolia, Montenegro, North Macedonia, Serbia, Slovenia and Turkey

Restricted for: Foreign nationals

Show less

Conditions of entry into Hungary from Spain

  • 10-day mandatory quarantine and a negative COVID-19 test issued at most 2 days before arrival
This applies to arrivals from all countries, with no exceptions

Rules to follow in Hungary

1.5m

Mandatory

Considerations leaving from Spain

The official advice is to avoid non-essential international travel to high risk countries

Frequently Asked Questions


No, entry into Hungary from Spain is currently restricted.

Explore options for future travel

Domestic travel is not restricted, but some conditions may apply

  • Face masks are mandatory
  • There is a social distancing requirement of 1.5 metres
  • Observe COVID-19 safety rules
  • Nationwide control measures in place

Explore travel options

The national COVID-19 helpline number in Budapest is 0036 6 80 277 455.

Wearing a face mask on public transport in Budapest is mandatory.

The social distance requirement in Budapest is 1.5 metres.

Make yourself known to an official member of staff and/or call the national coronavirus helpline number on 0036 6 80 277 455.

No, returning to Spain from Hungary is currently allowed.

See options for return travel.

Last updated: 20 Jun 2021
Exceptions may apply, for full details: European Union.

We're working around the clock to bring you the latest COVID-19 travel updates.
This information is compiled from official sources. To the best of our knowledge, it is correct as of the last update.
Visit Rome2rio travel advice for general help.

Questions & Answers

The cheapest way to get from Madrid to Budapest is to fly which costs €28 - €320 and takes 6h 19m.

More details

The fastest way to get from Madrid to Budapest is to fly. Taking this option will cost €28 - €320 and takes 6h 19m.

More details

No, there is no direct bus from Madrid to Budapest. However, there are services departing from Madrid - Estacion Sur and arriving at Budapest via Arad. The journey, including transfers, takes approximately 42h 22m.

More details

No, there is no direct train from Madrid to Budapest. However, there are services departing from Madrid-Puerta De Atocha and arriving at Budapest-Kelenfoeld via Barcelona-Sants, Lyon Part Dieu, Mulhouse and Zuerich Hb. The journey, including transfers, takes approximately 26h 3m.

More details

The distance between Madrid and Budapest is 1974 km. The road distance is 2509.4 km.

Get driving directions

The best way to get from Madrid to Budapest without a car is to train which takes 26h 3m and costs €500 - €950.

More details

It takes approximately 6h 19m to get from Madrid to Budapest, including transfers.

More details

Madrid to Budapest bus services, operated by Amring, depart from Madrid - Estacion Sur station.

More details

Madrid to Budapest train services, operated by Renfe AVE, depart from Madrid-Puerta De Atocha station.

More details

The best way to get from Madrid to Budapest is to fly which takes 6h 19m and costs €28 - €320. Alternatively, you can train, which costs €500 - €950 and takes 26h 3m, you could also bus, which costs €110 - €160 and takes 42h 22m.

Mode details

Map of how to get from Madrid to Budapest.
Launch map view
  • Distance: 1974.1 km
  • Duration: 6h 19m

What companies run services between Madrid, Spain and Budapest, Hungary?

Ryanair, Iberia and six other airlines fly from Madrid to Budapest every 2 hours. Alternatively, you can take a train from Madrid to Budapest via Barcelona-Sants, Lyon Part Dieu, Mulhouse, and Zuerich Hb in around 26h 3m.

Airlines
Lufthansa
Website
lufthansa.com
Flights from Madrid to Budapest via Frankfurt
Ave. Duration
5h 21m
When
Every day
Estimated price
50 000 Ft - 100 000 Ft
Flights from Madrid to Budapest via Munich
Ave. Duration
5h 20m
When
Every day
Estimated price
50 000 Ft - 100 000 Ft
Iberia
Website
iberia.com
Flights from Madrid to Budapest
Ave. Duration
3h 10m
When
Monday, Wednesday, Thursday, Saturday and Sunday
Estimated price
19 000 Ft - 90 000 Ft
Air France
Website
airfrance.com
Flights from Madrid to Budapest via Paris CDG
Ave. Duration
6h 17m
When
Every day
Estimated price
39 000 Ft - 190 000 Ft
KLM
Website
klm.com
Flights from Madrid to Budapest via Amsterdam Schiphol
Ave. Duration
5h 57m
When
Every day
Estimated price
35 000 Ft - 90 000 Ft
Ryanair
Website
ryanair.com
Flights from Madrid to Budapest
Ave. Duration
3h 5m
When
Wednesday, Friday and Sunday
Estimated price
6 000 Ft - 20 000 Ft
Wizz Air
Website
wizzair.com
Flights from Madrid to Budapest
Ave. Duration
3h 10m
When
Monday and Friday
Estimated price
11 000 Ft - 55 000 Ft
British Airways
Website
britishairways.com
Flights from Madrid to Budapest via London Heathrow
Ave. Duration
6h 55m
When
Monday, Tuesday, Wednesday, Thursday and Saturday
Estimated price
50 000 Ft - 90 000 Ft
Train operators
Renfe AVE
Rome2rio's guide to Renfe AVE
Contact Details
Website
renfe.com
Train from Madrid-Puerta De Atocha to Barcelona-Sants
Ave. Duration
2h 30m
Frequency
Hourly
Estimated price
22 000 Ft - 41 000 Ft
Website
Renfe AVE
Promo
22 000 Ft - 29 000 Ft
Promo+
24 000 Ft - 27 000 Ft
Flexible
32 000 Ft - 41 000 Ft
Renfe SNCF
Website
renfe-sncf.com
Train from Barcelona-Sants to Lyon Part Dieu
Ave. Duration
5h 5m
Frequency
Once daily
Estimated price
22 000 Ft - 31 000 Ft
Website
renfe-sncf.com
TGV inOui

France’s high-speed TGV train network runs at speeds of up to 320km/h connecting major cities across France and into neighbouring countries. All TGV tickets include a seat reservation; seating is 1+2 in 1st class, 2+2 in 2nd class. Popular routes include Paris to Marseille and Paris to Strasbourg. Most TGVs have a cafe area, power points at each seat and WiFi.

Contact Details
Phone
0033 892 353535
Website
en.oui.sncf
Train from Lyon Part Dieu to Mulhouse Ville
Ave. Duration
2h 46m
Frequency
5 times a day
Estimated price
24 000 Ft - 31 000 Ft
Website
Oui.SNCF
2nd Class
24 000 Ft - 28 000 Ft
1st Class
26 000 Ft - 31 000 Ft
Train from Mulhouse Ville to Zuerich Hb
Ave. Duration
1h 19m
Frequency
4 times a day
Estimated price
10 000 Ft - 15 000 Ft
Website
Oui.SNCF
2nd Class
12 000 Ft - 15 000 Ft
1st Class
10 000 Ft - 13 000 Ft
Swiss Railways (SBB/CFF/FFS)

The national railway company of Switzerland, Swiss Railways operates trains throughout the country and adjacent European nations including Germany, France, Italy and Austria. Tickets are sold in two classes - First and Second - with most long-distance trains offering a bistro car serving beverages and snacks. Individual tickets can be bought easily at stands, while a variety of travel passes are on offer to suit different travel needs.

Contact Details
Phone
+41 51 220 11 11
Website
sbb.ch
Train from Lyon Part Dieu to Mulhouse
Ave. Duration
3h 24m
Frequency
Twice daily
Estimated price
39 000 Ft - 70 000 Ft
Website
Swiss Railways (SBB/CFF/FFS)
Train from Mulhouse to Zürich HB
Ave. Duration
1h 20m
Frequency
4 times a day
Estimated price
13 000 Ft - 25 000 Ft
Website
Swiss Railways (SBB/CFF/FFS)
Train from Zuerich Hb to Budapest-Kelenfoeld
Ave. Duration
10h 22m
Frequency
Once daily
Estimated price
90 000 Ft - 170 000 Ft
Website
Swiss Railways (SBB/CFF/FFS)
Train from Innsbruck Hbf to Wien Hbf
Ave. Duration
4h 13m
Frequency
5 times a day
Estimated price
48 000 Ft - 90 000 Ft
Website
Swiss Railways (SBB/CFF/FFS)
Train from Wien Hbf to Budapest-Kelenfoeld
Ave. Duration
2h 20m
Frequency
Once daily
Estimated price
25 000 Ft - 44 000 Ft
Website
Swiss Railways (SBB/CFF/FFS)
Austrian Railways (ÖBB)

Austria's national railway system is not only punctual, reliable and efficient, but offers free wifi to boot. Choose from high-speed intercity Railjet trains, overnight Nightjet trains and regional services such as Cityjet. ÖBB also operates international routes that connect cities in Austria with adjacent European countries including Germany, Hungary, Liechtenstein, Czech Republic, Switzerland and Slovenia. If you're planning to be in Austria for a while, consider the ÖBB Vorteilscard, an annual railcard that offers discounts on routes within Austria and in neighbouring countries.

Contact Details
Phone
05 17 17
Website
oebb.at
Train from Innsbruck Hbf to Wien Hbf
Ave. Duration
4h 16m
Frequency
Hourly
Estimated price
31 000 Ft - 42 000 Ft
Website
Austrian Railways
Book at
Austria Rail Pass
Train from Wien Hbf to Budapest-Kelenfoeld
Ave. Duration
2h 20m
Frequency
Every 4 hours
Estimated price
15 000 Ft - 21 000 Ft
Website
Austrian Railways
Book at
Austria Rail Pass
Railjet

Railjet trains operate domestically within Austria and also connect to major cities in Germany, Czech Republic, Italy, Switzerland and Hungary. This premium service runs at speeds of up to 230km/h and offers three travel classes (economy, first and business), all with free Wi-Fi and power sockets. Other amenities include a bistro-restaurant car and family zones. Seat reservations can be made up to 90 days prior to the train's departure (compulsory for all cross-border trains but not for domestic routes).

Contact Details
Phone
+43 51717
Website
oebb.at
Train from Wien Hbf to Budapest-Kelenfoeld
Ave. Duration
2h 22m
Frequency
4 times a day
Estimated price
12 000 Ft - 18 000 Ft
Website
Railjet
RegioJet
Phone
+420 542 42 42 42
Email
info@regiojet.cz
Website
regiojet.com
Train from Wien Hbf to Budapest-Kelenfoeld
Ave. Duration
2h 39m
Frequency
3 times a day
Estimated price
2 500 Ft - 8 000 Ft
Website
RegioJet
2nd Class
2 500 Ft - 3 500 Ft
1st Class
5 000 Ft - 8 000 Ft
Romanian Railways (CFR)
Phone
0219521
Website
cfrcalatori.ro
Train from Wien Hbf to Budapest-Kelenfoeld
Ave. Duration
2h 20m
Frequency
Once daily
Estimated price
1 900 Ft - 6 500 Ft
Website
Romanian Railways (CFR)
2nd Class
1 900 Ft - 2 400 Ft
1st Class
5 500 Ft - 6 500 Ft
Bus operators
FlixBus

One of Europe’s leading bus companies, Flixbus serves 2000+ destinations in 29 countries, including Germany, France, Italy, Austria, the Netherlands and Croatia and into Scandinavia and eastern Europe, as well as some US cities. Coaches have toilets, free WiFi and power outlets, plus snacks and drinks for purchase on board. Flixbus is a good choice for the budget-conscious traveller; purchase tickets in advance for the cheapest fares (note: there is no option to reserve a seat in advance).

Rome2rio's guide to FlixBus
Contact Details
Phone
+49 1807 123 99 123
Email
info@flixbus.de
Website
flixbus.de
Bus from Lyon Perrache to Innsbruck Südbahnstraße
Ave. Duration
11h 5m
Frequency
Twice a week
Estimated price
12 000 Ft - 15 000 Ft
Website
flixbus.co.uk
Bus from Barcelona to Budapest Népliget bus station
Ave. Duration
32h 56m
Frequency
Once a week
Estimated price
33 000 Ft - 40 000 Ft
Website
flixbus.co.uk
ALSA

A Spanish subsidiary of National Express, ALSA provides bus and coach services across Spain and neighbouring countries including Portugal, France, Germany, the Netherlands, Italy, Poland and Malta. Founded in 1923, ALSA values service and the customer experience. Buses are equipped with communal TV screens showing movies, individual behind-seat screens, ALSA radio, app for books and music, and free WiFi. ALSA services are accessible to people with disabilities, and guide dogs are welcome on all journeys. There are three types of tickets on offer (Frequent Traveller Pass, Share Pass and ALSA Pass), along with discounts for senior citizens, students and children.

Contact Details
Phone
+34 902 42 22 42
Website
alsa.es
Bus from Madrid to Mestre
Ave. Duration
30h 30m
Frequency
Once daily
Estimated price
50 000 Ft - 75 000 Ft
Website
alsa.com
Eurobusways
Phone
+36 70 282 1827
Email
info@eurobusways.com
Website
eurobusways.com
Shuttle from Venezia to Budapest
Ave. Duration
7h
Frequency
On demand
Estimated price
25 000 Ft - 60 000 Ft
Schedules at
eurobusways.com
Amring
Phone
+4-0269-238.788
Website
amring.autogari.ro
Bus from Madrid - Estacion Sur to Arad
Ave. Duration
37h 5m
Frequency
Once a week
Estimated price
25 000 Ft - 33 000 Ft
Schedules at
amring.autogari.ro
SC Latino Expres S.R.L.
Phone
0040263701919
Email
latinoexpres@yahoo.com
Website
latinoexpres.ro
Bus from Arad to Budapest
Ave. Duration
4h 17m
Frequency
Every 4 hours
Estimated price
17 000 Ft - 24 000 Ft
Schedules at
latinoexpres.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.

More Questions & Answers

The quickest flight from Madrid Airport to Budapest Airport is the direct flight which takes 3h 5m.

Search flights

Madrid to Budapest bus services, operated by SC Latino Expres S.R.L., arrive at Budapest station.

More details

Madrid to Budapest train services, operated by Swiss Railways (SBB/CFF/FFS), arrive at Budapest-Kelenfoeld station.

More details

Yes, the driving distance between Madrid to Budapest is 2509 km. It takes approximately 23h 27m to drive from Madrid to Budapest.

Get driving directions

Ryanair, Wizz Air, Air Europa and five other airlines offer flights from Madrid Airport to Budapest Airport.

Search flights

There are 618+ hotels available in Budapest. Prices start at 27 500 Ft per night.

More details