Foam mattresses can be a good choice for back pain, but the type of foam, its firmness, and how it matches your sleeping position all matter more than the material alone. A landmark clinical trial published in The Lancet found that medium-firm mattresses reduced pain and disability in people with chronic low back pain significantly more than firm mattresses did. Since most foam mattresses fall in that medium-firm sweet spot, they’re well-positioned to help, but not every foam bed will work for every person.
Why Medium-Firm Beats Firm
For years, the conventional wisdom was that a firm mattress was best for a bad back. That advice turns out to be wrong. A randomized, double-blind trial of 313 adults with chronic nonspecific low back pain compared firm mattresses to medium-firm ones over 90 days. Patients on medium-firm mattresses reported less pain while lying down, less pain when getting up, and less overall disability. They also experienced less daytime back pain throughout the study period. The takeaway: a surface that’s too hard doesn’t support you better. It forces your spine into unnatural positions by refusing to accommodate the curves of your body.
On a 1-to-10 firmness scale (where 1 is rock-hard and 10 is extremely soft), the range most consistently recommended for back pain is 5 to 8. That’s a broad window, and where you land within it depends mostly on your sleep position and body weight.
How Foam Supports Your Spine
Foam mattresses help with back pain through two related mechanisms: pressure redistribution and contouring. When you lie on foam, the material compresses under heavier body parts (hips, shoulders) and remains firmer under lighter areas (the lower back curve). This increases the total contact area between your body and the surface, which spreads your weight more evenly and reduces the concentrated pressure that causes pain and stiffness.
Memory foam does this especially well. It responds to both your body weight and your body heat, slowly molding to your exact shape. That deep contouring cushions the bony areas where pressure builds up most. Many modern foam mattresses use a layered design: a softer top layer provides that immediate contouring, while a firmer base layer underneath prevents you from sinking too far and losing spinal alignment. This combination is what makes a foam mattress feel supportive rather than just soft.
Memory Foam vs. Latex Foam
These are the two main types of foam you’ll encounter, and they feel quite different. Memory foam adapts slowly to your shape, creating a body-hugging sensation. It excels at pressure relief because it cups and cushions problem areas directly. The tradeoff is that it can trap heat and make position changes feel sluggish, since the foam takes a moment to reshape.
Latex foam is bouncier and more responsive. It still contours to your body, but less dramatically than memory foam. Where latex has an edge is long-term support: it tends to hold its shape better over the life of the mattress, while memory foam gradually develops sags that reduce support. Latex also performs better for people who weigh more than about 230 pounds, since heavier bodies can compress memory foam past the point where it provides meaningful pushback.
For back pain specifically, either material can work. Memory foam is the better choice if pressure points at your hips or shoulders are a major part of your pain. Latex suits people who want consistent support that won’t degrade as quickly, or who tend to sleep hot.
Your Sleep Position Changes the Equation
The firmness level that keeps your spine aligned varies by how you sleep, and this is where many people go wrong with foam mattresses.
- Back sleepers generally do best with a firmness of 5 to 7. Your lower back has a natural inward curve, and the mattress needs to fill that gap without letting your hips sink too deep. A medium-firm foam mattress hits this balance for most back sleepers.
- Side sleepers need something softer, in the 3 to 6 range. Your hips and shoulders bear all your weight in this position, and if the mattress doesn’t let them sink in enough, your spine bends laterally. People with broader shoulders or wider hips may need an even softer surface. The goal is a mattress that lets your body sink just enough to keep your spine straight from neck to tailbone.
- Stomach sleepers with back pain face the trickiest situation. This position already hyperextends the lower back, and a foam mattress that’s too soft will make it worse by letting the pelvis drop. A firmer foam surface (6 to 7) can help, but switching sleep positions is often more effective than switching mattresses.
Foam Density and Durability
A foam mattress that feels perfect in the store can lose its supportive qualities within a couple of years if the foam is low density. This is the most common reason people with back pain end up disappointed in a foam mattress that initially helped. As the foam breaks down, it develops body impressions and sags, and your spine loses the alignment that was relieving your pain.
Look for foam with a density of at least 4 pounds per cubic foot. Higher-density foam costs more upfront but maintains consistent support for longer. A well-made foam mattress with quality materials can last 5 to 10 years before the support degrades meaningfully. If you’re not ready to replace your current mattress, a foam topper between 5 and 8 centimeters thick (roughly 2 to 3 inches) can add a meaningful comfort and support layer to an existing bed.
When a Foam Mattress May Not Help
Foam mattresses aren’t a universal solution for back pain. If your pain is caused by a structural issue like a herniated disc or spinal stenosis, the mattress surface matters less than treatment of the underlying condition. A new mattress can reduce pain that’s caused or worsened by poor sleep posture, but it won’t fix a problem that follows you through the day regardless of position.
People who sleep very hot may also find memory foam uncomfortable enough to disrupt their sleep, which can indirectly worsen pain. Gel-infused foams and open-cell designs help with heat retention, but latex or a hybrid mattress (foam comfort layers over an innerspring core) tends to sleep cooler overall. Hybrid designs also offer a good compromise for couples with different body types, since the coil base provides a consistent support layer while the foam top adapts to each person individually.
Body weight is another factor. If you weigh over 230 pounds, a standard memory foam mattress may compress too fully under your hips, creating a hammock effect that pulls your spine out of alignment. In that range, latex foam, higher-density memory foam, or a hybrid mattress will typically maintain better support.

