Imogiri Royal Cemetery: History, Tickets, and Rules
The Imogiri royal cemetery atop Bukit Merak is the final resting place of Mataram kings, built on Sultan Agung's initiative since the 17th century.
Atop Bukit Merak, between Girirejo and Wukirsari villages in Imogiri District, Bantul, sits a cemetery complex that serves as the final resting place of the Mataram kings — from the era of a unified Islamic Mataram through its split into the Yogyakarta Sultanate and the Surakarta Sunanate.
A Brief History
Construction of this cemetery complex was initiated by Sultan Agung, the Mataram king who wanted to build his ancestors’ graves outside Kotagede. According to legend passed down through generations, the site was chosen when Sultan Agung threw a handful of sand — wherever it landed, that’s where he wished to be buried. The first throw landed in Giriloyo, but after the construction supervisor there passed away and was buried on that spot, Sultan Agung threw the sand a second time — this time landing on Bukit Merak, the site of the cemetery complex that still stands today.
What You Can See There
To reach the main cemetery complex, pilgrims must climb hundreds of steps to the hilltop — a journey that becomes part of the pilgrimage experience itself. From the top, Bantul stretches out below in full view, a reminder of why this site was chosen as a resting place for kings.
The complex remains in active use today and is open to the public, whether for pilgrimage or simply to learn more about Mataram history up close. Certain traditional dress rules apply to enter the main burial area, usually provided by the local caretakers.
Location & Access
Located about 17 km south of central Yogyakarta, atop Bukit Merak between Girirejo and Wukirsari villages.
Visiting Tips
- Dress modestly — this is an active religious site, not just a photo spot.
- Save your energy for the stairs — there are quite a few, especially uncomfortable if you arrive at midday under the sun.
- Pair it with Giriloyo Batik Village, which sits very close by, so one trip can cover both the religious and craft sides.
- Visit outside major pilgrimage days (such as ahead of Ramadan) for a quieter atmosphere.
The Imogiri royal cemetery isn’t just a historical site read about in books — it’s a place still alive, still visited, and still part of how Javanese communities honor their ancestors.


