Xi’an City Wall

The Xi’an City Wall is a Ming-dynasty wall that encircles the old city, not a single scenic viewpoint. If it’s your first visit, enter the wall at the South Gate (Yongning Gate), walk east to Wenchang Gate, then head to the Forest of Stone Steles. If you want to ride the full circuit, check where you can rent and return a bike first.

Time needed
Allow 1–1.5 hours for the southern section; cycling the full loop with stops takes 2.5–3 hours.
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, adult admission is ¥54 and half-price admission is ¥27.
Booking
Buy tickets with real-name registration via the “Xi’an City Wall Scenic Area” mini program; facial verification is required to enter.
Getting there
Yongningmen Station on Metro Line 2; the South Gate Square is right outside the station.
Best time
Get on the wall an hour before sunset; avoid midday in summer.

Xi’an’s City Wall is a Ming-era wall that encircles the old city. It’s about 13.74 kilometers around, and you can walk or ride along the top. There’s no need to do the full loop on your first visit: climb up at the South Gate (Yongning Gate), walk east to Wenchang Gate, and come down there. The route takes about 1 to 1.5 hours and connects nicely with the Stele Forest Museum and Shuyuanmen. If you want to ride the full loop, first check which gate you can rent a bike at and return it to, then decide when to set out.

Construction of the wall began during the Hongwu era of the Ming dynasty. It’s about 12 meters high, and the top is wide enough for bikes to ride side by side (Wikipedia). The wall is paved with old gray bricks and is uneven, so cycling is slower than on a regular bike path.

Which section to walk and how long it takes

RouteRoute detailsTimeBest for
Short walk on the southern sectionEnter at Yongning Gate and head east to exit at Wenchang Gate1 to 1.5 hoursFirst-time visitors; leave the wall to visit the Stele Forest and Shuyuanmen
Southwest sectionEnter at Yongning Gate and head west to Hanguang Gate1 to 2 hoursThose who want to visit the Hanguang Gate ruins along the way
Full loop by bikeAbout 13.74 km; check the bike rental and return locations first2.5 to 3 hours, including stopsThose who want to ride when the weather is good
Full loop on footThe same loopHalf a day or moreFast walkers who aren't in a hurry

The times in the table are estimates that include stops and photos, not official figures. Hanguang Gate is a gate site of the Imperial City of Tang Chang'an. The Hanguang Gate Site Museum is built within the city wall (Wikipedia); check its opening hours and admission separately.

Which Gate to Enter and When to Go

Closing times vary by gate. As of August 2026, Xi’an Local Treasure lists the regular hours as follows: Yongning Gate South Entrance and North Entrance, Wenchang Gate, Wumu Gate (Xiaonanmen), Zhongshan Gate (Xiaodongmen), and Jianguo Gate: 8:00 a.m. to 10:00 p.m.; Anyuan Gate, Changle Gate, Anding Gate, Hanguang Gate, Shangde Gate, and the two corner access points to the wall: 8:00 a.m. to 8:00 p.m. (Xi’an Local Treasure, an unofficial compilation). For an evening walk on the wall, choose a gate from the first group and check the day’s notices in the mini program.

The best time to get on the wall is an hour before sunset, when the low light brings out the colors of the gray bricks and towers. In summer, there is no shade on top of the wall, so midday can be very hot. In winter, it’s windier on top of the wall than at street level.

Tickets and Reservations

As of November 2026, an adult ticket for the wall costs ¥54, and a half-price ticket costs ¥27. Full-time undergraduate students and those below that level, as well as military veterans, qualify for half-price tickets. Children under 6 or under 1.2 meters tall, adults over 65, people with disabilities, active-duty military personnel, and others can enter for free (Xi’an Local Treasure, page dated August 14, 2026).

Tickets must be purchased under your real name through the WeChat mini program (a lightweight app within WeChat) called “Xi’an City Wall Scenic Area.” At the entrance, facial recognition is used to verify your identity document. Each ID card can be used to buy only one ticket per day (Xi’an Release, scenic area announcement dated February 15, 2026). The announcement does not specify whether foreign visitors can use their passports to buy tickets through the mini program, so check with the scenic area’s official channels before you go. The announcement warns that anyone who buys tickets through resale platforms, from individuals, or from 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 open, and where to rent and return bikes, may vary from day to day. Temporary events may require rental points to be moved. Before renting, check which gate you need to return the bike to, what time the return point stops accepting bikes, how deposits and late fees are charged, and what age and height requirements apply to riders.

Try the bike first: check whether your feet can reach the ground and whether you can reach the brakes. If the seat can’t be adjusted to a suitable height, walk part of the way instead. Don’t ride in rain, icy conditions, strong winds, or holiday crowds. Don’t set off for a full circuit just before the return point closes.

How to get there and combine your visit with nearby attractions

Take Metro Line 2 to Yongningmen Station, then walk to South Gate Square. The entrance to the city wall is near the gate. It’s just one stop from Bell Tower Station to Yongningmen Station. The Xi’an Beilin Museum’s official website lists the walking distance from Yongningmen Station to the museum as about 795 meters (Visitor Information for the Beilin Museum).

Walk the southern section in the morning or afternoon, then descend at Wenchang Gate and visit the Beilin Museum for the shortest cultural route.

In the evening, continue to the Bell Tower to see it illuminated.

If you’d rather not walk on the wall and just want to explore the area at its base and the old lanes, see this guide to a free route from Yongningmen to the Beilin Museum.

To include a city wall bike ride in a guided itinerary, see the 4-day Xi’an itinerary, with a city wall climb and bike ride on Day 3.

Weather and Safety

There’s no shelter on top of the wall. In summer, the bricks get scorching hot, so bring more water than you think you’ll need. Get off the wall immediately during thunderstorms, and don’t wait near watchtowers or under trees. In winter, it’s windy, and the top of the wall is colder than the streets below. The steps are steep, so take it slow when going up and down with children or older adults.

More in Xi'an

See all 15 attractions

Guides

FAQ

Is it worth paying ¥54 to go up on 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 new buildings from atop the wall, it’s worth it. If you just want to photograph the South Gate from the outside, Yongning Gate South Square is a public square, so you don’t need a ticket.

How long does it take to ride the whole loop?

The full loop is about 13.74 km. Allow 2.5 to 3 hours, including time for photos and breaks. Whether you can ride on top of the wall, and which gate to rent and return a bike at, depends on the scenic area’s notices on the day. Before renting, check what time the bike return point stops accepting returns.

How do I buy tickets? Do I need to make a reservation?

Purchase tickets under your real name through the “Xi’an City Wall Scenic Area” WeChat mini program. At the entrance, facial recognition is used to verify your identity. Each ID card can be used to buy only one ticket per day. Source: Scenic area announcement reposted by Xi’an Release, February 15, 2026.

Can you go up on the city wall at night?

Some of the city gates stay open until 10:00 p.m.; the south and north entrances of Yongning Gate are two of them. Source: Compiled by Xi’an Local Treasure in August 2026; unofficial. Check the mini program’s notice for that day to see the latest time you can enter. It can be windy on top of the wall in winter, so bring a windproof jacket.

Which entrance is best to use?

If it’s your first visit, choose Yongning Gate (South Gate). The gate consists of several levels, including the archery tower and the main tower, so take a look from below before going up onto the wall. To visit the Stele Forest, go up at Yongning Gate and down at Wenchang Gate.

Ready when you are.

No pressure. Browse our trips, or talk to a real person. Either way, your inbox stays clean.