Ratu Boko (Javanese: Ratu Baka) or Ratu Boko Palace is an archaeological site in Java. Ratu Boko is located on a plateau, about three kilometres south of Lara Jonggrang Prambanan temple complex in Yogyakarta, Indonesia. The original name of this site is still unclear, however the local inhabitants named this site after King Boko, the legendary king mentioned in Loro Jonggrang folklore. In Javanese, Ratu Baka means “Stork King”.
The site covers 16 hectares in two hamlets (Dawung and Sambireja) of the village of Bokoharjo and Prambanan, Sleman Regency. In striking contrast to other Classic-period sites in Central Java and Yogyakarta, which are remains of temples, Ratu Boko displays attributes of an occupation or settlement site, although its precise function is unknown. Probably the site was a palace complex which belonged to the kings of Sailendra or Mataram Kingdom that also built temples scattered across the Prambanan Plain. The argument was based on the fact that this complex was not a temple nor building with religious nature, but a fortified palace instead which evidence of a remnant of fortified walls and the dry moat of defensive structures. The remains of settlements also founds in Ratu Boko vicinity. This site is located 196 m above the sea level, on the highest point in the site, there is a small pavilion from which one will be able to see a panoramic view of Prambanan temple with Mount Merapi as the background.