How to Clean a Mattress:
Buying guideUpdated

How to Clean a Mattress: Stains, Odors and Dust Mites

A simple routine to vacuum, deodorize and spot-clean a mattress, plus stain-by-stain fixes, safe methods for foam, hybrid and latex, and when cleaning isn't enough.

Dr. Sarah MitchellBy Dr. Sarah Mitchell 9 min read

Some links are affiliate links: we may earn a commission at no extra cost to you, and it never changes a score. How we earn money

You strip the bed, and there it is: a yellow patch you don't remember, a faint sour smell, maybe a spot from a spilled drink or a child's accident. A mattress soaks up sweat, skin cells and the odd spill for years, and most people never do more than change the sheets.

This guide gives you a routine that works on any mattress, stain-by-stain methods for sweat, blood, urine, vomit and drinks, safe adjustments for memory foam, hybrid and latex, and clear signs that a mattress is past cleaning. I look at it through two lenses: hygiene (allergens, moisture, mold) and longevity, because a clean, dry mattress holds up better.

Bare mattress in a bedroom with a vacuum and a box of baking soda on a side table
A bare mattress, a vacuum and a box of baking soda are all you need to start.

The Short Answer

  • Vacuum and deodorize every few months: strip the bed, vacuum with an upholstery tool, spread baking soda, leave it a few hours or overnight, then vacuum again. Do it more often if you have allergies or pets.
  • Treat spills immediately: blot, never rub, and use cold water. Fresh stains come out far more easily than set-in ones.
  • Use as little liquid as possible, especially on memory foam, and let the mattress dry completely before remaking the bed.
  • Skip bleach and ammonia; mild dish soap, diluted hydrogen peroxide, white vinegar or an enzyme cleaner do the job.
  • A waterproof mattress protector is the most effective way to prevent stains and keep allergens out.
  • Visible mold inside the mattress means replace it, not clean it.

How Often Should You Clean Your Mattress?

WhenWhat to doWhy
WeeklyWash sheets and pillowcasesRemoves sweat, skin cells and allergens from what you touch
Every 1–2 monthsWash the mattress protectorKeeps the barrier layer clean
Every 3–6 months (more often with allergies or pets)Full vacuum + baking sodaRemoves dust and freshens the surface
Every 3–6 monthsRotate head to footSpreads wear; easy while the bed is stripped
ImmediatelyTreat any spill, stain or accidentFresh stains are much easier to remove

Signs your mattress needs cleaning now: a musty or sour smell, visible discoloration, or a mattress that has never been cleaned.

What Do You Need to Clean a Mattress?

  • A vacuum with an upholstery attachment
  • Baking soda
  • A spray bottle
  • Mild dish soap or an enzyme cleaner
  • White vinegar
  • 3% hydrogen peroxide (light-colored fabrics only; spot-test first)
  • Cold water
  • Clean white cloths or paper towels
  • A fan or an open window for drying
Note

avoid bleach, ammonia and heavily scented cleaners. They can damage fabric and foam and leave residue you'll be lying on. Never mix cleaning products, especially bleach with vinegar or ammonia. Check your mattress's care label too: some brands specify what you can use, and some warranties are void if the mattress is stained.

White vinegar, baking soda, spray bottle, cloth and vacuum attachment laid out on a white surface
Everyday supplies cover almost every job.

How to Clean a Mattress Step by Step

  1. Strip and vacuum. Remove all bedding, including the protector. Vacuum the whole surface with an upholstery attachment in slow, overlapping passes, with extra time on seams and edges.
  2. Treat visible stains. Use the methods in the next section. Spot-test any solution on a hidden area first.
  3. Deodorize with baking soda. Sprinkle an even layer over the mattress and leave it at least a few hours; overnight is better.
  4. Vacuum again. Go over the surface at least twice so no residue is left.
  5. Air out and dry completely. Open windows and run a fan. If you used any liquid, don't put sheets back on until the mattress is fully dry.
Tip

