How to Get from Yogyakarta to Jakarta

How to Get from Yogyakarta to Jakarta

Last updated: March 8, 2026

Leaving behind the artistic soul and ancient temple complexes of Yogyakarta for the high-octane energy of Jakarta is a classic passage across the island of Java. While Yogyakarta moves to the gentle rhythm of gamelan and traditional shadow puppets, Jakarta greets you with a skyline of gleaming skyscrapers and a legendary street food scene that never sleeps. This journey takes you from the cultural heartland of the Javanese people to the sprawling, modern megalopolis that serves as Indonesia's powerhouse.

The route across Central and West Java is remarkably well-connected, offering a fascinating look at the changing Indonesian landscape. You will transition from the emerald green rice paddies and volcanic backdrops surrounding Yogyakarta to the industrial corridors and urban density of the capital. Whether you prefer the scenic romance of the rails, the speed of a domestic flight, or the affordability of a long-distance coach, there are several reliable ways to make the trip. You can easily compare schedules and book tickets for these options on GoAsia.cc to ensure a smooth transition between these two iconic cities.

Yogyakarta to Jakarta by Train

For many travelers, the train is the gold standard for traveling between Yogyakarta and Jakarta. It offers a perfect balance of comfort, scenic views, and efficiency. The journey typically takes between 6 hours 48 minutes and 7 hours 52 minutes, landing you right in the heart of Jakarta, often at Gambir Station, which is conveniently located near the National Monument.

Executive Class

The Executive AA class is the premium way to ride the rails. Priced at approximately $42, these carriages offer reclining seats, plenty of legroom, air conditioning, and power outlets. It is a highly civilized way to watch the Javanese countryside roll by. The service is attentive, and the ride is generally smoother than other classes.

Economy Class

If you are looking for a more budget-friendly rail experience, the Economy CB class costs around $23. While the seats are less plush and may not recline as far as Executive class, modern Indonesian economy trains are clean and efficient. It is a great way to travel like a local while keeping your costs down. Be aware that these seats can feel a bit snug on a 7-hour journey, so booking early to secure a good spot is recommended.

Yogyakarta to Jakarta by Flight

When time is of the essence, flying is the fastest way to bridge the gap. A direct flight from Yogyakarta to Jakarta takes only about 1 hour 20 minutes to 1 hour 30 minutes. This is the most expensive option, with prices ranging from $84 to $123 for an economy seat, but it saves you nearly a full day of overland travel.

Most flights depart from the Yogyakarta International Airport (YIA). Keep in mind that while the flight itself is short, you need to factor in the time and cost of getting to YIA, which is located about an hour outside Yogyakarta city center, as well as the commute from Jakarta's Soekarno-Hatta (CGK) or Halim Perdanakusuma (HLP) airports into the city traffic.

Yogyakarta to Jakarta by Bus

The bus is the most flexible and often the most affordable mode of transport, with a massive variety of departure times throughout the day and night. Prices start as low as $11 and can go up to $40 for high-end services. The duration varies significantly depending on traffic and the specific route, typically taking anywhere from 9 to 17 hours.

Luxury and Executive Buses

Indonesia's long-distance bus industry has seen a massive upgrade in recent years. Luxury buses, priced around $30 to $40, often feature "sleeper" seats or very wide recliners, personal entertainment screens, and snacks. These are surprisingly comfortable and are a favorite for those who want to save on a night's accommodation by traveling overnight. Executive and Express classes are also available, offering a reliable standard of service with air conditioning and regular rest stops.

Comparing Your Options

Mode Price (USD) Duration Comfort
Train (Executive) $42 7h - 8h High
Train (Economy) $23 7h - 8h Medium
Flight $84 - $123 1.5h High
Bus (Luxury) $30 - $40 9h - 17h High
Bus (Economy/Express) $11 - $20 9h - 17h Medium

