A mattress soaks up more than it lets on. Between sweat, skin cells, the occasional spilled coffee, and whatever a kid or pet tracked in, most mattresses go seven to ten years without a real cleaning. You can’t exactly toss it in a washing machine, but you also don’t need to replace it just because it smells a little musty or has a yellowish shadow near the edge. A methodical clean, done a couple of times a year, will get most mattresses looking and smelling close to new.
This guide covers the actual process: what to use, what to avoid, and how to handle specific stains like sweat, urine, and blood without soaking the mattress through.
Why mattresses smell and stain in the first place
Every night your body sheds skin cells, releases oils, and loses moisture through sweat — sometimes a surprising amount, especially under a warm comforter or on a mattress that doesn’t breathe well. That moisture works its way into the foam or padding layers and has nowhere to go, which is where musty odors come from. Add pets, spilled drinks, or kids who haven’t quite mastered nighttime bladder control, and you get a mattress that needs more than a fitted sheet to stay fresh.
If odors are a recurring problem rather than a one-time accident, it’s worth checking whether the mattress itself is trapping heat and moisture. Some materials breathe better than others — our guide to cooling mattresses for hot sleepers covers which constructions actually help with this instead of just marketing the idea.
What you’ll need
- A vacuum with an upholstery attachment
- Baking soda (a full box, not a sprinkle)
- An enzyme cleaner for organic stains (urine, sweat, blood)
- A spray bottle with a mix of water and mild dish soap for general stains
- White vinegar (optional, for deodorizing)
- Clean white towels or rags
- A fan or open window for drying
Skip the steam cleaner unless it has a very low-moisture setting. Steam pushes water deep into foam and padding, and that moisture is exactly what causes mold and odor problems down the line. Less liquid is almost always better with mattress cleaning.
Step 1: Strip everything and vacuum thoroughly
Remove sheets, mattress protector, and any topper. Wash bedding on the hottest setting the fabric allows. Then vacuum the entire mattress surface, including the sides and seams, using the upholstery attachment. This pulls out dust, dead skin, and debris before you introduce any liquid, which matters because wet dust just turns into grime.
Vacuum in slow, overlapping passes and pay extra attention to the areas around the edges and any tufting or quilting, where dust tends to collect.
Step 2: Treat specific stains
Different stains respond to different treatments. Trying to blast everything with the same cleaner either won’t work or will make the stain worse (heat-based treatments actually set some protein stains permanently).
| Stain type | What to use | Method |
|---|---|---|
| Sweat (yellowish patches) | Hydrogen peroxide + dish soap + baking soda paste | Apply, let sit 30 min, blot and rinse lightly with a damp cloth |
| Urine | Enzyme cleaner | Blot excess first, saturate lightly, let it sit per label instructions, blot dry |
| Blood | Cold water + salt or hydrogen peroxide | Never use hot water; blot, don’t rub, work from the outside in |
| General spills (coffee, wine) | Mild dish soap and cold water | Blot immediately, work in small circles from the edge inward |
For all of these, the rule is blot, don’t scrub. Scrubbing pushes the stain deeper into the fibers and can damage the fabric cover. Use a clean section of towel each time you blot so you’re not reapplying the stain.
Step 3: Deodorize with baking soda
Once stains are treated and the surface has dried, sprinkle a generous, even layer of baking soda over the entire mattress. Baking soda absorbs moisture and neutralizes odor molecules rather than just masking them. Let it sit for at least a few hours — overnight is better if you have another bed or sofa to sleep on. Some people add a few drops of essential oil to the baking soda first, but this is optional and purely for scent.
Vacuum the baking soda off completely afterward. Any residue left behind can attract moisture over time, which defeats the purpose.
Step 4: Dry it completely before remaking the bed
This is the step people skip, and it’s the one that causes mold and lingering odor. Open windows, run a fan directly across the mattress surface, or if it’s a dry day, prop the mattress up against a wall in sunlight for an hour. The mattress needs to be fully dry to the touch — not just surface-dry — before you put sheets back on. A mattress protector goes on first, then the sheets, so you’re not starting the cycle over from scratch.
Preventing the next stain or odor problem
The single most effective thing you can do is use a waterproof, breathable mattress protector. It’s a five-minute fix that saves hours of future cleaning and protects your warranty, since most manufacturers won’t cover stains under a claim. Beyond that:
- Wash sheets weekly, more often in summer or if you sleep hot
- Rotate the mattress every few months so wear and moisture don’t concentrate in one spot
- Keep pets off the bed, or at least off it before their paws are dry
- Vacuum the mattress every time you change sheets, not just during deep cleans
If a mattress is old enough that odors keep returning no matter how much you clean it, that’s often a sign the foam or padding has broken down and is holding onto moisture permanently. At that point cleaning becomes maintenance on a mattress that’s past its useful life rather than a real fix. It may be time to start browsing mattresses rather than keep fighting the smell, especially if you’ve noticed sagging or lost support alongside the odor.
When the mattress itself might be the problem
Sometimes what looks like a stain or odor issue is really a mattress that doesn’t suit how you sleep. Side sleepers on an unsupportive mattress tend to sweat more from pressure points that don’t relieve properly — our guide to mattresses for side sleepers walks through what actually helps there. And if you’re dealing with a kid’s bed that seems to need constant cleaning, it might be worth looking at more spill-resistant setups in our kids’ beds guide, or checking whether a storage bed frame with better airflow underneath would help reduce trapped moisture.
For pet owners specifically, keeping animals off the human mattress entirely by giving them a comfortable space of their own — see our dog beds guide — solves a lot of odor problems before they start.
A quick note on mattress type
Memory foam holds onto moisture and odor longer than innerspring or hybrid mattresses because it’s denser and has less airflow. If you own a foam mattress, lean harder on the drying step and consider airing it out seasonally even without a visible stain. Owners of adjustable beds should also check that the base’s foundation allows airflow underneath the mattress, since a sealed platform can trap humidity over time regardless of mattress type.
None of this requires special equipment or professional cleaning in most cases. A little patience, the right cleaner for the stain, and thorough drying will handle the vast majority of mattress odor and stain problems at home.
Can I use a steam cleaner on my mattress?
Only if it has a very low-moisture setting. Standard steam cleaners push too much water into the foam or padding, which can lead to mold and take days to dry out fully.
How often should I clean my mattress?
Vacuum it every time you change your sheets, and do a full stain and odor treatment two to three times a year, or immediately after any spill or accident.
Will baking soda actually remove odors, or just cover them up?
Baking soda absorbs moisture and neutralizes odor-causing compounds rather than masking them with scent, which is why it works better than air fresheners for musty smells.
Can I flip or wash my mattress to clean it?
You can rotate most mattresses head-to-foot, but flipping only works on two-sided models, which are rare today. Never submerge or wash a mattress in a washing machine.
How long does a mattress take to dry after cleaning?
Depending on humidity and airflow, expect 4 to 8 hours with a fan running directly on it. Don’t remake the bed until it’s completely dry to the touch, not just on the surface.
What’s the best way to remove old, set-in stains?
Old stains are harder but not impossible. Use hydrogen peroxide and dish soap for organic stains, apply, let sit, then blot repeatedly with a clean damp cloth. It may take two or three treatments to fully lift.