The architecture of Madagascar is unique in Africa, bearing strong resemblance to the Maritime Southeast Asian construction norms and methods of Southern Borneo from which the earliest inhabitants of Madagascar, the ancestors of the modern-day Malagasy people, settled on the island almost two thousand years ago. Throughout Madagascar, the Kalimantan region of Borneo and Oceania, most traditional houses follow a rectangular rather than round form, and feature a steeply sloped, peaked roof supported by a central pillar.

Differences in the predominant traditional construction materials used serve as the basis for much of the diversity in Malagasy architecture. Locally available plant materials were the earliest materials used and remain the most common among traditional communities. In intermediary zones between the central highlands and humid coastal areas, hybrid variations have developed that use cob and sticks. Wood construction, once common across the island, declined as a growing human population destroyed greater swaths of virgin rainforest for slash and burn agriculture and zebu cattle pasture. The Zafimaniry communities of the central highland montane forests are the only Malagasy ethnic group who have preserved the island's original wooden architectural traditions; their craft was added to the UNESCO list of Intangible Cultural Heritage in 2003.

As wood became scarce over time, wooden houses became the privilege of the noble class in certain communities, as exemplified by the homes of the Merina nobility in the 19th century Kingdom of Madagascar. The use of stone as a building material was traditionally limited to the construction of tombs, a significant feature of the cultural landscape in Madagascar due to the prominent position occupied by ancestors in Malagasy cosmology. The island has produced several distinct traditions in tomb architecture: among the Mahafaly of the southwest coast, the top of tombs may be stacked with the skulls of sacrificed zebu and spiked with aloalo, decoratively carved tomb posts, while among the Merina, aristocrats historically constructed a small wooden house on top of the tomb to symbolize their andriana status and provide an earthly space to house their ancestors' spirits.

Traditional styles of architecture in Madagascar have been impacted over the past two hundred years by the increasing influence of European styles. A shift toward brick construction in the Highlands began during the reign of Queen Ranavalona II (1868–1883) based on models introduced by missionaries of the London Missionary Society and contacts with other foreigners. Foreign influence further expanded following the collapse of the monarchy and French colonization of the island in 1896. Modernization over the past several decades has increasingly led to the abandonment of certain traditional norms related to the external orientation and internal layout of houses and the use of certain customary building materials, particularly in the Highlands. Among those with means, foreign construction materials and techniques – namely imported concrete, glass and wrought iron features – have gained in popularity, to the detriment of traditional practices.

Origins

The architecture of Madagascar is unique in Africa, bearing strong resemblance to the architecture of southern Borneo from which the earliest inhabitants of Madagascar are believed to have emigrated. Traditional construction in this part of Borneo, also known as South Kalimantan, is distinguished by rectangular houses raised on piles. The roof, which is supported by a central pillar, is steeply sloped; the gable beams cross to form roof horns that may be decoratively carved. The central Highlands of Madagascar are populated by the Merina, peoples who bear strong physiological and cultural resemblance to their Kalimantan ancestors; here, the traditional wooden houses of the aristocracy feature a central pillar (andry) supporting a steeply sloped roof decorated with roof horns (tandro-trano). In the southeast of Madagascar, actual zebu horns were traditionally affixed to the gable peak. Throughout Madagascar, houses are rectangular with a gabled roof as in Kalimantan, central pillars are widespread, and in all but a handful of regions, traditional homes are built on piles in a manner handed down from generation to generation, regardless of whether the feature is suited to local conditions.

Passing through the village of Arivonimamo in the Central Highlands in 1983, travel author Dervla Murphy described the habits of house building at the time: Like most highland homes, these two-storeyed thatched dwellings had small unglazed windows and wooden pillars supporting an upper balcony. Merina villagers usually follow a simple traditional design, yet no two houses are exactly alike in size and decoration. We were puzzled then by the numerous ruins interspersed with inhabited dwellings; later we realised that these buildings are not very durable and that to construct a house is often easier than doing repairs – most of the raw materials cost nothing except hard work.

Certain cosmological and symbolic elements are common across Indonesian and Malagasy architecture as well. The central house pillar is sacred in Kalimantan and Madagascar alike, and in both places, upon constructing a new house this pillar was often traditionally anointed with blood. The features of the building or its dimensions (length, size, and particularly the height) are often symbolically indicative of the status of its occupants or the importance of its purpose on both islands. Likewise, both Madagascar and Borneo have a tradition of partially above-ground tomb construction and the inhabitants of both islands practice the carving of decorative wooden funerary posts, called aloalo in western Madagascar and klirieng in the Kajang dialect of Borneo.

