Bedwetting accidents, potty-training mishaps, and pet “presents” are a fact of life in most homes. The good news: a pee stain on a mattress is absolutely fixable if you use the right method for the right situation. A fresh, wet stain is one of the easiest stains to remove from a mattress. A dried, set-in stain is harder — but still fixable with the hydrogen peroxide method below.
Quick Answer: To clean a pee stain off a mattress, blot up as much liquid as possible (never rub), spray the stain with a 50/50 mix of white vinegar and cold water, blot again, then cover it with a thick layer of baking soda for 8–10 hours and vacuum it up. For a dried or set-in pee stain, use a stronger mix of 8 ounces of 3% hydrogen peroxide, 3 tablespoons of baking soda, and 1–2 drops of dish soap — spray it on, let it dry completely, then vacuum off the residue. Let the mattress dry fully before remaking the bed.
The difference between a mattress that ends up permanently stained (and smelly) and one that looks and smells brand new is simple: speed, the correct cleaning solution, and patience. This guide covers both.
Why Pee Stains and Odor Are So Hard to Remove
Understanding what’s in pee explains why the method matters. Urine is about 95% water and 5% dissolved compounds — urea, uric acid, ammonia, salts, and (in pet urine) extra proteins. The water and urea wash out easily. The troublemaker is uric acid: it forms tiny crystals with low solubility in water. Those crystals settle into mattress fibers, bond with surfaces, and can’t be fully dissolved by plain soap and water.
Here’s the kicker: uric acid crystals are invisible to the naked eye and can be reactivated by moisture and humidity. That’s why a pee spot that looks clean can start smelling again on a humid night. The smell itself comes from bacteria breaking down the urea in dried urine, releasing ammonia — which is also why you should never use ammonia-based cleaners on a pee stain (more on that in the mistakes table).
This is also why speed matters. While pee is still wet and acidic, the uric acid hasn’t crystallized yet. Once it dries and crystallizes (after roughly 24 hours), removal becomes dramatically harder. A fresh stain you catch tonight is a 30-minute job; a stain from last month is a two-day project.

