Back pain is usually caused by mattresses that aren’t firm enough to support your frame or correct posture while you’re sleeping. Usually, memory foam mattresses and latex mattresses are best for alleviating back pain and help you sleep in a comfortable position at the same time.