The lifespan of rodents depends on their kind. Mice and rats are smaller rodents and live one to three years inside the wild. Many massive rodents, including beavers and porcupines, live up to 10-20 years. Their existence span depends upon the availability of prey, predation, and the habitat conditions they inhabit.