Shanghai City God Temple

Ancient City God Temple, enduring incense, Yu Garden lanterns reflecting prosperity

Shanghai Ticketed Audio Guide on Location
ReligiousCultureArchitectureNight View

Overview

Shanghai City God Temple sits on Fangbang Middle Road in Huangpu District. It is the most famous Taoist temple in Shanghai's main urban area and the spiritual landmark of the old city. It was first built during the Yongle period of the Ming Dynasty, converted from the Jinshan Temple, and it enshrines Qin Yubo, the City God most respected by Shanghai people. Unlike typical quiet temples, this one is surrounded by lively street life. At the front gate, you'll find halls packed with worshippers. At the back, it connects to the Nine-Bend Bridge and the Yu Garden Bazaar. The smell of incense, the aroma of street food, and the soft sounds of the local Wu dialect all mix together, creating a unique sense of everyday life that belongs only to Shanghai. The whole temple has upturned eaves, red walls, and dark tiles. On the archway, the four characters "Protecting the Sea Corner" give it a solemn feeling of guarding this land. Whether you want to pray and make a wish, admire Ming and Qing architecture, or experience old Shanghai's customs and culture, the City God Temple can take you back in time by several hundred years. It suits all visitors, especially travelers interested in traditional culture and folk customs.

Highlights

Walking into the City God Temple, the very first thing you can't miss is the statue of the City God in the center of the main hall. The statue has a kind yet dignified face, seated upright in the shrine, with incense burning before it all year round. Legend says this is Qin Yubo, the City God of Shanghai. In the early Ming Dynasty, Zhu Yuanzhang conferred on him the title "City God of Shanghai," and locals believe he protects the entire area. Standing outside the threshold of the main hall, looking up at the statue, and then looking down at the worshippers kneeling in prayer, you'll instantly understand what it means to say, "There is a god three feet above your head." The second highlight is the Yuanchen Hall inside the temple, which houses the sixty Jiazi deities, also known as the sixty Tai Sui. Many Shanghai locals come here during the New Year to worship Tai Sui. You can find the statue that corresponds to your birth year in the hall and make a quiet wish. The third highlight is the brick and wood carvings on both sides of the main hall. The themes are mostly "Fortune, Prosperity, and Longevity" and "Eight Immortals Crossing the Sea." The carving is delicate, and even the folds in the figures' clothing are clearly visible, so it's worth getting close and taking your time.

Stories

The most interesting story about the Shanghai City God Temple is "one temple, three City Gods." It turns out that the temple enshrines more than one deity. The first is Huo Guang, a great general of the Han Dynasty, because this place was originally the Jinshan Temple dedicated to Huo Guang. The second is Qin Yubo, a native of Shanghai who lived in the late Yuan and early Ming dynasties. Legend has it that Zhu Yuanzhang asked him to serve as an official, and he refused three times. Later, Zhu Yuanzhang said, "If you won't be my official, then be Shanghai's protector god." So he appointed him as the City God. The third is Chen Huacheng, a Jiangnan military commander in the Qing Dynasty. He died fighting the British at Wusongkou, and later the people of Shanghai brought him into the City God Temple, hoping he would continue to guard the coast. Having three City Gods in one temple is very rare across the country. The people remember Qin Yubo's integrity and Chen Huacheng's loyalty and bravery, so the incense here burns especially strong. This story also reflects the simple sentiment of the people of Shanghai: "Whoever treats the people well gets enshrined."

History

The history of the Shanghai City God Temple can be traced back to the Yongle period of the Ming Dynasty. At that time, Zhang Shouyue, the county magistrate of Shanghai, converted the original Jinshan Temple, which was dedicated to Huo Guang, into the City God Temple, and invited Qin Yubo to serve as the City God. Over the following centuries, the temple remained the most important Taoist activity site in Shanghai and the spiritual center of the old city. During the Xianfeng period of the Qing Dynasty, the temple was damaged by war and was repaired many times afterward. During the Republic of China era, the temple once became the liveliest market in Shanghai, with stalls lining up in front of it, giving rise to the "temple market" culture. During the Cultural Revolution, the temple was occupied and religious activities stopped. It wasn't until 1994 that it reopened. The temple we see today was mostly rebuilt in the 1990s, but its overall layout and style still carry on the Ming and Qing architectural character. In 2018, the Shanghai City God Temple underwent a major renovation and regained its brilliance. As a witness to Shanghai's urban transformation, the City God Temple has evolved from a temple into a cultural landmark that combines faith, folk customs, and commerce.

Culture

The City God Temple is a key carrier of Shanghai's Taoist culture and a living fossil of the old city's folk customs. Locals have a saying: "If you come to Shanghai and don't visit the City God Temple, you haven't really been to Shanghai." Every Lunar New Year and Lantern Festival, the temple holds grand temple fairs, with first-incense offerings, lantern riddles, and flower lantern displays, drawing huge crowds. Especially on the first day of the new year, many Shanghai locals line up in the early morning to burn the first incense, praying for a smooth and peaceful year ahead. On ordinary days, you'll often see students in school uniforms praying for good grades, office workers for career success, and elderly women for good health. This kind of faith is no longer simple superstition; it's a sense of ritual in everyday life. The smell of incense, the sound of bells and drums, the chanting of Taoist priests, and the vendors' calls outside the temple all mix together to create a unique "Shanghai flavor." This is also an important place for the preservation of Shanghai Taoist music. During ritual events, the melodious Taoist music can instantly calm your mind. You could say the City God Temple carries Shanghai people's reverence for goodness, and also the most down-to-earth human warmth of this city.

