Home Xi'an China Xi'an Hotels About
Home  ›  Asia  ›  China  ›  Xi'an  ›  Xi'an City Wall
Xi'an Attraction · The Ancient City Wall

Xi'an City Wall (西安城墙)
Cycle the complete 14-kilometre rampart

An entire old city still ringed by a 12-metre stone wall that a Ming emperor ordered built in 1370 — and the rare part is that you can go up and walk or cycle the full 13.74 km loop along the top. It is the most complete ancient city wall left in China.

Why it matters

The one Chinese city where the wall still runs the whole way around

Picture a city of millions — traffic, towers, the usual modern sprawl — with its historic core still enclosed by a wall of dark grey brick as tall as a four-storey building, drawn in a rectangle nearly 14 kilometres around. That is what sets Xi'an apart from almost everywhere else in China. Most of the country's ancient city walls collapsed or were demolished long ago. Xi'an's survives intact, the full loop unbroken, and you can stand on top of it.

The Xi'an City Wall (西安城墙) you see today was built between 1370 and 1378, in the reign of Zhu Yuanzhang, the first emperor of the Ming dynasty, raised on the foundations of the earlier Tang imperial city wall. It stands roughly 12 metres high and 12–14 metres wide across the top (wider still at the base), with a moat, watchtowers and a great fortified gate on each of the four sides. It is widely regarded as the best-preserved and most complete ancient city wall in China.

What makes the wall more than something to photograph from below is that the top is broad enough to cycle the entire circuit. Locals come up here to exercise; visitors rent bikes and ride into the breeze; and after dark the whole length is lit a warm amber, so from the wall you see the old town inside and the modern city outside at the same moment. One visit and you understand why Xi'an served as a Chinese capital across thirteen dynasties.

What to do up here

Five things worth your time

From cycling the loop to the gate-opening ceremony and the wall after dark.

A Ming-dynasty gate tower and the brick rampart of the Xi'an City Wall, hung with red lanterns, with modern high-rises of the new city behind 1
Cycle the full loop (骑行)
The wall top is wide enough to ride the complete 13.74 km circuit

This is the main reason people come to the Xi'an wall — riding a bicycle around the entire city on top of its wall. The largest rental station is at the South Gate: a single bike is ¥45 for 3 hours, a tandem ¥90 for 3 hours, which is more than enough time since the full loop takes around 1.5–2 hours with stops for photos. The surface is old brick and a little uneven, so a relaxed pace is both more enjoyable and safer. There is no shade up top, so bring water and a hat in summer.

Price: single ¥45 (~฿225) · tandem ¥90 per 3 hrs
Tip: Start from the South Gate and ride anticlockwise so the afternoon sun stays at your back
🏯2
South Gate — Yongningmen (永宁门)
The grandest of the four gates · the main access point and ceremony site

The South Gate, Yongningmen — "Gate of Eternal Peace" — is the largest and most complete of the wall's four cardinal gates, built as three nested defensive structures (an archery tower, the main gate tower and an outer barbican wall). It is where most visitors go up, because it sits closest to the city centre and the metro. In the morning it stages a re-enactment of the old city-opening ceremony, with performers in Ming-dynasty dress carrying out the formal welcome that once greeted arrivals at the gate.

Location: Southern side of the wall · Metro Line 2, Yongningmen
Gate ceremony: morning ~8.30 am (Apr–Oct) / ~9 am (Nov–Mar)
🚶3
Walk the South-to-West stretch
If you would rather not ride the loop, a short walk still delivers

You do not have to cycle the whole thing. If you would rather walk and take in the detail, the stretch from the South Gate towards the West Gate (Anding Gate) is a comfortable length. You pass the ramparts' projecting watchtowers (敌台) set at intervals along the wall, the arrow slits, and views down into an old town that is still a maze of narrow lanes. An easy 30–45 minutes brings you to the next gate, where you can come back down.

Walking distance: South Gate to West Gate, about 2.5 km
Good for: short on time, or visiting with children or older travellers
🏮4
The wall lit at night
The whole length glows warm amber · South Gate open until 10 pm

The Xi'an wall is at its best after dark. Once the sky goes down, warm amber light washes over the gate towers and the length of the rampart, reflecting in the moat below as a band of gold. The South Gate stays open until 10 pm, so you can go up for a cool evening stroll and the lights. Around the Spring Festival the wall is hung with elaborate lantern displays — the city's big annual event — so if your visit lines up with it, count yourself lucky.

Best time: after sunset, roughly 7 pm onwards
Worth doing: cycle in the late afternoon and stay for the lights — you get both moods
🌆5
Old city and new city in one view
Grey-roofed lanes on the inside, glass towers on the outside

What catches many people off guard is that, standing on the wall, you see two versions of Xi'an at once. Turn inward and there are the grey-tiled roofs of the old houses, the lanes, and the Bell Tower rising at the city's heart. Turn outward and there are modern high-rises and the ring road that traces the wall. The line between old China and new China could hardly be clearer than it is from up here — a single view that explains the city's history better than any plaque.

Best vantage: the southwest corner tower, looking over both moat and skyline
Closest sight: the Bell & Drum Towers, about 1 km from the South Gate
Before you go

Tickets, hours, bikes and how to get there

Everything you actually need, in one place — some figures can change, so confirm on the day.

