Skip to main content
Affiliate Disclosure: SleepRanked earns commissions when you purchase through links on this page, at no extra cost to you. This does not influence our rankings or recommendations. Learn more
Mattress Care

How to Deep-Clean a Memory Foam Mattress (Without Ruining It)

SleepRanked Editorial7 min read

Memory foam is the most cleaning-sensitive of the common mattress types. Too much moisture and the foam grows mold inside the support layer where no cleaning reaches. Steam cleaners — fine on carpet, deadly on foam — are the most common cause of ruined memory foam mattresses. Here's the dry-first, low-moisture, fan-finished method that actually works.

The Three Rules That Decide Everything

Memory foam cleaning rules

  • Never saturate — if a cloth feels wet rather than damp, it's too wet for foam
  • Never use a steam cleaner — pushes moisture deep into the foam where mold grows
  • Always dry thoroughly with airflow before re-making the bed — trapped moisture is how mildew starts

Beyond those three, the technique is similar to deep-cleaning any mattress: vacuum, deodorize with baking soda, spot-treat any stains, dry, install a protector. The difference is the moisture margin — foam tolerates far less of it than innerspring or hybrid construction.

What You'll Need

  • A vacuum with an upholstery attachment (HEPA filter if you have allergies)
  • A box of baking soda
  • A few microfiber cloths
  • Mild dish soap (a few drops in a bowl of cold water)
  • A spray bottle with cold water
  • A bedside fan
  • Optional: an enzyme cleaner for protein-based stains (urine, blood, sweat)

Skip these

Steam cleaners, carpet shampooers, bleach, ammonia, and any soaking method. Each of these has ruined more memory foam mattresses than it's saved. The reason is the same: water that doesn't evaporate quickly becomes mildew in the foam.

Step 1: Strip and Vacuum

Remove sheets, mattress protector, and topper. Wash sheets and the protector on the hottest cycle the fabric allows. With the mattress bare, vacuum the entire surface in slow overlapping passes using the upholstery attachment. Pay extra attention to seams and the perimeter piping — they collect more debris than the open surface.

If the memory foam mattress has a removable zip-off cover (some Casper, Tuft & Needle, and Nectar models do), unzip and remove it before vacuuming. Wash the cover separately per the manufacturer's care tag — typically cold gentle cycle, tumble dry low.

Step 2: Deodorize With Baking Soda

Sprinkle a thin even layer of baking soda across the entire mattress. Leave it for at least 30 minutes; for stronger odors or in humid climates, leave it for several hours. Baking soda pulls trapped moisture out of the surface foam and neutralizes odor compounds. If you want a light scent, mix a few drops of lavender or eucalyptus oil into the box before sprinkling.

Vacuum the baking soda completely. Take your time. Leftover residue can attract moisture and feel gritty under sheets. Several passes in a grid pattern with the upholstery attachment gets all of it.

Step 3: Spot-Clean Any Stains

Mix a few drops of mild dish soap into a bowl of cold water. Dampen — not soak — a microfiber cloth and blot at visible stains. Blot from the outside of the stain toward the center to avoid spreading. Follow with a separate clean damp cloth using only cold water to lift the soap residue, then blot dry with a fresh towel.

Cold water always

Hot water sets protein-based stains (blood, urine, sweat) permanently into foam. Cold keeps the proteins soluble so detergents and enzymes can lift them.

For protein-based stains specifically, an enzyme cleaner is more effective than soap. Apply per the bottle directions, let it dwell 10 to 15 minutes, blot away with cold water.

Step 4: Dry With a Fan for Hours, Not Minutes

This is the step most people shortchange and the step that determines whether the mattress comes out clean or moldy a week later. Run a bedside fan directly across the cleaned area for at least six to eight hours. Overnight is ideal. Open a window if the room is humid. Don't put fitted sheets back on until the entire surface is dry to the touch — sealed-in moisture is how mildew develops.

Don't speed-dry with heat

Hair dryers, heat guns, and space heaters near memory foam can warp the foam structure. Memory foam softens with heat. Stick to airflow.

Step 5: Re-Install Protector and Re-Make the Bed

While the mattress is bare, this is the time to rotate it 180 degrees. Most memory foam manufacturers recommend rotation every three months in the first year and every six months after. With the rotation done, install a clean waterproof, moisture-wicking mattress protector before adding fitted sheets. The protector is the single most effective preventive measure against future stains, sweat absorption, and dust mite accumulation.

Most memory foam warranties require an approved foundation and explicitly void on moisture damage — a protector keeps both in good standing.

Browse Mattress Protectors →

How Often to Deep-Clean Memory Foam

  • Average sleeper, average climate: every 6 months — sync with seasonal sheet changes
  • Hot sleepers, humid climates, pets in bed: every 3 to 4 months
  • Surface vacuuming and sheet changes handle routine maintenance between deep-cleans

Common Mistakes That Ruin Memory Foam

  • Steam cleaning — guarantees deep moisture penetration
  • Spraying any cleaner directly onto the foam (always damp-cloth instead)
  • Putting fitted sheets back on damp surface — creates mildew within days
  • Using bleach — degrades foam and damages cover fabric
  • Skipping the protector — sweat saturates the foam within months without one
  • Hairdryer or heat to speed drying — warps the foam structure

If the mattress also runs hot, the same airflow principles apply to long-term cooling.

Read: Make a Memory Foam Mattress Cooler →

Not sure where to start?

Take our quick sleep quiz and we'll match you with mattresses that fit your sleep style and budget — no jargon, no upsell.

Find your perfect sleep →

Frequently Asked Questions

Can I steam clean a memory foam mattress?

No. Steam pushes moisture deep into the foam where it can't evaporate, which leads to mold inside the comfort layer and degrades the foam's structure. Most memory foam warranties also explicitly void coverage for moisture damage. Steam cleaning is one of the most common ways well-meaning owners ruin an otherwise good mattress.

How is deep-cleaning memory foam different from other mattresses?

The single biggest difference is moisture tolerance — memory foam holds onto water far longer than innerspring or hybrid mattresses and dries far slower. The technique is identical (vacuum, deodorize, spot-clean, dry) but every step uses less water and more drying time. The rule of thumb: if a damp cloth feels wet rather than damp, it's too wet for foam.

Can I machine wash the memory foam mattress cover?

Some memory foam mattresses (Casper, Tuft & Needle, Nectar, several others) have removable zip-off covers that are machine washable on a cold gentle cycle and tumble dry low. Check the manufacturer's care instructions before removing the cover — some mattresses look like they have a removable cover but actually don't, and forcing the zipper can damage the construction.

How often should I deep-clean memory foam?

Twice a year for most sleepers — typically spring and fall when sheets get the seasonal change anyway. People in humid climates, with pets, or who run warm at night benefit from quarterly deep-cleans. Surface vacuuming and weekly sheet changes handle the routine maintenance between deep-cleans.

What's the best way to dry memory foam after cleaning?

Air movement plus time. Strip the bed, open the windows, point a bedside fan directly at the cleaned area, and run it for at least six to eight hours — overnight if possible. Don't speed-dry with a hair dryer or any heat source; the heat can warp the foam. Don't put the fitted sheet back on until the area is fully dry to the touch.

Ready to shop?

Browse our full mattress database — filtered by type, firmness, price, and sleep position — or take the quiz for a personalized recommendation.

Find your perfect sleep.

Sleep tips, new guides, and the occasional deal — once or twice a month. No spam, unsubscribe anytime.

Double opt-in. We'll send a confirmation link before adding you to the list. See our privacy policy.