Surabaya
Surabaya
Yogyakarta
Yogyakarta
Train Bus

Surabaya to Yogyakarta

Updated: 28 May 2026

The route from Surabaya to Yogyakarta is a classic journey through the heart of Java. The Sancaka train from Gubeng Station is the most comfortable and popular choice. Buses also run frequently from Bungurasih Terminal. The route passes through scenic rice fields and small Javanese towns. Yogyakarta is the center of Javanese culture and history.

Total Distance: Driving 330km, air distance 280km.
Fastest Way
Direct train, taking 5 hours.
Cheapest Way
Economy bus, costing around 100,000 IDR.
Compare Surabaya to Yogyakarta Routes
Train
Direct
Bus
Direct
Duration 5 hours 7 hours
Avg Price 150,000 - 300,000 IDR 100,000 - 180,000 IDR
Operator KAI (Sancaka) Sugeng Rahayu
Route Gubeng to Tugu Bungurasih to Giwangan
Tip Book executive class for a smooth journey. Buses are frequent but can be crowded.
Travel Tips
  • Transport
    Use TransJogja buses for cheap city travel.
  • Food
    Try Gudeg, the signature jackfruit dish of Yogyakarta.
  • Booking
    Book train tickets well in advance.
  • Culture
    Respect local traditions and dress codes.
  • Weather
    Carry an umbrella for sudden rain.
Safety Tips
  • Traffic
    Be careful when walking in busy areas.
  • Valuables
    Keep your bag close in crowded markets.
  • Health
    Drink bottled water only.
  • Emergency
    Know the location of the nearest clinic.
People Also Ask
  • Is the train better?
    Yes, it is more comfortable and reliable.
  • How long is the bus?
    About 7 hours.
  • Can I fly?
    Yes, there are flights to YIA airport.
  • Is it safe?
    Yes, it is a very tourist-friendly city.
  • Are there night trains?
    Yes, several options are available.
Quick Info
  • From Surabaya, Jawa Timur, Indonesia
  • To Yogyakarta, DI Yogyakarta, Indonesia
  • Modes
Best Time to Travel

May to September for dry weather.

Things to Do in Yogyakarta
1
Borobudur Temple
The world's largest Buddhist temple, a must-visit.
2
Prambanan Temple
A magnificent Hindu temple complex.
3
Malioboro Street
The famous shopping and street food hub.
4
Kraton Yogyakarta
The palace of the Sultan of Yogyakarta.
Tags
Surabaya to Yogyakarta train to Yogyakarta bus to Yogyakarta Sancaka train Surabaya to Yogyakarta travel Yogyakarta tourism how to get to Yogyakarta Java travel guide