There are 9 ways to get from Madrid to Pécs by plane, train, train (Renfe, TGV), bus, car, or car train
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, train
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Budapest Ferenc Liszt International Airport (BUD)MAD - BUD
- Take the train from Budapest-Kelenfoeld to Pecs
9h 51mFt 26,314–72,964Train
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Montpellier Saint-Roch
- Take the train from Montpellier Saint-Roch to StrasbourgTgv
- Take the train from Strasbourg Bahnhof to Wien HauptbahnhofNj
- Take the train from Wien Hbf to Budapest-KelenfoeldEc
- Take the train from Budapest-Kelenfoeld to PecsIc
31h 2mFt 94,120–275,701Train, bus
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-SantsAve
- Take the train from Barcelona-Sants to Lyon Part Dieu
- Take the bus from Lyon to Budapest, Népliget Autóbusz-Pályaudvar
- Take the train from Budapest-Kelenfoeld to PecsIc
34h 51mFt 64,957–173,201Drive 2,291.9 km
- Drive from Madrid to Pécs2,291.9 km
25h 5mFt 137,445–198,531Fly to Zagreb Franjo Tuđman Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Zagreb Franjo Tuđman Airport (ZAG)MAD - ZAG
- Take the train from Zagreb Glavni Kol. to Gyekenyes
- Take the train from Gyekenyes to Pecs
11h 57mFt 33,694–88,194Fly to Vienna International Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Vienna International Airport (VIE)MAD - VIE
- Take the train from Wien Hbf to Budapest-Kelenfoeld
- Take the train from Budapest-Kelenfoeld to Pecs
11h 58mFt 36,794–105,394Bus, train
- Take the bus from Madrid Mendez Alvaro Estacion Sur to Zagreb Central Bus Station
- Take the train from Zagreb Glavni Kol. to GyekenyesIc
- Take the train from Gyekenyes to PecsIr / ...
41h 40mFt 40,536–57,647Bus, train via Padova
- Take the bus from Méndez Álvaro Estación Sur to Padova
- Take the bus from Padova to Ljubljana
- Take the train from Ljubljana to Zalaszentivan247
- Take the train from Zalaszentivan to PecsIr
43h 52mDrive, car train
- Drive from Madrid to München Ost
- Take the car train from München Ost to Villach Hbf ARZ
- Drive from Villach Hbf ARZ to Pécs
27h 5mFt 174,138–243,977
Madrid to Pécs by train
Questions & Answers
The cheapest way to get from Madrid to Pécs is to fly and train which costs 26 000 Ft - 75 000 Ft and takes 9h 51m.
The fastest way to get from Madrid to Pécs is to fly and train which takes 9h 51m and costs 26 000 Ft - 75 000 Ft.
No, there is no direct train from Madrid to Pécs. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Pecs via Montpellier Saint-Roch, Strasbourg Bahnhof, Wien Hbf and Budapest-Kelenfoeld. The journey, including transfers, takes approximately 31h 2m.
The distance between Madrid and Pécs is 2233 km. The road distance is 2291.9 km.
The best way to get from Madrid to Pécs without a car is to train which takes 31h 2m and costs 90 000 Ft - 280 000 Ft.
It takes approximately 9h 51m to get from Madrid to Pécs, including transfers.
Madrid to Pécs train services, operated by Renfe Viajeros, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
Madrid to Pécs train services, operated by Renfe Viajeros, arrive at Montpellier Saint-Roch station.
Yes, the driving distance between Madrid to Pécs is 2292 km. It takes approximately 25h 5m to drive from Madrid to Pécs.
There are 564+ hotels available in Pécs.
What companies run services between Madrid, Spain and Pécs, Hungary?
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Pecs via Montpellier Saint-Roch, Strasbourg, Strasbourg Bahnhof, Wien Hauptbahnhof, Wien Hbf, and Budapest-Kelenfoeld in around 31h 2m.
Transport is disrupted due to the Russia-Ukraine war. Read more
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Budapest Ferenc Liszt International Airport
- Ave. Duration
- 3h 20m
- When
- Every day
- Estimated price
- Ft 23,000–65,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport via Milan Bergamo
- Ave. Duration
- 4h 45m
- When
- Sunday
- Estimated price
- Ft 28,000–75,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h 5m
- When
- Every day
- Estimated price
- Ft 24,000–65,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 29,000–65,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport
- Ave. Duration
- 2h 50m
- When
- Wednesday and Saturday
- Estimated price
- Ft 24,000–70,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Vienna International Airport
- Ave. Duration
- 3h
- When
- Every day
- Estimated price
- Ft 24,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 16,000–50,000
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Budapest Ferenc Liszt International Airport via Munich
- Ave. Duration
- 5h 10m
- When
- Every day
- Estimated price
- Ft 27,000–110,000
- Website
- croatiaairlines.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Zagreb Franjo Tuđman Airport
- Ave. Duration
- 2h 35m
- When
- Monday
- Estimated price
- Ft 38,000–120,000
- Phone
- +36 (1) 3 49 49 49
- info@mavcsoport.hu
- Website
- jegy.mav.hu
Train from Budapest-Kelenfoeld to Pecs
- Ave. Duration
- 2h 26m
- Frequency
- Every 4 hours
- Estimated price
- Ft 3,800–4,400
- Website
- https://jegy.mav.hu/
Train from Gyekenyes to Pecs
- Ave. Duration
- 2h 16m
- Frequency
- Every 4 hours
- Estimated price
- Ft 2,000–2,400
- Website
- https://jegy.mav.hu/
Train from Ljubljana to Zalaszentivan
- Ave. Duration
- 4h 42m
- Frequency
- Once daily
- Estimated price
- Ft 5,000–6,000
- Website
- https://jegy.mav.hu/
Train from Zalaszentivan to Pecs
- Ave. Duration
- 3h 36m
- Frequency
- Every 4 hours
- Estimated price
- Ft 3,400–3,900
- Website
- https://jegy.mav.hu/
Rome2Rio's guide to Renfe Viajeros
Contact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Montpellier Saint-Roch
- Ave. Duration
- 6h 30m
- Frequency
- Once daily
- Estimated price
- Ft 29,000–40,000
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 4m
- Frequency
- Twice daily
- Estimated price
- Ft 18,000–25,000
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Once daily
- Estimated price
- Ft 20,000–27,000
- Website
- https://www.renfe.com/es/en
- Phone
- +33 1 84 94 36 35
- Website
- sncf-connect.com
Train from Montpellier Saint-Roch to Strasbourg
- Ave. Duration
- 6h 16m
- Frequency
- Twice daily
- Estimated price
- Ft 30,000–100,000
- Website
- https://www.sncf-connect.com/en-en
- Phone
- +43 51717
- Website
- nightjet.com
Train from Strasbourg Bahnhof to Wien Hauptbahnhof
- Ave. Duration
- 10h
- Frequency
- 3 times a week
- Estimated price
- Ft 27,000–105,000
- Website
- https://www.nightjet.com/en/#/home
- Sleeper Carriage
- Ft 99,000–105,000
- Couchette Carriage
- Ft 60,000–70,000
- Seating Carriage
- Ft 27,000–34,000
- Phone
- +43 5 1717
- Website
- oebb.at
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 20m
- Frequency
- Hourly
- Estimated price
- Ft 9,000–21,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/eurocity-intercity
- Website
- https://shop.oebbtickets.at/en/ticket
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 22m
- Frequency
- 3 times a day
- Estimated price
- Ft 14,000–22,000
- Website
- https://www.oebb.at/en/reiseplanung-services/im-zug/unsere-zuege/railjet
- *
- Ft 14,000–22,000
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 25m
- Frequency
- Twice daily
- Estimated price
- Ft 7,000–22,000
- Website
- https://www.oebb.at/en/
- Phone
- +420 222 222 221
- info@regiojet.cz
- Website
- regiojet.com
Train from Wien Hbf to Budapest-Kelenfoeld
- Ave. Duration
- 2h 31m
- Frequency
- 3 times a day
- Estimated price
- Ft 3,400–10,000
- Website
- https://regiojet.com/
Rome2Rio's guide to Renfe AVE
Contact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 2h 37m
- Frequency
- Hourly
- Estimated price
- Ft 21,000–75,000
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 2h 57m
- Frequency
- Hourly
- Estimated price
- Ft 19,000–55,000
- Website
- https://iryo.eu/en/home
- Phone
- +34 910 780 990
- Website
- ouigo.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 2m
- Frequency
- Every 4 hours
- Estimated price
- Ft 13,000–34,000
- Website
- https://www.ouigo.com/es/en
- Phone
- +385 60 333 444
- informacije@hzpp.hr
- Website
- hzpp.hr
Train from Zagreb Glavni Kol. to Gyekenyes
- Ave. Duration
- 1h 45m
- Frequency
- Once daily
- Estimated price
- Ft 2,300–3,200
- Website
- http://www.hzpp.hr/en
- Phone
- +386 1 29 13 331
- potnik.info@slo-zeleznice.si
- Website
- potniski.sz.si
Train from Ljubljana to Zalaszentivan
- Ave. Duration
- 4h 42m
- Frequency
- Twice daily
- Estimated price
- Ft 7,000–16,000
- Website
- https://potniski.sz.si/en/
- Intercity 2nd Class Ticket
- Ft 7,000–10,000
- Regional Train Ticket
- Ft 9,000–11,000
- Intercity 1st Class Ticket
- Ft 14,000–16,000
- Phone
- +49 (0) 221 800 20 820
- info@urlaubs-express.de
- Website
- urlaubs-express.de
Car train from München Ost to Villach Hbf ARZ
- Ave. Duration
- 2h 19m
- Frequency
- Once daily
- Estimated price
- Ft 36,000–43,000
- Website
- https://urlaubs-express.de/?lang=en
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- flixbus.fr
Bus from Lyon to Budapest, Népliget Autóbusz-Pályaudvar
- Ave. Duration
- 21h
- Frequency
- Once daily
- Estimated price
- Ft 27,000–55,000
- Website
- https://www.flixbus.co.uk
- Phone
- 07001 8282
- booking@union-ivkoni.com
- Website
- union-ivkoni.com
Bus from Madrid Mendez Alvaro Estacion Sur to Zagreb Central Bus Station
- Ave. Duration
- 35h 30m
- Frequency
- 3 times a week
- Estimated price
- Ft 36,000–55,000
- Website
- https://union-ivkoni.com/en
- Phone
- +4-0263-21.55.00
- Website
- tabitatour.ro
Bus from Méndez Álvaro Estación Sur to Padova
- Ave. Duration
- 27h 34m
- Frequency
- Once a week
- Estimated price
- Ft 23,000–29,000
- Schedules at
- tabitatour.ro
- Phone
- +359 2 980 56 58
- info@mm-travel.bg
- Website
- mm-travel.bg
Bus from Padova to Ljubljana
- Ave. Duration
- 5h
- Frequency
- Once a week
- Schedules at
- mm-travel.bg
- Book at
- mm-travel.bg
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
5 delightfully under-the-radar French towns you need to visit
Read the travel guide
Train travel in Spain: A guide to Renfe
Read the travel guide
What are the different types of Renfe trains in Spain?
Read the travel guide
































































