Cat food has too much protein in it for rodents but dog food is fine as long as you feed a high quality dog food. I wouldn't recommend this be their only source of food though. After all, dog food was formulated (poorly) for dogs not mice.