Every country, and the places worth the trip 26,398 places across 240 countries Guess the country
Meridiela.

Ratu Boko

A hilltop site above Prambanan that is not a temple and not clearly a palace, with a famous sunset gate.

Updated 19 October 2026

WhereYogyakarta
Nearest cityPrambanan about 3 km; Yogyakarta about 18 km
Best seasonMay to September
Time to allowHalf a day
Getting thereBokoharjo, above Prambanan; road up to the site, shuttle from Prambanan
EntryEntry fee; combined tickets with Prambanan

Ratu Boko sits on a plateau about two hundred metres above the Prambanan plain, and what it was is genuinely unsettled: the site has a monumental gateway, a paved terrace, bathing pools, a crematorium platform, a pendopo foundation and cave-like recesses, but no temple sanctuary of the usual kind, and it carries both Buddhist and Hindu features. An inscription of 792 refers to a Buddhist monastery, Abhayagiri Vihara; later phases appear Hindu. Palace, monastery, fortified retreat and ritual complex have all been proposed. What draws most visitors now is the sunset: the western gateway frames the sun going down over the plain with Merapi to the north, and the site fills in the last hour of the day for it. Prambanan is visible below.

History

In the 17th century European travellers to Java mentioned a site linked with a King Boko, and in 1790 the Dutch researcher F. van Boeckholtz first found the ruins on the hill. The Abhayagiri Vihara inscription of 792, one of the few written records from the site, names Rakai Panangkaran, who reigned from 746 to 784, and a vihara on the hilltop, "free from danger" (Wikipedia, Ratu Boko).

The main sights

  • A monumental gateway - the paired paduraksa gates on the western terrace.
  • An unresolved function - palace, monastery or ritual site, still argued over.
  • Bathing pools and platforms - the surviving elements across the plateau.
  • Sunset over the plain - the western gate framing the sun, with Merapi north.

When to go

May to September; late afternoon for the sunset. Half a day.

Good to know

Sunset is crowded and ticket prices for foreigners are high, particularly on combined tickets. There is little standing architecture beyond the gates. It is exposed with no shade.

Nearby

Prambanan is below; Yogyakarta is west.

Key facts

Local nameCandi Ratu Boko (Indonesian)
Location7.7700° S, 110.4889° E · map

Source: Wikidata, item Q3111557, read on 18 October 2026.

What to pack for Ratu Boko

Chosen from what this place is for. Tap a kit for the full checklist.

  • Head torch + spare batteries - Hands-free light is essential; caves are truly dark. Find on Amazon
  • Comfortable walking shoes - Sightseeing means kilometres of pavement and cobbles daily. Find on Amazon
  • Modest clothing - Shoulders and knees covered - the single most common requirement. Find on Amazon
  • Grippy closed shoes - Cave floors are wet, muddy and slick with formations. Find on Amazon

Some links on this page are Amazon affiliate links - if you buy through them we may earn a small commission at no extra cost to you.

All packing kits

Plan your trip

Where to start if Ratu Boko is going on the list.

Booking links on this page are affiliate links - if you book through them we may earn a small commission at no extra cost to you. It never changes what we write about a place.

Opening times, ticket prices and seasonal closures change - check the official source before you go: official site.

← More landmarks & history in Indonesia

One place a week.

A short Friday email about one place worth knowing.