What You’ll Need: The Cleaning Kit
Everything below is cheap and probably already in your kitchen. Gather it all before you start — you don’t want to leave a half-treated stain sitting while you hunt for a spray bottle.
| Supply | What for | Notes |
|---|---|---|
| Clean white towels or paper towels | Blotting up liquid | White avoids dye transfer onto the mattress |
| Spray bottle | Applying solutions evenly | A clean, empty one — not one that held chemicals |
| White distilled vinegar | Breaking down urine residue | The classic stain-lifting workhorse |
| Baking soda (at least 1–2 cups) | Absorbing moisture and neutralizing odor | You’ll use a lot of it |
| 3% hydrogen peroxide | Breaking down set-in uric acid crystals | Standard brown bottle from the pharmacy; spot-test first |
| Mild dish soap (a few drops) | Cutting through residue | Plain kind, not dishwasher detergent |
| Vacuum with upholstery attachment | Removing dried baking soda | A handheld vacuum works too |
| Fan (optional) | Speeding up drying | A regular room fan pointed at the spot |
For dried stains only, you may also want an enzyme cleaner made for pet or urine odors. Enzymes digest uric acid and proteins in a way that DIY mixes can’t fully match — it’s the closest thing to a guaranteed fix for old, stubborn stains.
Method 1: Fresh Pee Stain (Still Wet)
Act fast. This is the easy scenario — you found the accident while the pee is still wet. From blotting to baking soda, this takes about 20 minutes of active work plus waiting time.
Step 1 — Strip the bed
Remove all sheets, blankets, and the mattress protector. Get them into the washing machine right away — pee washes out of fabric much more easily before it dries. Adding half a cup of white vinegar to the wash cycle helps neutralize odor.
Step 2 — Blot, don’t rub
Press a clean, dry towel firmly into the wet spot. Keep blotting with fresh, dry sections of towel until no more liquid transfers. Never rub or scrub — rubbing pushes urine deeper into the mattress padding, where it becomes far harder to reach.
Step 3 — Spray the vinegar solution
Mix equal parts white distilled vinegar and cold water in your spray bottle. Lightly spray the stained area — damp, not soaked. Let it sit for 10–15 minutes. The vinegar breaks down the urea and helps lift the stain while neutralizing the acidic compounds.
Step 4 — Blot again
Press a clean towel into the dampened area to lift out the vinegar and the dissolved urine with it. Repeat the spray-and-blot cycle once more if the stain is large or the towel still picks up yellow color.
Step 5 — Bury it in baking soda
Sprinkle a generous, thick layer of baking soda over the entire damp area — don’t be shy. The baking soda pulls remaining moisture up out of the mattress and absorbs the ammonia odor. Leave it for at least 8 hours (overnight is ideal).
Step 6 — Vacuum and check
Vacuum the dried baking soda off with the upholstery attachment. Inspect and sniff. If any stain or smell remains, repeat steps 3–5. Two rounds is normal for a larger accident.
Method 2: Dried or Set-In Pee Stain
If the stain has already dried — a discovery you made hours or days later — vinegar alone won’t cut it. The uric acid has crystallized, and you need the stronger hydrogen peroxide mix to break it down.
Spot-test first: spray a tiny amount of the solution on a hidden corner of the mattress and wait 10 minutes. Hydrogen peroxide can lighten some fabrics. If there’s no discoloration, proceed.
The dried-stain solution:
- 8 ounces (1 cup) of 3% hydrogen peroxide
- 3 tablespoons of baking soda (add slowly to minimize fizzing)
- 1–2 drops of mild liquid dish soap
Stir gently in a bowl — don’t shake. Pour into your spray bottle, but note that baking soda can clog the nozzle over time; stirring in a bowl and applying promptly avoids the clog.
Step 1 — Vacuum the dry area
Remove any surface dust or debris from the stain area first so the solution contacts the stain directly.
Step 2 — Spray liberally
Spray the solution over the stain and slightly beyond it, dampening the area well enough that the liquid soaks into the dried urine. For very old stains, covering the area with plastic wrap after spraying slows evaporation and gives the solution more working time — leave it 6–8 hours this way.
Step 3 — Let it dry completely
This is the part that tests your patience: let the treated spot air-dry fully, at least 6–8 hours. As the liquid evaporates, the baking soda forms a dry, crusty layer that traps the broken-down stain.
Step 4 — Vacuum and inspect
Vacuum off the crusty residue. Check the spot in daylight — stains can look gone under dim bedroom light. Repeat the treatment for stubborn old stains; some need two or three rounds.
A note on hydrogen peroxide and foam: avoid heavy use on memory foam, latex, or polyfoam if possible — peroxide can damage foam cores and cause discoloration, and it’s safer on traditional innerspring mattresses. When in doubt, test first and use a lighter mist rather than soaking.
For more on using hydrogen peroxide safely on delicate household items, see our guide on cleaning a dental retainer with hydrogen peroxide — the same spot-test-first principle applies everywhere.
Getting Rid of the Pee Smell
The stain and the smell are two separate battles. If the stain is gone but the odor lingers:
- Overnight baking soda treatment. Cover the spot with a fresh thick layer of baking soda and leave it overnight (8–10 hours), then vacuum. This single step eliminates most leftover odor.
- Enzyme cleaner. Apply an enzyme-based cleaner made for urine or pet odors according to the bottle directions. The enzymes digest the uric acid crystals and proteins that DIY methods leave behind. This is the strongest option for pet urine, which contains more proteins than human urine.
- Repeat, don’t upgrade. If the smell persists after one round, repeat the baking soda step before assuming you need stronger chemicals. Stubborn smells usually need a second round, not a harsher product.

