Mattresses

The Best Way to Clean a Mattress at Home (Stains, Odors, and Deep Cleaning)

The Best Way to Clean a Mattress at Home (Stains, Odors, and Deep Cleaning)
We independently research every product. When you buy through links on this page — including as an Amazon Associate — we may earn a commission at no extra cost to you. Learn more.

A mattress soaks up a lot over the years it’s on nightly duty — sweat, skin cells, spills, pet hair, the occasional coffee-in-bed accident. Cleaning it properly is one of those chores that pays off in both hygiene and longevity, and it’s a question we get constantly at Talk Beds: what’s actually the best way to clean a mattress without soaking the foam, warping the springs, or triggering mold underneath the cover? Here in 2026, with more people working from bed and pets sharing the sheets than ever, a solid seasonal cleaning routine matters more than a one-time deep scrub. Below is the process we recommend, broken into the steps that actually move the needle, plus how to handle stains, odors, and the materials that need special care.

Start with a full vacuum, not a wipe-down

Before any liquid touches the mattress, vacuum the entire surface using the upholstery attachment. This pulls out dust, dead skin, pet dander, and the debris that settles into seams and quilting. Go over the top, both sides if you flip or rotate the mattress, and pay extra attention to the piping and handles where dust collects. If you have allergies, this single step — done monthly — does more for air quality than any spray or powder.

Why vacuuming first matters

Any cleaning solution applied over loose debris just turns it into paste. Vacuuming first means whatever treatment you use afterward actually reaches the mattress surface and fabric fibers instead of sitting on top of dust.

Deodorize with baking soda before you deep clean

Baking soda is genuinely the best general-purpose tool for mattress odor, and it’s cheap and safe on virtually every mattress type, including memory foam, hybrid, and innerspring. Sprinkle a generous, even layer over the entire surface, work it gently into the fabric with a soft brush, and let it sit for at least an hour — ideally 3-4 hours, or overnight if the room can stay closed off and dry. The baking soda pulls moisture and absorbs odor molecules rather than masking them. Vacuum it all up thoroughly afterward; leftover residue can attract more dust over time.

For stronger odors, especially from pets or smoke, add a few drops of a mild essential oil to the baking soda before sprinkling, or use an enzyme-based odor eliminator spray after vacuuming instead of relying on baking soda alone.

Treat stains with the right method for the stain type

Different stains respond to different treatments, and using the wrong one can set a stain permanently or leave a ring. The golden rule across all of them: blot, never rub, and always work from the outside of the stain inward to avoid spreading it.

Fresh liquid spills (sweat, urine, drinks)

Blot up as much liquid as possible immediately with a clean towel. Mix a solution of cool water with a small amount of mild dish soap or laundry detergent, apply with a cloth (never pour directly), and blot repeatedly. Follow with a clean, water-only cloth to rinse out the soap, then blot dry.

Dried or set stains

A mix of hydrogen peroxide, a small squirt of dish soap, and a tablespoon of baking soda made into a light paste works well on set-in stains like blood or sweat rings. Apply, let sit 20-30 minutes, then blot and rinse with a barely damp cloth. Always spot-test on a hidden edge first, since hydrogen peroxide can lighten some fabrics.

Urine and pet accidents

An enzyme-based cleaner is the only real fix here, because standard soap and water don’t break down the uric acid crystals that cause lingering odor. Saturate lightly (not soak), let the enzymes work per the product’s instructions, then blot dry and follow up with a baking soda pass once fully dry.

Don’t oversaturate — moisture is the real enemy

The single most common mattress-cleaning mistake is using too much liquid. Foam layers and even innerspring cushioning can trap moisture deep inside, where it can’t fully evaporate, creating the perfect conditions for mold and mildew days or weeks later. Every cleaning solution should be applied lightly with a cloth or spray bottle set to mist, never poured or heavily sprayed. After any wet treatment, speed up drying with a fan pointed at the mattress, open windows if humidity is low, or a dehumidifier running in the room. A mattress should never go back onto the bed with a protective cover while still damp underneath.

Sun and air it out when possible

