
Xi'an City Walls
Xi'an City Walls
A fortified enclosure of 13.7 km built under the Ming dynasty, Xi'an's city walls can be explored on foot or by bike and offer a unique perspective on the historic city.
The Xi'an city walls form a fortified enclosure of 13.7 km that surrounds the historic center of ancient China's former capital. Considered the oldest and best-preserved walls in China, they can be explored on foot or by bike and offer a privileged view of the Ming city, still legible in its original layout.
Why visit Xi'an's city walls
- An intact rampart spanning 13.7 km, a rare example of complete urban fortification in China.
- A sweeping view of old Xi'an, its rooftops, towers and four cardinal gates.
- An outdoor walk accessible to all, possible on foot or by rented bike on-site.
- Direct access to the historic heart: Bell Tower, Drum Tower and Muslim Quarter are just minutes from the South Gate.
History
The earliest walls at Xi'an date back to the Han dynasty, around 194 BC, when the city served as the imperial capital. The walls visible today, however, date from the Ming dynasty: they were built in 1370 under the reign of Zhu Yuanzhang, founder of the dynasty. After unifying China, the emperor ordered the construction of fortified enclosures around several strategic cities to ensure their defense. At Xi'an, the older sections were incorporated and restored into the new structure, giving the work its current coherence.
The construction technique is still legible on-site. The oldest section was built by layering earth mixed with quicklime and rice, a mortar prized for its strength. The more recent sections are brick, more regular and more resistant to erosion. This layering of eras makes the walls an open-air document of military architecture.
What to see on-site
The enclosure and watchtowers
The wall extends for 13.7 km and forms a perfect rectangle. It measures 15 to 18 meters wide at its base and 12 to 14 meters at the top, forming a platform wide enough to cycle or ride an electric cart along. Throughout the route, 98 watchtowers are spaced every 120 meters, a distance corresponding to the range of an arrow, designed so that no area at the foot of the wall escaped defense.
The four gates
Four main gates open the enclosure at the four cardinal points: south, north, east and west. Each gate forms a defensive complex composed of three towers:
- the gate tower, originally equipped with a drawbridge;
- the archer tower, as an outpost;
- the main tower, which commands access to the city.
The South Gate (Yongningmen) is the most monumental and best restored. It's the most frequently accessed entrance, closest to the historic center and the usual starting point for walks on the walls.
The walk along the top
Once on top, the enclosure can be freely explored. Allow approximately 4 hours for a complete circuit on foot, or 1.5 to 2 hours by bike. Standard bicycles and tandem bikes are available for rent at the South Gate and East Gate, with returns possible at the main gates. This is the signature experience of the site.
Practical information
- Duration of visit: 1 to 4 hours depending on whether you explore a single section or complete the full circuit.
- Admission: modest entrance fee, combined ticket available with the Forest of Stelae.
- Hours: daytime opening, with extended hours during tourist season. The South Gate remains accessible in the evening.
- Best time to visit: spring (April-May) and autumn (September-October) offer the most pleasant conditions for a walk. Avoid the hottest hours in summer and favor late afternoon for light on the rooftops.
- Bike rental: available on-site at the South Gate and East Gate, rental duration limited to about 2 hours, ideal for completing the perimeter.
How to get there
The walls are at the heart of Xi'an and easily accessible by metro:
- South Gate: Yongningmen station, Line 2.
- North Gate: Anyuanmen station, Line 2.
- East and West Gates: accessible by taxi or numerous urban bus lines.
From Xi'an railway station, the North Gate can be reached on foot in about ten minutes.
Nearby attractions
- Bell Tower and Drum Tower: at the exact center of the enclosure, ten minutes on foot from the South Gate.
- Muslim Quarter: just behind the Drum Tower, ideal for a culinary break after your walk.
- Forest of Stelae: an epigraphic museum housed in the former Confucius temple, near the South Gate.
- Great Wild Goose Pagoda: about twenty minutes by metro toward the south of the city.
FAQ
Frequently asked questions
Plan your trip
The walls fit naturally into an itinerary blending imperial heritage and major archaeological sites. To build a customized journey including Xi'an, the Wild Goose Pagoda and other highlights such as the Great Wall at Juyongguan, consult our trips to China.
Nearby
Interested in this visit?
We can include it in your personalised itinerary.








