The common lifespan of a memory foam mattress is around 5-8 years, with this number depending on its quality and your care. Your mattress is supposed to help you relax and recover, so as soon as you notice any signs of this not being the case, it may be worth looking into a replacement.