There are two main reasons your hamster might be biting the cage: boredom or a lack of chew toys. Hamsters' teeth grow continuously, so they need to chew to keep them at a healthy length. You can solve this by providing them with safe chew toys made of wood or pumice.