The endangered animal went on a tour of Dujiangyan in southwest China after it scaled a fence, hopped roof-to-roof, swam in a river before taking a nap in a tree.
The saga began on Saturday when the animal made its way into a housing estate.
Residents tried chasing it down after realising it was a panda, but it managed to escape.
After spending a night in a tree the animal was tranquilised the next morning.
Firefighters helped bring the panda down from the tree before it was returned to the wild.
There are an estimated 1,590 wild pandas and another 120 in Chinese breeding facilities and zoos.