Get the Guide Pass
All 8 entriesSHANGHAI · 游

Shanghai City God Temple

上海城隍庙

Understand the temple, its architecture and etiquette separately from Yuyuan Garden, then connect the bridge and old streets after dusk.

FREE TO READ
4 photographs
Entry
Temple about CNY 10; bazaar free; confirm current admission

Shanghai City God Temple dates to the Ming Yongle era. This Taoist temple and municipal protected site forms an old-city cultural district with Yuyuan, Nine-Bend Bridge and Huxinting.

Address, tickets and time

Address
249 Fangbang Middle Road, Huangpu, Shanghai.
Admission
For reference, admission to the temple is about CNY 10 and may be free during some religious ceremonies. The surrounding bazaar is free. Check official information before going.
Hours
For reference, 09:00–17:00 from May to September and 08:30–16:30 from October to April, with possible 06:00 opening on the first and fifteenth lunar days.
Duration
Allow one to two hours.

History and architecture

Three city gods
Three figures are associated with the temple: Huo Guang of the Western Han, Qin Yubo of the Ming and Chen Huacheng of the Qing. Chen's image is now mainly at Sanyuan Palace, with commemoration remaining here.
Entrance archway
The Baozhang Haiyu stone-and-timber archway, with Ming Jiajing-era stone columns and bases and historic guardian lions.
Ceremonial gate and theatre
A giant moral abacus inscribed 不由人算 hangs at the ceremonial gate. Back-to-back octagonal stages recreate the traditional performance layout.
Huo Guang front hall
A grey-tiled hip-and-gable roof, painted dragon beams and a Ming-style temple façade.
Main City God Hall
The final main hall follows the form of a Ming county court and honours Qin Yubo. Moral couplets hang on both sides; fortune slips are mentioned.

Combining temple, garden and evening streets

Daytime culture and garden
Yuyuan station → City God Temple → the separately ticketed classical garden → Nine-Bend Bridge and Huxinting, with time to watch the koi.
Dusk and night
Around 18:00–19:00, the bazaar lanterns illuminate the old-style architecture. Stay for snacks or tea at Huxinting.

Established food stops nearby

Nanxiang Steamed Bun Restaurant
Beside the bridge, known for thin-skinned, juicy xiaolongbao including a crab-roe version.
Lu Bo Lang
We recommend the refined Shanghainese dim sum, including boat-shaped and eyebrow-shaped pastries.
Da Hu Chun
Old-Shanghai shengjian with a savoury filling, crisp base and thicker wrapper.
Songyuelou
A long-established vegetarian restaurant recommended for soft, fragrant vegetable buns.
Ningbo Tangtuan
Soft black-sesame tangyuan for a traditional sweet ending.

Getting there

Metro
Yuyuan Garden on Lines 10 or 14, exits 1 or 7, then about five minutes on foot.
Bus
We recommend bus routes 11, 26, 64 and 920 to Yuyuan or Xinbeimen.
Driving
Parking is limited. We recommend public transport; drivers can investigate Zhoujin Road or Fangbang Middle Road parking but should expect higher prices and queues.

Etiquette, tickets and timing

Temple streets versus garden
The temple streets, bridge and old streets are free; the classical garden has separate admission, quoted at CNY 30–40, and usually closes Mondays.
Do not buy overpriced incense
Do not feel pressured into expensive incense or fortune-telling outside. Simple incense is normally available free inside.
Respect photography restrictions
Photography is prohibited in parts of the halls. Follow posted instructions and behave respectfully in this active religious site.
Quieter hours
We recommend before 09:00 or after 15:00 to avoid the 11:00–14:00 peak.
Compare souvenir prices
Compare prices for pear syrup candy, spiced beans and other gifts across the old street. Some shops may be cash-only, so carry a small fallback amount.