City God Temple Shanghai: a Taoist temple on Middle Fangbang Road
The City God Temple, Shanghai Chenghuang Miao in Chinese, is a Taoist religious site in the old town of Huangpu District. The address is 249 Middle Fangbang Road. It stands next to the Yuyuan Garden Malls and Yu Garden, which is why most visitors combine the three in one half day.
It is a place of worship first and a sight second. People come to burn incense and pray, and you will share the courtyards with them. Treat it quietly and it makes a calm stop between the garden and the lanes of the Yuyuan Bazaar.

Our picks: visits near the City God Temple
Choose the walking tour if you want a guide for the garden and the temple, the bus tour for a longer day, or the dumpling and bus pass tour. Entrance tickets for the walking tour are paid separately.
Hand-picked tours, booked through GetYourGuide and Viator. Prices are indicative starting prices in US dollars (as of October 2026). Tap a tour for live availability and the current price in your currency.

Bus tour with Yu Garden, Kezhi Garden and Zhujiajiao
- English speaking tour guide
- Yu Garden entry Tuesday to Sunday
- Kezhi Garden entrance ticket
The Jade Buddha Temple ticket applies on Mondays only. A taste of Shanghai dishes is served in Zhujiajiao.
Check availability โ
Yu Garden and City God Temple walk
- Professional guide
- Soup dumpling tasting (option)
- Hotel pickup (option)
Entrance tickets for the Yu Garden and the City God Temple are paid separately.
Check availability โ
Day tour with dumpling tastings and city bus pass
- Crab roe xiaolongbao
- Hop-on hop-off bus pass
- English speaking tour guide
An entrance fee, an air-conditioned vehicle and rice dumplings are part of the same booking.
Check availability โGuided visits to the City God Temple and Yu Garden
Walking tours, bus tours and private days that pass the temple and the garden, with live prices and availability.
City God Temple opening hours
A dated notice, so read it as a guide and not a promise.
1 May to 30 September
The notice of the Huangpu channel from 25 April 2025 gives 09:00 to 17:00 for the summer months.
1 October to 30 April
The same notice gives 08:30 to 16:30 for the rest of the year.
1st and 15th of the lunar month
On these two days the temple opens earlier, from 06:00. Around Chinese New Year special hours apply.
Hours can differ between summer and the rest of the year, so check them before you set out. Our page on Yu Garden opening hours puts the garden, the temple and the bazaar side by side.
Is there an entrance fee
Look at the gate on the day.
Ask about the temple's own fee at the entrance when you arrive, and carry a little cash or a phone wallet. The Yu Garden ticket is a different matter and has its own prices, set out on the Yu Garden tickets page. The market lanes around both can be walked freely.
Temple etiquette
The rules set by the temple.
Dress
Wear clean, modest clothes. Slippers, vests and going bare-chested are not accepted.
Voice and pace
Speak quietly and do not run. Worshippers are praying close by.
Thresholds
Step over the raised thresholds instead of standing on them.
Look out for signs and follow the staff inside the halls.
Guided tours with Yu Garden
What the offers on this page actually cover.
A private three-hour walk takes in the garden and the temple with a professional guide. The temple and garden entrance tickets are not part of that price, a soup dumpling tasting and a hotel pickup come only with the matching option. A two-hour tip-based walk through the old city meets at the Yuyuan Garden metro station and covers Taoist rituals and a sampling of herbal medicine. For a longer day there are bus tours that add Zhujiajiao, in one of them the garden is replaced by the Jade Buddha Temple on Mondays, because Yu Garden is closed that day. Another bus ticket combines the garden, the God temple and a water town with a hop-on hop-off pass, a guide and snacks.
If you want to go on foot afterwards, the Shanghai old town around the temple is worth a slow loop, and Nanxiang xiaolongbao make an easy lunch stop. Directions to the metro are on the getting there page.
Frequently asked questions
Where is the City God Temple in Shanghai?
At 249 Middle Fangbang Road in the old town, next to Yu Garden and the Yuyuan Garden Malls.
When is the temple open?
The April 2025 notice describes it as open all year with no advance booking. Check the hours before you go, especially in summer.
What should I wear?
Clean and modest clothing. The temple asks visitors not to wear slippers or vests, or to go bare-chested.
Does a Yu Garden ticket cover the temple?
Check this before you buy. The tickets page explains the garden ticket, and the temple's own fee is best checked at its entrance.
Can I visit on a Monday?
The temple follows its own hours, while Yu Garden is closed on Mondays except on statutory days off. A walk through the temple and bazaar still works on a Monday.
