A medium-firm mattress is often considered the best type of mattress for hip pain. A medium-firm mattress provides enough support for the hips and shoulders while also providing enough cushioning for pressure relief. A mattress that is too soft can allow the hips to sink too far into the mattress and cause pain, while a mattress that is too firm can put pressure on the hips and cause pain.