Local police officers, filmed by the on board cameras of their patrol cars, can be seen lending a helping hand to the bear.
One of the officers uses a long stick to loosen the catches on the bin to allow the bear to escape, while another uses his "bear" hands, but quickly flees when the huge mammal turns towards him.
Eventually one of the officers lifts a lid, while the bear manages to raise the other.
This was not the first time the bear had encounter the long arm of the "paw".
Posting on their Facebook, Placer County Sheriff’s Office said: "He is a local bear and has had prior run-ins with our deputies.
"Luckily for T-Shirt, Deputies Bertoni and Staley were able to help him get out of his predicament," they added.