Xian Ancient City Wall

Xi’an City Wall: How to Visit, Best Gates, Cycling & Tips

The Xi’an City Wall is one of the city’s most iconic landmarks and one of the best-preserved ancient city walls in China. Built around the historic center, it forms a large rectangular enclosure separating the old city from modern Xi’an.

Today, visitors can walk or cycle along the top of the wall, enjoying views of historic neighborhoods, the Bell Tower, and the modern skyline.

This guide explains the best gates to use, how long you need, cycling and walking options, the best time to visit, and practical tips for planning your trip.

Quick Links: Xi’an Ancient City Wall

Xi’an City Wall at a Glance

InformationDetails
BuiltMing Dynasty (1370–1378)
LengthAbout 13.74 km (8.5 miles)
HeightAbout 12 meters
WidthAround 12–14 meters at the top
Number of Gates18 (4 main gates)
Best entrance for first-time visitorsSouth Gate (Yongning Gate)
Best ways to exploreWalking or cycling
Recommended visiting time1–3 hours

The current wall was built during the early Ming Dynasty, although it expanded on earlier city defenses dating back to the Sui and Tang dynasties. Its rectangular layout still defines the historic center of Xi’an today.

Map of Xi'an City Wall
Map of Xi’an City Wall

Why Visit Xi’an City Wall?

One of China’s Best-Preserved Ancient City Walls

The Xi’an City Wall is more than a surviving historical monument. It is a large defensive system that visitors can still explore from above.

The wall was built between 1370 and 1378 during the Ming Dynasty. Unlike many ancient defensive structures that survive mainly as ruins, much of the Xi’an City Wall remains intact and can be visited today.

Walking along the ramparts gives you a better sense of the scale of ancient Xi’an and how the city was organized and protected.

See Contrast Between Ancient and Modern Xi’an

One of the best reasons to visit the City Wall is the contrast between the views on both sides.

Looking inward, you can see the historic city center, traditional neighborhoods, and landmarks such as the Bell Tower and Drum Tower.

Looking outward, the view changes to modern roads, high-rise buildings, and the newer parts of Xi’an.

This combination of an ancient defensive structure and a modern Chinese city is one of the most distinctive features of the Xi’an City Wall.

Illuminated Xi'an City Wall vs Modern Building at night
Illuminated Xi’an City Wall vs Modern Building at night
Xi'an Ancient City Wall vs modern building
Xi’an Ancient City Wall vs modern building

History of Xi’an City Wall

When Was Xi’an City Wall Built?

The present Xi’an City Wall was constructed during the early Ming Dynasty.

Construction began in 1370 under Emperor Hongwu and was completed in 1378. The Ming government expanded and strengthened earlier city defenses to protect Xi’an as an important military and administrative center.

The wall was built around the old city, which had already been an important urban center during earlier dynasties when Xi’an was known as Chang’an.

How Was Xi’an City Wall Built?

The wall was constructed using traditional techniques and materials. Its core was made largely from compacted earth, while bricks were used on the exterior to create a more durable surface.

Over the centuries, the wall experienced periods of damage and repair. Modern conservation work has helped preserve the structure and maintain it as an important historical landmark in Xi’an.

Xi’an City Wall Defensive Features

The Xi’an City Wall was designed as a complete defensive system rather than simply a boundary around the city. Its defenses included the main wall, moat, drawbridges, gate structures, watchtowers, and battlements.

Moat and Drawbridge

A moat surrounded the outside of the City Wall and formed an additional defensive barrier.

At the gates, drawbridges provided access across the moat. In wartime, these could be raised to make access to the city more difficult.

Today, the restored moat is also part of the landscape around the historic city wall.

Twilight view of illuminated Xi'an City Wall and moat
Twilight view of illuminated Xi’an City Wall and moat

Gates and Gate Towers

The city gates were important parts of the defensive system. Major gate complexes included structures such as gate towers, arrow towers, barbicans, and passages designed to make direct access to the city more difficult.

Among the four main gates, South Gate (Yongning Gate) has some of the most complete surviving defensive structures.

Watchtowers and Battlements

Watchtowers and projecting defensive platforms were positioned along the wall to allow soldiers to observe and defend the surrounding area.

The battlements along the outer edge protected soldiers while allowing them to observe or respond to approaching enemies.

For visitors today, these structures are some of the most interesting details to see while walking or cycling around the wall.

Xi’an City Wall Entrance Fee & Opening Hours

