
A foam mattress soaks up liquid like a sponge, so urine accidents need a careful, low-moisture approach. Here is the method professional cleaners and sleep brands recommend, plus the mistakes that ruin foam.
Waking up to a urine stain on a foam mattress is stressful, but you almost never need to throw the bed out. The trick with memory foam and other all-foam mattresses is that they behave like sponges - they pull liquid deep into the layers, so the wrong cleaning move (soaking, scrubbing, bleach) does more damage than the accident itself.
Below is the low-moisture, foam-safe method that lines up with the consensus from Sleep Foundation, GhostBed, and Leesa. Work fast - fresh stains pull out far more cleanly than dried ones.
Skip bleach and ammonia - both can break down memory foam and the polyurethane layers underneath. An enzyme cleaner is a useful add-on for old or repeat stains because it digests the uric acid that ordinary soap can't.

Pull off sheets, mattress protector, and any pillows that touched the spot. Get them straight into the washing machine with detergent and a cup of white vinegar - vinegar neutralizes the ammonia smell that gives urine its kick.
Tempur-Pedic owners face the same first-five-minutes window, but the foam itself behaves differently from generic memory foam - see how to clean a tempurpedic mattress with urine on it.
Press a dry cloth or stack of paper towels straight down on the stain. Stand on it if you have to. Rotate to a dry section as it saturates and keep going until almost nothing transfers. Rubbing in circles drives the liquid deeper into the foam - the exact thing you're trying to avoid.
In your spray bottle combine equal parts cool water and white vinegar, plus 3-4 drops of dish soap. Mist the stain - don't drench it. The goal is to dampen the surface, not to push more liquid into the foam. Let it sit 10-15 minutes, then blot dry with a clean cloth.
For stronger or set-in stains, swap the vinegar mix for a peroxide solution: 8 oz of 3% hydrogen peroxide, 3 tablespoons of baking soda, and a couple of drops of dish soap. This is the same mix Sleep Foundation and most foam-mattress brands recommend for older stains. Mist lightly, let it air-dry, and vacuum the residue.

Sprinkle a thick layer of baking soda over the treated area - don't be shy, you want it visibly white. Leave it for at least 8 hours, or overnight. Baking soda pulls residual moisture out of the foam and absorbs the ammonia compounds responsible for the smell. This is the step that actually draws urine out of the mattress - the vinegar mist breaks down the stain, and the baking soda then wicks the dissolved residue up to the surface where you can vacuum it away.
Use the upholstery attachment on a low setting. Run it over the area in slow, overlapping passes until no more powder lifts. If the mattress still smells, repeat the baking-soda step rather than reaching for a heavier chemical.
Foam holds residual moisture you can't see, and trapped moisture is what grows mold inside the layers. Stand the mattress on its side near an open window, point a fan at it, or run a dehumidifier in the room. Don't put sheets back on for at least 6-8 hours, and longer if the air is humid.
If this was the first accident, it probably won't be the last - especially with toddlers, pets, or anyone in a recovery bed. A waterproof mattress protector is the single highest-leverage thing you can buy after a urine incident. Choose one with a quiet, breathable membrane (TPU or cotton terry over a polyurethane backing) so it doesn't sleep hot or crinkle.
Dried urine forms uric-acid crystals that bond to the foam. Vinegar masks the smell for a day or two; only an enzyme-based pet cleaner (Nature's Miracle, Rocco & Roxie, Angry Orange) actually breaks those crystals down. Saturate just the stained area, let it sit per the bottle's instructions, blot, and finish with the baking-soda step above.
If after two passes the smell still returns when the mattress warms up, the urine has likely soaked through the cover into deeper foam layers. At that point a professional upholstery cleaner or a foam replacement is the realistic call - the inside of the mattress isn't something a spray bottle can reach.
We carry foam, hybrid, and adjustable mattresses with washable, replaceable covers and waterproof protectors at all of our showrooms.
Pet urine is more concentrated than human urine, and cats in particular leave behind a sulfur smell that ordinary cleaners can't touch. Skip the vinegar mix entirely on pet accidents - vinegar smells enough like ammonia to invite repeat marking. Go straight to an enzyme cleaner, then baking soda.
Yes, in almost every case. Fresh stains come out cleanly with a vinegar-water-dish-soap mist followed by baking soda. Set-in stains usually need a hydrogen-peroxide mix or an enzyme cleaner. The mattress is only beyond saving if the urine has fully soaked through the cover into the deep foam layers and the smell keeps returning after multiple cleanings.
Vinegar is best for fresh stains because it neutralizes ammonia odor on contact. Hydrogen peroxide (3%) is better for older or set-in stains because it breaks the chemical bonds in dried urine. Most foam-mattress care guides recommend trying vinegar first and escalating to a peroxide-baking-soda mix only if the smell persists.
Dish soap on its own won't fully break urine down, but a few drops mixed into either a vinegar-water solution or a hydrogen peroxide-baking soda solution helps lift the stain by breaking the surface tension. Skip detergents with heavy fragrance or dye - they can leave their own residue in the foam.
Brief, light moisture is fine - foam is designed to handle some humidity. The problem is prolonged saturation: water trapped deep in the foam grows mold and weakens the cell structure. That's why low-moisture cleaning (mist, blot, baking soda) and full air-drying matter so much.
No. Steam cleaners and carpet shampooers force moisture deep into the foam, which is exactly the opposite of what foam needs. Stick with mist-and-blot cleaning, baking soda, and full air-drying.
At least 6-8 hours of active drying - fan, open window, or dehumidifier - and longer if you live somewhere humid. Press a dry paper towel into the area before remaking the bed; if anything transfers, keep drying.
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.
