Prehistoric petroglyphs in a cave in Puerto Rico The earliest homes humans inhabited were likely naturally occurring features such as
caves. There is numerous evidence for early human species inhabiting caves from at least one million years ago, including
Homo erectus in China at
Zhoukoudian,
Homo rhodesiensis in South Africa at the Cave of Hearths (
Makapansgat),
Homo neanderthalensis and
Homo heidelbergensis in Europe at
Archaeological Site of Atapuerca,
Homo floresiensis in Indonesia, and the
Denisovans in southern Siberia. In southern Africa, early modern humans regularly used sea caves as shelter starting about 180,000 years ago, when they learned to exploit the sea for the first time. The oldest known site is PP13B at
Pinnacle Point. This may have allowed rapid expansion of humans out of Africa and colonization of areas of the world such as Australia by 60–50,000 years ago. Throughout southern Africa, Australia, and Europe, early modern humans used caves and rock shelters as sites for rock art, such as those at
Giants Castle. Caves such as the
yaodong in China were used for shelter; other caves were used for burials (such as
rock-cut tombs), or as religious sites (such as
Buddhist caves). Among the known sacred caves are China's Cave of a Thousand Buddhas and the
sacred caves of Crete. As technology progressed, humans and other hominids began constructing their own dwellings. Buildings such as
huts and
longhouses have been used for living since the late
Neolithic.
Ancient By the Bronze Age (c. 3500–1200 BC), communities in
Mesopotamia began constructing permanent dwellings of
mudbrick; excavations at
Uruk and
Ubaid reveal single-room and multi-room houses organised around small courtyards, built with uniform bricks and bitumen mortar. These early urban homes often clustered along straight streets and shared common wells and ovens. In
Ancient Egypt, from the Old Kingdom (c. 2686–2181 BC) onwards, town layouts at
Amarna and
Deir el-Medina display mudbrick houses with flat roofs built in dense rows off narrow lanes; typical houses comprised a reception room, private chambers, and a small courtyard used for food preparation and work activities. The
Indus Valley Civilisation (c. 2600–1900 BC) featured standardised fired-bricks and sophisticated urban planning in cities like
Mohenjo-daro and
Harappa, where two-story houses included private wells, indoor bathrooms with drainage, and south-facing courtyards engineered for ventilation in the hot climate. On Bronze Age
Crete, the Minoan palace at
Knossos incorporated residential quarters with light wells and lustral basins, reflecting an emphasis on light and ritual purity in domestic space. Surrounding settlements adopted similar rectilinear house plans centered on storage magazines and communal courts. By the 1st century BC in
Ancient Rome, the affluent lived in
domus—multiroom urban houses built around an atrium and peristyle garden—while the majority resided in multi-story apartment blocks called insulae, often cramped and prone to fire hazards.
Post-classical After the fall of the Western Roman Empire in the 5th century, domestic architecture in Europe reverted to simple timber-framed or wattle-and-daub huts, while the elite continued to inhabit stone manor houses with great halls and defensive features. By the 12th century, these manor houses commonly featured a central hall, private solar chambers, and adjoining service wings, reflecting both social hierarchy and the need for local defense. In medieval towns, multi-storey timber-framed "hall houses" with jettied upper floors lined narrow streets, maximizing limited urban plots and providing shelter from street traffic. Concurrently, in the Islamic world from the 8th century onwards, the inward-facing courtyard house became predominant. Private residences were organized around shaded central courts with water features, mashrabiya screens for ventilation and privacy, and richly decorated plasterwork and tile. In East Asia, the Chinese siheyuan compound—standardized during the Yuan and Ming dynasties—offered multigenerational living around a north–south axis courtyard, with ancillary rooms for servants and extended family. The Renaissance (14th–17th centuries) brought classical ideals into domestic design. In Florence, the Palazzo Medici Riccardi (begun 1444) introduced rusticated façades, symmetrical floor plans, and internal loggias, while Venetian villas by Palladio emphasized proportion, harmony, and integration with landscaped gardens. Advances in glassmaking allowed larger, clearer windows, and masonry chimneys gradually replaced central hearths, vastly improving light and air quality within homes. From the 14th to the 16th century, homelessness was perceived of as a "vagrancy problem" and legislative responses to the problem were predicated upon the threat it may pose to the state. According to
Kirsten Gram-Hanssen, "It can be argued that historically and cross-culturally there is not always [a] strong relation between the concept of home and the physical building, and that this mode of thinking is rooted in
the Enlightenment of the seventeenth century". The connection between home and house was reinforced by a
case law declaration from
Edward Coke: "The house of everyman is to him as his castle and fortress, as well as his defense against injury and violence, as for his repose". Colloquially, this was adapted into the phrase "The Englishman's home is his castle" which popularised the notion of home as house. A result of the longstanding association between home and women, 18th century English women, of upper-class status, were scorned for pursuing activities outside of the home, thus seen to be of undesirable character. The concept of home took on unprecedent prominence by the 18th century, reified by cultural practice. The concept of a
smart home arose in the 19th century in turn with electricity having been introduced to homes in a limited capacity. Modern definitions portray home as a site of supreme comfort and familial intimacy, operating as a buffer to the greater world. ==Common types==