Jakarta to Yogyakarta connects Indonesia's capital with the cultural heart of Java and the temples of Borobudur and Prambanan. The train is a scenic ride across the island in comfortable executive class; flights are quickest in the air. Here is how the options compare.
Distance
About 560 km
Most scenic
Executive-class train
Fastest in air
Flight (about 1h10)
Don't miss
Borobudur at sunrise
Jakarta to Yogyakarta: your options
Mode
Operator
Duration
Approx fare
Overnight
Train
KAI (executive / intercity)
Scenic and comfortable. Executive trains like the Taksaka and Argo Dwipangga are well worth the small premium.
Activities load from Viator. Booking opens on Viator, and we may earn a commission.
Frequently asked questions
How long is the train from Jakarta to Yogyakarta?
Anywhere from about 6 to 8 hours depending on the service, with comfortable executive-class trains like the Taksaka and Argo Dwipangga.
Is the train or flight better from Jakarta to Yogyakarta?
The train is scenic, central, and stress-free; the flight is faster in the air but adds two airport transfers. Many travelers enjoy the train for the journey.
How do I get to Borobudur from Yogyakarta?
Borobudur is about an hour from Yogyakarta by car or tour. Many visitors go early for the sunrise view over the temple.
Plan your own version
Set your dates, budget and pace, and the planner builds an optimized trip with live prices.
Hotel options and prices come from Agoda and update at booking time; sample data shown if live pricing is unavailable. Transport fares are estimates, confirmed on 12Go.
Beta
Prices and availability reflect current partner rates and can change
before you book. Confirm the final price on 12Go or Agoda
(linked per result) before booking.