ItemDetails
Adult ticketCNY 54
Children aged 7–18CNY 27
Children under 7Free
Visitors aged 65+Free
Opening hours08:00–22:00

After 22:00, visitors can no longer enter the wall, but those already inside can leave through designated gates. The available exit routes include:

  • North Entrance → South Gate
  • North Gate
  • West Gate
  • East Gate
  • Small East Gate (Zhongshan Gate)

Practical tip: Opening hours, ticket prices, bicycle rental fees, and festival arrangements may change. Check the latest official wbsite information before your visit.

Which Gate Should You Enter Xi’an City Wall?

The Xi’an City Wall has four main gates:

  • South Gate (Yongning Gate)
  • East Gate (Changle Gate)
  • West Gate (Anding Gate)
  • North Gate (Anyuan Gate)

There are also other smaller gates and access points around the wall. For most first-time visitors, South Gate is the most convenient starting point because of its location, transportation connections, and well-preserved defensive structures, especially if you plan to explore other places to visit in Xi’an nearby.

GateBest for
South GateFirst-time visitors and central sightseeing
East GateTravelers who want a quieter starting point
West GateVisitors staying or sightseeing in western Xi’an
North GateTravelers near Xi’an Railway Station
Changle Gate of Xi'an City Wall
Changle Gate of Xi’an City Wall
Yongning Gate of Xi'an City Wall in daytime
Yongning Gate of Xi’an City Wall in daytime

South Gate (Yongning Gate) — Best Choice for First-Time Visitors

South Gate, or Yongning Gate, is the most popular entrance for visitors.

It has a large and well-preserved defensive complex, including the gate tower, barbican, arrow tower, drawbridge, and other defensive structures.

The gate is also convenient for visitors exploring central Xi’an. Yongningmen Station on Metro Line 2 provides direct access to the South Gate area.

Choose South Gate if you:

  • Want to cycle or walk part of the wall
  • Are visiting Xi’an for the first time
  • Want to see the most complete gate complex
  • Plan to combine the wall with the Bell Tower and Drum Tower
  • Want convenient metro access

East Gate (Changle Gate)

East Gate, also known as Changle Gate, stands on the eastern side of the old city.

It can be useful for travelers staying in eastern Xi’an or those who prefer to avoid starting at the busiest tourist area.

The eastern section also provides a different perspective of the old city and modern Xi’an.

West Gate (Anding Gate)

West Gate is another historic entrance and was traditionally connected with the western routes leading out of the city.

It is less crowded than South Gate and can be a good option for visitors staying in western areas of Xi’an.

Travelers who want to enjoy cycling without starting from the busiest entrance may consider this gate.

North Gate (Anyuan Gate)

North Gate, or Anyuan Gate, is located on the northern side of the old city.

Its location can be convenient for travelers arriving at or staying near Xi’an Railway Station.

If your main sightseeing plan is around the Bell Tower, Drum Tower, and Muslim Quarter, however, South Gate is generally a more convenient starting point.

How to Visit Xi’an City Wall

Cyclists enjoying a leisurely ride along the wide surface of the Xian City Wall
Cyclists enjoying a leisurely ride along the wide surface of the Xian City Wall
People cycling on Xi’an City Wall at sunset
People cycling on Xi’an City Wall at sunset
Walking on the Xian Ancient City Wall
Walking on the Xian Ancient City Wall

There are two main ways to explore the City Wall: walking and cycling.

Your choice depends mainly on how much time you have and whether you want to see the entire circuit.

Walking on Xi’an City Wall

Walking is a good option if you want to take photos, examine the architecture, and explore at a slower pace.

The entire wall is about 13.74 km long, and walking the full circuit can take around four hours. Most visitors do not need to walk the entire route.

For a shorter visit, choose one section and spend your time enjoying the views rather than trying to complete the whole circuit.

Walking Routes

South Gate to Hanguang Gate

This is a practical short walking route for visitors who want to see more than the South Gate area without spending several hours on the wall.

The western section from South Gate toward Hanguang Gate includes views of the defensive structures and provides access to the Hanguang Gate Relic Museum.

A short route from South Gate toward Hanguang Gate can take around 30 minutes, depending on your pace and stops.

Longer Walks

If you have around an hour, you can continue farther along the wall and explore additional watchtowers, gates, and city views.

There is no need to complete the entire 13.74 km circuit on foot unless walking long distances is an important part of your trip.

Cycling on Xi’an City Wall

Cycling is the easiest way to see a large part of the City Wall within a few hours.

