---
title: "Xi’an City Wall"
description: "Which gate to use to access Xi’an City Wall, which section to walk, how long it takes to cycle the whole circuit, how to buy tickets, what time each gate closes, and how to fit it in with the Stele Forest and the Bell Tower on the same day."
url: "https://www.lyriktrip.com/en-GB/destinations/shaanxi/xian/attractions/city-wall"
type: "destination_hub"
page: "attraction"
locale: "en-GB"
updated: "2026-11-29"
image: "https://cdn.lyriktrip.com/s/bfbdef4ec0f3.webp"
---

# Xi’an City Wall

_Xi'an · 西安城墙_

_Updated 29 November 2026_

The Xi’an City Wall is a Ming-dynasty wall that encircles the old city, not a viewpoint. If it’s your first visit, enter the wall at Yongning Gate in the south and walk east to Wenchang Gate, then continue to the Forest of Stone Steles Museum. If you want to cycle the whole circuit, check where you can hire and return a bike first.

![Xi’an City Wall](https://cdn.lyriktrip.com/s/bfbdef4ec0f3.webp)

- **Time needed:** Allow 1 to 1.5 hours for the southern section; 2.5 to 3 hours to cycle the full loop, including stops
- **Opening hours:** All city gates open at 8:00; closing time is either 20:00 or 22:00, depending on the gate.
- **Tickets:** As of November 2026, the adult ticket costs ¥54 and the half-price ticket costs ¥27.
- **Booking:** Purchase tickets under your real name via the “Xi’an City Wall Scenic Area” mini programme; face verification is required for entry.
- **Getting there:** Yongningmen Station on Metro Line 2; the South Gate Square is right outside the station.
- **Best time:** Arrive at the wall an hour before sunset; avoid midday in summer

\*\*Xi’an City Wall is a Ming\-dynasty wall that encircles the old city\. It is about 13\.74 kilometres long, and you can walk or cycle along the top\. There’s no need to do the whole circuit on your first visit: climb up at Yongning Gate, the South Gate, walk east to Wenchang Gate and come down there\. The walk takes about 1 to 1\.5 hours and leads neatly to the Forest of Stone Steles Museum and Shuyuanmen\.\*\* If you want to cycle the whole circuit, first check which gate you can hire a bike from and return it to, then decide when to set off\.

Construction of the wall began during the Hongwu reign of the Ming dynasty\. It is about 12 metres high, and the top is wide enough for bikes to ride side by side \([Wikipedia](https://zh.wikipedia.org/wiki/%E8%A5%BF%E5%AE%89%E5%9F%8E%E5%A2%99)\)\. The surface is paved with old grey bricks and is uneven, so cycling is slower than on an ordinary cycle path\.

## Which section to walk and how long it takes

| Route option | Route | Time | Suitable for |
| --- | --- | --- | --- |
| Short southern section | Go up at Yongning Gate and head east to come down at Wenchang Gate | 1 to 1\.5 hours | First\-time visitors; come down from the wall to visit the Stele Forest and Shuyuanmen |
| South\-western section | Go up at Yongning Gate and head west to Hanguang Gate | 1 to 2 hours | Those who want to see the Hanguang Gate ruins along the way |
| Full circuit by bike | About 13\.74 kilometres; check the bike pick\-up and return points first | 2\.5 to 3 hours, including stops | Those who want to cycle in good weather |
| Full circuit on foot | The same circuit | Half a day or more | Those who walk quickly and are not short on time |

The times in the table are estimates that allow for stops and photos, not official figures\. Hanguang Gate is a gate site in the imperial city of Chang'an during the Tang dynasty\. The Hanguang Gate Site Museum is built within the city wall \([Wikipedia](https://zh.wikipedia.org/wiki/%E8%A5%BF%E5%AE%89%E5%9F%8E%E5%A2%99)\); check its opening hours and ticket prices separately\.

## Which gate to enter at, and when to go

The gate closing times vary\. As of August 2026, the daily hours compiled by Xi’an Local Treasure are: Yongning Gate South Entrance and North Entrance, Wenchang Gate, Wumu Gate \(Xiaonan Gate\), Zhongshan Gate \(Xiaodong Gate\) and Jianguo Gate, 8:00–22:00; Anyuan Gate, Changle Gate, Anding Gate, Hanguang Gate, Shangde Gate and the two corner access points to the wall, 8:00–20:00 \([Xi’an Local Treasure](https://m.xa.bendibao.com/tour/65488.shtm), unofficial compilation\)\. To get onto the wall in the evening, choose a gate from the first group and check the day’s notice in the mini\-programme\.

The best time to get onto the wall is an hour before sunset: the light is low, making the colours of the grey bricks and gate towers easy to see\. In summer, there is no shade on top of the wall, so it gets very hot at midday; in winter, it is windier up there than on the streets\.

## Tickets and reservations

As of November 2026, an adult ticket for the top of the wall costs 54 yuan, and a half\-price ticket costs 27 yuan\. Full\-time undergraduate students and those with a qualification below this level, as well as retired military personnel, are eligible for half\-price tickets; children under 6 or under 1\.2 metres tall, people aged 65 and over, people with disabilities, serving military personnel and others are admitted free \([Xi’an Local Treasure](https://m.xa.bendibao.com/tour/65488.shtm), page dated 14 August 2026\)\.

Tickets must be bought under your real name through the “Xi’an City Wall Scenic Area” WeChat mini programme \(a lightweight app within WeChat\)\. At the entrance, your identity document will be checked using facial recognition\. Each ID card can be used to buy only one ticket per day \([Xi’an Release](https://news.qq.com/rain/a/20260215A01XEO00), scenic area announcement dated 15 February 2026\)\. The announcement does not specify whether foreign visitors can use their passports to buy tickets through the mini programme, so check with the scenic area’s official channels before setting off\. The announcement warns that anyone buying tickets through second\-hand platforms, from individuals or from street vendors near the scenic area does so at their own risk\.

## Four things to check before cycling

Whether cycling on top of the wall is permitted, and where to hire and return bikes, may vary from day to day\. Temporary events may mean that hire points are moved\. Before hiring a bike, check which gate to return it to; what time the return point stops accepting bikes; how deposits and late returns are charged; and the age and height requirements for riders\.

Try sitting on the bike first: can you touch the ground with both feet, and can you reach the brakes? If the seat cannot be adjusted to a suitable height, walk for part of the route instead\. Do not cycle in rain, icy conditions, strong winds or when the area is crowded during public holidays\. Do not set off for a full circuit when the return point is about to close\.

## Getting there and combining your visit with nearby sights

Take Metro Line 2 to Yongningmen Station, then walk to South Gate Square\. The entrance to the city wall is near the gate\. From Bell Tower Station, Yongningmen is just one stop away\. The official Xi’an Beilin Museum website gives the walking distance from Yongningmen Station to the museum as about 795 metres \([Visitor Information for the Beilin Museum](https://www.beilin-museum.com/index.php?a=index&c=Lists&m=home&tid=68)\)\.

For the shortest cultural route, walk the southern section in the morning or afternoon, then leave the wall at Wenchang Gate and visit the Beilin Museum\.

- [Xi’an Beilin Museum 西安碑林博物馆](https://www.lyriktrip.com/en-GB/destinations/shaanxi/xian/attractions/beilin-museum) — Allow 2.5 hours for a first visit to the old Confucius Temple, which houses stone scriptures from the Tang dynasty and inscribed steles from various periods.

In the evening, you can continue to the Bell Tower and see it lit up\.

- [Xi’an Bell Tower 西安钟楼](https://www.lyriktrip.com/en-GB/destinations/shaanxi/xian/attractions/bell-tower) — A Ming dynasty pavilion in the heart of the old town. See it lit up in the evening; it closes at 18:00 in winter.

If you’d rather stay off the wall and walk around its foot and the old lanes, see this guide for the free route from Yongningmen to the Beilin Museum\.

- [A Free Walking Tour of Xi’an’s Old City: From Yongning Gate to the Stele Forest, Without Climbing the Walls](https://www.lyriktrip.com/en-GB/guides/xian-old-city-wall-root-walk) — A free 2.4 km walking route: starting from the Yongning Gate South Square, passing Shuyuan Gate, Sanxue Street, and the perimeter of the Stele Forest Museum, turning towards the base of the city wall at Wenchang Gate, following the Ring City Park back to the metro station, with guidance on departure times and ticket selection.

To include cycling on the city wall in a guided itinerary, see the 4\-day Xi’an itinerary: climb the wall and cycle on day three\.

- [Xi'an, Layer by Layer](https://www.lyriktrip.com/en-GB/tours/xian-first-empire-4-days) — 4 days from a buried army to a city wall you can still ride

## Weather and safety

There’s no shelter on top of the wall\. In summer, the bricks get hot, so bring more water than you think you’ll need\. Get off the wall immediately during thunderstorms; don’t wait by a tower or under a tree\. In winter, it’s windy, and the top of the wall is colder than the street\. The steps are steep, so take your time going up and down with children and older people\.

## More in Xi'an

- [Emperor Qinshihuang's Mausoleum Site Museum \(Terracotta Warriors\) 秦始皇帝陵博物院（兵马俑）](https://www.lyriktrip.com/en-GB/destinations/shaanxi/xian/attractions/terracotta-warriors) — The Terracotta Army’s burial pits: Pit 1 contains around 6,000 terracotta figures and horses. Book in your real name; in winter, enter by 16:30.
- [Shaanxi History Museum 陕西历史博物馆](https://www.lyriktrip.com/en-GB/destinations/shaanxi/xian/attractions/shaanxi-history-museum) — Bronzes and pottery figurines unearthed in Shaanxi, along with gold and silver artefacts from the Tang dynasty. The main museum is free to enter, but you need to book in advance.
- [Giant Wild Goose Pagoda 大雁塔](https://www.lyriktrip.com/en-GB/destinations/shaanxi/xian/attractions/big-wild-goose-pagoda) — A Tang dynasty brick pagoda that once housed Xuanzang’s Buddhist scriptures. Viewing the pagoda from the square is free; separate tickets are required to enter the temple and climb the pagoda.
- [Xi’an Drum Tower 西安鼓楼](https://www.lyriktrip.com/en-GB/destinations/shaanxi/xian/attractions/drum-tower) — The Ming-dynasty Drum Tower stands west of the Bell Tower, with the Muslim Quarter just behind it. There is a large drum inside.
- [Muslim Quarter \(Beiyuanmen Historic and Cultural District\) 回民街（北院门历史文化街区）](https://www.lyriktrip.com/en-GB/destinations/shaanxi/xian/attractions/muslim-quarter) — A halal food street northwest of the Drum Tower, perfect for grazing as you walk. It’s busiest in the evening; allow 2–3 hours.

[See all 15 attractions](https://www.lyriktrip.com/en-GB/destinations/shaanxi/xian/attractions)

## Guides

- [Where to Stay in Xi'an: Inside the City Walls, Yongning Gate, Dachashi or Qujiang](https://www.lyriktrip.com/en-GB/guides/where-to-stay-xian) — Compare the metro access, commute times, noise levels and family needs across four areas — the Bell Tower, North Street, Yongning Gate, Dachaishi and the Big Wild Goose Pagoda in Qujiang — and weigh up the trade-offs of staying in the three rings around the Bell Tower, to help you choose a hotel inside or outside the city walls.

## FAQ

### Is it worth paying ¥54 to go up onto the Xi’an City Wall?

If you want to see the width of the city wall and its towers, and compare the old city’s rooftops with the newer buildings from the top of the wall, it’s worth it. If you only want to photograph the south gate from the outside, Yongning Gate South Square is a public square and you don’t need a ticket.

### How long does it take to cycle the whole loop?

The full circuit is about 13.74 km. Allow 2.5 to 3 hours, including time for photos and breaks. Whether you can cycle along the top of the wall, which gate you can hire a bike from and where you can return it are subject to the scenic area’s notice on the day. Before hiring a bike, check what time the return point stops accepting bikes.

### How do I buy tickets? Do I need to book in advance?

Buy a ticket under your real name through the “Xi’an City Wall Scenic Area” WeChat mini programme. Your ID will be verified by facial recognition at the entrance. Only one ticket can be bought per ID card per day. Source: Scenic area announcement republished by Xi’an Release, 15 February 2026.

### Can you go up onto the city wall in the evening?

Some of the city gates stay open until 22:00; the south and north entrances at Yongning Gate are two of them. Source: compiled by Xi’an Bendibao in August 2026; unofficial. Check the mini-program’s notice for the day to find out the latest time you can enter the park. It’s windy on top of the wall in winter, so bring a windproof jacket.

### Which gate is best to enter through?

For a first visit, choose Yongning Gate (South Gate). The gate has several levels, including the arrow tower and the main tower. Take a look from below before going up onto the wall. To visit the Stele Forest as well, go up at Yongning Gate and come down at Wenchang Gate.
