Quick answer: Mix 3% hydrogen peroxide, baking soda, and one drop of dish soap into a paste. Spread it over the yellow stain, let it dry fully (1-2 hours), then brush off the residue and vacuum. Blot wet areas with cold water first, and test on a hidden spot, hydrogen peroxide can lighten some fabrics.
By the MattressNut editorial team · Updated June 2026
What Causes Yellow Stains on a Mattress?
Most yellow stains come from sweat and body oils seeping through sheets over months or years. Urine (from children, pets, or adults) leaves a deeper amber mark and a distinct odor. General oxidation, the mattress fabric simply aging, adds a faint, all-over yellowing that no cleaner fully reverses.
All three are protein-based or organic, which matters for treatment: hot water and aggressive scrubbing make them worse, not better. They push the stain deeper into the foam.
The Hydrogen Peroxide + Baking Soda Method (Step by Step)
This is the most effective DIY approach for yellow sweat and urine stains. Use 3% hydrogen peroxide, the standard drugstore bottle, not a higher concentration.
What you need
- 3% hydrogen peroxide (½ cup)
- Baking soda (2-3 tablespoons)
- Dish soap (1 small drop)
- Clean cloths or paper towels
- A vacuum with an upholstery attachment
Steps
| Step | What to do |
|---|---|
| 1. Blot, don't rub | If the spot is still damp, press a clean cloth onto it to absorb moisture. Rubbing spreads the stain and drives it further into the foam. |
| 2. Test first | Dab a small amount of hydrogen peroxide on a hidden seam and wait 5 minutes. Peroxide can lighten certain fabric dyes, check before treating a visible area. |
| 3. Mix the paste | Stir hydrogen peroxide, baking soda, and one drop of dish soap into a spreadable paste. The baking soda thickens it so it stays on the stain instead of soaking straight into the foam. |
| 4. Apply and leave it | Spread a thin, even layer over the entire stained area. Do not scrub. Leave it until completely dry, typically 1 to 2 hours, longer for deep stains. The peroxide breaks down organic compounds as it evaporates. |
| 5. Remove residue | Once dry, scrape off the crust with a spoon or stiff brush, then vacuum thoroughly. |
| 6. Deodorize if needed | Sprinkle plain baking soda over the area, wait 2-3 hours, then vacuum again. This handles lingering odor without re-wetting the foam. |
Note on old stains: Set-in yellowing from years of use may lighten but rarely disappears completely. Repeat the treatment once after the first application fully dries if the stain is still visible.
Alternative Methods, Drying, and Prevention
White vinegar spray
Mix equal parts white vinegar and cold water in a spray bottle. Lightly mist the stain, do not saturate, blot with a cloth, and repeat. Vinegar works on lighter sweat stains and neutralizes odor. It is gentler than peroxide but slower on older stains.
Enzyme cleaners
For urine specifically, an enzyme cleaner (such as Nature's Miracle or any pet-stain formula) outperforms the peroxide method. Enzymes break down the uric acid that causes both the stain and the smell. Follow the bottle's dwell time, usually 10-15 minutes, then blot dry.
Drying matters more than people expect
A mattress that stays damp after cleaning is a mold risk. After any wet treatment:
- Point a fan directly at the cleaned area
- Leave the bed unmade for several hours, ideally overnight
- If you can move the mattress outdoors or near a sunny window, UV exposure speeds drying and kills surface bacteria
Do not replace sheets or a mattress protector until the surface is completely dry to the touch, and dry an inch down, not just on the surface.
Prevention going forward
A waterproof mattress protector stops sweat and body oils from reaching the mattress fabric in the first place. Wash it every one to two months along with your sheets. This one change eliminates most of the yellowing that builds up over time.
When cleaning is not enough
Surface stains lift well. A stain that has soaked deep into foam, or an old mattress that sags in the middle, is generally past saving with cleaning alone, the hygiene problem runs deeper than the visible discoloration. If yours fits that description, replacement is the more practical option. A hybrid like the Saatva Classic ships with free white-glove delivery and hauls away the old mattress.
Frequently Asked Questions
Why does my mattress turn yellow even with regular sheets?
Sheets slow the transfer of sweat and body oils, but they do not stop it entirely. Over months, small amounts seep through and oxidize in the fabric. A waterproof mattress protector under your sheets is the only reliable barrier.
Is hydrogen peroxide safe for all mattress types?
3% hydrogen peroxide is safe for most foam and innerspring mattresses, but it can lighten certain dyed or colored fabrics. Always test on a hidden seam first and let it dry before treating a visible area. Avoid using it on memory foam at full concentration, dilute 50/50 with water for those.
Can I use bleach on mattress stains?
Avoid bleach. It degrades foam, can damage fabric fibers, and leaves chemical residue you will sleep on. Hydrogen peroxide achieves a similar whitening effect without those downsides.
How long does it take for a mattress to dry after cleaning?
With good airflow and a fan, most mattresses dry in 4 to 8 hours. Without airflow, it can take 24 hours or longer. A mattress that feels dry on top may still be damp an inch below the surface, press firmly with a dry cloth to check before remaking the bed.
Does baking soda alone remove yellow stains?
Baking soda absorbs odor and light surface moisture, but it does not lift protein-based yellowing on its own. Sprinkle it after the peroxide treatment to deodorize, not as a standalone stain remover.
Will enzyme cleaners remove old urine stains?
They improve old urine stains significantly, but complete removal depends on how deeply the urine soaked in and how long ago it happened. Fresh stains respond best. For a very old, large urine stain that has reached the foam's core, cleaning reduces odor but may not eliminate it entirely.
The Bottom Line
Hydrogen peroxide, baking soda, and a drop of dish soap remove most yellow sweat and urine stains from a mattress. Apply as a paste, let it dry completely, then vacuum off the residue. For urine, an enzyme cleaner works better on the odor. Dry the mattress thoroughly before remaking the bed, moisture left behind causes more problems than the original stain. A waterproof mattress protector prevents recurrence.
Related: our full Saatva mattress review.