There are 5 ways to get from Madrid to Yogyakarta by plane or 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 Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport, train
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Yogyakarta International Airport (YIA)plane MAD - YIA
- Take the train from Yogyakarta International Airport to Yogyakarta Tugu Stationtrain
22h 54mRp 6,035,548–15,088,064Fly Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani, train
cheapest- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Ahmad Yani (SRG)plane MAD - SRG
- Take the train from Semarang Poncol Station to Solobalapantrain
- Take the train from Solo Balapan to Yogyakartatrain
25h 14mRp 5,655,548–17,743,064Fly Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Adisumarmo International Airport (SOC)plane MAD - SOC
- Take the train from Solo Balapan to Yogyakartatrain
23hRp 6,537,548–16,355,064Fly Adolfo Suárez Madrid–Barajas Airport to Soekarno–Hatta International Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Soekarno–Hatta International Airport (CGK)plane MAD - CGK
- Take the train from Gambir Jakarta to Yogyakarta Tugutrain
27h 10mRp 6,345,548–16,648,064Train to Barcelona–El Prat Airport, fly to Yogyakarta International Airport, train
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain
- Fly from Barcelona–El Prat Airport (BCN) to Yogyakarta International Airport (YIA)plane BCN - YIA
- Take the train from Yogyakarta International Airport to Yogyakarta Tugu Stationtrain
25h 53mRp 5,939,734–17,953,010
Adolfo Suárez Madrid–Barajas Airport (MAD) to Yogyakarta International Airport (YIA) flights
Comparing Your Travel Options
The cheapest way to get from Madrid to Yogyakarta is to fly and train which costs Rp6000000 - Rp17000000 and takes 27h 10m.
The fastest way to get from Madrid to Yogyakarta is to fly and train which takes 22h 54m and costs Rp6000000 - Rp16000000.
The distance between Madrid and Yogyakarta is 12621 km.
It takes approximately 22h 54m to get from Madrid to Yogyakarta, including transfers.
Yogyakarta is 6h ahead of Madrid. It is currently 7:57 PM in Madrid and 1:57 AM in Yogyakarta.
There are 2416+ hotels available in Yogyakarta.
What companies run services between Madrid, Spain and Yogyakarta, Indonesia?
There is no direct connection from Madrid to Yogyakarta. However, you can take the train to Madrid-Aeropuerto T4, walk to Adolfo Suárez Madrid–Barajas Airport (MAD) airport, fly to Yogyakarta International Airport (YIA), walk to Yogyakarta International Airport, then take the train to Yogyakarta Tugu Station. Alternatively, you can take the train to Madrid-Aeropuerto T4, walk to Adolfo Suárez Madrid–Barajas Airport (MAD) airport, fly to Adisumarmo International Airport (SOC), walk to Adi soemarmo Airport, take the train to Solobalapan, then take the train to Yogyakarta.
- Website
- etihad.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport via Abu Dhabi, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 30m
- When
- Every day
- Estimated price
- Rp 5,500,000–17,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport via Abu Dhabi, Soekarno–Hatta International Airport
- Ave. Duration
- 23h 25m
- When
- Every day
- Estimated price
- Rp 6,500,000–18,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Abu Dhabi, Soekarno–Hatta International Airport
- Ave. Duration
- 24h 22m
- When
- Every day
- Estimated price
- Rp 5,500,000–17,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 20h 50m
- When
- Every day
- Estimated price
- Rp 8,500,000–24,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Dubai, Soekarno–Hatta International Airport
- Ave. Duration
- 22h 10m
- When
- Every day
- Estimated price
- Rp 9,000,000–27,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Soekarno–Hatta International Airport via Abu Dhabi
- Ave. Duration
- 17h
- When
- Every day
- Estimated price
- Rp 6,000,000–8,000,000
Flights from Barcelona–El Prat Airport to Yogyakarta International Airport via Abu Dhabi, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 10m
- When
- Every day
- Estimated price
- Rp 5,000,000–15,000,000
- Website
- garuda-indonesia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport via Abu Dhabi, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 30m
- When
- Every day
- Estimated price
- Rp 5,500,000–17,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport via Abu Dhabi, Soekarno–Hatta International Airport
- Ave. Duration
- 23h 25m
- When
- Every day
- Estimated price
- Rp 6,500,000–18,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 15m
- When
- Every day
- Estimated price
- Rp 9,000,000–26,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Abu Dhabi, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 10m
- When
- Every day
- Estimated price
- Rp 5,500,000–17,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 20h 50m
- When
- Every day
- Estimated price
- Rp 8,500,000–24,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Dubai, Soekarno–Hatta International Airport
- Ave. Duration
- 22h 10m
- When
- Every day
- Estimated price
- Rp 9,000,000–27,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Soekarno–Hatta International Airport via Abu Dhabi
- Ave. Duration
- 16h 50m
- When
- Every day
- Estimated price
- Rp 6,000,000–8,000,000
Flights from Barcelona–El Prat Airport to Yogyakarta International Airport via Abu Dhabi, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 10m
- When
- Every day
- Estimated price
- Rp 5,000,000–15,000,000
- Website
- singaporeair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport via Doha, Singapore Changi
- Ave. Duration
- 20h 50m
- When
- Wednesday, Saturday, and Sunday
- Estimated price
- Rp 8,500,000–24,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 20h 50m
- When
- Every day
- Estimated price
- Rp 8,500,000–24,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Dubai, Singapore Changi
- Ave. Duration
- 21h 55m
- When
- Monday and Tuesday
- Estimated price
- Rp 9,000,000–27,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Dubai, Soekarno–Hatta International Airport
- Ave. Duration
- 22h 10m
- When
- Every day
- Estimated price
- Rp 9,000,000–27,000,000
Flights from Barcelona–El Prat Airport to Yogyakarta International Airport via Singapore Changi
- Ave. Duration
- 19h 40m
- When
- Monday, Tuesday, Thursday, Friday, and Saturday
- Estimated price
- Rp 7,000,000–39,000,000
Flights from Barcelona–El Prat Airport to Yogyakarta International Airport via Doha, Singapore Changi
- Ave. Duration
- 20h 50m
- When
- Wednesday, Saturday, and Sunday
- Estimated price
- Rp 7,500,000–22,000,000
- Website
- emirates.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport via Dubai, Soekarno–Hatta International Airport
- Ave. Duration
- 26h 12m
- When
- Every day
- Estimated price
- Rp 9,500,000–30,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport via Jeddah, Soekarno–Hatta International Airport
- Ave. Duration
- 20h 5m
- When
- Friday
- Estimated price
- Rp 7,500,000–18,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport via Riyadh, Soekarno–Hatta International Airport
- Ave. Duration
- 21h 5m
- When
- Monday, Wednesday, and Friday
- Estimated price
- Rp 6,500,000–16,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Soekarno–Hatta International Airport via Dubai
- Ave. Duration
- 18h 45m
- When
- Every day
- Estimated price
- Rp 6,500,000–21,000,000
- Website
- superairjet.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 35m
- When
- Every day
- Estimated price
- Rp 8,500,000–24,000,000
Flights from Barcelona–El Prat Airport to Yogyakarta International Airport via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 5m
- When
- Every day
- Estimated price
- Rp 7,500,000–22,000,000
Flights from Barcelona–El Prat Airport to Yogyakarta International Airport via Singapore Changi, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 50m
- When
- Monday, Tuesday, Thursday, Friday, and Saturday
- Estimated price
- Rp 7,000,000–39,000,000
- Website
- flyscoot.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport via Doha, Singapore Changi
- Ave. Duration
- 20h 50m
- When
- Wednesday, Saturday, and Sunday
- Estimated price
- Rp 8,500,000–24,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Dubai, Singapore Changi
- Ave. Duration
- 21h 55m
- When
- Monday and Tuesday
- Estimated price
- Rp 9,000,000–27,000,000
Flights from Barcelona–El Prat Airport to Yogyakarta International Airport via Doha, Singapore Changi
- Ave. Duration
- 20h 50m
- When
- Wednesday, Saturday, and Sunday
- Estimated price
- Rp 7,500,000–22,000,000
- Website
- batikair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport via Jeddah, Soekarno–Hatta International Airport
- Ave. Duration
- 20h 5m
- When
- Friday
- Estimated price
- Rp 7,500,000–18,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport via Riyadh, Soekarno–Hatta International Airport
- Ave. Duration
- 21h 5m
- When
- Monday, Wednesday, and Friday
- Estimated price
- Rp 6,500,000–16,000,000
Flights from Adolfo Suárez Madrid–Barajas Airport to Ahmad Yani via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 20h 15m
- When
- Every day
- Estimated price
- Rp 8,500,000–24,000,000
- Website
- qatarairways.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Soekarno–Hatta International Airport via Doha
- Ave. Duration
- 17h 26m
- When
- Every day
- Estimated price
- Rp 6,500,000–18,000,000
- Website
- transnusa.co.id
Flights from Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 55m
- When
- Every day
- Estimated price
- Rp 8,500,000–24,000,000
Flights from Barcelona–El Prat Airport to Yogyakarta International Airport via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 55m
- When
- Every day
- Estimated price
- Rp 7,500,000–22,000,000
- Website
- airasia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport via Doha, Kuala Lumpur
- Ave. Duration
- 21h 15m
- When
- Every day
- Estimated price
- Rp 8,500,000–24,000,000
Flights from Barcelona–El Prat Airport to Yogyakarta International Airport via Doha, Kuala Lumpur
- Ave. Duration
- 20h 45m
- When
- Every day
- Estimated price
- Rp 7,500,000–22,000,000
- Website
- citilink.co.id
Flights from Adolfo Suárez Madrid–Barajas Airport to Adisumarmo International Airport via Doha, Soekarno–Hatta International Airport
- Ave. Duration
- 19h 50m
- When
- Every day
- Estimated price
- Rp 9,000,000–26,000,000
- Website
- cathaypacific.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Soekarno–Hatta International Airport via Hong Kong
- Ave. Duration
- 19h 22m
- When
- Every day
- Estimated price
- Rp 7,000,000–22,000,000
- Website
- lionair.co.id
Flights from Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport via Riyadh, Soekarno–Hatta International Airport
- Ave. Duration
- 21h
- When
- Friday
- Estimated price
- Rp 6,000,000–15,000,000
- Website
- sriwijayaair.co.id
Flights from Adolfo Suárez Madrid–Barajas Airport to Yogyakarta International Airport via Dubai, Soekarno–Hatta International Airport
- Ave. Duration
- 22h 20m
- When
- Tuesday, Thursday, Saturday, and Sunday
- Estimated price
- Rp 9,000,000–27,000,000
- Phone
- +62 877-7702-1121
- [email protected]
- Website
- railink.co.id
Train from Yogyakarta International Airport to Yogyakarta Tugu Station
- Ave. Duration
- 35 min
- Frequency
- Hourly
- Estimated price
- Rp 20,000–60,000
- Schedules at
- railink.co.id
Train from Yogyakarta International Airport to Yogyakarta Tugu Station
- Ave. Duration
- 35 min
- Frequency
- Hourly
- Estimated price
- Rp 20,000–60,000
- Schedules at
- railink.co.id
- Phone
- 021-121
- [email protected]
- Website
- kai.id
Train from Solo Balapan to Yogyakarta
- Ave. Duration
- 33 min
- Frequency
- Hourly
- Estimated price
- Rp 36,000–320,000
- Schedules at
- kai.id
- Book at
- en.tiket.com
- Economy
- Rp 36,000–320,000
- Business
- Rp 290,000–550,000
- Executive
- Rp 65,000–650,000
Train from Semarang Poncol Station to Solobalapan
- Ave. Duration
- 1h 49m
- Frequency
- 5 times a day
- Estimated price
- Rp 65,000–320,000
- Schedules at
- kai.id
- Book at
- en.tiket.com
- Economy
- Rp 65,000–320,000
- Business
- Rp 310,000–550,000
- Executive
- Rp 120,000–650,000
Train from Solo Balapan to Yogyakarta
- Ave. Duration
- 33 min
- Frequency
- Hourly
- Estimated price
- Rp 36,000–320,000
- Schedules at
- kai.id
- Book at
- en.tiket.com
- Economy
- Rp 36,000–320,000
- Business
- Rp 290,000–550,000
- Executive
- Rp 65,000–650,000
Train from Gambir Jakarta to Yogyakarta Tugu
- Ave. Duration
- 6h 5m
- Frequency
- Every 3 hours
- Estimated price
- Rp 320,000–370,000
- Schedules at
- kai.id
- Book at
- en.tiket.com
- Economy
- Rp 320,000–370,000
- Business
- Rp 460,000–550,000
- Executive
- Rp 550,000–850,000
- [email protected]
- Website
- kai.id
Train from Solo Balapan to Yogyakarta
- Ave. Duration
- 1h 15m
- Frequency
- Every 3 hours
- Estimated price
- Rp 15,001
- Schedules at
- kai.id
Train from Solo Balapan to Yogyakarta
- Ave. Duration
- 1h 15m
- Frequency
- Every 3 hours
- Estimated price
- Rp 15,001
- Schedules at
- kai.id
- 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
- Rp 1,600,000–2,900,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
- Rp 1,100,000–2,000,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
- Rp 850,000–1,400,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
- Rp 1,500,000–2,200,000
- Website
- Renfe Viajeros
Want to know more about travelling around Indonesia
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
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
























