Xian City Wall

Xian City Wall

  On January 20, 2026, the final stretch of the moat encircling Xi'an City Wall was fully renovated and filled with water, marking the realization of its seamless connection. This waterway, which has borne witness to the ancient city’s thousand-year history, now embraces the Xi'an City Wall in its full, glorious entirety. 

Xi'an City Wall, also known as the Fortifications of Xi'an, is the most complete city wall that has survived in China, as well being one of the largest ancient military defensive systems in the world.
 

Xi'an City Wall Facts

Location: Around the city center of Xi’an
How Long is the Xi'an City Wall: 13.7 kilometers (8.5 miles)
When Was the Xi'an City Wall Built: 1370
Four Main Gates: East Gate (Changle Gate), West Gate (Anding Gate), South Gate (Yongning Gate), North Gate (Anyuan Gate)
Ways of Visit: Walking, Sightseeing Battery Car, Riding a Bike
 

Why Was the Xi'an City Wall Built

When Zhu Yuanzhang, the first Emperor of the Ming Dynasty (1368-1644), captured Huizhou, a hermit named Zhu Sheng admonished him that he should 'built high walls, store abundant food supplies and take time to be an Emperor,' so that he could fortify the city and unify the other states. After the establishment of the Ming dynasty, Zhu Yuanzhang followed his advice and began to enlarge the wall built initially during the old Tang Dynasty (618 - 907), forming today's scale of Xi'an City Wall.
 

Scale of the Ancient City Wall Xi'an

After the extension, the wall now stands 12 meters (40 feet) tall, 12-14 meters (40-46 feet) wide at the top and 15-18 meters (50-60 feet) thick at the bottom. It covers 13.7 kilometers (8.5 miles) in length with a deep moat surrounding it. Every 120 meters, there is a rampart which extends out from the main wall. All together, there are 98 ramparts, which were built to defend against the enemy climbing up. Each rampart has a sentry building, in which the soldiers could protect the entire wall without exposing themselves to the enemy. Besides, the distance between every two ramparts is just within the range of an arrow shot from either side, so that they could shoot the enemy, who wanted to attack the city, from the side. On the outer side of the wall, there are 5,948 crenellations, namely battlements. The soldiers can outlook and shoot at the enemy. On the inner side, parapets were built to protect the soldiers from falling off.

Xian City Wall
Moat around the Wall
Bricks of the City Wall
Xi'an City Wall Map

  

4 Main City Gates

Since the ancient weapons did not have the power to break through a wall and the only way for an enemy to enter the city was by attacking the gate of the city wall. This is why complicated gate structures were built within the wall. The wall includes four gates and they are respectively named as Changle (meaning eternal joy) in the east, Anding (harmony peace) in the west, Yongning (eternal peace) in the south and Anyuan (forever harmony) in the north. Among which, the south gate serves as the main entrance for ascending the wall.
 

South Gate - Yongningmen 

The south gate, Yongning, is the most beautifully decorated one. It is very near to the Bell Tower, center of the city. Important greeting ceremonies are usually held in the south gate square. The South Gate Square is restored and formally open to public on September 6, 2014. Covering an area of around 7.9 acres (32,000 square meters), the U shaped square is divided into three parts, main royal road, secondary royal road and celebration square. Below the square is a large underground parking lot. 

Changle Gate
Changle Gate
Yongning Gate
Yongning Gate

Each city gate has three gate towers: Zhenglou, Jianlou and Zhalou. The most outside is Zhalou, which stands away and is opposite to Zhenglou. It was used to raise and lower the suspension bridge. Jianlou with small windows in the front and flanks was used as a defensive outpost. Zhenglou, in the inner, is the main entrance to the city. The wall connects Jianlou and Zhenglou Towers. The area between them was called 'Wong Cheng', in which the soldiers stationed. From Wong Cheng, there are sloped horse passages leading to the top of the wall.
 

The Moat around the Xi'an City Wall

The moat is an artificial waterway that encircles the Xi’an City Wall, stretching a total length of 14.6 kilometers (9.07 miles). First dug in the late Tang Dynasty as a 9-meter-wide (30-foot) and 4-meter-deep (13-foot) trench, it served as the first line of defense against invading forces. It was not until the Ming Dynasty that the moat was expanded and filled with water, resulting in the scale we see today.

In the 1950s, urban construction projects led to a section of the moat being buried underground, and the water quality of the remaining waterway also suffered from severe pollution - a genuine pity for this historic site. Fortunately, starting in the early 21st century, concerted efforts have been made to restore the moat. Contamination control and ecological improvement initiatives have been rolled out progressively. To date, the last underground segment of the moat  has been completely reconnected, bringing back the picturesque view of clear water embracing the ancient city.

Tourists and locals practicing Tai Chi
Tourists and locals practicing Tai Chi
The moat at night
The moat at night


