Hamsters usually thrive on a diet of hamster pellets and occasional treats. In the wild, hamsters eat plants, seeds, insects and fruits; in captivity they often favor one type of food, which leads to an unbalanced, unhealthy diet.