A complete circuit is about 13.74 km and usually takes 2–3 hours, depending on your speed and how often you stop for photos.

You can cycle clockwise or counterclockwise. A typical route is:

South Gate → West Gate → North Gate → East Gate → South Gate

You can also choose a shorter route instead of completing the entire circuit.

Bike Rental Information

Bicycles can be rented from service stations on the City Wall. Current reference information lists nine bicycle service stations around the wall.

Bicycle TypeDepositRental Fee
Single bicycleCNY 100CNY 45 for 3 hours
Tandem bicycleCNY 100CNY 90 for 3 hours

Overtime charges are currently listed at CNY 5 per additional 10 minutes for a single bicycle and CNY 10 per 10 minutes for a tandem bicycle. Bicycle rental is separate from the City Wall entrance ticket.

Rental service hours:

  • 08:00–21:00: Rental and return
  • 21:00–22:00: Return only

Rules and fees can change, so confirm the current arrangements at the rental station.

Cycling Tips

Before renting a bicycle, keep the following in mind:

  • Allow enough time. A full circuit takes about 2–3 hours.
  • Start early or later in the afternoon. The wall is exposed to the sun, especially in summer.
  • Bring water and sun protection.
  • Check the bicycle before starting.
  • Ride carefully on uneven sections.
  • Keep to the right while cycling.
  • Leave enough time to return the bicycle before the rental service closes.

There are also restrictions on bicycle rental for some visitors, including children under 12 and people over 65, according to current rental information. A minimum height of 1.3 m is also listed. Check the latest rules at the rental station before renting.

How Long Do You Need at Xi’an City Wall?

The ideal visiting time depends on your travel style.

Available TimeRecommended Experience
30 minutesVisit South Gate and enjoy the main views
1 hourWalk a short section of the wall
1–1.5 hoursExplore a longer walking route
2–3 hoursCycle the complete circuit
Half dayCombine City Wall with nearby old city attractions

For most international travelers, 1–3 hours is enough to enjoy the Xi’an City Wall without feeling rushed.

If you are planning a multi-day trip, see our Xi’an tours for sample itineraries that combine the City Wall with other major attractions.

Best Time to Visit Xi’an City Wall

The Xi’an City Wall can be visited throughout the year, but the experience changes depending on the season and time of day.

Xi'an City Wall walkway blending ancient and modern cityscape in autumn
Xi’an City Wall walkway blending ancient and modern cityscape in autumn

Spring (March to May)

Spring is one of the most comfortable seasons to visit.

Advantages:

  • Pleasant temperatures
  • Good conditions for walking and cycling
  • Green scenery around the city

Spring is a good time for travelers who plan to spend longer on the wall.

Summer (June to August)

Summer in Xi’an can be extremely hot, and the open surface of the wall receives strong sunlight.

Recommended times:

  • Early morning
  • Late afternoon
  • Evening

Avoid the hottest part of the day if you plan to cycle.

Autumn (September to November)

Autumn is often considered one of the best seasons for visiting Xi’an.

Advantages:

  • Comfortable weather
  • Clear views
  • Good photography conditions

It is especially suitable for cycling and longer walks.

Winter (December to February)

Winter visitors can enjoy:

  • Fewer crowds
  • Clearer views
  • A quieter atmosphere

However, temperatures can be cold, especially when walking on the open wall, so warm clothing is recommended.

Xi’an City Wall Lantern Festival

The Xi’an City Wall Lantern Festival is traditionally held around the Chinese New Year period, with large-scale lantern displays and cultural performances.

The exact dates and themes change each year. The 2026 festival ran from January 1 to March 22, featuring large lantern displays including dragon-themed designs and displays related to the Year of the Horse.

If you are visiting Xi’an during Chinese New Year, check the latest festival schedule before planning an evening visit, as special-event arrangements and ticketing can differ from normal City Wall visits.

Colorful flying horse lantern arch, crowded visitors at Chang'an Lantern Show
Colorful flying horse lantern arch, crowded visitors at Chang’an Lantern Show
Aerial night view of Yongning Gate square with Chinese poem light display
Aerial night view of Yongning Gate square with Chinese poem light display

How to Get to Xi’an City Wall

The Xi’an City Wall surrounds the historic city center and can be reached from several points. South Gate (Yongning Gate) is the most convenient entrance for many visitors, with easy metro access and nearby attractions.

Getting to South Gate (Yongning Gate)

