Gresik
Gresik
Yogyakarta
Yogyakarta
Train Bus

Gresik to Yogyakarta

Updated: 28 May 2026

The journey from Gresik to Yogyakarta covers about 330 kilometers. You will first need to reach Surabaya Gubeng station, which serves as the primary gateway for trains heading to Yogyakarta. The train ride is highly recommended for its comfort and the scenic views of the Javanese countryside. Alternatively, buses are available from the Bungurasih terminal. Yogyakarta is the cultural heart of Indonesia, famous for its temples and traditional arts.

Total Distance: 330 km driving distance; 280 km straight-line air distance.
Fastest Way
Train from Surabaya Gubeng to Yogyakarta Tugu, taking approximately 5 hours.
Cheapest Way
Train economy class is the most affordable and comfortable way to reach Yogyakarta.
Compare Gresik to Yogyakarta Routes
Train
Connecting
Bus
Direct
Duration 5 hours 7 hours
Avg Price 150,000 - 350,000 IDR 120,000 - 200,000 IDR
Operator PT Kereta Api Indonesia (Sancaka) Sugeng Rahayu
Route Surabaya Gubeng Station - Yogyakarta Tugu Station Bungurasih Terminal - Giwangan Terminal
Tip The Sancaka train is a popular and reliable choice for this route. Buses are frequent but can be subject to heavy traffic on the main highway.
Travel Tips
  • Booking
    Book train tickets early as they sell out quickly during weekends.
  • Transport
    Use the TransJogja bus system for affordable city travel.
  • Food
    Try the local Gudeg, a traditional jackfruit stew, when you arrive.
  • Arrival
    Tugu Station is centrally located, making it easy to reach your hotel.
  • Connectivity
    Get a local SIM card for better navigation and ride-hailing app usage.
Safety Tips
  • Scams
    Be wary of unofficial tour guides near major tourist attractions.
  • Traffic
    Be careful when crossing streets as traffic can be chaotic.
  • Valuables
    Keep your wallet and phone secure in crowded markets.
  • Emergency
    Know the location of the nearest hospital or clinic.
People Also Ask
  • Is there a train from Gresik?
    No, you must depart from Surabaya Gubeng.
  • How long is the train?
    The journey takes about 5 hours.
  • Is the bus safe?
    Yes, but it can be crowded and slower than the train.
  • What is the best time to visit?
    Dry season is best for temple visits.
  • Are there flights?
    Yes, from Juanda (SUB) to Yogyakarta International Airport (YIA).
Quick Info
  • From Gresik, Jawa Timur, Indonesia
  • To Yogyakarta, Yogyakarta, Indonesia
  • Modes
Best Time to Travel

June to September, when the weather is dry and ideal for visiting outdoor sites like Borobudur and Prambanan.

Things to Do in Yogyakarta
1
Borobudur Temple
The world's largest Buddhist temple, a UNESCO World Heritage site located near Yogyakarta.
2
Prambanan Temple
A magnificent 9th-century Hindu temple complex known for its towering spires.
3
Malioboro Street
The main shopping street in Yogyakarta, famous for its street food, batik, and local crafts.
4
Kraton Yogyakarta
The royal palace of the Sultan, offering a glimpse into Javanese history and culture.
Tags
Gresik to Yogyakarta train to Yogyakarta bus to Yogyakarta traveling to Central Java Gresik transport Yogyakarta tourism Surabaya to Yogyakarta train budget travel Indonesia Yogyakarta train station Gresik to Jogja