Symbolism

The City God Temple is full of subtle customs and details. First, the threshold. The threshold of the main hall is very high, and you must not step on it. You have to step over it, because the threshold symbolizes a "dividing line." Once you cross it, you enter the realm of the gods. Stepping on it is considered disrespectful. Then there's the incense burner in the temple. It stands on three legs, symbolizing the three powers of heaven, earth, and humanity. When offering incense, you insert three sticks, representing the Three Pure Ones, or heaven, earth, and humanity. The plaque in the main hall reads "City God's Divine Blessing," meaning the City God is powerful and protects all living beings. In the Yuanchen Hall, there are the sixty Jiazi deities, each corresponding to one year in the sixty-year cycle. When you find the deity for your birth year, you've found your own "birth-year Tai Sui." Worshipping it can bring you a smooth year. At the entrance to the Hall of the God of Wealth, there's a pair of stone lions. The male lion steps on a ball, symbolizing power, and the female lion plays with a cub, symbolizing offspring. This is the most common "door god" pairing in traditional Chinese architecture. Also, on the painted beams of the temple's cloisters, you'll see the Hidden Eight Immortals, which are the eight immortals' individual magical tools, such as a gourd, a sword, and a flower basket. Without even showing the figures, these objects make you think of the Eight Immortals. This kind of "hidden, not obvious" decorative style has a very literati charm.

Architecture

The architecture of the Shanghai City God Temple is a classic example of Jiangnan Ming and Qing dynasty temple style, with red walls, dark tiles, upturned eaves, and a compact layout. The main gate is a three-bay archway-style structure, with a plaque reading "Shanghai City God Temple" in gold characters at the center, flanked by stone lions. Passing through the gate, you'll face the main hall, which has a single-eave hip-and-gable roof adorned with ridge beasts and smooth flowing lines. In front of the main hall is a spacious terrace used for ritual ceremonies. The whole temple follows a symmetrical central-axis layout, with the main gate, front hall, main hall, and rear hall in sequence, and side halls such as the Hall of the Star Lords and the Hall of Wealth on both sides. Unlike the grand scale of northern temples, the buildings here feel more intimate, and the carved beams and painted rafters are more refined. Pay special attention to the beams of the main hall, which are painted with dragons, phoenixes, flowers, and the hidden symbols of the Eight Immortals, in colors that are vibrant but not garish. The stone pillars inside are carved with couplets in vigorous calligraphy. Because the temple sits in the old city area, it forms a continuous ancient building complex with the nearby Yu Garden and old streets, a rare sight in Shanghai. Although most of the existing buildings are reconstructions, they still preserve the charm of Jiangnan architecture from the Ming and Qing dynasties.

Travel Tips

Plan to spend about 1 to 1.5 hours here. The best time to visit is when the temple opens in the morning, around 8:30, or after 3 p.m., to avoid the peak tour group rush. The City God Temple is in the old city area. From Exit 1 of Yuyuan Garden Station on Metro Line 10, it's about an 8-minute walk. If you're driving, you can park at the nearby BFC Bund Finance Center parking lot, but it gets very congested on weekends, so public transportation is recommended. To enter the temple, you need to buy an incense ticket, which is the admission ticket. It currently costs 10 yuan and only accepts cash or QR code payment, so it's best to confirm in advance. Incense inside the temple is provided for free, so you don't need to buy any outside. The visiting route is simple: enter through the archway, then go through the front hall, the main hall, the Yuanchen Hall, and the Hall of the God of Wealth, and finally exit through the side gate. If you want to take photos with fewer people, head straight to the front of the main hall right when it opens, or go half an hour before closing in the evening. Dress comfortably. The temple grounds have stone slabs, which can be slippery on rainy days. In summer, watch out for the heat. There are some shaded spots inside the temple where you can rest. Also, people outside the temple often try to pull you in for fortune telling, so just ignore them. If you want to visit Yuyuan Garden, you can combine the two, but note that Yuyuan Garden stops admitting visitors at 4 p.m.

Major Spots Inside (4)

  • Ancient Opera Stage
    The Ancient Opera Stage is one of the most traditionally charming structures in the Shangh… Full Guide
  • Goddess Hall
    The Goddess Hall is located in the eastern side courtyard of the Shanghai City God Temple.… Full Guide
  • Huo Guang Hall
    Huo Guang Hall is the first main hall of the Shanghai City God Temple. It sits just behind… Full Guide
  • Yuelao Hall
    Yuelao Hall, located inside the Shanghai City God Temple, is the hall dedicated to Yuelao,… Full Guide

Start exploring deeper now

Search "TingTrip" in WeChat or scan the QR code to start

Shanghai City God Temple