The Sleep Council recommends replacing your mattress every 7 years to maintain an optimal sleep environment. But ultimately the only way to determine the lifespan of your individual memory foam mattress is by considering 1) the quality of the foam and 2) how you take care of your mattress.