Shanghai · China · Self-guided audio tour
Shanghai: Yu Garden Was a Gift Its Owner Never Got to Use
Find out why Pan Yunduan's twenty-year garden for his father came too late, how its famous holed rock really arrived as a dowry, and how a sugar guild's hall ended up running a rebellion for seventeen months.
- Stops
- 8
- App languages
- 30+
- Offline
- Yes
- Updated
- November 2026
Stop 1 of 8 · free to read
A Garden Inside a Wall Built Against Pirates
The fortress town that lost its wall, and the garden that stayed
Picture a wall around you. You won't find one. That's the first thing to know about this part of Shanghai: it used to be a fortress town, and the fortress is gone.
Shanghai became a county seat in 1292, centuries before anyone called it a world city. By the middle of the Ming dynasty it was crowded and doing a lot of trade, and that made it a target. Pirates, the wokou, were raiding towns up and down the coast. So in 1553 officials and residents put up a wall in about three months. It had six gates and a moat, and it worked. The pirates stayed outside.
Six years later, inside that new wall, a young man from a powerful family looked at the household vegetable patch and decided it should be a garden. A scholar's garden, that is: rocks, water, halls and pavilions, a private landscape you could wander through without leaving town. It grew into the largest and grandest garden in Shanghai. It was also one of the most expensive, and that cost would matter.
Keep reading
Then the world outside the wall turned over. China lost the First Opium War, and from 1843 Shanghai was open to foreigners. British and French concessions grew up to the north, and before long they outshone the old town. Foreigners just called this place the Chinese City. By 1906 an official was writing that the concessions were prospering while the old city declined. Then the 1911 revolution ended the empire, and the wall came down. Its bricks and tiles filled the moat, and the moat became the ring road that still loops around this district. A single short stretch of wall survived. That was luck: the office in charge of demolishing it happened to be in a temple built on top of it.
So the garden you're about to walk through has outlived the wall that protected it and the dynasty that saw it built. It sits next to the City God Temple, surrounded by a bazaar: about two hectares of rock and water that a lot of different people have owned, fought over and rebuilt.
Ahead are a gift that came too late, a famous stone, merchants, rebels and rebuilders. As you go, keep asking yourself which parts are genuinely old and which ones only look old.

The route
8 stops, one story
Find out why Pan Yunduan's twenty-year garden for his father came too late, how its famous holed rock really arrived as a dowry, and how a sugar guild's hall ended up running a rebellion for seventeen months.
- 1
A Garden Inside a Wall Built Against Pirates
Shanghai's old city wall went up in about three months in 1553. When it came down, one short stretch survived because of who happened to have an office on top of it.
Read it above ↑ - 2
Huxinting Teahouse and the Nine-Turn Bridge
The pavilion in the pond was built by a guild of cloth merchants in 1784, and the zigzag bridge leading to it is younger than it appears.
- 3
Pan Yunduan's Garden for His Father (Sansui Hall / Leshou Hall site)
Pan Yunduan began this garden in 1559 to please his ageing father, Pan En, then left his descendants a surprising final instruction about it.
- 4
Yuhua Hall
Pan's Diary, Kunqu and Family Quarrels
Eight handwritten volumes kept between 1586 and 1601 make Pan's household one of the best-recorded in Ming Shanghai, and its days were far from serene.
- 5
The Jade Rock (Yulinglong)
A Stone That Arrived as a Dowry
Called jade but not jade at all, this stone full of holes was ranked by the writer Li Yu among the famous rocks of Jiangnan. Its route to Shanghai comes with a legend and a likelier truth.
- 6
From Private Garden to Merchants' Guild Halls
In 1760 local gentry and merchants bought the decaying Ming garden for the City God Temple. A century later, its western half was split up so each guild paid for its own repairs.
- 7
Dianchun Hall
Sugar Guild, Rebel Headquarters
About six hundred Small Swords Society men seized the walled city in September 1853, timing their move to a ceremony for Confucius. This hall's part in it ended in fire.
- 8
Rebuilding Yu Garden
From Wartime Ruin to the 1961 Reopening and Chen Congzhou's Inner Garden Stage
By 1949 the ponds here had run dry and the rockeries had collapsed. Garden scholar Chen Congzhou got two chances to rebuild it, nearly thirty years apart.
Hear all 8 stops in the app
The app plays every stop, shows where you are on the map and answers your questions on the way. Free to start your first tour.
Keep exploring
More guides in Shanghai
FAQ
Questions about this guide
Where does the Shanghai: Yu Garden Was a Gift Its Owner Never Got to Use audio guide start?
At A Garden Inside a Wall Built Against Pirates, in Shanghai. From there the app takes you from stop to stop with GPS.
How many stops are there?
8 stops: A Garden Inside a Wall Built Against Pirates, Huxinting Teahouse and the Nine-Turn Bridge, Pan Yunduan's Garden for His Father (Sansui Hall / Leshou Hall site) and 5 more. The first one is free to read on this page.
Does it work offline?
Yes. Download the guide and its audio over Wi-Fi, then use it outdoors with GPS without spending mobile data.
Is it free?
The GuideSofia app is free to download, and it's free to start your first tour.
Which language is it in?
This page is in en-US. In the app, the guide is narrated in 30+ languages.
Can I ask the guide questions?
Yes. Open the chat in the app and ask about what you are looking at, local history, food or nearby places.
Take Shanghai: Yu Garden Was a Gift Its Owner Never Got to Use in your pocket
Download GuideSofia, open this guide and start walking. It's free to start your first tour.