1Highlights
Xi'an's wall is unusual among surviving Chinese city walls in one specific way: it is a complete, closed circuit you can travel all the way around on top, 13.74 km of it, which is why cycling rather than walking is the signature way to do it. The present rampart was built between 1370 and 1378 on the foundations of the Sui and Tang imperial city, and its proportions follow a defensive logic that reads clearly once you are up there โ the wall is thicker than it is tall, and the top is broad enough that Ming garrisons drilled and moved carts on it. It was a rammed-earth wall for its first two centuries; the brick facing that visitors now walk on was added from 1568 onward, and an eighteenth-century restoration added the drainage system that still keeps water off the surface. Four original gates anchor the circuit โ Yongning in the south, Anyuan in the north, Changle in the east, Anding in the west โ and a dozen more were cut through in the modern era, including the Jiefangmen breach that was only re-connected in 2005, finally closing the loop again. The practical consequence of all that history is simple: the surface is old brick, the ride is bumpier than it looks, and your experience depends far more on which gate you start from and what time you go up than on anything else.
- Circuit length
- 13.74 km, fully closed
- Built
- 1370โ1378, on SuiโTang foundations
- Main gate for visitors
- Yongning Gate (South Gate)
- Ride the full loop
- About 1.5โ2 hours at an easy pace
- Each side
- Roughly 3.4โ3.5 km
- Gate hours differ
- The south gate runs latest; others close earlier
- Who cannot ride
- Age limits apply at both ends
- Surface
- Original brick paving โ bumpy
2Tickets
Admission to the top of the wall is a single ticket, and bicycle rental is a separate transaction taken care of once you are up there. The part that catches people out is not the price but the structure: rental is sold in time blocks rather than per circuit, it needs a deposit, and the counters stop renting well before the wall itself stops admitting visitors. Reduced and free categories exist for students, older visitors and young children, but note that the age bands which make a ticket free are not the same as the age bands allowed to ride a bicycle. Prices, block lengths, deposit handling, concession bands and the last-rental time all change; published figures from guides and resellers diverge from each other, so confirm at the counter or the official channel for your date.
| Wall admission | Check current official price | One ticket for the rampart. Pick the gate you actually intend to climb at โ not every gate admits visitors at every hour. |
|---|---|---|
| Student and concession | Reduced, document required | Generally tied to a student card or an age threshold; bring the original document. |
| Free-entry categories | No admission charge | Typically older visitors and small children. Being eligible for free entry does not mean being eligible to ride. |
| Single bicycle | Time-boxed rental plus deposit | Ask for the block length, the deposit amount, the last rental time and which gates accept returns before you pay. |
| Tandem bicycle | Higher rate, same structure | Heavier and slower on brick paving than the price difference suggests; fine for two adults, awkward for an adult plus a small child. |
| Electric sightseeing cart | Per-segment or full-loop | The accessible option for anyone who should not cycle. It stops at fixed points, so you trade photo freedom for ease. |
Who is not allowed to cycle๏ผThe wall applies age limits at both ends of the range โ young children and older visitors are generally not permitted to ride, even when they enter free of charge. This catches multi-generation families who buy admission for everyone, reach the rental counter and only then discover that half the group cannot get on a bike. If your group spans those ages, plan around the sightseeing cart or a walked section from the outset rather than treating cycling as the default.
The rental clock, not the wall's closing time๏ผThree different times matter and they are not the same: when the gate stops admitting visitors, when the rental counters stop handing out bikes, and when your own time block expires. The rental counters shut earliest. Going up late in the afternoon to catch sunset on a bike is a plan that fails at the counter, not at the gate โ if golden hour is the goal, get the bike well before it.
No queue-free guarantee๏ผA ticket or a third-party voucher does not mean every security or entrance step is queue-free, and it does not change the gate's own hours or the rental rules. Follow the current crowd-control instructions on site.
Returns are gate-specific๏ผYou can generally rent and return at the major gates, but not every gate has a counter and not every counter keeps the same hours. If you plan a partial ride and a descent at a different gate, confirm that your intended return point exists and will still be staffed when you get there.
Klook
Compare Xi'an City Wall tickets, bikes and night experiences
Klook may list wall admission, bicycle rental or guided night products. Check the exact gate, date, rental block length, deposit, accepted return points, who in your group is actually allowed to ride, inclusions and cancellation policy.
- Compare the exact product inclusions and meeting point
- Check current reservation, ID, redemption and cancellation rules
- Do not treat a listing as a guarantee of entry or queue-free access
- Cross-check the attraction's official notice before paying
Disclosure: this is an affiliate link. We may earn a small commission if you buy through it, at no extra cost to you. We only recommend products we would use ourselves.
3Getting There
The wall surrounds the old city, so the question is not how to reach it but which of its gates to reach. Yongning Gate in the south is the default: it has the most complete gate complex, direct metro access and the longest opening hours. The other gates are easier to get onto and quieter once you are up, which is an argument for them rather than against.
Metro Line 2 to the Yongning Gate area, then a short walk to the gate square and the ticket windows. This is the gate with the barbican, the restored towers and the night lighting.
On the city's northโsouth axis and close to the railway station side of town. Markedly less crowded than the south gate, and a sensible climb-on point if you are already north.
Worth knowing for one reason: the Hanguang Gate site museum displays an excavated cross-section of the wall and the Tang-era gate foundations beneath it โ the clearest explanation on the whole circuit of what you have been riding on.
Set down on the ring road outside the gate rather than asking the driver into the gate square, which is pedestrianised and congested at peak times.
Many routes run along the ring road that follows the moat, with stops near each major gate. Useful for reaching a quieter gate without changing metro lines.
Descending where you started is not required๏ผA full circuit returns you to your own gate, but a partial ride does not have to. If you only want one or two sides, plan the descent at a gate that suits your next stop โ Changle Gate in the east puts you near the Yongxingfang food street, and Wenchang Gate in the south drops you beside the Beilin stele museum area. Just confirm bicycle returns are possible there first.
Large events reroute the gate squares๏ผThe south gate square hosts ceremonies, lantern displays and seasonal events, and pedestrian flows around it are managed accordingly. During festival periods the approach you planned on a map may be closed or one-way, so allow extra time to find the open entrance.
4Route & Photos
Very few visitors need the full loop. The honest framing is that the four sides are not equally interesting, so decide first whether you came for the ride, the views or the gate architecture โ then pick accordingly. If you do ride the whole thing, going counter-clockwise from the south gate is the direction most locals recommend, and the one that keeps the long western stretch for when you have found your rhythm.
A one-kilometre walk is a legitimate visit๏ผThere is no requirement to cycle. Walking from Yongning Gate east to Wenchang Gate is roughly a kilometre, takes about half an hour, overlooks the Shuyuanmen cultural street and ends next to the Beilin museum area โ a better use of ninety minutes than a rushed circuit for anyone more interested in the old city than in the exercise.
Recommended Route
- 1
Climb at Yongning Gate
Clear ticketing and security, then spend ten minutes on the gate complex itself before going up. The barbican layout โ outer tower, archery tower and main tower in sequence with the enclosed yard between โ is the clearest piece of military architecture on the circuit, and it makes no sense viewed from above.
- 2
Sort the bike before anything else
If you intend to ride, deal with the rental at the start: block length, deposit, last return time, and which gates take returns. Doing this first means the clock starts when you are ready, not after you have already spent half an hour taking photographs.
- 3
South to east: the city side
Riding counter-clockwise, the first stretch looks down into the old city on one side and the landscaped moat park on the other. Watch for the corner towers, which project outward from the wall face so that defenders could cover the base of the wall โ the south-west corner is the only round one on the whole circuit.
- 4
East to north: the quiet side
The north-east stretch is the least touristed part of the wall. Fewer stalls, fewer riders, and the width of the rampart is most apparent here. If you want the photograph that conveys standing on a fortification rather than in a queue, take it on this section.
- 5
North to west: the modern contrast
Near the north gate the Bell Tower and Drum Tower are visible inside the old city; the western approach looks out toward the station district and the newer skyline. This is the section that makes the point of the wall legible โ an intact Ming perimeter with a twenty-first-century city pressing against both faces.
- 6
Close the loop and return the bike
Back at the south gate, return the bike inside your time block and reclaim the deposit. If you timed the ride for late afternoon, stay on the wall afterwards โ the lighting comes on after dark and the gate complex is at its best then.
Best Photo Spots
Yongning Gate on the city axis
From the rampart above the south gate, looking north along the axis toward the Bell Tower. The alignment is the whole point of the composition, so centre it rather than shooting at an angle.
The south-west round corner tower
The only circular corner on the circuit and a long-standing favourite for formal portraits. Arrive early if you want it without other photographers in frame.
Crenellations in raking light
Late afternoon turns the merlons along the outer parapet into a repeating silhouette. Shoot along the wall rather than across it so the repetition builds depth.
Train and rampart together
On the northern stretch the railway runs close to the wall, which lets you frame an intact Ming fortification and a working railway in one shot โ the most economical way to say something true about the city.
Hanguang Gate cross-section
Indoors at the gate site museum: an excavated section showing the Tang foundations inside the later Ming wall. A rare chance to photograph the inside of a city wall rather than the top of one.
5Food & Stay
| Yongxingfang via Zhongshan GateShaanxi food street | Varies | Descend on the eastern side and you are at a collected food district rather than scattered stalls. Easiest reward for riders finishing the eastern sections. |
|---|---|---|
| Shuyuanmen near Wenchang GateTeahouses and snacks | Varies | A quieter cultural street with calligraphy shops and small eateries, right below the southern wall. |
| Muslim Quarter from the south-westHalal food district | Varies | Walkable from the western part of the old city; see the dedicated page on this site for what to order and the etiquette that applies there. |
| Gate-square cafesQuick stop | Varies | Convenient for a rest before or after the ride; check posted prices in the immediate tourist zone as you would anywhere central. |
There is no food on the rampart worth planning around๏ผThe wall top has drink stands and little else. Treat the circuit as the activity and the meal as something that happens after you descend โ and carry water in summer, because the rampart is open, unshaded and radiates heat off the brick.
Where to Stay
- Staying inside the walls puts the whole old city within walking distance and makes an early-morning or after-dark climb trivially easy. The area around the south gate and the Bell Tower is the most convenient, and the most expensive.
- The eastern and northern sides of the old city are quieter and cheaper while still being inside the wall โ a reasonable trade if you do not need to be on the main axis.
- Wherever you stay, note that gate opening hours differ from one another. If you want to be on the wall at first light or late at night, confirm which gate is actually open at that hour before you build the plan around it.
6Tips & Pitfalls
- Prices, opening hours, transport schedules and reservation rules can change; verify the official notice for your date.
- Keep your passport or the original ID used for a booking available; a screenshot may not be accepted.
- The surface is original brick, not asphalt. The ride is genuinely bumpy, the vibration is tiring over 13.74 km, and trainers beat any kind of smooth-soled or heeled shoe. Riders prone to wrist or lower-back discomfort should plan a partial loop.
- Age limits apply to cycling at both ends of the range, independently of whether a visitor enters free of charge. Confirm this before buying admission for a multi-generation group.
- Published figures for bicycle rental differ widely between sources โ some quote an hourly rate and others a three-hour block for the same number. Do not budget from a guide; ask at the counter and confirm what the number actually buys.
- Counter-clockwise from the south gate is the direction most commonly recommended locally, partly for gradient and partly because it leaves the busiest section behind you early.
- The wall is exposed on all four sides. There is no shelter from sun, wind or rain once you are up, and Xi'an summers are hot while winter wind on the rampart is colder than the street-level forecast suggests.
- Gate hours are not uniform โ the south gate runs the longest and several others close noticeably earlier. Plan both your climb and your descent against the specific gates you intend to use.
- A combined ticket with the nearby Beilin stele museum is commonly available and can be worth checking if you plan to see both; confirm the current arrangement rather than assuming.
7Frequently Asked Questions
How long does it take to cycle around the Xi'an City Wall?
The circuit is 13.74 km and takes roughly 1.5 to 2 hours at a relaxed pace with stops for photographs. Strong riders can do it faster, but the brick surface discourages speed and the vibration is the limiting factor rather than fitness. Build the rental time block around two hours rather than ninety minutes if you want to stop at all.
Can anyone rent a bicycle on the wall?
No. The wall applies age limits at both ends โ young children and older visitors are generally not permitted to cycle, even those who enter without paying. Families spanning those ages should plan around the electric sightseeing cart or a walked section instead of discovering the restriction at the rental counter.
Which gate should I climb at?
Yongning Gate in the south is the default and the right answer for a first visit: the most complete gate complex, direct metro access, the longest hours and the night lighting. If you want fewer people, the north and east gates are quieter. If you want to understand the wall rather than photograph it, go to the Hanguang Gate site museum, where an excavated cross-section shows the Tang foundations inside the Ming wall.
Is it better to walk or cycle?
It depends what you came for. Cycling is the only way to experience the wall as a complete circuit and is the signature activity. Walking is better if you want to look at things โ a kilometre from Yongning Gate east to Wenchang Gate takes about half an hour, overlooks the Shuyuanmen cultural street and leaves you next to the Beilin museum area. Walking the full 13.74 km is possible but is a long, exposed and fairly repetitive afternoon.
When is the best time of day to go up?
Early morning gives the clearest air, the fewest people and even light. Late afternoon into dusk gives raking light on the crenellations, sunset over the western stretch and then the night lighting. The constraint on the evening option is the rental counter, which stops handing out bicycles earlier than the gate stops admitting visitors โ so if you want to ride at golden hour, collect the bike well before it.
How old is the Xi'an City Wall?
The standing wall was built between 1370 and 1378, on the foundations of the Sui and Tang imperial city, so the structure is roughly 650 years old while the site beneath it is older still. It was rammed earth at first; the brick facing was added from 1568 and an eighteenth-century restoration added the drainage system. It is one of the most completely preserved city-wall systems surviving in China, though that is a statement about preservation rather than a claim that every section is original fabric.
Do I need to return the bicycle where I rented it?
Not necessarily, but do not assume otherwise either. The major gates generally handle both rental and returns, yet not every gate has a counter and their hours differ. If your plan involves descending somewhere other than where you started, confirm at the counter that your intended return point exists and will still be staffed when you arrive.
Is the Xi'an City Wall worth visiting if I have limited time?
Yes, and it scales down well, which is unusual. An hour at Yongning Gate โ the barbican, a short walk on the rampart and the view down the city axis โ delivers most of the architectural payoff without the circuit. The wall is also centrally located, so it slots in beside the Bell Tower, the Muslim Quarter and the Beilin museum area without a dedicated half day the way the Terracotta Army requires.
Combine With
Other Xi'an sights that genuinely pair well with this one
Before You Go
The practical guides you will actually need here
All Xi'an attractions
Yesim
Keep maps and payment working on the rampart
Bicycle deposits and rentals are commonly handled by electronic payment, and finding an open gate or a return point usually means opening a maps app while you are already up on the wall. An eSIM activated before arrival keeps both available.
- Check China coverage and whether the plan needs a local app to activate
- Confirm your phone supports eSIM and is carrier-unlocked before buying
- Activate and test the data connection before you leave the city
- Treat an eSIM as data access, not as a substitute for any reservation
Disclosure: this is an affiliate link. We may earn a small commission if you buy through it, at no extra cost to you. We only recommend products we would use ourselves.
GoChinaTravel Editorial Team
Our team of China travel researchers combines on-the-ground contributor insights, official government sources, and traveler community feedback to create the most detailed English-language China guides available. Every guide is fact-checked against primary sources (NIA, 12367, official attraction websites, Railway 12306) before publication.


