
A four-step, dermatologist-friendly method to lift yellow sweat stains using hydrogen peroxide and baking soda - plus what NOT to do on memory foam.
Yellow sweat stains on a mattress aren't just cosmetic - they're a mix of perspiration, body oils, dead skin cells, and oxidized salts that bond into the cover fabric. The good news: 95% of them lift with two ingredients you already own. Here's the four-step method we use in our lab, plus the one mistake that ruins memory foam.
Skip ammonia and bleach. Both react with sweat-bound proteins and can permanently set the stain - the opposite of what you want.
One thing to check before you start: see whether your mattress cover unzips and is labeled machine-washable. Plenty of covers look removable but aren't, and pulling a zipper the manufacturer hasn't approved can void the warranty, expose foam layers you shouldn't touch, and leave you with a cover that won't reseat. If the care tag explicitly says the cover is washable, that route is faster and more thorough than spot-cleaning, so it's worth confirming before you mix any solution.

Strip every layer - sheets, mattress protector, topper. Wash sheets and pillowcases in the hottest cycle the fabric tolerates while you work on the mattress.
Vacuum the entire surface with an upholstery attachment, paying attention to seams and tufting where dead skin and dust mites collect. This step is non-negotiable: vacuuming first prevents your cleaning solution from turning loose debris into a gritty paste that grinds back into the fabric.
Before mixing the spray solution, dust a thin layer of dry baking soda directly over the yellowed zones and let it sit for at least 15 minutes. The dry soda pre-loosens oxidized oil and pulls a first round of moisture out of the fibers, so the peroxide step in Step 3 has less surface gunk to fight through. Vacuum the dry baking soda off cleanly before moving to Step 2.

In a clean spray bottle, combine:
Swirl gently - don't shake. Shaking creates foam that clogs the nozzle. The peroxide breaks the chemical bonds in the yellow oxidation, the baking soda neutralizes acidic odor compounds, and the dish soap surfactant lifts the body oil that holds the stain in place. Use the mixture within 20 minutes; once peroxide oxidizes it loses its lifting power.
Mist the stained area until it's damp - not soaking. Letting solution puddle is the #1 cause of new water rings and trapped moisture inside foam (where mold grows). Damp is enough.
Let the solution sit for 15-60 minutes depending on stain age:
Then blot - don't rub - with a clean white microfiber. Press, lift, move to a fresh spot on the cloth, repeat. You should see yellow transferring onto the cloth.
This is the step most guides skip, and it's why some people end up with mold a month later. After blotting, sprinkle a thin layer of baking soda over the treated zone, leave it 4-8 hours (overnight if you can), then vacuum it off. The baking soda finishes pulling moisture out of the fabric and absorbs any remaining odor.
Open windows, run a ceiling fan, or aim a box fan at the mattress. Don't put sheets back on until the surface is dry to the touch and no longer cool to the back of your hand. Memory foam can hide moisture for 12-24 hours.
Memory foam is the trickiest case. The foam itself is hydrophobic, but the cover and the layer just below it absorb liquid like a sponge and dry slowly. For memory foam, halve the peroxide-to-water ratio (1/2 cup peroxide + 1/2 cup water) and use a barely-damp cloth instead of spraying. Never soak. Never use a steam cleaner - the heat breaks down the cell structure of the foam permanently.
If the cover is dark, dyed, or contains a wool fire barrier where hydrogen peroxide could lighten the fabric, swap in equal parts white vinegar and water in your spray bottle. Vinegar works as a mild deodoriser and has antimicrobial properties that help neutralize the bacteria feeding on dried sweat, without the bleaching risk peroxide carries on colored fibers. The trade-off is that vinegar is less aggressive on set-in yellow oxidation, so plan on two or three light passes rather than one strong one, and finish with the same baking-soda dry-out in Step 4.
For older or set-in accidents, the protocol changes - see how to clean urine stain from memory foam mattress.
The average adult sweats roughly 26 gallons of perspiration into their mattress per year (Sleep Foundation, 2024). That sweat is mostly water, but it carries sodium, urea, and trace lipids from your skin. As it dries, those compounds oxidize - the same chemical process that turns a sliced apple brown - and bond with the polyester or cotton fibers in your mattress cover.
That's why the stains are concentrated where your shoulders, lower back, and hips press into the mattress: those are your highest-output sweat zones. It's also why hot sleepers, perimenopausal sleepers, and anyone who runs warm at night ends up with deeper staining sooner.

Yes for fresh stains and odor, but baking soda alone won't break the chemical bonds in old yellowing. For a stain older than a few weeks, you need an oxidizer (hydrogen peroxide) or an enzyme cleaner.
3% hydrogen peroxide is the same strength sold for first aid and is safe on white and light-colored polyester or cotton mattress covers. Test a hidden corner first if your cover is colored or has a wool fire barrier - peroxide can lighten dyes and yellow wool over time.
Plan on 4-8 hours for a standard innerspring or hybrid, and 12-24 hours for memory foam. Open windows, run a fan, and don't re-sheet the bed until the surface is room-temperature to the touch.
Most fade dramatically; a small percentage of years-old stains never come fully clean because the oxidation has set into the fibers. If you've done the full method twice and the stain is still there, it's permanent - but a mattress protector will hide it from there on.
Not for memory foam, latex, or any mattress with foam layers. The heat damages cell structure, and the moisture takes days to fully escape - long enough for mold to start. Stick with the cold spray-and-blot method.
Spot-clean stains as they happen. Do a full deep clean (vacuum + baking soda deodorize + spot treatment of any visible stains) every 6 months, or every 3 months if you're a hot sleeper or have allergies.
Written by
Banner Mattress EditorialThe Banner Mattress editorial team publishes independent mattress reviews, buying guides, and sleep-health advice. Since 2018 we've tested 1,000+ mattresses and 3,000+ pillows, sheets, and bedding accessories in our review lab - every recommendation is hands-on, never sourced from vendor talking points. Affiliate links may earn us a commission, but never change what we recommend.
Mattress GuidesPuffy Cloud and Leesa Original are close on paper. Here is how their feel, construction, cooling, and pricing differ, and which one fits how you sleep.
Mattress GuidesWinkBed vs Purple, compared on feel, support, cooling, and price. One is a springy innerspring hybrid with firmness choices; the other is a weightless GelFlex grid. Here's which fits your sleep style.
Mattress GuidesNolah runs cooler and costs less; Puffy gives the deeper memory foam cradle. Here is how the two all-foam beds compare on feel, heat, and price.
