Built in the 9th century during the reign of the Sailendra Dynasty, the temple design follows Javanese Buddhist architecture, which blends the Indonesian indigenous cult of ancestor worship and the Buddhist concept of attaining Nirvana. The temple demonstrates the influences of Gupta art that reflects India's influence on the region, yet there are enough indigenous scenes and elements incorporated to make Borobudur uniquely Indonesian. The monument is a shrine to the Lord Buddha and a place for Buddhist pilgrimage. The pilgrim journey begins at the base of the monument and follows a path around the monument, ascending to the top through three levels symbolic of Buddhist cosmology: Kāmadhātu (the world of desire), Rūpadhātu (the world of forms) and Arūpadhātu (the world of formlessness). The monument guides pilgrims through an extensive system of stairways and corridors with 1,460 narrative relief panels on the walls and the balustrades. Borobudur has one of the largest and most complete ensembles of Buddhist reliefs in the world.
Evidence suggests that Borobudur was constructed in the 9th century and subsequently abandoned following the 14th-century decline of Hindu kingdoms in Java and the Javanese conversion to Islam. Worldwide knowledge of its existence was sparked in 1814 by Sir Thomas Stamford Raffles, then the British ruler of Java, who was advised of its location by native Indonesians. Borobudur has since been preserved through several restorations. The largest restoration project was undertaken between 1975 and 1982 by the Indonesian government and UNESCO, followed by the monument's listing as a UNESCO World Heritage Site.
Borobudur is the largest Buddhist temple in the world, and ranks with Bagan in Myanmar and Angkor Wat in Cambodia as one of the great archeological sites of Southeast Asia. Borobudur remains popular for pilgrimage, with Buddhists in Indonesia celebrating Vesak Day at the monument. Borobudur is Indonesia's single most visited tourist attraction.
The archaeological excavation into Borobudur during reconstruction suggests that adherents of Hinduism or a pre-Indic faith had already begun to erect a large structure on Borobudur's hill before the site was appropriated by Buddhists. The foundations are unlike any Hindu or Buddhist shrine structures, and therefore, the initial structure is considered more indigenous Javanese than Hindu or Buddhist.
Approximately 40 kilometres (25 mi) northwest of Yogyakarta and 86 kilometres (53 mi) west of Surakarta, Borobudur is located in an elevated area between two twin volcanoes, Sundoro-Sumbing and Merbabu-Merapi, and two rivers, the Progo and the Elo. According to local myth, the area known as Kedu Plain is a Javanese "sacred" place and has been dubbed "the garden of Java" due to its high agricultural fertility. During the restoration in the early 20th century, it was discovered that three Buddhist temples in the region, Borobudur, Pawon and Mendut, are positioned along a straight line. A ritual relationship between the three temples must have existed, although the exact ritual process is unknown.
In Indonesian, ancient temples are referred to as candi; thus locals refer to "Borobudur Temple" as Candi Borobudur.The only old Javanese manuscript that hints the monument called Budur as a holy Buddhist sanctuary is Nagarakretagama, written by Mpu Prapanca, a Buddhist scholar of Majapahit court, in 1365.
There are no known records of construction or the intended purpose of Borobudur.The duration of construction has been estimated by comparison of carved reliefs on the temple's hidden foot and the inscriptions commonly used in royal charters during the 8th and 9th centuries. Borobudur was likely founded around 800 AD. This corresponds to the period between 760 and 830 AD, the peak of the Sailendra dynasty rule over Mataram kingdom in central Java, when their power encompassed not only the Srivijayan Empire but also southern Thailand, Indianized kingdoms of Philippines, North Malaya (Kedah, also known in Indian texts as the ancient Hindu state of Kadaram). The construction has been estimated to have taken 75 years with completion during the reign of Samaratungga in 825.
There is uncertainty about Hindu and Buddhist rulers in Java around that time. The Sailendras were known as ardent followers of Buddhism, though stone inscriptions found at Sojomerto also suggest they may have been Hindus. It was during this time that many Hindu and Buddhist monuments were built on the plains and mountains around the Kedu Plain. The Buddhist monuments, including Borobudur, were erected around the same period as the Hindu Shiva Prambanan temple compound. In 732 AD, the Shivaite King Sanjaya commissioned a Shivalinga sanctuary to be built on the Wukir hill, only 10 km (6.2 mi) east of Borobudur.
Borobudur lay hidden for centuries under layers of volcanic ash and jungle growth. The facts behind its abandonment remain a mystery. It is not known when active use of the monument and Buddhist pilgrimage to it ceased. Sometime between 928 and 1006, King Mpu Sindok moved the capital of the Medang Kingdom to the region of East Java after a series of volcanic eruptions; it is not certain whether this influenced the abandonment, but several sources mention this as the most likely period of abandonment. The monument is mentioned vaguely as late as c. 1365, in Mpu Prapanca's Nagarakretagama, written during the Majapahit era and mentioning "the vihara in Budur". Soekmono (1976) also mentions the popular belief that the temples were disbanded when the population converted to Islam in the 15th century.
The monument was not forgotten completely, though folk stories gradually shifted from its past glory into more superstitious beliefs associated with bad luck and misery. Two old Javanese chronicles (babad) from the 18th century mention cases of bad luck associated with the monument. According to the Babad Tanah Jawi (or the History of Java), the monument was a fatal factor for Mas Dana, a rebel who revolted against Pakubuwono I, the king of Mataram in 1709. It was mentioned that the "Redi Borobudur" hill was besieged and the insurgents were defeated and sentenced to death by the king. In the Babad Mataram (or the History of the Mataram Kingdom), the monument was associated with the misfortune of Prince Monconagoro, the crown prince of the Yogyakarta Sultanate in 1757. In spite of a taboo against visiting the monument, "he took what is written as the knight who was captured in a cage". Upon returning to his palace, he fell ill and died one day later.
The monument is the single most visited tourist attraction in Indonesia. In 1974, 260,000 tourists, of whom 36,000 were foreigners, visited the monument. The figure climbed to 2.5 million visitors annually (80% were domestic tourists) in the mid-1990s, before the country's economic crisis. Tourism development, however, has been criticized for not including the local community, giving rise to occasional conflicts. In 2003, residents and small businesses around Borobudur organized several meetings and poetry protests, objecting to a provincial government plan to build a three-storey mall complex, dubbed the "Java World". International tourism awards were given to Borobudur archaeological park, such as PATA Grand Pacific Award 2004, PATA Gold Award Winner 2011, and PATA Gold Award Winner 2012. In June 2012, Borobudur was recorded in the Guinness Book of World Records as the world's largest Buddhist archaeological site.