
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 (208,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 (208,000 IDR).
Reach out to our Community
3Our 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 (490,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 (182,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 (208,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 208,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.





