A good night’s sleep is essential to your health, but when you suffer from back pain, it seems impossible to achieve. A top-quality mattress can help reduce or even alleviate your back pain completely, to get you sleeping better. Improved sleep means: more energy, improved memory, reduced stress, and yes, even a thinner waistline.

According to studies from Sleep Like the Dead, memory foam mattress have the highest owner satisfaction rate, with 81% of mattress owners reporting they’re pleased with their choice of mattress. Additionally, they have fewer complaints of pain when compared to a traditional innerspring mattress. Air beds have a similar response in terms of pain relief.

Sleep In Peace: Top 5 Mattresses For Back Pain

Tempurpedic

Tempurpedic beds are made of standard memory foam, with several models available to choose from. At least 20% of owners report a relief in back, shoulder, hip and joint pain felt both in and out of bed. With 81% customer satisfaction rating, this matches the overall rating for memory foam mattresses. While they remain the industry standard to which all other memory foam beds are compared, they are often pricey when compared to others on the market today. Expect to spend up to $3,000 for a queen, depending on model and base.

Higher density models are more likely to retain body heat, meaning you will sleep hotter than on a traditional mattress. Many owners complain about the unpredictable firmness of this, as well as other memory foam mattresses. These mattresses come with a 25 year warranty, with details of the warranty depending on the model.

Memory foam mattresses not only help address back pain issues, but they can also help prevent bed bugs. Without crevices to hide in between springs, and the extra protection of a mattress cover, bed bugs have nowhere to hide, and cannot get through to you.

Sleep Number

The only air bed on this list, Sleep Number directly competes with memory foam beds. With a 78% owner satisfaction rating, this bed uses air to support the sleeper. Air cannot compress or break down, leading to consistent support and pain relief, and an increased longevity compared to traditional innerspring mattresses. A clear plus is the adjustable firmness that can change with pain levels, though some owners maintain it is not actually adjustable.

Expect to spend anywhere from $1,00 to $4,700 for a queen, depending on model. There seems to be no middle ground with this company; those who love the bed love it, and those who hate it, hateit.

Serta iComfort

The Serta iComfort is made with memory foam and gel. Some models may also feature regular form or latex. Most owners report a reduction or elimination of pain, though some report no change or an increase due to the unpredictability of mattress firmness.

Because this is a newer model on the market, its longevity is not well-known. Expect to spend anywhere from $700 to $3400, plus an additional $50 to $300 for a foundation, depending on size and model. More expensive models are typically thicker. Choosing a model with a gel foam layer will help alleviate heat retention issues. These mattresses come with a 25 year warranty, with details of the warranty depending on model.

Simmons ComforPedic

ComforPedic beds are made using a combination of traditional memory foam along with gel foam and regular foam. At least 20% of owners indicate a relief in pain felt both in and out of bed. Owners report an 83% satisfaction rate, higher than the overall memory foam mattress satisfaction rate.

Since this is also a relatively new product to market, little information is available on longevity. Priced much higher than other memory foam beds, expect to spend anywhere from $900 to $5,000 depending on model and size. These mattresses come with a 25-year warranty.

Sealy Optimum

Sealy Optimum beds come with three to seven inches of medium density memory foam, over a six-inch regular foam base, along with two inches of gel foam to help it sleep cooler. Compared to the other beds on the market, owners get far more memory for the money. The added memory foam helps relieve pain.These beds have an 82% owner satisfaction rating.

This line of memory foam mattresses was introduced in 2012, meaning there is no longevity data available. Expect to spend anywhere from $1,000 to $4,100 depending on model and size. These mattresses come with a 25 year warranty, with details of the warranty depending on model.

With proper care and maintenance, your memory foam bed can last decades before replacement is needed.