Overgrown teeth in rabbits can be prevented by providing them with a healthy diet that includes hay, fresh vegetables, and fruits. Additionally, providing rabbits with chew toys can help keep their teeth healthy and prevent overgrowth.