Plant-based construction Dwellings made of plant material are common in the coastal regions and were once commonly used throughout the Highlands as well. The types of plants available in a given locality determine the building material and style of construction. The vast majority of homes made of plant material are rectangular, low (one-story) houses with a peaked roof and are often built on low stilts. These architectural features are nearly identical to those found in parts of Indonesia. Materials used for construction include reeds (near rivers), rushes (in the southwest around Toliara), endemic succulents (as fencing in the south), wood (in the south and among the Zafimaniry, and formerly common in the Highlands), bamboo (especially in the eastern rain forests), papyrus (formerly in the Highlands around Lake Alaotra), grasses (ubiquitous), palms (ubiquitous but prevalent in the west around Mahajanga) and raffia (especially in the north and northeast).

For much of the length of the eastern coast of Madagascar bordering the Indian Ocean, architecture is highly uniform: nearly all traditional homes in this region are built on low stilts and are roofed with thatch made of the fronds of the traveler's palm (Ravenala madagascariensis). The stilts, floor and walls are commonly made of the trunk of this same plant, typically after pounding it flat to make wide planks (for floors and roofing) or narrow strips (for walls). These strips are affixed vertically to the frame; the raffia plant is often used in the same way, in place of the traveler's palm, in the north. When bamboo is used in place of traveler's palm, the long pounded sheets are often woven together to create walls with a checker-like pattern.

These traditional homes have no chimney. Their floor is covered in a woven mat with stones heaped in one corner where wood fires can be burnt to cook food; the smoke that accumulates blackens the ceiling and interior walls over time. The doorways of these homes were traditionally left open or could be shut by a woven screen held closed with a leather strap; today the entryway is frequently hung with a fabric curtain. Variations on this basic template can be found in all coastal regions using locally available material. The largest of the traditional coastal houses are found in the southeast among the Antemoro, Tanala and Antefasy peoples, where homes can reach 18' long, 9' wide and 15' high. Elsewhere along the coast homes are much smaller, averaging 10' long, 8' wide and 9' high.

Wood-based construction It is believed that wood construction was formerly common in many parts of Madagascar but it has all but disappeared due to deforestation. This is especially true in the Highlands where, until recently, wood had been a building material reserved for the aristocratic class due to its increasing rarity, leaving the lower classes to construct in other locally available materials such as reeds and grasses; sticks and branches are occasionally used where available, creating sporadic villages of wood typically within proximity to forest reserves. While the wooden architectural tradition among the aristocracy of the Merina has died out, at least two ethnic groups can be said to have a continuing tradition of plank wood architecture: the Zafimaniry in the central Highlands, and the Antandroy in the far south. Each of these three traditions is described below.

Merina aristocratic tradition Among the Merina of the central Highlands, the Temanambondro (Antaisaka) people of the southeastern Manambondro region, and several other ethnic groups, deforestation rendered wood a valuable construction material only to be used by aristocrats. Indeed, its traditional association with the royal andriana class led King Andrianampoinimerina (1787–1810) to issue a royal edict forbidding construction in stone, brick or earth within the limits of Antananarivo and codifying a tradition in which only the houses of nobles were constructed from wood, while those of peasants were made from local plant materials. This tradition historically existed among a number of ethnic groups in Madagascar, particularly along the eastern coast where the preservation of rainforests continues to facilitate access to wood for construction.

Traditional peasants' houses throughout Imerina featured a thick central pillar (andry) that supported the roof beam and a smaller upright beam at each corner extending into the ground to stabilize the structure. Unlike most coastal houses, Highland homes have never been raised on stilts but have always sat flush to the ground. To the south of the central pillar, in the area designated for sleeping and cooking, wooden or bamboo planks were occasionally installed for flooring, or woven mats were laid on the packed earth floor, which extended north past the pillar. Traditionally, the bed of the head of the family was in the southeast corner of the house. The northern area was distinguished by the hearth, delineated by three oblong stones set vertically into the ground. Houses and tombs were aligned on a north-south axis with the entrance on the west face. The north portion of the house was reserved for males and guests, while the south was for women, children and those of inferior rank. The northeast corner was sacred, reserved for prayer and offerings of tribute to the ancestors.

The houses of the nobles were constructed according to these same cultural norms, with several additions. They were distinguishable from the outside by their walls made of upright wooden planks and the long wooden horns (tandrotrano) formed by the crossing of the roof beams at each end of the roof peak. The length of the tandrotrano was indicative of rank: the longer the length, the higher the status of the noble family that lived within. The interior of the building was also somewhat modified, often featuring three central pillars rather than one and occasionally a wooden platform bed raised high off the ground.