Rats in the wild are prey to snakes, coyotes, owls and other animals, so they often live for less than a year, but rats living in more protected indoor areas can live for two to three years.