A medium-firm orthopedic mattress is good for back pain. It is the most preferred mattress type considering your upper and lower back pain problems.