Who Built the First Cities in Ancient China?

The first cities in China were not built by any single dynasty or ruler. They emerged gradually over thousands of years, constructed by Neolithic farming communities that grew increasingly complex. The oldest known urban center, Liangzhu in the Yangtze Delta, dates to roughly 3300 BC, more than a thousand years before the earliest Chinese dynasties described in historical texts. These builders left no written records, but their engineering speaks for itself: massive earthen platforms, kilometers of city walls, and sophisticated water management systems that rival anything built in ancient Mesopotamia or Egypt during the same period.

Liangzhu: China’s Oldest Known City

The Liangzhu culture, centered in what is now Zhejiang Province near modern Hangzhou, produced what many archaeologists consider China’s first true city around 5,100 years ago. The site covered roughly 300 hectares, comparable in size to early cities in the ancient Near East. At its heart sat the Mojiaoshan palatial compound, an artificial trapezoidal mound spanning 30 hectares. On top of this platform stood three palace foundations, the tallest reaching 15 meters high, built by piling up an 8-meter-thick layer of gray clay capped with 2 to 3 meters of yellow clay. Between these structures lay a 7-hectare plaza, constructed from sandy sediment hauled in from elsewhere.

What set Liangzhu apart from a large village was infrastructure. Its builders engineered a complex network of dams, levees, and ditches to control water across the swampy lowlands of the Yangtze Delta. This hydraulic system is now recognized as one of the oldest large-scale water management projects anywhere in the world. The people of Liangzhu transformed wetlands into habitable ground by building artificial mounds and walls, reshaping the landscape to support a dense population. Radiocarbon dating confirms that Liangzhu’s main centers declined after 2500 BC, likely due to flooding or environmental change, and the site was abandoned long before the rise of Bronze Age civilizations in northern China.

Walled Towns of the Yellow River Valley

While Liangzhu flourished in the south, communities along the Yellow River in northern China began building fortified settlements during the Longshan period, roughly 3000 to 1900 BC. These weren’t sprawling cities on the Liangzhu scale, but they introduced a feature that would define Chinese urbanism for millennia: defensive walls.

The earliest known walled settlement in this region is Haojiatai, in west-central Henan Province, where wall construction began before approximately 2650 BC. Another early example, Pingliangtai in eastern Henan (around 2600 to 2400 BC), featured a moat roughly 30 meters wide, gaps in the walls that served as gates, and two structures archaeologists interpret as guardhouses. These fortified towns suggest a period of increasing conflict and competition between communities, where leadership was consolidating and social hierarchies were sharpening. The walls themselves were built using a technique called rammed earth: workers packed soil between wooden frames, pounding it down with weighted rods, then moved the frames upward layer by layer. This method required coordinating large labor crews, implying that someone had the authority to organize and direct them.

Shimao: A Stone Fortress in the North

One of the most surprising archaeological discoveries in recent decades sits in northern Shaanxi Province, far from the traditional heartland of Chinese civilization. The Shimao site, dating to roughly 2300 to 1800 BC, was a massive stone-walled city covering about 4 square kilometers. Unlike the rammed-earth settlements of the central plains, Shimao’s builders used stone fortifications with inner and outer enclosures, a design showing features typical of state-level societies: large-scale craft production, imposing defensive architecture, and stark social stratification. Mass burial pits of sacrificed victims found at the East Gate point to a ruling class that wielded extreme power. Shimao challenges the long-held assumption that early Chinese urbanism radiated outward from a single center along the Yellow River. City-building was happening independently across multiple regions.

Erlitou and the Bronze Age Shift

Around 1750 BC, a new kind of urban center emerged at Erlitou in Henan Province. This site marks a turning point: the transition from Neolithic town-building to something archaeologists recognize as a centralized state. Erlitou featured grand palace foundations, workshops for bronze casting and jade and turquoise manufacture, and evidence of ritual sacrifice. It was, by any measure, a superior central settlement that dominated the surrounding region.

Whether Erlitou represents the legendary Xia Dynasty described in ancient Chinese texts remains one of the most debated questions in Chinese archaeology. The site was first identified in 1959 by researchers specifically searching for Xia remains in the area where historical documents placed them. By the mid-1990s, several hundred scholarly articles had been published arguing the question in both directions, and it remains unresolved. What is clear is that Erlitou’s bronze production, beginning around 1600 BC, represented a new source of elite power. Unlike in other parts of the world, where metalworking was first applied to farming tools, China’s earliest bronze technology was used to cast ritual vessels and weapons. Control over this specialized craft production gave rulers a monopoly on prestige goods, reinforcing their authority.

Shang Dynasty Capitals

The first cities that can be connected to a historically documented dynasty belong to the Shang, which rose after Erlitou’s decline. The Shang capital at Zhengzhou, dating to roughly 1500 BC, was built on a scale that dwarfed earlier settlements. Its inner city was approximately rectangular, covering about 300 hectares with walls stretching nearly 7 kilometers in perimeter. Individual walls ran 1,700 to 1,870 meters long. An outer city, irregular in shape, enclosed roughly 1,300 hectares.

The layout reflected a deliberate city-building philosophy. The northeastern section of the inner city held a dense cluster of palaces, ancestral temples, water supply and drainage systems, nobles’ tombs, and trenches used for sacrificial rituals. This palace district alone measured about 750 meters east to west and 500 meters north to south, protected by its own rammed-earth walls and deep trenches. The dual structure of inner and outer cities embodied a concept later recorded in Chinese literature: build an inner city to protect the ruler, and an outer city to protect the people. This pattern became the template for Chinese capital cities for the next three thousand years.

Far to the southwest, in Sichuan Province, the Sanxingdui site reveals that Shang-era urbanism extended well beyond the Yellow River. Believed to have been the largest city in southern China more than 3,000 years ago, Sanxingdui had city walls on all four sides. Its bronze artifacts, including towering masks and figures unlike anything found in the Shang heartland, suggest an independent civilization that developed its own urban traditions in parallel.

How These Cities Were Built

Nearly all early Chinese cities relied on rammed earth construction. The process was labor-intensive but effective. Workers drove vertical posts into the ground and fixed horizontal timber boards between them to create a mold. Loose soil was shoveled into this formwork in thin layers, then pounded down with wooden rammers, typically rods with a horizontal handle at one end and a heavy weight at the other. As each layer compacted, the formwork was raised and the process repeated. The technique left a characteristic pattern of ridges and troughs on the wall’s surface, still visible on excavated ruins today.

Building a city wall this way required enormous coordinated effort. The Zhengzhou walls alone contained millions of cubic meters of packed earth. Estimates for similar projects suggest thousands of laborers working over years or even decades. This is itself evidence of centralized authority: only a powerful leadership structure could mobilize, feed, and direct that many workers over that long a period. The walls weren’t just military defenses. They were statements of political power, visible proof that someone was in charge.

Why No Single Builder Gets Credit

Chinese urbanism didn’t follow a single neat timeline from village to town to city. Multiple regions developed urban centers independently, often with no direct contact between them. Liangzhu rose and fell in the Yangtze Delta centuries before Erlitou appeared in the Yellow River valley. Shimao thrived in the northern steppes while the central plains were still dotted with modest walled towns. Sanxingdui built a major city in Sichuan while the Shang ruled a thousand kilometers to the east. The first cities in China were built not by one people or one dynasty, but by dozens of separate communities responding to similar pressures: growing populations, competition for resources, the need to manage water, and the ambitions of emerging elites who discovered that monumental construction was the fastest way to make power visible and permanent.