Goa Selarong: Prince Diponegoro's Hideout in Bantul
Goa Selarong was Prince Diponegoro's hideout during the Java War in 1825, now a historical and nature site in Bantul with a seasonal waterfall and hilltop views.
Before the Java War (1825–1830) broke out in full, Prince Diponegoro hid in a small cave in the hills south of Bantul. That cave now has a name: Goa Selarong.
A Brief History
The cave itself isn’t large — about 4 by 3 meters — but it served as a base that sheltered hundreds of Prince Diponegoro’s followers. In front of the cave sits a stone that, according to local legend, the prince used to meditate on before planning his resistance strategy against the Dutch.
What You Can See There
The Goa Selarong area is now managed as a tourist park with two main caves — Goa Kakung and Goa Putri — once used respectively by Prince Diponegoro and his wife, Raden Ayu Retnaningsih. Nearby, a small waterfall and an easy trekking trail wind through dense trees, making it a mix of historical site and nature getaway.
Location & Access
Located in Guwosari Village, Pajangan District, about a 30-minute drive southwest of central Yogyakarta.
Visiting Tips
- Come in the morning or late afternoon — midday gets fairly hot here, since part of the trekking trail is exposed.
- Wear comfortable shoes for the climb, since some sections leading to the cave involve stairs and a rocky footpath.
- Bring kids along and tell them the history — this is a great spot to introduce the story of the Java War in a way that feels more alive than reading it from a book.
Goa Selarong proves that nature tourism in Bantul isn’t always just about scenery — sometimes, the quietest spot holds the most fiery story of resistance.


