Site · in Old City and Yu Garden
Dajing Pavilion
大境阁Dàjìng Gé
The last surviving stretch of Shanghai's 1553 county city wall, topped by a three-storey Guandi temple pavilion that now holds a small old-city museum.
- Built
- c. 1553
- Architect
- Not recorded
- Style
- Not recorded
- Heritage listing
- Shanghai Municipal Protected Cultural Relic (上海市文物保护单位), listed as 'Dajing Guandi Temple' · municipal · 1959Shanghai Municipal Protected Cultural Relic (上海市文物保护单位), relisted together with the city wall as 'Shanghai Ancient City Wall and Dajing Taoist Temple' · municipal · 1984
- Status
- Open to visitors
- Then in
- Chinese walled city1553–9999Close to a boundary drawn along today's streets; it may have fallen on either side.

Dajing Pavilion main entrance, 2021.
Photo: Anj001 · CC BY-SA 4.0What you're looking at
- The archway inscribed 'Dajing' at the entrance on the inner side of the wall.
- The three-storey main hall, whose upper floors sit on the wall and project slightly past its outer face.
- The surviving stretch of wall beside the pavilion, the only part left after the 1912 demolition.
- The opera stage in front of the main hall.
The story
Dajing Pavilion (大境阁, Dàjìng Gé) is a temple pavilion built on the only surviving stretch of the wall that once enclosed Shanghai’s old walled city. The main hall stands partly on the wall itself, so a visit gives you both a Daoist temple and a short section of the city’s defences.
Shanghai county built the wall in 1553 to defend against pirate raids, and put four arrow platforms on its north side. In the Wanli reign a temple to Guandi (the deified general Guan Yu) was built on one of them, the Dajing platform. The main building was rebuilt as a three-storey pavilion in 1815, and in 1836 an archway inscribed “Dajing” was added, which gave the pavilion its present name. It burned in 1853 and was soon rebuilt. It was damaged by Anglo-French forces in the Second Opium War, rebuilt in 1865 and repaired again in 1892.
In 1912 most of the county wall was demolished to make way for a ring road, but the stretch around Dajing Pavilion was kept. After 1949 the pavilion was first used by Daoists as a tea-gathering place, and in the 1960s it became a factory workshop. It was listed as a municipal protected cultural relic in 1959 under the name Dajing Guandi Temple, and listed again in 1984 together with the wall as the Shanghai Ancient City Wall and Dajing Taoist Temple. A rebuilding project funded with 9 million yuan finished in April 1995, and the pavilion and the neighbouring wall were then opened to the public.
The entrance is on the inner side of the wall, through an archway inscribed “Dajing”. Steps lead up to the main hall, which honours Guan Yu. Its first floor is on the ground, and the second and third floors sit on the wall and project partly beyond its outer face. An opera stage stands in front of the hall, and a hall to Yuexia Laoren (月下老人), the matchmaker deity, stands to the east. The building also holds a small museum with photographs of old Shanghai.
Sources disagree on the street number: Chinese Wikipedia gives 259 Dajing Road and English Wikipedia gives 239.
From the archive

Dajing Pavilion on the old city wall, 1880s.
Photo: unknown photographer, public domain, via Wikimedia CommonsHow to visit
- Status
- Open to visitors
- Opening times and prices not yet confirmed; check before you go.
- Nearest metro
- Metro directions will be added after a site visit.Plan a metro journey here →
Chinese address — show this to a taxi driver
上海市黄浦区大境路259号
259 Dajing Road, Huangpu District
Amap (高德地图) works best in mainland China; Apple Maps on iPhone. Both open in the app when it is installed.
Nearby
Loading map…
Within a 10-minute walk
- Baiyun Taoist Temple (White Cloud Temple, Shanghai)白云观9 min walk
- Great World大世界10 min walk
- Shanghai Concert Hall上海音乐厅10 min walk
Within a 20-minute walk
- Chenxiang Pavilion沉香阁12 min walk
- Fazang Temple法藏讲寺13 min walk
- Shikumen Open House Museum屋里厢石库门民居陈列馆13 min walk
On these walks
Stories
Sources
- 1.Chinese Wikipedia (article given in each fact's locator) (中文维基百科), Wikimedia Foundation — https://zh.wikipedia.org/wiki/大境閣; https://zh.wikipedia.org/wiki/大境閣#历史; https://zh.wikipedia.org/wiki/大境閣#结构wikipedia
- 2.English Wikipedia (article given in each fact's locator) (English Wikipedia), Wikimedia Foundation — https://en.wikipedia.org/wiki/Dajing_Ge_Pavilionwikipedia