Memory foam or gel memory foam mattresses are best for Murphy beds. They are not as prone to slumping as innerspring, latex, or hybrid beds. Slumping is caused by the materials sliding towards the bottom part when the bed rests vertically. This makes the mattress unsupportive beneath your head and neck.