How to Clean a Mattress: Step by Step, Stains and Odors
Share
To clean a mattress, strip the bed and wash the bedding, vacuum the mattress with an upholstery attachment, spot-clean stains with a little mild soap or an enzyme cleaner (never soaking it), sprinkle baking soda to absorb odors, then vacuum again and let it air out before you remake the bed. Start in the morning so it has all day to dry. Check your mattress maker's care instructions first, especially for memory foam, which shouldn't get wet.
What you need
- A vacuum with an upholstery attachment (or a handheld vacuum)
- Mild dish soap or laundry detergent, or an enzyme cleaner for organic stains
- A spray bottle, clean white cloths and cold water
- Baking soda
- A fan or an open window to speed up drying
How to clean a mattress, step by step
1. Strip the bed and wash everything
Take off the sheets, pillowcases, mattress pad and protector, and get them in the wash while you work. Our guides to washing sheets and washing pillows cover the settings.
2. Vacuum the whole mattress
Go over the top, sides and seams with an upholstery attachment, slowly, in overlapping passes. Vacuuming won't remove stains, but it lifts dust, crumbs and dead skin. The Asthma and Allergy Foundation of America (AAFA) recommends vacuuming your mattress every one to three months, or more often if it doesn't have an allergen-barrier cover.
3. Spot-clean stains, gently
Blot, don't scrub. Bed in a Box suggests mixing equal parts laundry detergent and water in a spray bottle, spraying the stain without saturating it, then pressing a dry cloth on it to lift the moisture. Casper recommends mild dish soap or an enzyme cleaner dabbed on with a cloth, and warns against bleach. Whatever you use, the rule is the same: don't soak the mattress. Water that gets deep into the foam or padding is slow to dry and can lead to mildew.
4. Deodorize with baking soda
Sprinkle a thin, even layer of baking soda over the mattress and leave it for a few hours, longer if you can, to absorb odors. Then vacuum it all up thoroughly.

5. Air it out and let it dry completely
Open the windows or run a fan. Casper notes that a sunny spot helps if you can move the mattress. Make sure every damp spot is fully dry before you put the protector and sheets back on.
6. Do the other side if it flips
If your mattress is double-sided, repeat on the other side. If it isn't, rotate it head to foot while it's bare, if the maker recommends rotating.
How to clean common mattress stains
| Stain | What to do |
|---|---|
| Sweat and body oil (yellowing) | Spray lightly with a detergent-and-water mix or an enzyme cleaner, blot, repeat, then dry with a fan. |
| Urine | Blot up as much as possible straight away, then treat with an enzyme cleaner per its label, blot dry, and finish with baking soda once dry to deal with odor. |
| Blood | Cold water only, never hot. Dab with cold water and a little mild soap or an enzyme cleaner, and blot from the outside in. See getting blood out of sheets for the same principle. |
| Spills (coffee, juice) | Blot immediately, then spot-clean with the detergent mix and dry thoroughly. |
What about hydrogen peroxide? It is often suggested for tough stains, but Bed in a Box advises avoiding it because it can affect the color of memory foam and the mattress cover. Test anything on a hidden spot first, and check your mattress maker's instructions.
Cleaning a memory foam mattress
Foam holds water, so use as little liquid as possible: a light mist and lots of blotting, never pouring. If the cover unzips and the label says it is washable, wash the cover and leave the foam core dry. Follow the manufacturer's care guide; some makers restrict which cleaners you can use.
How often should you clean a mattress?
- Vacuum: every one to three months, per AAFA, plus whenever you deep-clean.
- Deep clean with baking soda: a couple of times a year, or when it smells stale.
- Spot clean: as soon as a spill or stain happens.
- Bedding: wash sheets weekly; see our sheet-washing schedule.
How to keep a mattress clean
The easiest mattress to clean is one that never gets dirty. A washable mattress protector catches sweat, spills and dust before they reach the mattress, and Bed in a Box notes it cuts how often you need a deeper clean. If allergies are an issue, AAFA recommends a zippered allergen-barrier cover; see our guide to hypoallergenic bedding. Leaving the bed unmade for a while in the morning also lets it air out.
Frequently asked questions
How do you deep clean a mattress?
Strip and wash the bedding, vacuum, spot-clean stains without soaking, cover with baking soda for several hours, vacuum again and air-dry fully.
Does baking soda clean a mattress?
It absorbs odors and some moisture. It doesn't remove stains; spot-clean those first.
Can you use vinegar on a mattress?
Some makers, including Bed in a Box, mention white vinegar as a gentle option. Use it lightly, blot it dry and let the smell air out.
How long does a mattress take to dry after cleaning?
It depends how damp it got. A light spot clean dries in a few hours with a fan; that's why starting in the morning helps.
Can you steam clean a mattress?
Check the manufacturer first. Steam adds moisture and heat, which some mattresses, especially memory foam, shouldn't get.