The easiest option is Metro Line 2 → Yongningmen Station (永宁门站). From Exit A1 or D1, it is about a 4–5-minute walk to South Gate.

  • From Bell Tower: Walk south along South Street for about 10–15 minutes, or take a short taxi ride.
  • From Xi’an Railway Station: Take Bus 603 directly toward Yongning Gate/South Gate, or take a taxi. Bus 603 connects Xi’an Railway Station with Yongning Gate.
  • By bus to South Gate: Several routes stop at Nanmenwai (South Gate Outside), including Bus 11, 12, 16, 184, 187, 193, 203, 204, and 208.

Which Xi’an City Wall Experience Is Best for You?

TravelerRecommended option
First-time visitorSouth Gate + 1-hour walk
Photography loversSouth Gate + sunset
FamiliesShort walk + South Gate
Active travelersFull cycling circuit
Travelers with limited timeSouth Gate → Hanguang Gate
History loversCity Wall + Forest of Stone Steles

Xi’an City Wall Travel Tips

1. Choose the Right Route for Your Time

You do not need to complete the entire wall to enjoy the experience.

A common mistake is trying to walk the full 13.7 km circuit without enough time or preparation.

For most travelers:

  • Short visit → South Gate area
  • Half-day visit → walking + nearby attractions
  • Longer visit → cycling the full circuit

2. Wear Comfortable Shoes

Although the surface of the wall is relatively flat, visitors may spend a long time walking or cycling.

Comfortable shoes are especially important if you plan to:

  • Walk several sections
  • Visit multiple towers
  • Take many photos

3. Consider the Weather

The top of the wall is open with limited shade.

During summer:

  • Avoid midday visits
  • Bring water
  • Use sun protection

During winter:

  • Wear warm clothing because the wind can be strong on the wall.

4. Allow Enough Time for Photos

The Xi’an City Wall is one of the best photography locations in the city.

Popular photo opportunities include:

  • South Gate towers
  • Views toward the Bell Tower
  • Sunset over the old city
  • Night views of illuminated gates

5. Combine the City Wall with Nearby Attractions

The wall is located in the historic center of Xi’an, making it easy to combine with several important attractions.

Popular combinations include:

Xi’an City Wall + Bell Tower + Drum Tower

Best for:

  • First-time visitors
  • Half-day sightseeing

Xi’an City Wall + Muslim Quarter

Best for:

  • History and food experience
  • Evening sightseeing

Xi’an City Wall + Forest of Stone Steles Museum

Best for:

  • Travelers interested in Chinese history and culture

Nearby Attractions Around Xi’an City Wall

The City Wall is located in the heart of Xi’an’s historic center, making it easy to combine with other major attractions.

Bell Tower and Drum Tower

The Bell Tower and Drum Tower are two of Xi’an’s most famous landmarks. They represent the historical center of the ancient city and are only a short distance from the City Wall.

Xi’an Muslim Quarter

The Muslim Quarter is one of the most popular food streets in Xi’an. After walking or cycling on the City Wall, many travelers visit the area for:

  • Local snacks
  • Traditional food
  • Evening atmosphere

Forest of Stone Steles Museum

The Forest of Stone Steles Museum is a good choice for travelers interested in Chinese history, calligraphy, and ancient inscriptions.

It can be combined with the southern section of the City Wall.

Shuyuanmen Cultural Street

Located near South Gate, Shuyuanmen is known for:

  • Traditional architecture
  • Calligraphy shops
  • Cultural atmosphere

It is a good short stop before or after visiting the wall.

❓People Also Ask

Can you walk around the entire Xi’an City Wall?

Yes, but walking the entire 13.7 km circuit takes considerably longer and can be tiring. The article recommends shorter walking routes for travelers with limited time and cycling for visitors who want to cover the complete circuit more efficiently.

How far is Xi’an City Wall from the Bell Tower?

The South Gate is approximately 10–15 minutes on foot from the Bell Tower, according to the article. Visitors can combine the Bell Tower, City Wall, and Muslim Quarter into a convenient half-day route.

What is the best entrance to Xi’an City Wall for first-time visitors?

South Gate, also known as Yongning Gate, is recommended in the article for first-time visitors because of its historic gate complex, central location, transportation connections, and nearby attractions.

Do you need to book Xi’an City Wall tickets in advance?

Yes. Advance booking can be useful during peak travel seasons. The article recommends checking the latest ticket information before visiting because prices, schedules, and arrangements may change.

Table of Contents

← Table of Contents