Enclosed courtyard houses typified by Beijing's, laid out on a central axis, where the main and side rooms show seniority and the line between inner and outer.

Western Zhou to present
1285 · EvolutionIn the twenty-second Zhiyuan year (1285), the Yuan court decreed that old-city residents moving to the capital were to be allotted house plots of eight mu each (Yuan History, Annals of Shizu).1393 · EvolutionIn the twenty-sixth Hongwu year (1393), rules were set for the number of bays and purlins in officials' and commoners' houses (History of the Ming, Treatise on Carriages and Dress).1447 · EvolutionIn the twelfth Zhengtong year (1447), commoners' houses with many purlins and few bays were exempted from the ban (History of the Ming, Treatise on Carriages and Dress).2024 · ImpactIn 2024, the Shaanxi Provincial Institute of Archaeology excavated at Wangjiazui in the Zhouyuan site a pre-Zhou building of gatehouse, east and west wings, front hall, rear chamber and front and rear courtyards (China Social Sciences Net).

The courtyard house was first a set of rules, and only then a kind of house. The Record of Rites (Liji), "Domestic Rules" (Neize), says: "In building a house, distinguish outer from inner: men live outside, women live inside; the deep apartments have strong gates, guarded by eunuchs; men do not enter, women do not go out." "Summary of the Rules of Propriety, Part 1" (Quli shang) speaks of the order of going through a door: "When the host opens the door, the guest opens his; when the host closes his, the guest closes his", and when a guest comes: "The host enters the gate and turns right, the guest enters and turns left. The host goes to the eastern steps, the guest to the western steps. If the guest is of lower rank, he goes to the host's steps." Domestic Rules goes on: "men and women do not share a clothes-rack." These two chapters speak of ritual and do not describe the plan of any one house.

Material clues are at Zhouyuan. The Shaanxi Provincial Institute of Archaeology in 2024 excavated Wangjiazui Building No. 1, of the pre-Zhou culture, covering more than 2,500 square metres and made up of "gatehouse, east and west wings, front hall, rear chamber, and front and rear courtyards" (reported by China Social Sciences Net, journalists Lu Hang and Liu Ruixiang). A People's Daily on-site commentary of 2025 (author Zhang Tie) says that at Fengchu village a "large palace building foundation of the early Western Zhou" was found, but the piece does not give its plan.

In the capital, house plots were allotted by the state. The History of the Yuan (Yuan shi), "Annals of Shizu", records under the twenty-second Zhiyuan year (1285): "Edict: of the residents of the old city who move to the capital, those of greater means and those holding office shall have priority; and it is fixed that eight mu make one allotment; where a holding exceeds eight mu, or the holder lacks the means to build, he may not occupy it unlawfully, and the people are free to build." This passage fixes the order and the area, and does not mention alleys (hutong).

The Ming then set houses by rank. The History of the Ming (Ming shi), "Treatise on Carriages and Dress", gives the rules of the twenty-sixth Hongwu year (1393): for dukes and marquises, "front hall seven bays with two side wings, nine purlins; central hall seven bays, nine purlins; rear hall seven bays, seven purlins; gate three bays, five purlins", and also "ancestral temple three bays, five purlins", so that the place of ancestor worship was written into the house rules together with the halls; "for the third to fifth ranks, the main hall five bays, seven purlins", "for the sixth to ninth ranks, the main hall three bays, seven purlins"; and officials building houses were also forbidden "hip-and-gable corners, double eaves with double brackets, and painted coffered ceilings". Of commoners' dwellings, the treatise says: "in the twenty-sixth Hongwu year the rule was set: no more than three bays and five purlins, no bracket sets, no coloured decoration", and in the twelfth Zhengtong year (1447) it was "relaxed somewhat: commoners' houses with many purlins and few bays are not within the ban". The ducal house runs from the front hall to the central hall and the rear hall in turn; the treatise gives bays and purlins and draws no plan. It also records that commoners' "houses, even if they number ten or twenty, according to the size of the plot and their means, may not exceed three bays": each house at most three bays, but the number of houses not limited, so that the courtyard gains room to add courts outward; this is an inference of this text, which the treatise does not state.

Taken together, these are why the courtyard house is canon: ritual, law and city meet in one courtyard. The ritual books fix inner and outer, host and guest, east and west; the state limits bays and purlins by rank; the Yuan capital laid house plots out in uniform parcels. Look closer and everyday ritual also acquires places. When a father's friend comes, a young person "does not dare advance unless told to advance, nor withdraw unless told to withdraw, nor answer unless asked" (Quli shang); Quli shang also says: "The rule for a son is warm in winter and cool in summer, to settle his parents at night and greet them at dawn", and this asking after them has to be walked between the rooms of the courtyard; the walking between rooms is this text's own reading, and the ritual books do not mention rooms.

The courtyard's rules find echoes elsewhere. The "ritual" that Rituals treats becomes here the eastern and western steps and the line between inner and outer; Quli shang writes "so the village and neighbourhood praise his filial piety, and brothers and relatives praise his kindness", the very pair of words in Filial Piety; the ban on "bracket sets" is aimed at the timber construction that Timber Building treats; and the sunken courtyard house is dug "about 6 metres down to form a rectangular pit, with cave dwellings cut into its four walls" (China Intangible Cultural Heritage Network), the well-shaft cave dwelling is called a "shaft-style square dwelling", and the cave dwelling that Earthen Building treats digs the courtyard house into the earth (this text's own link).

To see how ritual moved into a house, one courtyard is enough: Domestic Rules says men do not enter and women do not go out, Quli shang sets out the eastern and western steps, the Ming shi counts the halls, bays and purlins for each rank of official, and the Yuan edict measures plots at eight mu to an allotment. Ritual books, rank and plot are three different sets of rules, yet they fall on the same courtyard; inside the gate or outside it, up the steps or down, how many rooms, all can be looked up.

Courtyard Compounds is the class in the chapter on Architecture on enclosed courtyard dwellings, with the Beijing courtyard house as its main example. Buildings on four sides enclose one yard and stand symmetrically along a central axis, so that the household order of elders above juniors, and the line between inside and outside, is set down in the space where people live. The class concerns how the buildings are ringed and arranged. The layout of streets, lanes, and settlements now belongs to Streets & Settlements; house plans and courtyards remain here.

Sources (10)
  1. Siheyuan - Chinese Courtyards (China Highlights)
  2. Zhouyuan site reveals clues to ancient Zhou culture (China Daily)
  3. 維基文庫《禮記·內則》
  4. 維基文庫《禮記·曲禮上》
  5. 維基文庫《元史·卷十三(本紀第十三·世祖十)》
  6. 維基文庫《明史·卷六十八(輿服四)》
  7. 周原遗址发现三重城墙(中国社会科学网,记者陆航、实习记者刘瑞湘)
  8. 在周原探寻中华文明的光芒(现场评论)(《人民日报》2025年8月18日,张铁;人民论坛网转载)
  9. 窑洞营造技艺(项目介绍)
  10. 窑洞营造技艺(地坑院营造技艺)