It used to be that a mattress has 30,000 hours in it before it needs replacing. But a lot of factors come into what makes a mattress last longer. How well it’s built, what it’s made of, and how much and where you sleep on it factor into your mattress’ comfort.