Xi'an City Wall rampart with red flags, red lanterns and a gate tower, framed between two battlement stones
Heritage · Beilin and Lianhu Districts, Xi'an, Shaanxi

Xi'an City Wall and Muslim Quarter

Ming-dynasty ramparts, the Great Mosque and Xi'an's lively Hui food streets (西安城墙 · 回民街)

Ambient sound · similar settingNight market bustle at Carbon Market
Photo: Yihan Wang (@amxiazhi) / Unsplash

Discover Xi'an City Wall and Muslim Quarter

Old Xi'an is still wrapped in its great rectangle of grey brick ramparts. The top of the wall is wide enough to cycle, and a circuit takes you past gate towers, watchtowers and red lanterns, with the modern city on one side and low rooftops of the old town on the other. At dusk the gates are floodlit and the whole wall glows.

Just inside, north-west of the Drum Tower, the Muslim Quarter is home to Xi'an's Hui community. Its lanes lead to the Great Mosque, a serene complex of courtyards and gardens built in Chinese style, while the surrounding streets fill each evening with grills, noodle stalls and sweet shops. For travellers from Muslim-majority countries, this is one of the most welcoming corners of China, and the easiest place in the city to eat halal.

Don’t miss

  1. 01Cycling or walking the full circuit on top of the Ming-dynasty wall
  2. 02Yongning (South) Gate, with its gate towers and the main entry to the wall
  3. 03The Great Mosque's courtyards, steles and turquoise-roofed prayer hall seen from outside
  4. 04Evening food streets of the Muslim Quarter around Beiyuanmen and North Guangji Street
  5. 05The Bell and Drum Towers at the heart of the walled old town

History & culture

The story of Xi'an City Wall and Muslim Quarter

Xi'an's fortifications trace back to the Sui and Tang capital Chang'an, but the wall standing today was built in the early Ming dynasty under the Hongwu Emperor in the 1370s, on top of earlier Tang palace walls. The Shaanxi provincial government gives its perimeter as 13.74 km, enclosing about 11.32 square kilometres, with four original main gates: Changle (east), Yongning (south), Anding (west) and Anyuan (north). Later openings, many added in modern times, bring the total number of gates to 18.

Islam reached north-west China through Arab and Persian merchants and travellers from the mid-7th century, when Chang'an was the eastern terminus of the Silk Road. A stone tablet at the Great Mosque on Huajue Lane records its founding in 742 under the Tang dynasty, though most surviving buildings date from the Ming and Qing periods. The mosque faces west towards Makkah and blends Islamic calligraphy with Chinese timber halls, stone arches and gardens. It remains the spiritual centre of the city's Hui Muslims.

Local life & traditions

The Hui are Chinese-speaking Muslims whose families have lived around the Great Mosque for generations. Daily life revolves around the mosque, family businesses and food: many restaurants have been run by the same families for decades, and during Ramadan the rhythm of the quarter shifts towards iftar. White caps and headscarves are common, and visitors are expected to respect the mosque as an active place of worship rather than just a monument.

Things to do

Experience it like a local

Climb the wall at one of the main gates and rent a bicycle for a loop, or walk a single section and enjoy the views of the gate towers. Late afternoon is ideal, as you can watch the lanterns come on and stay for the illuminated gates after dark.

In the Muslim Quarter, visit the Great Mosque outside prayer times and walk slowly through its four courtyards. Then explore the food lanes: lamb and beef skewers, hand-pulled noodles, flatbread soaked in lamb soup (yangrou paomo), persimmon cakes and dried fruit stalls. Most stalls display the qingzhen sign, the Chinese marker for halal food.

When to go

Spring (March to May) and autumn (September to November) offer mild days ideal for cycling the wall. Summer is hot, so ride early or late, while winter is cold but the lit gates around the Spring Festival are atmospheric. The Muslim Quarter is busiest on summer evenings and Chinese holidays; visit the Great Mosque in the morning for a calmer experience.

Plan your visit

Verified information

Wall dimensions
The Ming wall was built in 1374-1378 and has a perimeter of 13.74 km, enclosing an old town of about 11.32 sq km. Source: en.shaanxi.gov.cn ↗
Access points to the wall
Eight climbing points: East, South, West, North, Heping, Wenchang, Hanguang and Shangde gates. Source: en.shaanxi.gov.cn ↗
Metro
Line 2 to Yongningmen station for the South Gate, or Anyuanmen station for the North Gate. Source: en.shaanxi.gov.cn ↗
Great Mosque location
Huajue Lane, Lianhu District, north-west of the Drum Tower; a stone tablet records its founding in 742 (Tang dynasty). Source: en.shaanxi.gov.cn ↗
Great Mosque prayer hall
The prayer hall is not open to tourist visitors; the courtyards and gardens can be visited. Source: en.shaanxi.gov.cn ↗

Checked against the sources on 27 October 2026. Opening times and fees can change — confirm before you go.

Travel tips

  • Dress modestly for the Great Mosque, covering shoulders and knees, and avoid visiting at prayer times.
  • Muslim visitors wishing to pray should ask the mosque custodians at the entrance.
  • Bicycle hire is available on top of the wall; allow two to three hours for a full loop.
  • Look for the qingzhen sign to identify halal stalls and restaurants.
  • Go up the wall in late afternoon so you can stay for the illuminated gates after dark.

General guidance from our specialists, not official information.

Around Xi'an City Wall and Muslim Quarter: food, markets & places to stay

The Bell Tower and Drum Tower mark the centre of the walled city and sit beside the Muslim Quarter, and the Forest of Stone Steles Museum lies close to the southern wall near the South Gate. Many hotels cluster inside or just outside the wall near the Bell Tower, which is well served by metro. The Terracotta Army is a day trip east in Lintong.

Xi'an City Wall and Muslim Quarter & what’s nearby

All places in China →
Loading map…
Open larger map ↗

Xi'an City Wall and Muslim Quarter in pictures

Visit Xi'an City Wall and Muslim Quarter on a China holiday

All China packages →
Great Wall of China at Mutianyu with watchtowers winding over autumn-coloured mountains under a blue sky
CultureNature
China · 12 nights4★ Hotel

Imperial China & the Li River

  • Great Wall at Mutianyu
  • Terracotta Army
  • Li River cruise
Includes accommodation · private transfers · daily breakfast · guided sightseeing
Indicative from
$3,426 pp
Forbidden City seen from Jingshan Park, with the Gate of Divine Prowess and golden-tiled palace roofs behind
City breakCulture
China · 7 nights4★ Hotel

Beijing & Xi’an City Discovery

  • Forbidden City
  • Hutong cycling
  • Xi’an Muslim Quarter
Includes accommodation · private transfers · daily breakfast · guided sightseeing
Indicative from
$2,138 pp

Sources & verification

This guide was researched from the sources below and reviewed by our team on 27 October 2026. Facts under “Verified information” link to the page they were checked on; travel tips are general guidance. Photos are credited on each image. The ambient recording’s author and licence are shown in the sound player.

  1. Xi'an City Wall — Shaanxi Provincial Government
  2. Great Mosque — Shaanxi Provincial Government
  3. Great Mosque of Xi'an — Wikipedia
  4. Fortifications of Xi'an — Wikipedia

Want Xi'an City Wall and Muslim Quarter in your itinerary? Our specialists will fit it in.