How to Get from Jakarta to Yogyakarta

How to Get from Jakarta to Yogyakarta

Last updated: March 8, 2026

Leaving the towering skyscrapers and organized chaos of Jakarta for the cultural soul of Java is a rite of passage for any traveler in Indonesia. While Jakarta represents the country's rapid modernization, Yogyakarta (fondly known as Jogja) remains the guardian of tradition, where ancient temples like Borobudur and the Sultan's Palace set a slower, more graceful pace of life.

The journey across Central Java offers a front row seat to the island's lush volcanic landscapes and emerald rice paddies. Whether you prefer the efficiency of a quick flight or the nostalgic charm of a cross-country rail journey, there are several ways to bridge the gap between these two iconic cities. You can easily compare schedules and book your tickets for this route on GoAsia.cc to ensure your transition from the capital to the cultural heartland is seamless.

Jakarta to Yogyakarta by Train

The train is arguably the most beloved way to travel this route. It strikes a perfect balance between comfort, price, and scenery. Trains typically depart from Gambir Station (near Monas) or Pasar Senen Station in Jakarta, arriving at Yogyakarta Tugu Station (right in the city center) or Lempuyangan Station.

Executive Class (EKS)

For those seeking the highest level of comfort, the Executive class (EKS) is the way to go. These carriages offer reclining seats, plenty of legroom, air conditioning, and power outlets. Prices for Executive class range significantly depending on the specific sub-class (from A to J), costing anywhere from $25 to $141. The journey takes approximately 5 hours and 52 minutes to 8 hours and 16 minutes. The higher-priced tickets often correspond to the Luxury or Sleeper services which provide almost fully flat beds and personalized entertainment screens.

Economy Class (EKO)

If you are traveling on a budget, the Economy class (EKO) offers an incredibly affordable way to reach Jogja, with prices starting as low as $6. While the seats in the newer Economy Premium cars are quite comfortable, the basic Economy seats are more upright. Travel times are similar to the Executive trains, generally ranging between 6 and 8 hours. It is a fantastic way to rub shoulders with locals and enjoy the changing landscape through large windows.

Jakarta to Yogyakarta by Flight

If time is your most precious resource, flying is the fastest option. Flights depart from Soekarno-Hatta International Airport (located in Tangerang, just outside Jakarta) or Halim Perdanakusuma. You will arrive at the New Yogyakarta International Airport (YIA), which is about an hour's drive from the city center.

The flight itself is very short, with the quickest direct connections taking only 1 hour and 10 minutes. Prices for an Economy seat typically range from $63 to $97. While some flights with layovers can take much longer, the frequent direct services make this a very efficient choice. Keep in mind that you should factor in the time and cost of getting to and from the airports at both ends of your journey.

Jakarta to Yogyakarta by Bus

The bus is a reliable and comfortable alternative, especially with the development of the Trans-Java Toll Road which has significantly reduced travel times. Most operators use Executive class coaches featuring reclining seats, leg rests, and sometimes onboard snacks or a meal stop.

Bus tickets are priced between $12 and $32, making it a competitive mid-range option. The duration of the trip can vary greatly depending on traffic and the number of stops, ranging from 7 hours and 30 minutes to 16 hours. Many travelers opt for overnight buses to save on a night's accommodation, arriving in Yogyakarta fresh and ready to explore in the early morning.

Comparing Your Options

ModePrice (USD)DurationComfort
Train (Economy)$6 - $326h - 8hModerate
Train (Executive)$25 - $1416h - 8hHigh
Flight$63 - $971h 10mHigh
Bus$12 - $327h 30m - 16hModerate

Tips for Traveling from Jakarta to Yogyakarta

  • Book in Advance: Trains to Yogyakarta are extremely popular, especially on weekends and public holidays. Tickets can sell out weeks in advance, so try to secure yours as soon as your dates are fixed.
  • Station Choice: In Jakarta, Gambir Station is more central and generally serves Executive trains, while Pasar Senen serves Economy trains. In Yogyakarta, Tugu Station (Yogyakarta Station) is steps away from Malioboro Street, while Lempuyangan is a short taxi ride away.
  • Prepare for Aircon: Indonesian trains and buses are notorious for having very strong air conditioning. Even if it is hot outside, bring a light jacket or a sarong to stay warm during the journey.
  • Airport Transfer: If you fly into the New Yogyakarta International Airport (YIA), the most efficient way to reach the city center is the dedicated airport train, which is faster and cheaper than a taxi.
  • Scenic Views: If taking the train during the day, try to get a window seat on the right side when traveling from Jakarta to enjoy the best views of the mountains and rice fields as you approach Central Java.

Timetable