If you have access to a balcony, patio, or well-ventilated garage, standing the mattress up in direct sunlight for a few hours is one of the oldest and most effective odor and dust-mite treatments. UV light helps kill dust mites and bacteria naturally, and the airflow lets any trapped moisture fully escape. This isn’t practical for everyone, but even propping a mattress against a wall in a sunny room with windows open for an afternoon makes a noticeable difference.

Cleaning by mattress type

Not every mattress tolerates the same approach. Here’s how the main types differ:

Mattress type Best cleaning approach What to avoid
Memory foam Light misting only, baking soda deodorizing, thorough air drying Heavy saturation, steam cleaners, direct sun for long periods (can degrade foam)
Innerspring Vacuum both sides, spot-clean stains, can tolerate slightly more moisture since it dries faster Submerging or flipping while wet, which can rust coils
Hybrid Treat like memory foam on top, more forgiving on the coil layer beneath Oversaturating the comfort layer
Latex Mild soap solution, light misting, quick drying since latex resists moisture absorption Harsh chemical cleaners, which can break down natural latex over time

How often should you clean a mattress?

Vacuuming should happen monthly. A full baking soda deodorizing pass works well every 2-3 months, or immediately after a spill or accident. Rotating the mattress (head-to-foot) every 3 months and flipping it if it’s a flippable dual-sided design helps even out wear and reduce the concentration of body oils and moisture in one spot. A quality waterproof mattress protector is genuinely the best long-term investment here — it prevents most stains and spills from reaching the mattress at all, cutting your deep-cleaning workload dramatically.

Signs your mattress needs more than cleaning

Cleaning extends a mattress’s life, but it can’t fix everything. If you’re noticing persistent sagging, visible mold that returns after cleaning, a musty smell that won’t lift even after thorough drying, or a mattress older than 7-10 years with worsening comfort, it’s likely time to look at replacement options rather than another cleaning cycle. Our mattresses under $500 and mattresses under $300 guides are good starting points if budget is the main concern, and our cooling mattress guide is worth a look if odor and moisture buildup have been recurring problems tied to overheating at night.

Related buying guides

Can I use a steam cleaner on my mattress?

Steam cleaners aren’t recommended for memory foam or latex, since the heat and moisture can break down the material over time. They’re generally safer on innerspring mattresses with removable, machine-washable covers, but always check the manufacturer’s care instructions first.

How do I get old yellow stains out of a mattress?

A hydrogen peroxide, dish soap, and baking soda paste works well on older sweat or urine stains. Apply, let sit 20-30 minutes, blot thoroughly, and repeat if needed. Some very old stains may lighten but not fully disappear.

Is vinegar safe to use on a mattress?

Diluted white vinegar (mixed with water) is generally safe as a light deodorizing spray on most mattress types, but it should never be used heavily since the acidity combined with excess moisture can affect foam and adhesives. Always mist lightly and dry fully.

How long does it take a mattress to dry after cleaning?

Depending on humidity and airflow, a lightly treated mattress typically takes 3-6 hours to dry fully with a fan running, though foam mattresses can take up to 24 hours in humid conditions. Never cover a mattress with sheets until it’s completely dry to the touch.

Can I put a mattress in direct sunlight to clean it?

Yes, for innerspring and hybrid mattresses, sun exposure for a few hours helps kill dust mites and bacteria and speeds drying. Limit direct sun exposure on memory foam and latex mattresses since prolonged UV and heat can degrade those materials faster.

What’s the best way to remove dust mites from a mattress?

Vacuuming thoroughly, using a mattress protector, and washing bedding weekly in hot water are the most effective dust mite controls. Sunlight and low humidity also help, since dust mites thrive in warm, moist environments.

Should I flip or rotate my mattress after cleaning?

Rotating head-to-foot every 3 months helps distribute wear evenly, and flipping applies only to mattresses specifically designed as reversible. One-sided mattresses, which make up most modern models, should not be flipped.

Marcus Reed
Written by

Marcus Reed

Senior Mattress Tester

Marcus Reed is TalkBeds' Senior Mattress Tester and the person behind most of the hands-on verdicts you'll read on the site. Over more than eight years reviewing beds, he has personally tested 200-plus mattresses across every major category, from budget boxed foam… Full profile & sources →