You can use a heated mattress pad with any type of mattress, even those made with memory foam. But it's critical to remember that memory foam can get damaged with direct heat or pressure, not only compromising the performance but also its lifespan. So, you wouldn’t want to place the heated pad directly on the mattress – unless your goal is to soften the memory foam.