Home › Jakarta to Yogyakarta: Train or Flight?

Jakarta to Yogyakarta: Train or Flight?

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.

DistanceAbout 560 km
Most scenicExecutive-class train
Fastest in airFlight (about 1h10)
Don't missBorobudur at sunrise
Jakarta to Yogyakarta: your options
ModeOperatorDurationApprox fareOvernight
Train KAI (executive / intercity)
Scenic and comfortable. Executive trains like the Taksaka and Argo Dwipangga are well worth the small premium.
about 6 to 8 hours approx €15 to €45 No Check on 12Go →
Flight Garuda / Citilink / Lion Air
Fastest in the air; add transfers at both airports.
about 1h10 plus airport time approx €35 to €80 No Compare on Kiwi →

Fares are approximate and shown for comparison. Confirm live prices and times on 12Go before booking.

Show stays for:
Where to stay in Jakarta
Option 1
Wyndham Casablanca Jakarta
Jakarta
Top-rated stay in Jakarta
Wyndham Casablanca Jakarta
★ 8.7 7040 reviews
€47
per night
Book on Agoda →
Option 2
Mercure Jakarta Gatot Subroto
Jakarta
Top-rated stay in Jakarta
Mercure Jakarta Gatot Subroto
★ 9.0 4190 reviews
€50
per night
Book on Agoda →
Option 3
Ashley Wahid Hasyim Jakarta
Jakarta
Top-rated stay in Jakarta
Ashley Wahid Hasyim Jakarta
★ 8.9 4134 reviews
€44
per night
Book on Agoda →
Where to stay in Yogyakarta
Option 1
Jambuluwuk Malioboro Hotel Yogyakarta
Yogyakarta
Top-rated stay in Yogyakarta
Jambuluwuk Malioboro Hotel Yogyakarta
★ 8.5 7213 reviews
€39
per night
Book on Agoda →
Option 2
Gallery Prawirotaman Hotel
Yogyakarta
Top-rated stay in Yogyakarta
Gallery Prawirotaman Hotel
★ 8.9 3869 reviews
€38
per night
Book on Agoda →
Option 3
ARTOTEL Yogyakarta
Yogyakarta
Top-rated stay in Yogyakarta
ARTOTEL Yogyakarta
★ 9.0 3768 reviews
€38
per night
Book on Agoda →
Things to do
In Jakarta

Loading things to do...

In Yogyakarta

Loading things to do...

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.

Build my trip →

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.