Nowadays, the area surrounding the moat has evolved into a beloved leisure destination for Xi’an locals. Here, one can spot residents indulging in various pastimes: walking their pet birds, taking leisurely strolls, or practicing Tai Chi. What’s more, boat cruises on the moat offer visitors a unique vantage point to admire the grandeur of the Xi’an City Wall. When night falls, the moat and the ancient walls, bathed in soft illumination, complement each other perfectly, creating a truly enchanting scene.
 

How Was the Wall Built?

Initially, the wall was built with layers of dirt, with the base layer including also lime and glutinous rice extract. Throughout the time the wall has been restored three times. In 1568, Zhang Zhi (the government officer of that period) was in charge to rebuild the wall with bricks. In 1781, another officer, Bi Yuan, refitted the wall and the gate towers. More recently (since 1983) the Shaanxi Provincial Government restored the wall again. The circular City Wall Park has been built along the high wall and the deep moat. The thriving trees and flowers decorate the classical Chinese architecture of the wall, adding additional beauty to the city of Xi'an.

Repairing the City Wall
Repairing the City Wall
Bricks of the City Wall
Bricks of the City Wall

Why is the Xi'an City Wall So Well-Preserved?

From 1958 onward, the start of preparedness for war prompted the construction of numerous air-raid shelters within the city wall, inflicting severe damage upon it. In the subsequent two decades, faced with a housing shortage, local residents dismantled bricks from the city wall to build makeshift houses on either side. This led to a squalid and disorderly environment, with garbage accumulating in the moat. As a consequence, the city wall was on the verge of disappearing.

By 1984, the Xi'an City Wall had become an impediment to urban traffic and marred the city's appearance, prompting many people to propose its demolition. This echoed similar fates of city walls in Beijing, Chengdu, Jinan, and other cities, which were successively torn down.

However, Zhang Tiemin, then mayor of Xi'an, recognized the irreplaceable value of the city wall. He emphasized that while demolishing it would be a straightforward task, reconstruction would be an arduous, near-impossible feat. Driven by a strong commitment to cultural heritage preservation, Mayor Zhang spearheaded a city-wide restoration effort.

The project faced significant financial constraints, as the restoration required substantial funding. To overcome this hurdle, the mayor called on citizens and students to volunteer for the reinforcement work. Meanwhile, he encouraged local brick factories around Xi'an to produce specialized bricks for the restoration. The factories responded eagerly, and each fired brick was inscribed with the production date and the factory's name as a lasting tribute to those who contributed to the city wall's revival. These inscribed bricks remain an integral part of the structure today.

Thanks to these collective efforts, the City Wall has been preserved and now stands as a magnificent testament to Xi'an's rich history, continuing to awe visitors with its grandeur.
The Dilapidated City Wall
The Dilapidated City Wall
Citizens Repairing the City Wall
Citizens Repairing the City Wall
 Around the Chinese New Year holiday each year, the grand Xi’an City Wall Lantern Festival is held to welcome the new year and present colorful lanterns in various styles. The festival 2026 lasts from January 1 to March 22, and will show you large-sized soaring-dragon-shaped lanterns and multiple lanterns based on the Horse, Chinese Zodiac Animal this year. During the festival, wonderful music and dance performances will also be given.

Lantern Corridor on Xi'an City Wall
Lantern Corridor on Xi'an City Wall
Admire Lanterns at Night
Admire Lanterns on the Wall at Night
 

Travel Tips for Visiting the Wall

Encircling the rectangled city center of Xi'an, it has totally 18 city gates, but they are not all open for visitors. Visitors can ascend the Wall from the South Gate, Small South Gate, East Gate, West Gate, North Gate, Heping Gate, Wenchang Gate and Hanguang Gate. You can choose the nearest city gate according to your location. No matter which gate you choose, you can tour the whole circle of the wall if you like. Here is a hiking itinerary around the wall starting from the South Gate for your reference.

The South Gate Xi'an (Yongning Gate) is the most time-honored and magnificent one among all the city gates. There is bicycles for rental up to the South Gate. So it is popular for visitors to ascend here. If you stay near the Bell Tower, it is recommended that you take a 10 minutes' walk along the South Street to get to the Xi'an City Wall South Gate.

 How to Visit Xi'an City Wall: by bike, on foot...
 8 Amazing Facts about Xi’an City Wall

 

