The architecture of Indonesia reflects the diversity of cultural, historical, and geographic influences that have shaped Indonesia as a whole. Invaders, colonizers, missionaries, merchants, and traders brought cultural changes that had a profound effect on building styles and techniques.

Numbers of Indonesian vernacular houses have been developed throughout the archipelago. The traditional houses and settlements of the several hundred ethnic groups of Indonesia are extremely varied and all have their specific history. The houses hold social significance in society and demonstrate local ingenuity in their relations to the environment and spatial organisation.

Traditionally, the most significant foreign influence has been India. However, Chinese, Arab, and European influences have also played significant roles in shaping Indonesian architecture. Religious architecture varies from indigenous forms to mosques, temples, and churches. The sultans and other rulers built palaces. There is a substantial legacy of colonial architecture in Indonesian cities. Independent Indonesia has seen the development of new paradigms for postmodern and contemporary architecture.

Traditional vernacular architecture

Ethnic groups in Indonesia are often associated with their distinctive form of rumah adat.Dawson (1994), p. 10 The houses are at the centre of a web of customs, social relations, traditional laws, taboos, myths, and religions that bind the villagers together. The house provides the main focus for the family and its community and is the point of departure for many activities of its residents.Dawson (1994), p. 8 Villagers build their own homes, or a community will pool their resources for a structure built under the direction of a master builder and/or a carpenter.

The majority of Indonesian peoples share a common Austronesian ancestry, and the traditional homes of Indonesia share several characteristics with houses from other Austronesian regions.The Oxford Companion to Architecture, Volume 1, p. 462. The earliest Austronesian structures were communal timber longhouses on stilts, with steeply sloping roofs and heavy gables, as seen in, for example, the Batak rumah adat and the Torajan Tongkonan. Variations of the communal longhouse principle are found among the Dayak people of Borneo, as well as the Mentawai people.

The norm is for a post, beam, and lintel structural system that takes load straight to the ground with either wooden or bamboo walls that are non-load bearing. Traditionally, rather than nails, mortis and tenon joints and wooden pegs are used. Natural materials – timber, bamboo, thatch, and fibre – make up rumah adat.Dawson (1994), p. 12 The traditional house of Nias has post, beam, and lintel construction with flexible nail-less joints, and non-load bearing walls are typical of rumah adat.

Traditional dwellings have developed to respond to Indonesia's hot and wet monsoon climate. As is common throughout South East Asia and the South West Pacific, most rumah adat are built on stilts, except Java and Bali. Building houses off the ground allows breezes to moderate the hot tropical temperatures; it elevates the dwelling above stormwater runoff and mud; it allows houses to be built on rivers and wetland margins; it keeps people, goods, and food from dampness and moisture; lifts living quarters above malaria-carrying mosquitos; and reduces the risk of dry rot and termites.Dawson (1994), pp. 10–11 The sharply inclined roof allows the heavy tropical rain to quickly sheet off, and large overhanging eaves keep water out of the house and provide shade in the heat.Dawson (1994), p. 11 In hot and humid low-lying coastal regions, homes can have many windows providing good cross-ventilation, whereas in cooler mountainous interior areas, homes often have a vast roof and few windows. Examples

Some of the more significant and distinctive rumah adat include: Rumoh Aceh, the grandest traditional houses of Aceh. Batak architecture (North Sumatra) includes the boat-shaped jabu homes of the Toba Batak people, with dominating carved gables and dramatic oversized roof, and are based on an ancient model. The Minangkabau of West Sumatra build the Rumah Gadang, distinctive for their multiple gables with dramatically upsweeping ridge ends. The homes of Nias peoples include the omo sebua chiefs' houses built on massive ironwood pillars with towering roofs. Not only are they almost impregnable to attack in former tribal warfare, but flexible nail-less construction provide proven earthquake durability. Rumah Melayu Malay traditional houses built on stilts of Sumatra, Borneo and Malay Peninsula. The Riau region is characterised by villages built on stilts over waterways. Unlike most South East Asian vernacular homes, Javanese traditional houses are not built on piles. The Bubungan Tinggi, with their steeply pitched roofs, are the large homes of Banjarese royalty and aristocrats in South Kalimantan. Traditional Balinese homes are a collection of individual, largely open structures (including separate structures for the kitchen, sleeping areas, bathing areas and shrine) within a high-walled garden compound. The Sasak people of Lombok build lumbung, pile-built bonnet-roofed rice barns, that are often more distinctive and elaborate than their houses (see Sasak architecture). Dayak people traditionally live in communal longhouses that are built on piles. The houses can exceed 300 m in length, in some cases forming a whole village. The Toraja of the Sulawesi highlands are renowned for their tongkonan, houses built on piles and dwarfed by massive exaggerated-pitch saddle roofs. Rumah adat on Sumba have distinctive thatched "high hat" roofs and are wrapped with sheltered verandahs. The Papuan Dani traditionally live in small family compounds composed of several circular huts known as honai with thatched dome roofs.