Admission
¥54 (~฿270 / ~US$7.50) adults
Students ¥27 · Children under 120 cm and seniors 70+ free · Bike rental is charged separately
Bike rental
Single ¥45 · tandem ¥90 per 3 hrs
Deposit around ¥100 single / ¥200 tandem (confirm on-site) · overtime approx. ¥10 per 30 min · child bike ¥30
Opening hours
South Gate 8 am–10 pm
Most other gates 8 am–8 pm · hours can shift by season — check before you go
Metro
Line 2 — Yongningmen station (永宁门)
The exit comes up at the South Gate, the main access point · about 1 km from the Bell Tower, walkable
Time needed
~2 hours (full cycle loop)
The 13.74 km loop takes 1.5–2 hrs by bike · a short walk is 30–45 min · add time for the ceremony or the night lights
Best time to visit
Late afternoon into evening
Ride in the cooler late-afternoon light, then stay for sunset and the illumination · avoid midday in summer — no shade up top
Worth knowing: You can return a bike at any gate rental point before 8 pm; after that, returns are only at the South Gate, so if you ride into the evening leave time to circle back to the south side. To book tickets or a guided cycling tour ahead, see Xi'an City Wall tickets and tours on Klook →
Getting there

Go up at the South Gate — it is the easiest

The Xi'an City Wall has access points at several gates, but the most convenient is the South Gate (Yongningmen): it sits right on the metro and close to the city centre. This is the route we recommend.

From the Bell Tower / city centre
~15-minute walk, or one metro stop

If you are staying near the Bell Tower, the South Gate is about 1 km straight south along an easy pedestrian route. Or take Metro Line 2 from Zhonglou (Bell Tower) to Yongningmen — a single stop.

Walk: ~15 min · Metro: Line 2 · ¥2–3
From the Muslim Quarter / Drum Tower
~15–20-minute walk

The Muslim Quarter and Drum Tower sit just north of the Bell Tower. Walk down to the South Gate in about 15–20 minutes. Eat your way through the Muslim Quarter's street food at lunch, then walk over to the wall for the afternoon — the timing works neatly.

Walk: ~15–20 min · via the Bell Tower
From the train station / airport
Metro Line 2 connects directly

From Xi'an Railway Station, take Metro Line 4 then change to Line 2 for Yongningmen. From Xianyang Airport, take the Airport Bus or Metro Line 14 into the city and change to Line 2 — both end up at the South Gate.

Destination: Yongningmen station, Line 2
Half-day old-city plan
Wall + Bell & Drum Towers + Muslim Quarter

With a free half-day, string together the heart of the old city: go up at the South Gate and cycle in the afternoon, come down for the Bell and Drum Towers, cut through the Muslim Quarter for street-food dinner, then return to the wall for the night lights. Everything is within a 1–2 km walk.

Total time: 4–5 hours · Budget: ¥100–150 per person including ticket, bike and food
Pair it with

What is within walking distance

The wall sits right against the heart of the old city, a few minutes' walk from some of Xi'an's best-known sights and street food — easy to combine in a single day:

Where to stay nearby

Hotels inside the walled city

Staying inside the city walls — especially near the Bell Tower or the South Gate — puts the wall, the old town and the Muslim Quarter all within walking distance. Here are the hotels we have reviewed:

Frequently asked

FAQ · Before you visit the Xi'an City Wall

How much does the Xi'an City Wall cost and what are the opening hours?
Adult admission to walk the wall is ¥54 (~฿270); students pay ¥27. Children under 120 cm and seniors over 70 enter free. The South Gate (Yongningmen), the main entrance, is open 8 am–10 pm; most other gates open 8 am–8 pm. Hours can change seasonally, so check before you go.
How much does it cost to cycle the Xi'an City Wall and how long does it take?
A single bike rents for ¥45 per 3 hours (deposit around ¥100); a tandem is ¥90 per 3 hours (deposit around ¥200), with an overtime charge of roughly ¥10 per 30 minutes. Cycling the full 13.74 km loop takes about 1.5–2 hours at an unhurried pace. You can return bikes at any gate rental point before 8 pm; after that, returns are only at the South Gate. Confirm the current deposit on-site.
How do I get to the Xi'an City Wall by metro?
Take Metro Line 2 to Yongningmen station (永宁门). The exit brings you up at the South Gate, which is the main access point onto the wall and the largest bike-rental station. The South Gate is also only about 1 km from the Bell Tower at the city centre — an easy walk.
Should I walk or cycle the wall, and what time should I visit?
At 13.74 km, cycling is the way to see the whole loop. If you would rather stroll and take in detail, walking the South Gate to West Gate stretch is enough. The best time is late afternoon: ride in the cooler light, then stay for sunset and the wall's evening illumination. Avoid midday in summer (June to August) — there is no shade on top of the wall.
Is there a real gate-opening ceremony at the Xi'an City Wall?
Yes. The South Gate (Yongningmen) hosts a re-enactment of the ancient city-opening ceremony each morning, at roughly 8.30 am (April–October) and 9 am (November–March), with performers in Ming-dynasty costume. A welcome performance is often added on Friday and Saturday evenings. Times and schedules can change, so check before you go.
Klook · Xi'an City Wall Tickets & Tours

Book your wall ticket or a cycling tour in advance

Find admission tickets, guided cycling tours and combined Xi'an sightseeing packages on Klook. Booking online ahead is easier than buying on-site, especially during busy holiday periods.

See Xi'an City Wall on Klook →
Wherebest is an affiliate partner of Klook — we may earn a commission when you book through our links, at no extra cost to you.