How to Get to the Xi'an City Wall

 Getting to four main gates:

  To the South Gate: Take metro line 2 to Yongningmen Station and walk northward; take bus no. 11, 204, 311, 184 and get off at Nanmenwai (Outside South Gate).
  To the East Gate: Take metro line 6 to Changlemen, take Exit A1 and walk westward; Take bus no. 29, 218, 235, 22, 33, 139, 263, 45, 188, 527 and get off at Dongmenwai (Outside East Gate) Station.
  To the North Gate: Take metro line 2 to Anyuanmen Station; Take bus no. 6, 104, 206, 138, 228, 266, 229, 608 and get off at Beimenwai (Outside North Gate) Station.
  To the West Gate: Take metro line 6 to Andingmen and walk eastward; Take bus no. 10, 15, 18, 21, 43, 107, 205, 206, 224, 701, 900 to Ximenwai (Outside West Gate); take bus no. 4, 15, 23, 31, 43, 45, 201, 221, 222, 252, 300, 407, 611, 612, 622 to Ximenli (Inside West Gate).
  Xi'an Bus / Metro Search

 Xi'an City Wall Bike Ride:

Ride a Bike on the Wall
Ride a Bike on the Wall

Try biking on the Wall, you will have an enjoyable and interesting experience. To cycle round the wall for a whole circle takes 2 hours at a medium speed. You can rent a bike at the gates.

Rental Fee:
The deposit is CNY 100 for one bicycle. A single bicycle costs CNY 45 for 3 hours. The tandem bicycle costs CNY 90 for 3 hours.

 Note:
1. You will have to pay an extra charge if you cycle more than 3 hours. An extra 10 minutes costs CNY 5 for a single bicycle, and CNY 10 for a tandem bicycle.
2. Bicycles should be returned at the two service centers on the west and east of South Gate before 22:00 or before 20:00 at the other three gates.
3. Children under 12 and the elderly over 65 are not allowed to ride bikes on the wall.


 Sightseeing battery car:
The sightseeing battery car costs CNY 80 for a circle ride and CNY 20 between two stops. 
Route: South Gate – East Gate – North Gate – West Gate

 Service centers and business hours for bicycle rental and sightseeing battery car:
400 meters (437 yards) east and west of the South Gate: 8:00 - 22:00
Hanguang Gate: 8:00 - 20:00
East Gate, West Gate & North Gate: 8:15 - 20:00
 
Battery Car on the Wall
Battery Car on the City Wall
Cycling on Xian City Wall
Cycling on the City Wall


 Xi'an Sightseeing Bus City Wall Line

City Wall Sightseeing Bus links the famous scenic area of Xi'an and the 18 gates of the city wall.
 Route: Yongning Gate – Bell Tower – Wenchang Gate – Hanguang Gate – Anding Gate – Yuxiang Gate – Guangren Temple – Anyuan Temple – Northeast Corner of City Wall – Changle Gate – Southeast Corner of City Wall – Wenchang Gate Sightseeing Point
 Fare: CNY 49.9 (the entrance ticket of City Wall not included)
 Departure Time: 9:00; 10:00; 11:00; 12:00; 13:00; 14:30; 15:30; 16:30; 17:30; 18:30

 

Xi'an City Wall Fee & Opening Hours 

Entrance Fee CNY 54 for adults.
free for children under 1.2 meters.
A combo ticket for Xian City Wall and Stele Forest Museum is CNY120.
Opening Hours South Gate, Zhongshan Gate & Jianguo Gate: 8:00 - 22:00
East/North/West Gate, Hanguang Gate, Wenchang Gate: 8:00 - 20:00
Performances at
the South Gate
Grand Welcoming Ceremony: 9:00 - 9:20 from Tuesday - Sunday
Chang’an Impression--Tang Dynasty Grand Welcoming Ceremony: 
Sep. 1 - Sep. 30 & Oct. 6 - Oct. 31: 20:00 - 21:10 
Oct. 1 - Oct. 5: 19:30 - 21:40; 21:00 - 22:10
 Video of the Warrior Formation Performance
Ticket Price of Performances Grand Welcoming Ceremony: CNY80
Free for children under 1.2 meters (3.9 feet)
Chang’an Impression - Tang Dynasty Grand Welcoming Ceremony: CNY280; CNY380; CNY 880
Free for children under 1.2 meters (3.9 feet) if not taking a seat
Recommended 
Time for a Visit
3.5 hours for a whole circle

 Xi'an City Wall Tickets Booking

 Nearby Attractions:
 City Wall Park: The park surrounding the wall for a whole circle is the best place for the locals to spend their spare time and for foreigners to feel the true life and folkway in this city.
 Stele Forest: Located inside the Wenchang Gate to the east of the South Gate, it collects steles of different dynasties which offer a feast for Chinese history and calligraphy fans.
 Tang Hanguang Entrance Remains Museum: Located inside the Hanguang Gate to the west of the South Gate, it keeps the precious relics of the City Wall of the Tang Dynasty.
 Ancient Cultural Street of Shuyuanmen: Get inside the South Gate and turn eastward, you'll find this street full of antiques and souvenirs.
 Defu Lane: A quiet path to the west inside the South Gate leads you to the leisure lane with many cafes and bars.

Top 10 Things to Do in Xi'an

- Last updated on Jan. 27, 2026 by Gabby Li -