
Explore the region
Visit the temple, not just the surrounding market
The temple occupies 249 Fangbang Middle Road, between Anren Street and Jiuxiao Chang Road. In everyday speech, “City God Temple” can also mean the wider old-city quarter, which includes Yuyuan Garden and Yuyuan Bazaar. Treat those as neighbouring stops rather than assuming that the whole precinct is inside the shrine or included with its entry.
This is a living Daoist place of worship as well as a heritage visit. The Shanghai Archives notes that images of the historical figures Huo Guang and Qin Yubo are still enshrined here. The temple’s religious practice belongs to the Zhengyi (正一) tradition; visitors may encounter people praying alongside sightseers, so keep a respectful distance and follow any photography or access instructions posted by temple staff.
At the entrance, pause to read the temple name and notice the framed gate and overlapping rooflines against the close-set buildings of the Old City. Once inside, follow the visitor route and look into only those halls open to visitors; some rooms remain active worship spaces, and access can vary. The official historical account is useful for understanding why this is more than a decorative market backdrop: it describes the temple, the adjacent garden and the market as a “temple, garden, market” district that grew together over time.
The temple visit works best as a focused stop. Allow about 30–60 minutes as an editorial planning estimate, depending on crowds and worship activity. You can then continue separately to Yuyuan Garden or browse the shops and food stalls around Yuyuan Bazaar. The classical garden has its own admission arrangements; do not assume a temple visit includes it.
Hours, admission and reservations
The latest official opening-hours notice located for this guide is dated 25 April 2025. It lists 09:00–17:00 from 1 May to 30 September and 08:30–16:30 from 1 October to 30 April. On the first and fifteenth days of the lunar month, opening begins at 06:00. The notice says the temple is open year-round and did not require advance reservations under those arrangements; it also says Spring Festival and other special periods follow separate notices. Check for a newer on-site or temple announcement before setting out, especially on a festival day.
Two 2026 visitor guides list temple admission at CNY 10, but I could not verify a current official tariff. Treat CNY 10 as a published guide price, not a guaranteed 2026 charge, and confirm the amount at the temple entrance. This is separate from entry to Yuyuan Garden.
Getting there and planning the walk
Take Metro Line 10 or Line 14 to Yuyuan Station. Follow station signs toward Yuyuan and the City God Temple, then continue through the busy precinct toward the temple frontage on Fangbang Middle Road. A 2026 visitor guide estimates 5–10 minutes on foot to the temple area; this is not a verified exit-to-door time. The tourism directory confirms Line 10 at Yuyuan, while the 2026 guide also identifies Line 14. No exit number is specified; follow the station signs for Yuyuan / City God Temple.
For taxi or ride-hailing, enter 上海城隍庙,上海市黄浦区方浜中路249号. This is the published temple address. No dedicated vehicle drop-off or permission to drive to the gate was verified; ask the driver to use the nearest legal set-down on an accessible road, then continue on foot to the framed temple entrance on Fangbang Middle Road. Do not assume a vehicle can enter the narrow precinct.
After the shrine, choose whether to add the separately administered garden or simply explore the surrounding commercial lanes; allow extra time in peak periods for crowds.
Combine your visit
A suggested sequence linking the specific features of this visit.
-
City God Temple courtyards
Begin with the religious precinct and its arrangement of worship spaces.
-
Accessible temple halls
Explore the local protective-deity tradition within permitted visitor areas.
-
Yuyuan Garden豫园
Add the neighbouring classical garden as a separate visit with its own entrance arrangements.
This order is editorial. Confirm access and any transfers between stops; it does not establish a walking route, same-day connection or common admission ticket.
Find City God Temple
上海城隍庙 · 黄浦区
The pin marks the area, not the entrance.
More places nearby
Approximate straight-line distances between map pins, not travel distances.
Fuyou Road Mosque 福佑路清真寺
Less than 1 km awayFuyou Road Mosque developed from a Muslim community that raised funds for a permanent prayer place in 1870. The building combines a traditional Qing-style exterior and interior arrangement with Islamic religious functions.
View guide →Yuyuan Garden 豫园
Less than 1 km awayYuyuan Garden began as a Ming-period private garden created by Pan Yunduan for his father. It occupies a compact but intricate sequence of halls, rockeries, ponds and corridors beside Shanghai’s City God Temple.
View guide →Chenxiang Ge Temple 沉香阁
Less than 1 km awayChenxiang Ge is a Buddhist temple and nunnery in Shanghai’s old-city area. Its quiet religious role contrasts with the nearby commercial streets around Yuyuan.
View guide →Sources & visit information
Sources checked on 21 October 2026. Hours, tickets, reservations and transport can change; confirm with the operator before you go.
- Shanghai Archives, Old City Memories: City God Temple ↗
- Shanghai Tourism Portal, City God Temple ↗
- Huangpu District Government, City God Temple Opening Hours Notice ↗
- Qunar, City God Temple Admission and Visitor Information ↗
- LINE GO, Shanghai City God Temple 2026 Visitor and Transport Guide ↗
- People’s Daily Overseas Edition, Incense at Shanghai City God Temple ↗
Image credits & notes (1)
- The temple entrance in April 2024. Photo: ChainwitPhoto: CC BY 4.0
