The region of Mengwi within the Badung district was previously the center of a powerful kingdom originating from the Gelgel dynasty. Descendants of this linage are still venerated today in the royal temple of the Mengwi empire at Taman Ayun. The temple is located in Mengwi village, 20 kms north from Denpasar on the road to Singaraja.
Set on land which is surrounded by a large water pool, the temple appears to float on the water and is beautifully designed with a multi-story roof structure following the traditional Balinese form. An impressive landscaped garden welcomes all who journey to the temple complex and it is a much welcomed environment for prayer and reflection. It is believed the temple complex was built around 1634, and according to the Papyrus Chronicle of Mengwi ((Lontar Bebad Mengwi), the name is derived from the root word Hyun (Ahyun-Ayun), meaning located centrally (within a park or pool) which may also refer to the heart and to fulfilling our pure desire. Taman Ayun Temple is a popular destination for visitors (local and foreigners), due to its beautiful environment and proximity to Tanah Lot Temple.