The Qiao Family Compound: A Merchant House That Became a Walled Town

Posted: December 04th 2026


The short answer: the Qiao family compound in Qi County, Shanxi, is not really a house. It is a walled town of 313 rooms in six courtyards, begun in 1755 by a merchant family and brought to its present form after 1921. It has been a national key cultural relic since 2001 and a museum since 1986, and it is the clearest place in northern China to see a trading fortune turned into architecture.

Most visitors walk it in an hour and come out remembering only red lanterns. The compound rewards a slower read, because almost every decision in it, from the width of the lane to the height of a threshold, was made by people who thought in ledgers.

A floor plan shaped like a word

Seen from above, the six large courtyards form the character for double happiness. The plan is symmetrical, but not egalitarian. A stone-paved lane about 80 meters long and 7 meters wide runs east to west from the main gate, splitting three courtyards to the north from three to the south, and ends at the ancestral hall, which faces the gate across the whole length of the lane.

The two halves are not the same kind of building. The northern courtyards are the grander ones: three-gate progressions of the type locals call five rooms inside, three outside, with a passage hall threaded through the middle and two-story wings at the rear. The southern courtyards are shorter, two-gate compounds. Within each courtyard there is also a main and a side; the family lived in the main range, while guests, servants and the kitchen took the side range. That hierarchy is the point. You are walking through a social order that was drawn in brick before it was ever written down.

Two-story courtyard wings and red lanterns inside the Qiao family compound in Qi County, Shanxi

The fortune that paid for it

The founder, Qiao Guifa, was a poor man from Qiaojiabao village who went out beyond the Great Wall to Baotou in the early Qianlong reign and started with a fodder shop and a tofu press. The turn came in 1755, the same year the compound was begun: he bought soybeans cheaply at harvest, the next year's crop failed, and he sold at a profit. That capital became a trading house, then a network.

By the third generation the family business was run by Qiao Zhiyong, born in 1818, who had been preparing for the civil examinations before his elder brother's death pulled him into trade. He is the figure most Chinese visitors come to see, largely because a 2006 television drama made him famous. His contribution was financial: in 1884 the family opened two draft banks, Datong and Daheng, which let merchants settle accounts across the country with paper instead of hauling silver. By the late Qing the family held more than 200 shops, branches and pawnshops from Manchuria to the Yangtze, with working capital reported at seven million taels or more. The Baotou saying still quoted in Shanxi is that the Fusheng firm came first and the city of Baotou came after.

The tea trade ran through the same books. Qiao buyers sourced tea in Fujian and later in Hunan and Hubei, processed it at Yanglouodong, and moved it north by water and camel road toward the Mongolian and Russian border. The courtyards you walk through were financed by that route, which is why the decoration carries so much of the south in it: carved latticework, stone reliefs, and roof details that look imported from a milder climate.

The stone lane between courtyards at the Qiao family compound, with visitors and hanging lanterns

Built like a fortress, detailed like a jewel box

The outer wall is high brick, topped with a crenellated parapet, and the corners carry watchtowers and lookout pavilions. This was a family that moved silver, and the house was built to be defended, not merely admired. Inside, the density of ornament is the opposite impulse: brick carving, wood carving and stone carving on almost every surface that can hold it, which local guides call the three carvings.

Look for three things. Opposite the main gate stands a screen wall carved with a hundred variants of the character for longevity. Above the doorways, the bracket sets are carved rather than simply structural, and the plaques carry the family's own mottoes. And in the northern courtyards, the passage hall between the outer and inner ranges is the most sophisticated piece of planning in the compound: it lets a visitor be received, a sedan chair be parked and a household be run without anyone crossing the family's private rooms.

Carved timber brackets and a plaque above a doorway at the Qiao family compound

Why film crews keep coming

In 1991 Zhang Yimou shot Raise the Red Lantern here, and the image of lantern-lit courtyards entered global cinema. More than thirty film and television productions have used the compound since, which explains two things you will notice immediately: the lanterns hanging in nearly every courtyard, and a certain stage-set quality in the most photogenic corners.

The museum opened on 1 November 1986 and holds more than 2,000 objects, mostly Ming and Qing porcelain, painting, embroidery and furniture, displayed in the courtyards as period rooms. Some of the interiors are reconstructions rather than survivals. That is worth knowing, because it changes how you read the bedrooms and accounting offices: they are an argument about how the family lived, assembled from the family's own possessions and the region's furniture.

Visiting without rushing it

  • Come early. The lane is narrow and the courtyards are small; by mid-morning in high season the experience is a queue rather than a walk.
  • Give it two to three hours. An hour covers the main axis, but the side courtyards hold the carving and the domestic rooms.
  • Read the plan first. Stand at the gate and look down the lane to the ancestral hall before you enter anything. The geometry then makes sense for the rest of the visit.
  • Pair it with the region, not just the site. Qi County sits in Jinzhong, between Taiyuan and Pingyao, and the merchant compounds and walled towns around it were built by the same trading networks.
  • Treat it as a museum. Unlike the earthen houses of Fujian, nobody lives here now, so the courtyards are open to wander, but the carvings are original and fragile.

Brick-carved screen wall with relief panels and stone steps in a Qiao compound courtyard

Frequently asked questions

Who was Qiao Zhiyong?

The third-generation head of the family business, born in 1818 and dead in 1907. He expanded the family's Baotou trading network and, in 1884, founded the Datong and Daheng draft banks that made the Qiao name a financial one rather than only a commercial one.

How big is the compound?

About 8,700 square meters of walled ground, arranged as six large courtyards containing twenty smaller ones, with 313 rooms. The building area is roughly 4,000 square meters, and the whole complex is enclosed by a defensive brick wall.

Is it the same as Pingyao?

No. Pingyao is a walled county town with streets, temples and banks inside its ramparts. The Qiao compound is a single family's residence, built as one planned complex. They are different sites in the same province, and they answer different questions about how Shanxi money was made and spent.

How long should I allow?

Two to three hours for the compound itself. Add time if you want the museum displays in the side courtyards, and plan the visit for the morning if you are continuing to Pingyao or Taiyuan the same day.

Last updated: December 2026