
Yogyakarta is Java's cultural heart, 430 kilometres (267 miles) southeast of Jakarta. It's the base for the temples of Borobudur and Prambanan, and for batik, gamelan and street food. Flying is the quickest way to get from Jakarta to Yogyakarta at 2h 40m. Overland, the bus is the cheapest at $11 (204,000 IDR), but it will take a long time, around 8h 55m - 15h. The train costs more.
Distance from Jakarta to Yogyakarta
Jakarta and Yogyakarta are about 430 km (267 miles) apart, and the journey itself covers around 531 km by road. The quickest way to get from Jakarta to Yogyakarta is by taking the flight, which takes around 2h 40m.
3 ways to travel from Jakarta to Yogyakarta
There are three ways to travel from Jakarta to Yogyakarta. You can choose between the train, bus, and flight. The journey takes 2h 40m–8h 55m and the quickest way is by flight. If you're on a budget, the cheapest option is by bus with tickets starting at $11 (204,000 IDR).
Reach out to our Community
3Hello,
I would like to find out about the journeys from Yogyakarta to Pacitan. I would like to know the options for getting to my hotel in Pacitan. What would you advise me for this journey? I can't find any information on the airport-hotel shuttles? And how much would it cost me for this journey.
Thank you for your reply
Hi Habiba! Apologies for the late reply. We're not sure if you still need this info, but in case other travellers are wondering the same thing, you can take a direct bus from Yogyakarta to Pacitan. A ticket costs 105,000 IDR ($6) when you book with 12go.Asia (12go.asia). Safe travels!
PS J’ai répondu à ce commentaire en anglais, donc d’autres nationalités peuvent également bénéficier de cette info. Je recommande d’utiliser Google Translate pour le lire en français.
Hi
Just read the review on train journey from Jakarta to Yogyakarta.
The tickets for June are still not available.
What class of travel do you recommend?
Is train journey worth the effort.
Regards
Hi Nalin, our recommended way of getting from Jakarta to Yogyakarta is by train.
It's a better alternative to the bus as you avoid traffic and have a better idea of when you will arrive. Also the views along the way are beautiful! Whilst it does take longer than a flight, it's cheaper and more environmentally friendly.
Train tickets on Tiket.com (tiket.com) can be booked around 4 weeks in advance.
Our page on travelling by train in Indonesia (geckoroutes.com) should give you the information you need to decide which class is best for you. A quick summary for you:
For short train rides, an economy class seat would do. Although they aren't as comfortable and have less legroom, they are a budget-friendly option. However, for longer train journeys, it's worth spending a few more dollars on a business or executive class seat for more comfort.
We hope this answers your questions!
Hello,
I am trying to book tickets on the site ticket.com for beh train between Jakarta and Yogyakarta but the payment methods are completely unknown to me.
I was thinking of paying with my credit card.
Thank you :-)
Our favourite places to stay in Yogyakarta
Here are our favourite places to stay in Yogyakarta for every budget.
Jogja Village
If you crave a tropical haven in the heart of the city with a stunning outdoor pool, Jogja Village is an ideal option.
It’s a 10-minute drive from Kraton Palace and is surrounded by a host of cool coffee shops and boutiques.
Choose from a range of colourfully decorated rooms, some with romantic four-poster beds and Bali-style open-air bathrooms. There is an excellent restaurant with seating by the pool as well as a fully equipped spa.
It’s one of Yogyakarta’s best family-friendly hotels in its price range and features an indoor play area.
- Swimming pool
- Spa
- Family-friendly
- Delicious on-site restaurant
Double rooms start from $27 (480,000 IDR) per night
Rumah Mertua Heritage
- Outdoor swimming pool
- Stunning garden
- Spa
- On-site restaurant
Snooze
This adult-only cosy guest house is situated in the heart of the Kraton palace district, and is like nowhere else in town.
Rooms are set around a central courtyard filled with tropical plants. In fact, even in the rooms it feels like you have stepped into the rainforest. There are plants, natural bamboo fixtures and colourful jungle murals painted on the walls.
Dotted throughout the guesthouse are several areas to socialise. It features a shared kitchen and coffee shop and airport pickup is available for an additional charge.
- Social and fun atmosphere
- Convenient location
- Garden and terrace
- On-site cafe
Double rooms start from $10 (178,000 IDR) per night
ABOUT YOUR DESTINATION
Why Visit Yogyakarta?
Yogyakarta is Java’s cultural capital, the only region in Indonesia still ruled by a sultan. Commonly called Jogja, the city strongly values its age-old traditions and way of life. Quite impressive, given that it’s an urban area of over 3 million inhabitants.
The nearby ancient temples Borobudur and Prambanan are the main reasons why travellers visit Yogyakarta, but the city has much more to offer. Art lovers will enjoy its street art, boutique cafes, and iconic batik fabric. Head over to Malioboro Road and Kotagede for some amazing finds and jewellery. Explore Kraton Sultan Palace and Taman Sari for a glimpse of the city’s architecture and history.
Rounding it up
That's the full picture for getting from Jakarta to Yogyakarta, roughly 430 kilometres (267 miles) apart. In all, there are 3 ways to make the trip. The cheapest fare is $11 (204,000 IDR). The quickest trip takes 2h 40m.
Prices and timetables change, so it's worth a quick check before you travel. Have a question, or travelled this route recently? Ask the community below and we'll do our best to help.
Frequently Asked Questions
What is the distance from Jakarta to Yogyakarta?
The distance from Jakarta to Yogyakarta is 430 kilometres (267 miles).
What is the fastest way to get from Jakarta to Yogyakarta?
The fastest way to get from Jakarta to Yogyakarta is by flight and takes 2h 40m.
What is the cheapest way to get from Jakarta to Yogyakarta?
The cheapest way to get from Jakarta to Yogyakarta is by bus with ticket costs starting from 204,000 IDR.
Route Update History
Updated flight prices.
- Updated bus prices.
- New train operators: from Pasar Senen Station (PSE), from Gambir Station (GMR).
- Train operator no longer listed: to Lempungayan Station.
- Updated train prices.
- Updated train departure times.
- New train operator: to Lempuyangan Station.
- Train operators no longer listed: from Pasar Senen Station (PSE), from Gambir Station (GMR).
- Bus operators no longer listed: Agramas, Sinar Jaya.
- Bus operator no longer listed: PO Santoso.
- Updated bus prices.
Affiliate Disclosure
Some links on this page are affiliate links. If you book through them, we earn a small commission at no extra cost to you. This helps us keep Gecko Routes free and up to date.





