Your mattress absorbs a lot while you sleep—roughly a liter of moisture per night, according to sleep researchers. Over months and years, that sweat leaves behind yellow stains and a sour odor that regular washing can't reach. The good news: most sweat stains respond well to household cleaning solutions if you treat them correctly. The bad news: once foam layers have fully absorbed years of body fluid, no cleaning method fixes the underlying problem. This guide covers both scenarios honestly.
Sleep Lab Editor's Pick
If yellowing and odor are permanent, our Editor's Pick replacement is the Saatva Classic — breathable organic cotton over a coil-on-coil core that resists moisture buildup. Free white-glove delivery, 365-night trial.
Why Sweat Turns Your Mattress Yellow
Sweat itself is mostly water, but it carries oils, salts, and urea—the same compound found in urine. When this mixture soaks into fabric and foam and then dries repeatedly, the organic compounds oxidize. That oxidation is what produces the yellow-to-amber discoloration you see on older mattresses. The salts and urea also feed odor-causing bacteria, which explains why an old sweat stain often smells worse than it looks. Hot sleepers, people who sleep without a protector, and anyone who runs warm at night will see this progression faster.
Understanding the chemistry matters because it tells you which cleaners work. You need an oxidizing agent to break down the organic compounds (hydrogen peroxide), an abrasive to lift particles from fibers (baking soda), and a surfactant to pull oil-based residue to the surface (dish soap). That three-ingredient paste is the gold standard for yellow sweat stains, and you likely already have everything in your kitchen.
What You'll Need
- 3% hydrogen peroxide (standard drugstore bottle)
- Baking soda
- Liquid dish soap (clear, unscented preferred)
- Cold water in a spray bottle
- White distilled vinegar (optional, for odor)
- Clean white cloths or microfiber towels
- A soft-bristle brush or old toothbrush
- A vacuum with upholstery attachment
- A fan or access to sunlight for drying
Step-by-Step Method: Hydrogen Peroxide Paste for Yellow Stains
This method works on both fresh stains and older set-in discoloration. Work in a well-ventilated room and always spot-test on an inconspicuous edge of the mattress first—hydrogen peroxide can lighten or bleach some mattress fabrics.
- Strip the bed completely. Remove all bedding, including the mattress protector if you have one. Wash the protector and sheets while you clean the mattress.
- Vacuum the mattress surface. Use the upholstery attachment to pull loose dust, dead skin cells, and debris from the surface before applying any liquid. Moisture traps debris in fabric, making the job harder.
- Mix the cleaning paste. In a small bowl, combine 2 tablespoons of hydrogen peroxide, 1 tablespoon of baking soda, and 1 teaspoon of liquid dish soap. Stir until you have a uniform paste. For larger stained areas, double or triple the amounts proportionally.
- Spot-test first. Apply a small amount of paste to the edge or underside of the mattress. Wait 5 minutes, blot away, and check for fabric discoloration or damage before continuing.
- Apply the paste to the stain. Spread the paste over the stained area in a thin, even layer using a cloth or soft brush. Make sure the paste makes direct contact with the discolored fibers—don't just dab at the surface.
- Let it sit for 10–15 minutes. The hydrogen peroxide needs time to oxidize the compounds causing the yellow color. For older, darker stains, let it sit up to 20 minutes.
- Scrub gently. Using a soft-bristle brush or the edge of a clean cloth, work the paste into the stain with small circular motions. Don't scrub aggressively—you can push the stain deeper into the foam layers.
- Blot, don't rub. Using a clean white cloth dampened with cold water, blot the area to lift the paste and loosened stain material. Work from the outside edges of the stain inward to avoid spreading it. Rinse the cloth frequently.
- Spray lightly with cold water. Use your spray bottle to mist the area—just enough to rinse residual paste. Do not saturate the mattress. Excess moisture is your primary enemy here; it creates conditions for mold growth inside the foam.
- Blot again until the area is nearly dry. Press clean, dry cloths firmly into the surface and hold for 30 seconds at a time. Repeat with fresh sections of cloth until you've removed as much moisture as possible.
- Cover with a thick layer of baking soda. Once the surface is mostly dry, pour or sift a generous layer of baking soda over the treated area. Baking soda absorbs residual moisture and neutralizes odor-causing compounds.
- Wait 8–12 hours (overnight is ideal). The longer the baking soda sits, the more effective it is. Leave it on while the mattress dries.
- Vacuum thoroughly. Use the upholstery attachment to vacuum all the baking soda away. Make sure you get into any seams or tufting where powder can collect.
- Dry completely before remaking the bed. Place a fan directed at the mattress surface, or prop the mattress near a window with direct sunlight. The mattress must be fully dry—inside and out—before you add bedding. Any trapped moisture leads to mold inside the foam, which is a much harder problem to fix. See our guide on how to get mold out of a mattress if you suspect that's already happening.
Cleaning Solutions at a Glance
| Solution | Best For | Caution |
|---|---|---|
| Hydrogen peroxide + baking soda + dish soap paste | Yellow oxidized sweat stains, set-in discoloration | Spot-test first — can lighten some fabrics; do not saturate foam |
| White distilled vinegar (undiluted or 1:1 with water) | Odor neutralization, light surface stains | Strong smell while wet; do not use on memory foam repeatedly — acids degrade foam over time |
| Baking soda (dry application) | Deodorizing, absorbing residual moisture after wet cleaning | Must be vacuumed completely; ineffective alone on stain color |
| Cold water + dish soap (light lather) | Fresh sweat stains caught within 24 hours | Use sparingly — excess moisture is the main risk with any mattress cleaning |
| Enzyme cleaner (commercial) | Heavy odor, sweat combined with urine | Follow product instructions; allow full drying time before covering |
Dealing with Sweat Odor Specifically
If discoloration is minor but the mattress has a persistent sour or musty smell, odor is the primary problem to solve. Baking soda alone handles mild cases. For stronger odor, spray the surface lightly with undiluted white vinegar, let it sit for 10 minutes, then blot dry and follow with a baking soda treatment as described above. The vinegar smell dissipates as it dries. For urine mixed with sweat—common on mattresses used by young children—an enzyme cleaner is more effective than the peroxide paste because the enzymes break down uric acid proteins at a molecular level. Our guide on how to clean urine off a mattress covers that process in detail.
If odor returns within days of cleaning, the source is likely deeper in the foam than surface cleaning can reach. That's a structural issue, not a technique problem.
How to Prevent Sweat Stains Going Forward
Cleaning a stained mattress is a reactive measure. Prevention is far simpler and more effective long-term.
Use a waterproof, breathable mattress protector. This is the single most impactful step. A quality protector stops sweat from reaching the mattress in the first place. The key is finding one that's both waterproof and breathable—cheap plastic-feeling protectors cause you to sleep hotter, which increases sweating. Our roundup of the best mattress protectors includes options tested specifically for breathability alongside waterproof performance.
Wash your bedding weekly. Sheets and pillowcases absorb sweat before it reaches the mattress. Regular washing keeps that buffer effective. If you're skipping laundry for two or three weeks, sweat is saturating the sheets and starting to penetrate toward the mattress even with a protector in place.
Sleep cooler. Reducing how much you sweat at night reduces accumulation rate. Moisture-wicking sheets, lower room temperature, and a mattress with active cooling features all contribute. Check our picks for the best cooling mattresses if heat is a consistent issue for you.
Air out your mattress regularly. Pull back the covers for 20–30 minutes each morning. This allows surface moisture to evaporate before it soaks deeper. A small habit that adds up over years of use.
When Cleaning Isn't Enough
Surface cleaning addresses cosmetic staining and mild odor. It does not restore a mattress that has years of body fluid soaked into its foam layers. At that stage, the discoloration is largely permanent and the odor source is inside the core—not accessible to any surface treatment.
The practical test: if you clean the mattress thoroughly and the odor returns within a week, or if the staining covers more than a third of the sleep surface, replacement is the honest answer. Sleeping on a heavily contaminated mattress also has hygiene implications—the bacteria feeding on those accumulated organic compounds don't disappear with surface cleaning.
If you're at that point, it's worth looking at current pricing before assuming replacement is out of reach. Our best mattress deals page tracks live discounts across major brands. And if you want a full cleaning workflow before making a decision, our main how to clean a mattress guide covers every step from deodorizing to stain removal to drying.
For permanent staining and odor that cleaning can't resolve, our editors' top pick is the Saatva Classic. It's a luxury innerspring with a Euro pillow top and breathable organic cotton cover that resists moisture buildup better than most all-foam beds. The coil-on-coil construction also allows more airflow through the mattress core, which slows the sweat accumulation that leads to this problem in the first place. It's available in three firmness levels and comes with free white-glove delivery and old mattress removal—worth noting if you're replacing a heavily stained one. Current pricing is on our deals page.
FAQ
Does hydrogen peroxide remove yellow sweat stains from a mattress?
Yes, 3% hydrogen peroxide is one of the most effective options for yellow sweat stains because it oxidizes the organic compounds responsible for the discoloration. Mixed with baking soda and dish soap into a paste, it lifts both the color and odor. Always spot-test first—it can lighten certain mattress fabrics.
Can I use bleach to clean sweat stains from a mattress?
No. Bleach is too harsh for mattress materials. It can break down foam, damage fabric, and leave behind chemical residue that irritates skin. It also doesn't address the odor-causing bacteria the way enzymatic or peroxide-based cleaners do. Stick to hydrogen peroxide at 3% concentration.
How long does it take for a mattress to dry after cleaning?
Typically 4–8 hours for the surface layer, but foam cores can retain moisture for 12–24 hours. Run a fan directly at the mattress and leave it uncovered. If you cleaned in the morning, the mattress is usually safe to remake by evening—but when in doubt, wait longer. A damp mattress develops mold quickly once covered.
Will baking soda alone remove yellow stains?
No. Baking soda is excellent for absorbing odor and residual moisture, but it has no oxidizing power to break down the compounds causing yellow discoloration. Use it as the final deodorizing step after the hydrogen peroxide paste does the heavy lifting.
How do I get rid of the sweat smell in a mattress without washing it?
Sprinkle a thick layer of baking soda over the mattress surface and leave it for at least 8 hours before vacuuming. For stronger odor, lightly mist the surface with undiluted white vinegar first, let it dry for 10 minutes, then apply the baking soda. The combination neutralizes the alkaline and acidic odor compounds that sweat leaves behind.
How often should I clean my mattress to prevent sweat buildup?
A light deodorizing treatment with baking soda every 3–6 months is a reasonable maintenance schedule. Spot-clean any visible stains as soon as you notice them—fresh stains are dramatically easier to remove than ones that have dried and oxidized over weeks. A good mattress protector reduces how often you need to do either.
Is a stained mattress a health risk?
Surface staining alone is mostly cosmetic. But a mattress with heavy sweat accumulation soaked into the foam supports bacterial growth and, in humid environments, mold. If your mattress has a persistent musty or sour smell that doesn't respond to cleaning, or if you see any dark spotting that looks like mold, that's a legitimate hygiene concern—not just an aesthetic one.