trapping moisture under bedding is how mold and mildew start inside a mattress. When in doubt, give it more drying time.

How Do You Remove Stains From a Mattress?

Blot from the outside of the stain inward with a lightly dampened cloth, and never soak the mattress.

How do you get sweat stains out of a mattress?

Mix a little mild dish soap into cold water, or use equal parts 3% hydrogen peroxide and water on light-colored fabric after a spot test. Spray lightly, blot from the outside in, repeat as needed, then let the area dry completely.

Hand blotting a stain on a mattress with a white cloth beside a spray bottle
Blot rather than rub: rubbing pushes the stain deeper and spreads it.

How do you get blood out of a mattress?

Use cold water only; hot water can set protein stains. Blot with a cloth dampened in cold water, then dab on a small amount of 3% hydrogen peroxide (after a spot test) and blot again once the fizzing stops. For a stubborn mark, a paste of cold water and baking soda or cornstarch, left to dry and then vacuumed, can lift more.

How do you clean urine out of a mattress?

Blot up as much liquid as you can right away by pressing firmly with a dry towel. Lightly spray with equal parts white vinegar and water, wait a few minutes, then blot dry. Cover with baking soda overnight and vacuum. For dried urine or lingering odor, an enzyme-based cleaner made for human or pet accidents usually works better than vinegar alone.

How do you clean vomit off a mattress?

Remove solids with a spatula or paper towels, then blot. Treat like urine: a light spray of diluted vinegar or an enzyme cleaner, blot, then baking soda overnight and vacuum. Wear gloves, wash bedding hot, and dry thoroughly. If a lot of liquid soaked deep into foam, the odor may never fully clear.

How do you remove coffee, wine or food stains?

Blot immediately with a mild dish soap and cold water solution, working from the edge inward. "Rinse" by blotting with a cloth dampened in plain water, then dry the spot thoroughly.

StainSolutionKey rule
Sweat (yellowing)Dish soap in cold water, or diluted hydrogen peroxideSpray lightly, blot outside-in
BloodCold water, then hydrogen peroxide; paste for stubborn spotsNever hot water
Fresh urine1:1 white vinegar and water, then baking soda overnightBlot up liquid first
Dried urine or vomitEnzyme-based cleanerBreaks down odor compounds
Coffee, wine, foodMild dish soap and cold waterBlot, rinse, dry

How Do You Get Smoke or Other Odors Out of a Mattress?

For general or smoke odor, vacuum thoroughly, cover the whole surface with baking soda and leave it as long as you can (a full day is fine), then vacuum. Airing the mattress in a well-ventilated room or in indirect sunlight helps. Heavy, long-term smoke odor can be absorbed deep into foam and may not fully clear; an encasement can help contain what's left. If an odor is musty, look for moisture or mold before treating it as a smell problem.

How Do You Clean Different Types of Mattress?

The method is the same for every mattress; what changes is how much moisture it tolerates and how fast it dries.

Memory foam

Use the least liquid possible at every step. Foam soaks up and holds moisture, and water trapped inside can lead to mold. Blot, never soak, and allow much longer drying time, with a fan running and windows open.

Hybrid and innerspring

The quilted top layer can usually handle the standard process. Air moves through the coil layer, so these mattresses tend to dry faster than all-foam beds.

Latex

Blot rather than soak, avoid harsh chemicals, and keep latex out of strong direct sunlight for long periods, which can degrade it.

Can I steam clean a mattress?

Steam is generally best avoided on foam and latex because of the heat and moisture. Check the brand's care instructions before using it on any mattress.

How Do You Reduce Dust Mites in a Mattress?

You can't sterilize a mattress at home, but you can cut dust mite exposure. Dust mites feed on skin flakes and thrive in warm, humid conditions. Guidance from the Mayo Clinic on dust mite allergy includes the core steps below:

  • Encase the mattress and pillows in allergen-proof (dust-mite-proof) covers.
  • Wash bedding weekly in hot water, at least 130°F (54°C) where the fabric allows. If items can't be washed hot, a hot dryer cycle helps.
  • Keep indoor humidity below about 50%, using a dehumidifier or air conditioning in humid climates.
  • Vacuum regularly with a vacuum that has a HEPA filter if you can.
