Memory foam beds with some type of cooling features are the best mattresses for hip or back pain relief. Layers of memory foam relieve pressure points while gel, copper, graphite, or FDA-determined Celliant technology pulls heat away from the body, reducing inflammation.