What NOT to Do: 6 Mistakes That Make It Worse
| Mistake | Why it backfires |
|---|---|
| Rubbing or scrubbing the stain | Pushes urine deeper into the mattress padding |
| Using hot water or a steam cleaner | Heat sets the protein stain permanently and locks in the smell; damages foam |
| Using bleach | Damages mattress fibers and foam; can void your warranty; creates harsh fumes |
| Using ammonia-based cleaners | Urine already smells like ammonia — adding more just intensifies the odor |
| Soaking the mattress | Excess liquid pools inside, inviting mold and mildew; use damp, not wet |
| Making the bed before it’s fully dry | Trapped moisture = mold, mildew, and a smell that returns with a vengeance |
How Long Does a Mattress Take to Dry?
Drying time depends on how much liquid went in, the mattress type, and airflow.
| Situation | Approximate drying time |
|---|---|
| Fresh-stain vinegar treatment | 2–4 hours with a fan |
| Dried-stain peroxide treatment | 6–8 hours (overnight recommended) |
| Memory foam mattress | Add 50–100% to the times above — foam holds moisture |
| Innerspring mattress | Dries faster thanks to airflow through the coils |
| Baking soda sitting time | 8–10 hours (doesn’t count as “wet” time) |
Speed it up: point a fan directly at the damp spot and keep the room ventilated. If you can, do the cleaning in the morning so the mattress dries through the day. Never use a hair dryer or heater on the spot — heat sets urine stains.
Child vs. Pet vs. Adult Accidents: Adjusting the Method
The core method is the same, but the details differ:
| Factor | Child (bedwetting) | Pet | Adult (incontinence) |
|---|---|---|---|
| Frequency | Often repeated over weeks | Usually isolated | Can be recurring |
| Urine composition | Standard human urine | Higher protein content, stronger uric acid | Standard human urine |
| Key adjustment | Add a washable bed mat during potty training | Finish with an enzyme cleaner made for pet odors | Consider a waterproof protector as standard |
| Best prevention | Bed mat + protector layers | Keep pets off the bed until trained | Full mattress encasement |
For pet accidents, don’t skip the enzyme cleaner — pet urine’s extra proteins are exactly what makes the smell return after a vinegar-only treatment.
How to Protect Your Mattress From Future Accidents
Cleaning a mattress is a chore; preventing the stain is a one-time setup. Ranked from most effective to least:
- Waterproof mattress protector under your bottom sheet. After an accident, the sheet and protector go in the wash while the mattress underneath stays bone dry. This single item prevents nearly 100% of future incidents.
- Washable bed mat on top of the sheet during bedwetting or house-training phases. It has a waterproof backing — after a nighttime accident, you swap the wet mat for a dry one and go back to sleep.
- A spare set of sheets and a protector ready to go. At 3 AM, you want a swap you can do half-asleep.
- Nighttime routines. For kids, a bathroom trip right before bed and limited fluids in the hour before sleep reduce frequency. For pets, an evening walk does the same.
When to Call a Professional (or Replace the Mattress)
DIY covers the vast majority of cases, but be honest when it’s beyond home remedies:
- The stain has survived three full treatment rounds and still smells — a professional mattress cleaning service ($150–$400) has extraction equipment you don’t.
- The mattress is still under warranty — check the manufacturer’s care instructions first. Some warranties are voided by DIY cleaning, so a pro (or the manufacturer) may be the safer route.
- There’s mold or mildew — if the spot has dark discoloration that grows, or smells musty rather than like urine, you’re dealing with mold. That’s a health issue; professionals or replacement is the answer.
- The mattress is old and sagging anyway — if it was already on its way out, an accident is a reasonable excuse to replace it rather than restore it.
Frequently Asked Questions
Does pee ruin a mattress?
No — not if you clean it promptly and let it dry completely. A fresh pee stain comes out fully with the vinegar and baking soda method. Pee only ruins a mattress when it’s left to sit untreated, soaking deep into the padding where mold and permanent odor take hold.
Will pee smell go away on its own?
No. The ammonia smell comes from bacteria breaking down urea in dried urine, and it won’t fade without treatment. Baking soda pulls out most of the smell; an enzyme cleaner removes the rest.
Can I use a steam cleaner on a urine stain?
No. The heat sets the proteins in urine, making the stain and smell permanent. On memory foam and latex, heat also damages the core material itself.
Can I use bleach on a pee stain?
Never use bleach on a mattress. It damages fibers and foam, creates harsh fumes, can discolor the fabric, and may void your mattress warranty. Vinegar, baking soda, and 3% hydrogen peroxide remove urine without harming the mattress.
How long should baking soda sit on a pee stain?
At least 8 hours — overnight is ideal. The longer it sits, the more moisture and odor it pulls out of the mattress. Don’t vacuum it up while it’s still damp.
Why does the pee smell come back after cleaning?
Uric acid crystals can be reactivated by moisture and humidity, so a spot that seemed clean can smell again on a humid night. A second baking soda treatment — or an enzyme cleaner — breaks down the crystals fully.
Is hydrogen peroxide safe for all mattresses?
3% hydrogen peroxide is generally safe for traditional innerspring mattresses, but always spot-test first because it can lighten some fabrics. Use caution on memory foam and latex — it can damage foam cores and cause discoloration, and a lighter mist is safer than soaking.
What’s the difference between cleaning fresh vs. dried pee stains?
Fresh (wet) stains respond to the gentle vinegar-and-baking-soda method — 30 minutes of work. Dried stains need the stronger hydrogen peroxide, baking soda, and dish soap mix, plus 6–8 hours of drying time and possibly a second round.
Can I sleep on the mattress while the baking soda is working?
If you only need a few more hours of baking soda time, sleeping on it isn’t dangerous — but it’s impractical. Plan the cleaning for the morning so the mattress is ready by bedtime, or sleep elsewhere that night.
How do I clean pee from a memory foam mattress?
Use less liquid than you would on a regular mattress — mist lightly instead of soaking, blot between passes, and let the foam dry fully before remaking the bed. Memory foam holds moisture much longer than innerspring, so give it extra drying time and consider the gentler vinegar method before trying peroxide.
The Bottom Line
Cleaning a pee stain off a mattress comes down to three things: blot up the liquid fast, use the right solution for fresh (vinegar + baking soda) or dried (hydrogen peroxide + baking soda + dish soap) stains, and give the mattress time to dry completely. Add a waterproof protector afterward, and the next accident becomes a laundry problem instead of a mattress problem.