Bamboo Is the Staple
Giant pandas primarily feed on bamboo, which makes up over 99% of their diet in the wild.
Occasional Foods
Depending on availability and nutritional needs, giant pandas may occasionally eat:
Fruits: Thornapple, jujube, Chinese quince, apple, pear, peach, and plum.
Insects: Bamboo weevils, grasshoppers, caterpillars, ants, and beetles.
Small Rodents: Voles, mice, and pikas.
Conclusion
Although giant pandas may eat other foods occasionally, bamboo remains the foundation of their nutritional requirements.