The temple complex is located in Prambanan, Sleman and Prambanan sub-districts, Klaten, approximately 17 kilometers northeast of Yogyakarta, 50 kilometers southwest of Surakarta and 120 kilometers south of Semarang, just on the border between Central Java province and Yogyakarta Special Region. Its location is very unique, Prambanan Temple is located in the administrative area of Bokoharjo village, Prambanan, Sleman, while the entrance of the Prambanan Temple complex is located in the administrative area of Tlogo village, Prambanan, Klaten. This temple is including a UNESCO World Heritage Site.
A temple was first built at the site around 850 CE by Rakai Pikatan and expanded extensively by King Lokapala and Balitung Maha Sambu the Sanjaya king of the Mataram Kingdom. According to the Shivagrha inscription of 856 CE, the temple was built to honor Lord Shiva and its original name was Shiva-grha (the House of Shiva) or Shiva-laya (the Realm of Shiva). According to Shivagrha inscription, a public water project to change the course of a river near Shivagrha Temple was conducted during the construction of the temple.
It is a little bit more contemporaneous with Borobudur. In the 10th century the temple was largely abandoned after the Mataram dynasty moved its court base to East Java.Most of the main temples collapsed during a major earthquake in the 16th century and the huge complex lie largely forgotten in the jungle. Following the Anglo-Dutch Java War, Java was briefly under British administration from 1811 to 1816. In 1811, a surveyor working for Thomas Stamford Raffles came upon the ruins of Prambanan by pure chance. It is somewhat ironic that the very brief British rule of Java led to the re-discovery of both Borobudur and Prambanan. The British and Raffles were not in power in Java.
Prambanan though and looting became rife with the Dutch residents of their foundation stones and their construction materials. Proper restoration started only in 1930 and still continues today.Do not forget to bring an umbrella to protect your skin from the stinging hot sun in your visit there.