Memory foam can be excellent for back pain depending on your body type and sleep position. It’s typically most beneficial for lighter individuals who sleep on their side or back due to its ability to conform to the body to evenly distribute body weight and ease pressure points often linked to back pain. By contrast, heavier people and those who sleep on their stomach may find that they sink too deeply into a memory foam mattress to maintain neutral spinal alignment.