PLACE GUIDE

Wenmiao Temple 上海文庙

Shanghai Wenmiao

Shanghai Wenmiao is the former county Confucian temple and school.

Courtyard and main hall at Shanghai Confucian Temple · 上海文庙院落与大殿
Courtyard and main hall at Shanghai Confucian Temple · 上海文庙院落与大殿 Photograph date recorded by the source: 9 June 2018, 15:55:00. · Fayhoo · Fayhoo — Shanghai_Wenmiao.jpg — CC BY-SA 3.0 · CC BY-SA 3.0
Photo adjustments

Full frame retained; proportionally resized and converted to WebP. No retouching or changes to the photographed subject. Card displays may crop the view.

Explore the region

About Wenmiao Temple

Its present site dates to the nineteenth century, continuing an educational institution founded much earlier.

The layout combines two north–south axes for ritual and teaching, with a garden to the east. Dacheng Hall, Minglun Hall and Kuixing Pavilion explain these different functions. Restoration has affected public access, so these architectural features describe the site rather than promise that every hall is currently visitable. Check a current reopening notice before planning an interior visit; an exterior stop can instead be paired with another old-city landmark.

The Confucian temple was first built in 1294, during the Zhiyuan era of the Yuan dynasty (至元三十一年), when the magistrate ordered it built east of the county office, and it was enlarged repeatedly through the Yuan and Ming dynasties. The temple briefly served as headquarters of the Small Swords Society uprising in 1853 and was largely destroyed in 1855 when Qing and allied forces retook Shanghai; it was rebuilt the following year, in 1856, at its present site, covering 17.3 mu (亩).

In 1914 the temple was renovated, and its Dacheng Hall terrace was enlarged for Confucian rites. In 1931 part of the site was converted into the Shanghai Citizens' Education Hall (上海市民众教育馆), and in June 1932 the Zunjing Pavilion (尊经阁) became the Shanghai Municipal Library, holding over fifteen thousand volumes as the city's first public library.

The temple was badly damaged during the Cultural Revolution, and by the 1980s its grounds hosted a used-book market. A full renovation in 1997 restored the Qing-era layout, after which the site reopened for Confucian rites and displays on Chinese culture; it was designated a Shanghai Municipal cultural heritage site (上海市文物保护单位) in 2002.

What to look for

  • Separate ceremonial and educational axes distinguish the temple-school layout.
  • Dacheng Hall, Minglun Hall and Kuixing Pavilion represent its ritual and scholarly functions.

Location & getting there

Getting to Wenmiao Temple

Approach 215 Wenmiao Road in the old-city area. Confirm current restoration and reopening arrangements before travelling specifically for interior access.

General visit reminders

Choose the building, exhibition or part of the historic area you most want to see, then leave time to explore its setting. Check the venue’s current opening and reservation arrangements directly; a place appearing on the map does not mean every building or gallery is accessible on your travel date.

Combine your visit

A suggested sequence linking the specific features of this visit.

  1. Wenmiao Road exterior

    Locate the former county temple-school within the old-city street network.

  2. Dacheng Hall and Minglun Hall, if reopened

    Compare the documented ceremonial and educational spaces when public access permits.

  3. Old City Wall大境阁及古城墙

    Use a separate surviving old-city landmark as an alternative or additional stop.

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 Wenmiao 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

The sources below support the place-specific description and arrival information. Suggested combinations are editorial planning ideas; confirm current opening, entry arrangements and transport services for your date.

Visitor information adapted and edited from Wikipedia contributors, “上海文庙” · CC BY-SA 4.0. Source revision 90660375.

Visitor information adapted and edited from Wikivoyage contributors, listing “Wenmiao Temple” · CC BY-SA 4.0.

Background paragraphs translated and condensed from Wikipedia contributors, "上海文庙", Chinese Wikipedia · CC BY-SA 4.0. Source revision 90660375.