Ancient City Wall
西安城墙
The best-preserved ancient city wall in China, built in 1370 during the Ming Dynasty. This magnificent 13.7-kilometer fortification stands 12 meters high and is wide enough to cycle on top, offering stunning views of both the ancient and modern city.
Top Highlights
- 1.Cycle the complete 13.7 km loop on top of the wall (bike rental available)
- 2.South Gate (Yongningmen) - the grandest and best-restored gate tower
- 3.Watchtowers and arrow towers spaced every 120 meters along the wall
- 4.Night illumination - the wall is beautifully lit up after dark
- 5.South Gate cultural performance - Tang Dynasty guard ceremony (check schedule)
Essential Tips for Foreign Visitors
- Bike rental: ~45 for a single bike (2 hours) or 90 for a tandem; 200 deposit required
- Enter at the South Gate for the best experience - it has the main visitor center
- Cycling the full loop takes about 1.5-2 hours at a leisurely pace
- Bring water and sunscreen - there is little shade on top of the wall
- Electric carts are available for those who prefer not to walk or cycle (~80)
- The wall is wheelchair accessible at the South Gate via ramp and elevator
Xi'an City Wall (Ancient Fortifications): The Ultimate Guide for Foreign Visitors
Imagine cycling along the top of a 600-year-old fortress wall, 12 meters above street level, with the ancient heart of one of China's greatest cities spread out on one side and the modern skyline rising on the other. Xi'an's City Wall is not a ruin or a reconstruction — it is the most complete ancient city wall still standing in China, a massive rectangular fortification that has encircled the old city for over six centuries. Walking or cycling its 13.7-kilometer circumference is one of the most memorable experiences you can have in Xi'an, and it provides a physical connection to the city's imperial past that no museum can match.
Overview and Why Visit
The Xi'an City Wall (Xi'an Chengqiang) is the largest and best-preserved ancient city wall in China. Built during the early Ming Dynasty (1370–1378) on the foundations of the old Tang Dynasty imperial city, the wall forms a near-perfect rectangle measuring approximately 13.7 kilometers in circumference, 12 meters high, 15–18 meters wide at the base, and 12–14 meters wide at the top. The top surface is broad enough to drive two cars side by side — which is why cycling along it is so popular and so enjoyable.
The wall features 98 ramparts (protruding bastions spaced every 120 meters, designed to eliminate blind spots for archers), four main gates with elaborate multi-tower gate complexes, a moat running along the entire exterior, and over 5,900 crenellations (the tooth-like battlements along the outer edge). At night, the wall and its watchtowers are illuminated, creating one of China's most photogenic cityscapes.
For foreign visitors, the City Wall offers something unique: an active, physical way to experience history. Rather than peering through glass cases, you walk, run, or cycle along a structure that has watched over Xi'an since the time of the Hundred Years' War in Europe. It is also the best vantage point for understanding the layout of the old city, with the Bell Tower and Drum Tower visible at the center.
A Brief History
Xi'an's fortifications have a history stretching back over 2,000 years. The Sui Dynasty (581–618 CE) first built a rammed-earth wall around what was then the capital city of Daxing. When the Tang Dynasty (618–907 CE) made Xi'an (then called Chang'an) the capital of what was the world's largest and most cosmopolitan empire, the city's population exceeded one million, and the walls enclosed a city of staggering grandeur. Chang'an during the Tang Dynasty was the eastern terminus of the Silk Road, a true global metropolis where Persian merchants, Japanese monks, Central Asian musicians, and Indian Buddhist scholars all walked the same streets.
After the Tang Dynasty fell, Xi'an's importance declined. The city shrank, and much of the old Tang city lay outside the reduced boundaries. When the Ming Dynasty's founding emperor, Zhu Yuanzhang, came to power in 1368, his advisor proposed a strategy of "build high walls, store abundant grain, and bide your time." Taking this to heart, Zhu ordered the expansion and fortification of city walls throughout his empire. Xi'an, as the strategic gateway to northwest China, received particular attention.
Between 1370 and 1378, workers constructed the current wall using rammed earth reinforced with layers of lime and glutinous rice paste (a remarkably effective binding agent used in Chinese construction). The exterior was later clad in grey brick. The wall was designed for serious defense: each of the four gates featured a triple tower system (a main gate tower, an arrow tower with rows of small windows for archers, and a barbican gate creating a killing zone for trapped attackers), and the moat could be controlled to flood approaches.
The wall survived rebellions, invasions, and even a brutal siege during the Chinese Civil War in 1926, when the city was besieged for eight months and thousands of civilians starved. During the Cultural Revolution (1966–1976), there were proposals to demolish the wall to make way for modern development — fortunately, these plans were defeated. Major restoration work began in the 1980s and continues today. The wall you walk on is substantially original Ming Dynasty construction, with careful restoration where sections had deteriorated.
What to See: Top Highlights
The South Gate (Yongningmen) — Permanence Gate
The most impressive and best-restored of the four main gates, the South Gate is the most popular starting point for wall walks. The gate complex includes the main gate tower, the arrow tower (with its rows of small windows), the barbican enclosure between them, and the surrounding moat and drawbridge area. The entire complex has been beautifully restored and illuminated. A large plaza in front of the gate hosts cultural performances and is a gathering point for locals. The South Gate is also home to a small museum about the wall's history, worth a quick visit before ascending.
The Southeast Corner Tower
This is the only surviving original corner tower on the wall and one of the most photogenic structures. The multi-eaved wooden tower sits atop the massive brick corner bastion, offering panoramic views in both directions along the wall. It houses a small exhibition about the wall's military architecture. The corner itself is where the wall makes a dramatic 90-degree turn, and the view from here — looking along two stretches of wall simultaneously — is one of the best on the entire circuit.
The North Gate (Anding Men) — Gate of Tranquility
Less touristy than the South Gate, the North Gate retains more of its authentic, weathered character. The area outside the North Gate has been developed into a park with gardens, making it pleasant for a rest stop if you are cycling the full circuit.
The West Gate (Anding Men) and East Gate (Changle Men)
Both gates have been restored with full tower complexes. The West Gate has a particularly well-preserved barbican and is the closest gate to the Muslim Quarter, making it convenient for combining a wall visit with an evening food tour. The East Gate area is less crowded and has a pleasant tree-lined approach.
The Ramparts and Watchtowers
Every 120 meters along the wall, a rampart (majian) protrudes outward, creating a pattern that is both architecturally beautiful and militarily functional. This spacing was calculated so that archers on adjacent ramparts could create overlapping fields of fire with no dead zones. Several ramparts have been converted into small exhibition spaces or rest areas. Walking between them gives you a rhythmic, meditative experience — an ancient structure unfolding step by step.
The Moat and Huan Cheng Park
The moat encircling the wall has been transformed into a landscaped park called Huan Cheng Park (Moat Ring Park). Accessible from ground level, it is a lovely place for a pre- or post-wall stroll. Locals practice tai chi, play chess, sing opera, and fly kites here. In spring, the cherry blossoms along the moat are spectacular.
Cycling vs. Walking: How to Experience the Wall
Cycling (recommended for most visitors): Bicycles can be rented at any of the main gate access points. Single bikes cost approximately CNY 45 for 100 minutes; tandem bikes cost CNY 90 for 100 minutes. A deposit of CNY 200 is required (refunded on return). You must return the bike to the same rental point where you picked it up. The full 13.7-kilometer circuit takes 60–90 minutes at a leisurely pace with photo stops. The surface is mostly flat paved stone, with occasional bumpy patches on less-restored sections. Cycling the wall at sunset, with the city lights beginning to twinkle on both sides, is genuinely magical.
Walking: Walking the full circuit takes 3–4 hours and is best for those who want to linger, photograph extensively, or simply meditate on the experience. Most casual walkers cover a quarter to half the circuit, entering at the South Gate and walking to the East or West Gate before descending.
Electric carts: Available for visitors with mobility issues, running a sightseeing route along the top. Ask at any gate access point.
Practical Information for Foreign Tourists
Tickets and Booking
Admission: CNY 54 (approximately USD 7.50)
Bike rental: Additional CNY 45 for single / CNY 90 for tandem (100 minutes)
Tickets can be purchased online or at the gate. During peak season, online booking is recommended to avoid queues. Passport is required.
Opening Hours
Peak season (April 1 – October 31): 8:00 AM – 8:00 PM (last entry 7:00 PM)
Off-season (November 1 – March 31): 8:00 AM – 7:00 PM (last entry 6:00 PM)
Bike rental closes 90 minutes before the wall closes, so plan accordingly if you want to cycle.
Open daily, including holidays.
How to Get There
South Gate (most popular entry): Take Metro Line 2 to Yongningmen station. The gate is directly above. You can also walk from the Bell Tower area in about 15 minutes heading south on Nan Dajie (South Street).
North Gate: Metro Line 2 to Anyuanmen station.
By taxi: Tell the driver "Chengqiang Nan Men" (City Wall South Gate) or show: 城墙南门. From most central hotels, the ride costs CNY 10–20.
Access points: You can ascend the wall at multiple points, but the four main gates are the most convenient and best-equipped with facilities and bike rentals. The South Gate has the most services; the East Gate and West Gate are less crowded alternatives.
Payment
Alipay and WeChat Pay are accepted at ticket offices and bike rental points. Cash (CNY) is also accepted. International credit cards may not work at the smaller vendors on the wall, so bring some cash as backup.
Insider Tips
- Visit at sunset. The wall is beautiful at any time, but the golden hour light on the ancient bricks combined with the city lights gradually switching on creates an unforgettable atmosphere. Time your visit so you are on the wall from about 5:00 PM (winter) or 6:30 PM (summer) to catch the transition from day to dusk to illumination.
- Rent a bike at the South Gate and ride the full circuit. The 100-minute rental is generous enough for the full loop with photo stops if you do not dawdle excessively. Start counterclockwise (heading east) — this puts you at the scenic Southeast Corner Tower early.
- The night lighting is spectacular. If you visit in the evening, the wall's lanterns, the illuminated gate towers, and the glowing moat create one of China's most beautiful urban nightscapes. Consider visiting twice — once in daylight for the panoramic views and historical details, once at night for the atmosphere.
- Avoid the midday sun in summer. The wall top is fully exposed with no shade. In July and August, surface temperatures on the stone can exceed 50 degrees Celsius. Morning or late afternoon visits are essential in summer. Bring water, sunscreen, and a hat regardless of season.
- The less-restored northern and eastern sections are the most atmospheric. The heavily restored South Gate area is impressive but polished. The northern stretch retains more of its weathered, ancient character — crumbling edges, original brickwork, and fewer tourists.
- The Xi'an Marathon route includes the wall. If you are a runner, check whether your visit coincides with the annual marathon or the City Wall Marathon (usually held in November), which follows the entire wall circuit.
- Combine with the Muslim Quarter. The West Gate is a 10-minute walk from the entrance to the Muslim Quarter. Cycle the wall in the late afternoon, descend at the West Gate, and walk straight into the Quarter for dinner.
- Do not confuse with other "city walls." Some tourist materials reference Xi'an's Tang Dynasty walls or earlier fortifications. The wall you visit is the Ming Dynasty wall — the one that actually stands today.
Food and Drink Nearby
- On the wall: A few small shops sell water, ice cream, and simple snacks. Do not count on these for a meal — bring supplies if cycling the full circuit.
- Shuyuanmen (Academy Gate Street): Just outside the South Gate to the east, this charming pedestrian street is lined with calligraphy shops, art studios, and traditional teahouses. Stop for tea and a pastry in a quiet, cultured atmosphere. The street itself is worth exploring for its traditional architecture.
- The Muslim Quarter: A 10-minute walk from the West Gate entrance. This is Xi'an's most famous food street and the perfect post-wall dinner destination. See our separate Muslim Quarter guide for full recommendations.
- Defachang Dumpling Restaurant: Near the Bell Tower, a short walk from the South Gate. Famous for its dumpling banquets — a multi-course meal of dumplings in every conceivable shape and filling. A set banquet costs CNY 100–200 per person and is a quintessential Xi'an dining experience.
- Huan Cheng Park area: Small local restaurants line the streets around the moat park, serving Shaanxi staples like liangpi (cold skin noodles), roujiamo (meat sandwiches), and yangrou paomo (lamb soup with crumbled bread). Budget CNY 20–40 per person.
Best Photography Spots
- The Southeast Corner Tower: Photograph the tower from the wall itself with the wall stretching into the distance behind it. The late afternoon light on the east-facing wall is particularly warm.
- Looking down from the South Gate complex: The wide plaza below, the moat, and the modern city beyond create dramatic compositions. Shoot through the crenellations to frame the view.
- The repeating pattern of ramparts: Stand at any straight section and use a telephoto lens to compress the perspective of the ramparts receding into the distance. This geometric pattern is one of the wall's visual signatures.
- Night shots of the illuminated gate towers: The South Gate and its reflection in the moat water make for stunning long-exposure photographs. Bring a small tripod or stabilize your camera on the wall parapet.
- Cycling silhouettes at sunset: Position yourself on the wall during golden hour and photograph other cyclists as silhouettes against the setting sun. The western section of the wall is ideal for this.
- The moat reflections: From ground level in Huan Cheng Park, the wall's reflection in the calm moat water creates perfect symmetry. Best in early morning when the water is still.
- The Bell Tower from the wall: From the southern section of the wall, you can see the Bell Tower and Drum Tower rising above the old city rooftops. This shot contextualizes the wall within the broader cityscape.
The Xi'an City Wall is one of those rare monuments that rewards you not just for looking at it, but for using it. Cycling along its ancient battlements as the sun sets over a city that has been continuously inhabited for over 3,000 years is an experience that connects you viscerally to the long sweep of Chinese history. It transforms what could be a passive sightseeing moment into an active, physical, and deeply personal encounter with the past.
Nearby Attractions
Explore More in Xi'an
See all 8 attractions or read our complete Xi'an city guide.