Skip to content

Themed hub

Walled cities of China

The eight surviving Chinese cities with substantial intact rampart heritage — Ming and Qing era. Pingyao and Xi'an are the canonical visits; Jianshui, Weishan and Songpan are the under-visited southern variants.

About this list

The Chinese walled city is a different object from a European one. The European wall is mostly a defensive girdle around a centre that grew organically; the Chinese walled city is laid out on a grid with the walls as the defining geometry of the place itself. Walls were built on a north-south axis with four gates — east, south, west, north — connected by two perpendicular avenues bisecting at a central drum-and-bell tower complex. Government, administration, and ritual sat inside; markets, temples, and the working population sat both inside and outside, but the spatial order was unambiguous.

Most of these walls came down in the 20th century — the Republican era removed many for traffic, the 1950s and 1960s urban-planning campaigns removed more, and the Cultural Revolution finished off most of what was left. By 1980 only a handful of substantially-intact walled cities remained anywhere in the country. Pingyao survived because it was poor enough that nobody bothered to demolish the walls; Xi'an because the Tang foundations made the wall too substantial to remove cheaply; Jianshui because it was remote.

Since the 1990s several walls have been reconstructed — Datong's most controversially. Reconstruction is faster and cheaper than restoration; the academic critique is that reconstructed walls erase the historical layers (battle damage, weather erosion, accretion) that made the surviving walls historically meaningful. Pingyao remains the canonical example of a wall that's actually old.

  1. Pingyao Ancient City平遥古城

    Ming, 1370 · Shanxi

    The most complete Ming-Qing walled city left in China — UNESCO listed 1997. Six kilometres of intact wall, with original watchtowers and the South Gate intact. The city was China's banking capital in the 19th century; the modern Chinese deposit-and-draft business model was effectively invented here.

  2. Xi'an City Wall西安城墙

    Ming, 1370 (on Tang foundations) · Shaanxi

    The largest fully-intact Ming city wall — 13.7 km circuit, 12m high. Built on the foundations of the Tang Imperial City. You can rent a bike and circle the entire wall in 90 minutes; one of the canonical Xi'an experiences.

  3. Datong Old City大同古城

    Ming, 1372 (substantially reconstructed 2008–2016) · Shanxi

    The Ming wall was substantially reconstructed in the 2010s — controversially, since much was rebuilt rather than restored. The result is a 7 km circuit you can walk; the reconstructed wall plus the surviving Huayan and Shanhua temples make Datong worth pairing with the Yungang Grottoes.

  4. Nanjing City Wall南京城墙

    Ming, 1366–1393 · Jiangsu

    The longest city wall ever built — 35 km when complete; 25 km still survive, including the four major gates (Zhonghua, Zhongshan, Yijiang, Heping). The Zhonghua Gate is itself a four-tiered fortification, the most elaborate gate complex of any Chinese city.

  5. Jianshui建水

    Ming–Qing · Yunnan

    Yunnan's most intact walled small-town. The Chaoyang Gate, the Confucian temple (the second-largest in China after Qufu), and the surrounding Tuan Shan ancient village make Jianshui the canonical southern walled-town visit.

  6. Weishan Old Town巍山古城

    Ming, 1390 · Yunnan

    Smaller than Pingyao or Jianshui but materially less visited. The walled grid layout of Yunnan's old Nanzhao kingdom heartland. Pair with Dali for a slow-Yunnan circuit.

  7. Songpan Old Town松潘古城

    Ming, 1379 · Sichuan

    A high-altitude walled garrison town on the eastern edge of the Tibetan Plateau — gateway to Jiuzhaigou and Huanglong. Roughly 2.7 km of wall partially intact. Uniquely Tibetan-Han mixed character.

  8. Shanhaiguan — First Pass Under Heaven山海关

    Ming, 1381 · Hebei

    Where the Ming Great Wall meets the Bohai Sea — the easternmost terminus and a fortified walled town of its own. The phrase 'First Pass Under Heaven' (天下第一关) is carved over the East Gate; it was the gate the Manchus came through in 1644.

Verified May 2026