Decline The numbers of rumah adat are decreasing across Indonesia. This trend dates from the colonial period, with the Dutch generally viewing traditional architecture as unhygienic, and being based on traditional religious practises seen as dubious by the Dutch.Nas, p. 348 Colonial authorities embarked on demolition programmes, replacing traditional homes with houses built using Western construction techniques, such as bricks and corrugated iron roofs, fitting sanitary facilities and better ventilation. Traditional craftsmen were retrained in Western building techniques.Nas, p. 347 Since independence, the Indonesian government has continued to promote the 'rumah sehat sederhana' ('simple healthy home') over the rumah adat.Transformation of Building Form: Development of Traditional Dwelling of the Ngada, Central Flores Island – Toga H Pandjaitan

Exposure to the market economy made the construction of labour-intensive rumah adat, such as the Batak house and Joglo, extremely expensive (previously villages would work together to construct new homes) to build and maintain. Hardwoods are no longer a free resource to be gathered as needed from nearby forests, but are now generally too-expensive. The great majority of Indonesians now dwell in generic modern buildings rather than traditional rumah adat.

Hindu-Buddhist architecture

A number of often large and sophisticated religious structures (known as candi in Indonesian) were built in Java during the peak of Indonesia's great Hindu-Buddhist kingdoms between the 8th and 14th centuries (see Ancient temples of Java). The earliest surviving Hindu temples in Java are at the Dieng Plateau. Thought to have originally numbered as many as 400, only 8 remain today. The Dieng structures were small and relatively plain, but architecture developed substantially and just 100 years later the second Kingdom of Mataram built the Prambanan complex near Yogyakarta; considered the largest and finest example of Hindu architecture in Java. The World Heritage-listed Buddhist monument Borobudur was built by the Sailendra Dynasty between 750 and 850 CE, but it was abandoned shortly after its completion as a result of the decline of Buddhism and a shift of power to eastern Java. The monument contains a vast number of intricate carvings that tell a story as one moves through to the upper levels, metaphorically reaching enlightenment. With the decline of the Mataram kingdom before 929 CE, eastern Java became the focus of religious architecture with an exuberant style reflecting Shaivist, Buddhist and Javanese influences; a fusion that was characteristic of religion throughout Java. Archaeologists usually differentiate between the more monumental Central Javanese style and the smaller and more spread-out East Javanese candi, although Candi Badut, in the east Javanese city of Malang, is an example of a Central Javanese-style temple built outside that area.

Although brick was used to some extent during Indonesia's classical era, it was the Majapahit builders who mastered it, using a mortar of vine sap and palm sugar. The temples of Majapahit have a strong geometrical quality with a sense of verticality achieved through the use of numerous horizontal lines often with an almost art-deco sense of streamlining and proportion. Majapahit influencess can be seen today in the enormous number of Hindu temples of varying sizes spread throughout Bali. Several significant temples can be found in every village, and shrines, even small temples found in most family homes. Although they have elements in common with global Hindu styles, they are of a style largely unique to Bali and owe much to the Majapahit era.

Balinese architecture contains many elements of ancient Hindu-Buddhist architecture, mostly are the heritage from Majapahit architectural influences. Among others are the bale pavilion, Meru tower, paduraksa and candi bentar gates. Hindu-Buddhist architecture mostly were constructed between 8th to 15th-century, with subsequent tradition in Balinese architecture. However, typical ancient Javanese Hindu-Buddhist architecture has been the source of inspiration and recreated in contemporary architecture. For example, Ganjuran Church in Bantul, Yogyakarta contains a candi-like Hindu-style shrine dedicated to Jesus.

Islamic architecture Although religious architecture has been widespread in Indonesia, the most significant was developed in Java. The island's long tradition of religious syncretism extended to architecture, which fostered uniquely Javanese styles of Hindu, Buddhist, Islamic, and to a lesser extent, Christian architecture.

Vernacular mosque architecture

By the fifteenth century, Islam had become the dominant religion in Java and Sumatra, Indonesia's two most populous islands. As with Hinduism and Buddhism before it, the new religion, and the foreign influences that accompanied it, were absorbed and reinterpreted, with mosques given a unique Indonesian/Javanese interpretation. At the time, Javanese mosques took many design cues from Hindu, Buddhist, and even Chinese architectural influences (see image of "Grand Mosque" in Yogyakarta). They lacked, for example, the ubiquitous Islamic dome which did not appear in Indonesia until the 19th century, but had tall timber, multi-level roofs similar to the pagodas of Balinese Hindu temples still common today. A number of significant early mosques survive, particularly along the north coast of Java. These include the Mesjid Agung in Demak, built in 1474, and the Menara Kudus Mosque in Kudus (1549) whose minaret is thought to be the watch tower of an earlier Hindu temple. Javanese mosque styles in turn influenced the architectural styles of mosques among its neighbours, among other the mosques in Kalimantan, Sumatra, Maluku, and also neighbouring Malaysia, Brunei and the southern Philippines. Sultan Suriansyah Mosque in Banjarmasin and Kampung Hulu Mosque in Malacca for example displaying Javanese influence.