Shaanxi Attractions

Discover the province's most iconic landmarks and hidden gems

— Advertisement —
← Back to Attractions

Xi'an City Wall (西安城墙)

China's Best-Preserved Ancient Fortification

Xi'an City Wall panoramic view at sunset

A Wall That Still Works

The Xi'an City Wall is 13.7 kilometers of Ming Dynasty fortification wrapped around the old city center — and it's the most complete ancient city wall in China. Built in 1370 under the Hongwu Emperor, it stands 12 meters high, 15-18 meters wide at the top, and stretches in both directions until it disappears into the haze. You can walk the whole thing in 3-4 hours, but cycling is the move. There's nothing quite like pedaling along the ramparts with the old city on one side — low, grey-tiled rooftops, minarets, the Bell Tower — and the modern city on the other: high-rises, traffic, the 21st century closing in.

My favorite memory of this wall is from an October evening last year. I rented a bike at Yongning Gate around 4:30 PM — one of those cheap single-speeds with a squeaky chain — and cycled west as the sun started dropping. The light turned the brickwork a warm amber, and somewhere near the southwest corner, I stopped and just leaned on the parapet for ten minutes. The city hummed below. The call to prayer drifted from the Great Mosque in the Muslim Quarter. I know it sounds like a cliché, but in that moment it was the most peaceful I'd felt in weeks. And then a Chinese grandmother on a tricycle overtook me ringing her bell, which was humbling.

The Four Gates, and What They Tell You

The wall has four main gates, one on each side, and each has its own personality. Yongning Gate (永宁门, South) is the show-off — grand, ceremonial, with multiple courtyards and the most elaborate architecture. It's also where the night lights are most dramatic. This is where 90% of visitors enter, and for good reason.

Anyuan Gate (安定门, North) faces the railway station. Less glamorous, but it has a raw, functional energy — you can see the city at work here, not just posing for photos. Anding Gate (安定门, West) is the quiet one. If you want to avoid crowds entirely, rent a bike here and cycle east. You'll have long stretches of wall almost to yourself. Wenchang Gate (文昌门, East) sits next to the Forest of Steles Museum, so you can do both in one trip.

Fun fact that nobody tells you: each gate originally had a massive drawbridge, a portcullis system, and a barbican (that's the extra curved wall in front — designed to trap enemies). The military engineering behind it is genuinely impressive. Walk into the barbican at Yongning and you'll feel it — that slight enclosed unease. That's the point.

Cycling the Wall

Bike rental is ¥45 for 100 minutes (single bike) or ¥90 (tandem). The full loop is 13.7 km and takes about 1.5-2 hours at a leisurely pace. The surface is mostly flat stone, with some bumpy sections where the bricks have settled over the centuries — watch your teeth. Solar-powered bikes are available at some gates if you want to feel virtuous. Tip: check the bike's brakes before you head out. I learned this the hard way on a downhill section near the east gate.

Access & Tickets

Entry: ¥54 (peak season March-November), ¥27 (off-season December-February). Half-price ¥27 for students with valid ID. Bike rental extra ¥45/100 min.

Metro: Line 2 to Yongningmen Station (永宁门站), Exit B or C — directly to the South Gate.

Hours: 8:00 AM - 10:00 PM (summer), 8:00 AM - 6:00 PM (winter, varies by gate).

A Few Tips From Someone Who's Done It a Few Times