- Introduction
- Chapter 1 Walls, Power, and the Chinese City
- Chapter 2 From Palisades to Rammed Earth: Early Walled Towns
- Chapter 3 Grid and Cosmology: Planning the Imperial Capital
- Chapter 4 Chang’an in the Tang: Ward Cities, Markets, and Monasteries
- Chapter 5 Kaifeng in the Song: Commerce and the Porous City
- Chapter 6 Water and Stone: Canals, Bridges, and the Life of Jiangnan Cities
- Chapter 7 Suzhou: Gardens, Guilds, and Literati Urbanism
- Chapter 8 Dadu to Beijing: Mongol and Ming Reconfigurations
- Chapter 9 City God Temples, Yamens, and Civic Order
- Chapter 10 Streets, Lanes, and Lilongs: Residential Fabrics and Everyday Life
- Chapter 11 Markets and Nightlife: Bazaars, Teahouses, and Theaters
- Chapter 12 Crafts, Guilds, and Urban Labor
- Chapter 13 Walls as Infrastructure: Gates, Towers, and Military Urbanism
- Chapter 14 Ritual Pathways: Processions, Festivals, and Urban Time
- Chapter 15 Water Management: Moats, Floods, and Hygiene
- Chapter 16 Gendered Spaces: Courtyards, Domesticity, and Mobility
- Chapter 17 Frontiers and Garrison Towns
- Chapter 18 Maritime Gateways before the Treaties: Quanzhou, Guangzhou, and Beyond
- Chapter 19 Treaty Ports and Concessions: Shanghai and the Port Enclave
- Chapter 20 Policing, Public Health, and the Modern Municipality
- Chapter 21 Printing, Mapping, and the Urban Imagination
- Chapter 22 Disaster and Rebuilding: Fire, Flood, and Siege
- Chapter 23 Religious Landscapes: Temples, Mosques, Churches, and Shrines
- Chapter 24 Comparative Horizons: Chinese and Global Walled Cities
- Chapter 25 Legacies and Futures: Planning Lessons from Historical China
Walls and Cities: Urbanization, Architecture, and Daily Life in Historical China
Table of Contents
Introduction
Cities in China have long been framed by walls—physical, administrative, and symbolic. This book explores how those walls, alongside streets, waterways, markets, and civic institutions, organized daily life and structured opportunities for movement, exchange, and belonging. By focusing on the built environment, we examine how urban form shaped social relations and mobility, not as a static backdrop but as an active participant in history. The aim is to offer readers an architectural and social guide to Chinese cities from early walled towns to the era of treaty ports, showing how design decisions and institutional geographies made certain lives possible and others precarious.
Our approach is resolutely interdisciplinary. We draw from archaeology, architectural history, urban morphology, social and economic history, and historical geography. City walls, gates, towers, canals, bridges, markets, guild halls, temples, yamens, gardens, and residential fabrics are treated as evidence that reveal shifting balances between state power, commercial enterprise, and community life. Reading these structures alongside maps, gazetteers, paintings, stele inscriptions, travel diaries, and municipal regulations allows us to reconstruct the rhythms of ordinary days—how people worked, worshiped, traded, socialized, and navigated authority.
Chronologically, the book moves from early fortified settlements to the carefully planned imperial capitals. We explore the cosmological grids and regimented ward systems of Chang’an, where monumental avenues and enclosed markets reflected imperial order while also nurturing vibrant religious and commercial districts. We then turn to Kaifeng, whose porous urban fabric and lively night markets signaled a different urban compact in which commerce pressed against and redefined regulatory boundaries. These case studies show how variations in wall systems, street networks, and market governance produced distinct social geographies.
Regionally, Jiangnan’s water cities introduce another set of design logics. In Suzhou, canals, gardens, and guild halls intersected with artisanal quarters and literati culture to generate a delicate choreography of movement and visibility. Bridges served both practical and ceremonial roles; garden walls curated privacy while inviting public meaning; and the alignment of markets and temples bound neighborhoods into moral and economic communities. Here, the interweaving of hydraulic infrastructure with residential lanes illuminates how environment and architecture co-produced urban life.
The book also follows China’s cities to the coast and across the seas. Before the nineteenth century, ports like Quanzhou and Guangzhou stitched Chinese cities into maritime worlds through warehouses, mosques, foreign quarters, and customs checkpoints. With the advent of treaty ports and concessions, Shanghai and other enclaves remade urban space with new legal jurisdictions, policing regimes, street grids, and building typologies. These port enclaves did not erase older forms; rather, they layered tramways over temple fairs, lilong over lineage compounds, and municipal sanitation over canal-based livelihoods, producing hybrid landscapes that anticipated modern urbanism.
Thematically, we treat walls as infrastructure rather than mere symbols—devices for taxation and surveillance, gates for timekeeping and crowd control, towers for messaging and defense. We trace ritual pathways that ordered urban time, from processions to festival circuits, and we examine gendered experiences of courtyards, lanes, and marketplaces. Chapters on water management, disaster and rebuilding, and religious landscapes reveal how crisis and devotion repeatedly reconfigured the city. Throughout, we show how guilds and civic institutions anchored labor, credit, and welfare within specific urban spaces.
This is a book for urban historians, architects, planners, and anyone interested in how spatial design mediates social life. While grounded in historical China, the questions it poses—about permeability and control, connectivity and enclosure, informality and regulation—speak directly to contemporary urban debates. From flood resilience to market-street hierarchies, from neighborhood institutions to multicultural port districts, the lessons drawn here invite designers and policymakers to see precedent not as prescription but as a repertoire of possibilities.
Finally, a word on method and reading. Each chapter combines close readings of places with comparative frames across regions and periods. Case studies—Chang’an, Kaifeng, Suzhou, Shanghai, and other port enclaves—anchor analysis at multiple scales, from the citywide plan to the corner teahouse. Side discussions of maps and building types illuminate how representation shaped imagination and governance. By following the city through its walls and beyond them, we hope to equip readers with tools to read, interpret, and design urban spaces with greater historical depth and civic care.
CHAPTER ONE: Walls, Power, and the Chinese City
Ask someone to picture a Chinese city from the distant past, and the image that usually comes to mind is a wall. Not a fragment of wall, not a crumbling suggestion of fortification, but a complete, confident rectangle enclosing rooftops, trees, and smoke. That rectangle is more than a military installation. It is a statement about order itself. In China, the wall did not merely protect a city; in a very real sense, it made the city. Without a wall, a settlement was a town, a village, a cluster of houses. With one, it became a cheng, a term that meant both "wall" and "city" in the same breath, as though the two concepts were inseparable. And for much of Chinese history, they were.
This chapter explores the deep entanglement of walls and political power in Chinese urban life, from the earliest fortified settlements through the imperial centuries and into the upheavals of the nineteenth century. It is not a chronicle of construction techniques, though we will touch on materials. It is, rather, an examination of what walls meant: how they defined who belonged and who did not, how they channeled authority, taxation, and surveillance, and how they shaped the daily experience of millions of people who lived in their shadow. The wall was not backdrop. It was infrastructure, ideology, and identity all at once.
The Chinese character for wall, cheng, carries within it a radical that means "earth" or "domain," hinting at the ancient association between enclosing space and exercising sovereignty. To build a wall was to claim jurisdiction. The Zhou dynasty's ritual texts, particularly the Kaogongji, a manual traditionally attributed to the architect's office, laid out rules for the proper dimensions of a capital city: nine li on each side, three gates on each side, nine avenues running north-south and east-west, with the palace at the center. These prescriptions were idealized—few cities ever matched them exactly—but they established a template. The city was a diagram of cosmic order, and the wall was its frame. Without the frame, the diagram dissolved.
What is striking about this tradition is how enduring it proved. Dynasties rose and fell, capitals shifted, building methods evolved from rammed earth to brick to stone, but the fundamental logic held: legitimate authority enclosed space, and enclosed space legitimized authority. When a new dynasty seized power, one of its first acts was often to build or rebuild a capital city with walls that announced its mandate. When authority crumbled, walls cracked, suburbs swelled beyond official gates, and the neat geometry of the plan gave way to organic sprawl. The condition of a city's walls was, in effect, a barometer of political stability.
The wall's role in defining jurisdiction deserves particular attention, because it had consequences that rippled into every corner of daily life. Inside the wall, residents fell under the administrative apparatus of the city—its magistrates, its granaries, its census registers, its militia. Outside the wall, the same people might live under a different magistrate, a different set of tax obligations, and a different legal jurisdiction. A farmer whose rice paddy began just beyond the eastern gate could find himself subject to one set of officials when he stepped onto his field and another when he returned home for dinner. The wall traced a line not only of defense but of law.
This jurisdictional boundary mattered enormously for commerce. Markets were typically located inside the walls or just outside the gates, where officials could monitor transactions, collect taxes, and regulate weights and measures. A merchant who set up shop beyond the wall's reach might escape certain fees, but he also lost the protections that came with operating within the city's legal framework. The tension between these two conditions—the freedom of the unregulated fringe and the security of the chartered space—played out across centuries and shaped the growth of Chinese cities in ways that would become especially visible during the Song dynasty and later transformations.
For the people who lived within the walls, the boundary was a daily fact of life, not an abstraction. Gates opened at dawn and closed at dusk, regulated by drums, bells, or the orders of the magistrate. Early rising meant passing through the gate with the morning flow of laborers, porters, and peddlers. Arriving late meant waiting, paying a fine, or spending the night outside. The rhythm of the gate set the rhythm of the city. Travelers from the countryside learned quickly that the wall imposed a schedule on their lives, and that the gates were not merely openings but choke points where authority was performed.
The performance of authority at the gates was deliberate and theatrical. Gate towers rose above the entry points, often multi-storied structures that housed military garrisons, signal drums, and sometimes temples or shrines. These towers were visible from a distance, projecting the city's power across the surrounding landscape. A traveler approaching a walled city on the northern plains could see its gate towers long before reaching the moat, and the sight communicated a clear message: here was a place of order, a place where power resided. Even if the garrison inside was small and the defenses modest, the architecture of the gate announced that this settlement took itself seriously.
Walls also stratified cities internally. Larger cities often contained nested enclosures—a walled compound for the magistrate's yamen, a walled precinct for the garrison, separate quarters for different ethnic or religious communities, and elite neighborhoods enclosed by their own secondary walls. These internal boundaries created a hierarchy of spaces, some more accessible, more prestigious, or more tightly controlled than others. The imperial palace, at the heart of the capital, was the most walled space of all, surrounded by concentric rings of enclosure that progressively restricted access. A commoner living in the outer wards of a Tang dynasty capital might never cross the boundaries of the inner city, and the architecture of walls ensured that this separation felt natural, even inevitable.
Yet walls were never perfectly impermeable. People flowed through gates, goods were smuggled over walls, and settlements grew up against the outer face of fortifications, sometimes leaning against the wall itself for support. In times of peace, the wall's military function receded, and it became more of a social boundary—a marker of urban privilege. Wealthy families built gardens against the inside of the wall, using its thickness as a foundation or enjoying the elevated walkway atop the rampart as a private promenade. Poets wrote of standing on the wall and gazing at the countryside beyond, a gesture that acknowledged the wall as a threshold between civilization and nature, between the ordered world of culture and the wild world outside.
The rural population's relationship to the walled city was complex and often fraught. Peasants who lived in unwalled villages were, in official terms, governed by a different logic than their urban counterparts. The city was a place of registers, quotas, and corvée labor; the village was organized around lineage ties and communal land. When harvest failed or bandits threatened, villagers might pour into the nearest walled city, seeking protection or relief. The city's officials responded with a mixture of obligation and anxiety, knowing that a sudden influx of refugees could strain granaries, spread disease, and test the walls' capacity to keep order as much as to keep out invaders.
Commerce posed its own challenges to the walled paradigm. As markets grew and trade networks expanded in the Song dynasty and after, commercial activity increasingly spilled beyond the walls, clustering along roads and waterways that radiated outward from the gates. These suburban markets, sometimes called guan or chang in earlier periods, operated in a gray zone: they depended on the city's infrastructure and protection but were not fully within its jurisdiction. Officials recognized the economic value of this activity but worried about the loss of control. Periodic edicts attempted to regulate suburban commerce, moving markets inside the walls or restricting their hours, but the centrifugal pull of trade proved stronger than administrative decrees. The wall, in this sense, was always a negotiation between the desire for order and the reality of exchange.
The arrival of foreign merchants, missionaries, and diplomats added another layer of complexity to the walled city's logic. In ports like Guangzhou and Quanzhou, foreign communities lived in designated quarters, sometimes inside the city and sometimes outside, their presence mediated by walls, gates, and customs checkpoints. These arrangements reflected the imperial court's ambivalence about the outside world: foreign trade was valuable, but foreign presence was potentially dangerous. Walls helped manage this tension, creating physical separations that could be relaxed or tightened according to political circumstances.
By the nineteenth century, the arrival of Western military power shattered the assumption that Chinese walls guaranteed security. The Treaty of Nanking in 1842 and the subsequent opening of treaty ports introduced a new kind of wall—the concession boundary—drawn not by Chinese officials but by foreign consuls. These boundaries, marked by boundary stones and guarded checkpoints, carved up cities like Shanghai into zones of overlapping sovereignty. The old Chinese walls persisted, but they now enclosed a diminished jurisdiction, hemmed in by foreign concessions whose walls were, in a sense, made of law rather than earth and brick. The humiliation of this situation—of walls that could no longer define the limits of authority—drove reformist and revolutionary movements that would reshape China's urban landscape in the twentieth century.
Even so, the old walls did not disappear overnight. Throughout the late nineteenth and early twentieth centuries, many Chinese cities retained their walled cores, and the walls continued to function as social and administrative boundaries. It was only in the twentieth century, as modernizing governments sought to widen streets, build railways, and create open urban spaces, that the great walls came down systematically. Shanghai's city wall was demolished in 1912. The walls of Beijing survived longer, partly because of their sheer scale and partly because of their symbolic importance, but even they were breached to create new roads and, eventually, almost entirely swept away during the twentieth century's political upheavals.
Today, fragments and reconstructions of old walls remain in dozens of Chinese cities, sometimes as tourist attractions, sometimes as parks, sometimes as barely noticed ridges in the urban fabric. In Xi'an, the Ming dynasty wall has been restored and turned into a public promenade, its ramparts crowded with walkers and cyclists who may give little thought to the centuries of power and exclusion the structure once embodied. In Nanjing, remnants of the ancient wall stand alongside modern highways, a reminder that the city's geography was once defined by enclosure. These surviving walls are palimpsests: their surfaces carry traces of multiple eras, multiple regimes, and multiple ideas about what a city should be.
What the wall meant, ultimately, depended on who stood on which side of it. For the emperor, it was a stage for cosmic order. For the magistrate, it was an instrument of administration. For the merchant, it was a barrier and a gateway. For the peasant, it was a promise of safety or a reminder of exclusion. The wall was never just a wall. It was a sentence written in earth and stone about who counted, who was protected, and who was kept out. Reading that sentence, across the many centuries and many cities this book will explore, is the task that lies ahead.
This is a sample preview. The complete book contains 27 sections.