Giant panda cubs typically stay with their mothers for around 18 months.
General Timeline
First 6 months: Cubs are completely dependent on their mother for milk and warmth.
6 to 12 months: Cubs begin eating bamboo and exploring, but remain close to their mother.
12 to 18 months: Cubs become more independent and eventually venture out on their own.
After leaving, cubs often remain in their mother's territory for a few more months before establishing their own range.
Affecting Factors
Food availability, individual development, and competition for resources can all influence exactly when a cub leaves its mother.