Tips for Traveling from Yogyakarta to Jakarta

  • Book Train Tickets Early: The Yogyakarta to Jakarta train route is incredibly popular, especially on weekends and public holidays. Tickets can sell out weeks in advance, so use GoAsia.cc to secure your seat early.
  • Mind the Station: Yogyakarta has two main stations, Tugu (Yogyakarta) and Lempuyangan. Most Executive trains depart from Tugu, which is more central. Double-check your departure point before heading out.
  • Prepare for Aircon: Whether on the train or a luxury bus, the air conditioning in Indonesia is often set to "arctic." Bring a light jacket or a sarong to stay warm during the journey.
  • Traffic Warnings: If you choose the bus, be prepared for unpredictable traffic as you enter the outskirts of Jakarta or Bekasi. A journey scheduled for 10 hours can easily stretch longer during peak commute times or holiday periods.
  • Airport Transfer: If flying, consider taking the dedicated airport train (Railink) from Yogyakarta city center to YIA. It is much more predictable than taking a taxi through local traffic.

Timetable

Flight Yogyakarta - Jakarta $ 81.78–119.40 1h 20m – 1h 30m
  •   Economy 06:15, 08:00, 09:40, 11:45, 15:30
Bus Yogyakarta - Jakarta $ 10.83–38.48 9h – 17h
  •   Executive 06:00, 06:30, 06:45, 06:50, 07:00, 07:30, 08:00, 08:15, 08:50, 09:00, 12:30, 12:50, 13:00, 13:30, 13:35, 13:40, 14:00, 14:05, 14:10, 14:15, 14:25, 14:30, 14:45, 15:30, 15:40, 16:00, 16:30, 16:45, 16:50, 17:00, 17:30, 17:55, 18:00, 18:05, 18:20, 18:30, 18:55, 19:00
  •   Express 06:30, 06:45, 06:50, 07:00, 08:00, 17:00, 18:15, 18:30
  •   Luxury 15:00, 15:30, 16:00, 18:00
Train Yogyakarta - Jakarta $ 22.05–40.42 6h 48m – 7h 52m
  •   Economy CB 07:00, 09:34, 10:50, 17:30, 19:47, 22:56
  •   Executive AA 00:45, 07:00, 23:27
Bus Yogyakarta - Bekasi $ 11.56–38.48 8h – 17h
  •   Executive 06:00, 06:30, 06:45, 06:50, 07:00, 07:30, 08:00, 08:15, 08:30, 08:50, 09:00, 13:00, 13:30, 13:35, 13:40, 14:00, 14:05, 14:10, 14:15, 14:25, 14:30, 14:45, 15:30, 15:40, 16:00, 16:30, 16:45, 16:50, 17:00, 17:30, 17:55, 18:00, 18:05, 18:20, 18:30, 18:55, 19:00
  •   Express 06:30, 06:45, 06:50, 07:00, 08:00, 17:00, 18:15, 18:30
  •   Luxury 15:00, 15:30, 16:00, 18:00

Frequently Asked Questions

How can I book tickets from Yogyakarta to Jakarta?

You can book train, bus, flight, taxi, van, and ferry tickets from Yogyakarta to Jakarta 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 Yogyakarta to Jakarta?

The cheapest way to travel this route is by bus, with tickets starting as low as $11 for Express or Executive classes. Prices vary depending on the operator and the level of luxury provided onboard.

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

The fastest way to get to Jakarta is by taking a flight, which takes between 1 hour 20 minutes and 1 hour 30 minutes. However, you should also factor in the time needed for airport transfers and security checks.

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

Travel time depends on your mode of transport: flights take about 1.5 hours, trains take between 7 and 8 hours, and buses can take anywhere from 9 to 17 hours depending on traffic and the number of stops.

Which train station in Jakarta should I arrive at?

Most travelers prefer arriving at Gambir Station because it is located in Central Jakarta, close to major hotels and attractions. Some economy services may arrive at Pasar Senen, which is also well-connected but slightly further from the main tourist hubs.

Are meals provided on the journey?

On Executive class trains and Luxury buses, you can often purchase meals or they may be included in the ticket price. On Economy trains and standard buses, it is best to bring your own snacks or buy food at the stations and rest stops along the way.

Is it safe to travel overnight by bus or train?

Yes, overnight travel is a very common and safe practice in Indonesia. Luxury sleeper buses and Executive trains are particularly popular for night trips as they allow you to sleep comfortably while moving toward your destination.