Bottom line

encasing the mattress and washing bedding hot every week does more for allergies than an occasional deep clean. See our best mattress for allergies guide for materials, and talk to a doctor or allergist if symptoms persist.

When Should You Throw Out a Mattress Instead of Cleaning It?

Mold

Small surface mildew spots on the cover can sometimes be cleaned, but if mold has grown into the foam or fill, or the mattress was soaked by flooding or a leak, discard it. Mattresses are porous, and the US EPA's guidance on mold notes that absorbent materials that become moldy may need to be thrown away. Fix the moisture source (humidity, a leak, a bed on a solid surface with no airflow) before the new mattress arrives.

Bed bugs

Bed bugs are a pest-control problem, not a cleaning one. Contact a pest professional before deciding whether to keep or discard the mattress, and encase it if you keep it.

Physical breakdown

Cleaning can't fix sagging, broken coils or compressed foam. If you can see and feel a dip of about an inch or more, or the mattress is near the end of its life, see how long does a mattress last. A mattress topper can change the surface feel but won't restore support. When it's time, how to dispose of a mattress covers recycling and pickup.

Bottom Line

Vacuum and deodorize every few months, treat stains immediately with cold water and gentle solutions, and always let the mattress dry completely. Encase it and wash bedding hot each week if dust mites are an issue. A waterproof protector prevents most problems in the first place, and mold that has reached the inside of the mattress means it's time to replace it.

Frequently Asked Questions

How do I get the smell out of a mattress?

Spread an even layer of baking soda over the surface, leave it several hours or overnight, then vacuum thoroughly. For urine or sweat odors, mist lightly with diluted vinegar or use an enzyme cleaner first, and let it dry before the baking soda.

Can I use a steam cleaner on my mattress?

It's generally best avoided on foam and latex because heat and moisture can damage the materials and risk mold. Follow the brand's care instructions.

How do I clean a mattress without a vacuum?

You can still spot-clean and air it out, but a vacuum is what removes dust and the used baking soda. Without one, blot stains, air the mattress well, and keep a washable protector on it.

How do I remove old, set-in stains from a mattress?

Try a diluted hydrogen peroxide solution (light fabrics, spot-tested) or a baking soda paste left for several hours, then blot and vacuum. Expect several rounds; full removal isn't always possible.

How long does a mattress take to dry after cleaning?

At least several hours with a fan and open windows, and longer for memory foam. Don't remake the bed until it feels completely dry.

Should I flip or rotate my mattress when I clean it?

Rotate it head to foot every 3–6 months. Only flip a mattress if the manufacturer says it's double-sided.

Does a mattress protector really make a difference?

Yes. A waterproof protector keeps sweat and spills out of the mattress, and an allergen-proof encasement helps with dust mites.

Is a moldy mattress safe to sleep on?

If the mold is inside the mattress, replace it. Mold exposure can aggravate allergies and asthma, and porous materials can't be reliably cleaned once mold has grown into them.

Photo of Dr. Sarah Mitchell

Written by

Dr. Sarah MitchellSleep Science Lead

Dr. Sarah Mitchell earned her Ph.D. in Sleep Medicine from Stanford University, where her doctoral research focused on the biomechanical relationship between sleep surface properties and slow-wave sleep quality. With 12 years in sleep science research, she has developed and published standardized protocols for evaluating mattress pressure distribution, spinal alignment during sleep, and thermal comfort — research that informs the criteria we use when evaluating products from their published specs and construction. At Mattress Guide Pro she reviews research and editorial content.

Education
Ph.D. Sleep Medicine · Stanford University
Experience
12 years · Sleep Medicine · Biomechanics · Clinical Research

The guides closest to this one, or browse all buying guides.