PLACE GUIDE

City God Temple 上海城隍庙

Shanghai Chenghuang Miao

Shanghai’s City God Temple is an active Daoist shrine at the heart of the Old City, not another name for the nearby Yuyuan Garden or its shopping district. Look for the temple’s framed entrance and layered traditional roofs, then visit the worship spaces that are open on the day; allow about 30–60 minutes as an editorial estimate. Yuyuan Station on Metro Lines 10 and 14 is the nearest practical arrival point, followed by a short walk through the busy historic streets.

The paifang at Shanghai City God Temple’s entrance, with layered tiled roofs and the Fangbang Middle Road address plaque
The temple entrance in April 2024. Photo: Chainwit Photo credit ↓

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.

  1. City God Temple courtyards

    Begin with the religious precinct and its arrangement of worship spaces.

  2. Accessible temple halls

    Explore the local protective-deity tradition within permitted visitor areas.

  3. 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.

Historic sites & architecture · 历史古迹/建筑 →

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.

Sources & visit information

Sources checked on 21 October 2026. Hours, tickets, reservations and transport can change; confirm with the operator before you go.

Image credits & notes (1)
  1. The temple entrance in April 2024. Photo: ChainwitPhoto: CC BY 4.0