In the wild, the giant panda is a terrestrial animal and primarily spends its life roaming and feeding in the bamboo forests of the Qinling Mountains and in the hilly Sichuan Province.[23] Giant pandas are generally solitary,[24] and each adult has a defined territory, and a female is not tolerant of other females in her range. Pandas communicate through vocalization and scent marking such as clawing trees or spraying urine.[4] They are able to climb and take shelter in hollow trees or rock crevices, but do not establish permanent dens. For this reason, pandas do not hibernate, which is similar to other subtropical mammals, and will instead move to elevations with warmer temperatures.[25] Pandas rely primarily on spatial memory rather than visual memory.[26]
Social encounters occur primarily during the brief breeding season in which pandas in proximity to one another will gather.[27] After mating, the male leaves the female alone to raise the cub.[28]
Though the panda is often assumed to be docile, it has been known to attack humans, presumably out of irritation rather than aggression.[