Quick Answer: A full upright carpet cleaner is the wrong tool for a mattress — its brushroll is too rough for fabric and foam, and its tank puts down more water than foam can safely hold. A portable spray-extraction machine like the Bissell Little Green Max Pet works because it sprays a controlled amount and immediately pulls it back out. The bigger risk isn’t the stain, it’s what happens after: restoration guidance puts the mold-risk window at roughly 24-48 hours of trapped dampness, and most mattress warranties exclude stain and liquid damage outright regardless of how carefully you clean.

Mattresses get treated like oversized couch cushions, but foam behaves nothing like carpet pile once water gets into it. Carpet fiber releases moisture quickly and dries from the top down. Foam traps water several inches deep, long after the surface feels dry — which is exactly why the usual “run the carpet cleaner over it” instinct causes more problems than it solves.

Mattress cleaning risk, by the numbers

Why an upright carpet cleaner is the wrong machine here

Upright carpet cleanerPortable spray-extractor
Cleaning headSpinning brushrollHandheld spray-and-suction tool
Water volumeBuilt for thick carpet pileControlled, low-volume spray
ExtractionDesigned to pull water out of fiber, not foamImmediate suction pass built for fabric and cushion
Risk on foamOversaturation, trapped moisture, mold riskLow if you don't over-spray
Good fit forWall-to-wall carpet, area rugsMattresses, couches, car interiors

A carpet cleaner is engineered around the assumption that whatever water goes in gets pulled back out of fiber that doesn’t absorb it deeply. Foam breaks that assumption — it absorbs water the way a sponge does, and an upright’s brushroll head has no way to extract moisture from several inches down. The same portable-extractor logic that we recommend for upholstery applies here, just with a stricter water budget, since a mattress has nowhere to drain and no one checks underneath it the way they’d check under a couch cushion.

What actually works

Bissell Little Green Max Pet

Portable spray-extraction · best for mattress and upholstery spot-cleaning
  • Sprays solution and extracts it in the same pass — the right balance of water-in/water-out for foam, which can't tolerate the standing water an upright's brushroll leaves behind.
  • Self-cleaning tough-stain tool is sized for a mattress corner or a cushion, not a whole room of carpet.
  • Already our top pick in best upholstery cleaner for the same reason: controlled water, immediate suction, fast dry time.

For the stain itself, a dedicated enzyme formula outperforms whatever’s already loaded in a carpet cleaner’s tank. Rocco & Roxie Professional Strength Stain & Odor Eliminator (~$20 for 32 oz) uses live enzyme cultures that digest uric acid and other protein-based residue from urine, sweat, and similar biological stains — the kind of stain a general-purpose carpet solution only masks rather than breaks down. Spray sparingly, blot rather than rub, and let it sit before extracting.

The bottom line

Skip the upright carpet cleaner on a mattress — its brushroll and water volume are built for carpet pile, not foam, and foam holds trapped moisture long enough to risk mold inside the 24-48 hour window restoration guidance warns about. A portable spray-extractor like the Bissell Little Green Max Pet, paired with an enzyme cleaner for biological stains, gets the job done with the controlled water budget foam actually needs. Dry it fully — 8-12 hours minimum with a fan — before putting sheets back on, and go in knowing most mattress warranties exclude stains regardless of how carefully you clean one up. For the couch and car-interior version of this same job, see our best upholstery cleaner guide, and for the carpet itself, our best carpet cleaner picks cover the machine built for that job specifically. The same trapped-moisture risk applies under wall-to-wall carpet, too — see our carpet padding replacement cost guide for how to tell whether the pad dried out or needs replacing.