Flight Tangerang - Yogyakarta $ 60.76–93.79 1h 10m – 20h 50m
  •   Economy 04:15, 06:00, 07:05, 07:55, 08:25, 09:40, 11:00, 11:30, 13:20, 14:45, 15:30, 16:25, 16:55, 17:00, 17:20, 17:30, 18:55, 20:10
Bus Jakarta - Yogyakarta $ 11.41–31.11 7h 30m – 16h
  •   Executive 05:30, 05:45, 06:00, 06:10, 06:30, 06:50, 07:00, 07:10, 07:15, 07:30, 07:45, 08:00, 08:30, 14:00, 14:15, 14:40, 15:00, 15:15, 15:30, 16:00, 16:10, 16:15, 16:20, 16:30, 16:40, 16:45, 17:00, 17:05, 17:10, 17:15, 17:20, 17:30, 17:40, 17:45, 18:00, 18:15, 18:20, 18:25, 18:30, 18:35, 18:40, 19:00
Train Jakarta - Yogyakarta $ 5.74–137.29 5h 52m – 8h 16m
  •   EKS A 06:20, 08:50, 09:06, 09:20, 17:00, 18:50, 19:14, 20:45, 21:40, 21:55
  •   EKS AA 06:20, 08:50, 09:06, 09:20, 17:00, 18:50, 19:14, 20:45, 21:40, 21:55
  •   EKS AB 06:20, 08:50, 09:06, 17:00, 18:50, 19:14, 20:45, 21:40, 21:55
  •   EKS AC 06:20, 08:50, 09:06, 17:00, 18:50, 19:14, 20:45, 21:40, 21:55
  •   EKS H 06:20, 08:50, 09:06, 09:20, 17:00, 18:50, 19:14, 20:45, 21:40, 21:55
  •   EKS I 06:20, 08:50, 09:06, 09:20, 17:00, 18:50, 19:14, 20:45, 21:40, 21:55
  •   EKS J 06:20, 08:50, 09:06, 09:20, 17:00, 18:50, 19:14, 20:45, 21:40, 21:55
  •   EKO C 06:09, 12:11, 17:20, 19:14, 21:55, 23:09
  •   EKO CA 12:11, 17:20, 19:14, 21:55, 23:09
  •   EKO CB 12:11, 17:20, 19:14, 21:55, 23:09
  •   EKO CC 12:11, 17:20, 19:14, 21:55, 23:09
  •   EKO CD 12:11, 17:20, 19:14, 21:55, 23:09
  •   EKO P 12:11, 17:20, 19:14, 21:55, 23:09
  •   EKO Q 12:11, 17:20, 19:14, 21:55, 23:09
  •   EKO S 12:11, 17:20, 19:14, 21:55, 23:09
Bus Jakarta - Jogja $ 11.41–31.11 7h 30m – 16h
  •   Executive 05:30, 05:45, 06:00, 06:10, 06:30, 06:50, 07:00, 07:10, 07:15, 07:30, 07:45, 08:00, 08:30, 14:00, 14:15, 14:40, 15:00, 15:15, 15:30, 16:00, 16:10, 16:15, 16:20, 16:30, 16:40, 16:45, 17:00, 17:05, 17:10, 17:15, 17:20, 17:30, 17:40, 17:45, 18:00, 18:15, 18:20, 18:25, 18:30, 18:35, 18:40, 19:00

Frequently Asked Questions

How can I book tickets from Jakarta to Yogyakarta?

You can book train, bus, flight, taxi, van, and ferry tickets from Jakarta to Yogyakarta directly on GoAsia.cc. Use the booking tool on this page to compare all available options and prices in real time.

What is the cheapest way to get from Jakarta to Yogyakarta?

The cheapest way to travel is by Economy class train, with tickets starting as low as $6. Prices can vary depending on when you book and the specific train service, but it remains the most budget-friendly option.

What is the fastest way to get from Jakarta to Yogyakarta?

The fastest way is to take a direct flight from Soekarno-Hatta International Airport, which takes approximately 1 hour and 10 minutes. However, remember to include airport check-in and transfer times in your total travel plan.

How long does it take to get from Jakarta to Yogyakarta?

Travel time varies by mode: flights take about 1 hour and 10 minutes, trains take between 6 and 8 hours, and buses can take anywhere from 7 hours and 30 minutes up to 16 hours depending on traffic.

Which train station in Jakarta should I use?

Most high-end Executive trains depart from Gambir Station in Central Jakarta. If you are looking for more budget-friendly Economy options, you will likely depart from Pasar Senen Station.

Is it better to take the train or the bus?

The train is generally preferred by travelers because it avoids traffic congestion and offers more consistent travel times. However, Executive buses are very comfortable and can be a great alternative if train tickets are sold out.

Do I need to book my tickets in advance?

Yes, it is highly recommended to book train and flight tickets at least a few days in advance. During Indonesian holidays like Lebaran or school breaks, tickets can sell out several weeks ahead of time.