Stain How-To

How to Clean a Mattress (Stains, Smells, and Deep Cleaning)

By Darren Dodson Updated 4 min read

A mattress takes a lot of abuse — sweat, body oils, spilled drinks, and the occasional accident — yet most people rarely clean theirs. A dirty mattress can harbor dust mites, allergens, odors, and staining that builds up over time. This comprehensive guide covers how to clean a mattress from stains and smells, and how to do a proper deep clean.

In this guide
  1. What You’ll Need for Mattress Cleaning
  2. How to Deep Clean a Mattress
  3. How to Remove Specific Mattress Stains
  4. How Often Should You Clean a Mattress?
  5. Preventing Future Mattress Damage
  6. Related guides
  7. Sources and further reading

What You’ll Need for Mattress Cleaning

  • Vacuum with upholstery attachment
  • Baking soda
  • Dish soap (Dawn)
  • Hydrogen peroxide (3%)
  • Cold water in a spray bottle
  • Clean white cloths
  • Enzyme cleaner (for urine or pet accidents)
Illustration: Deep cleaning a mattress in 6 steps: 1. Strip and wash all bedding; 2. Vacuum the mattress thoroughly; 3. Deodorize with baking soda; 4. Treat any stains; 5. Air dry completely; 6. Flip or rotate the mattress.
The main steps at a glance. Each one is explained below.

How to Deep Clean a Mattress

Step 1: Strip and Wash All Bedding

Remove all sheets, pillowcases, mattress protectors, and pillow covers. Wash them in the hottest water the fabric allows — hot water kills dust mites. While those are washing, work on the mattress itself.

Step 2: Vacuum the Mattress Thoroughly

Use the upholstery attachment on your vacuum to go over the entire mattress surface — top, sides, and the head and foot edges. Pay special attention to the seams and tufting where dust, skin cells, and debris accumulate. This step removes the dry surface debris before you apply any moisture.

Step 3: Deodorize with Baking Soda

Sprinkle a generous layer of baking soda over the entire top surface of the mattress. If you want a pleasant scent, mix a few drops of lavender or tea tree essential oil into the baking soda before applying. Let the baking soda sit for at least 30 minutes — several hours or even overnight is better. The longer it sits, the more odors it absorbs. Then vacuum thoroughly to remove all the baking soda.

Step 4: Treat Any Stains

Address visible stains individually (see the stain sections below) before or after the baking soda treatment. Apply stain treatments sparingly — you don’t want to saturate a mattress, as it’s very slow to dry internally and can develop mold or mildew inside if over-wet.

Step 5: Air Dry Completely

After any wet treatment, allow the mattress to air dry fully before replacing bedding. Point a fan directly at the surface, open windows, or ideally move the mattress outside on a dry, sunny day. Putting bedding on a damp mattress traps moisture inside and can lead to mold.

Step 6: Flip or Rotate the Mattress

While you have the mattress exposed, rotate it 180 degrees (head to foot) if it’s not a flip mattress. If yours can be flipped, flip it. This promotes even wear and gives the underside a chance to breathe.

How to Remove Specific Mattress Stains

Urine Stains and Odor

Urine is the most common mattress stain. For fresh accidents, blot immediately with dry cloths — press hard to absorb as much as possible. Then apply an enzyme-based cleaner (Nature’s Miracle, Rocco & Roxie, or similar). Apply enough to reach through the mattress cover layer, let sit 15 minutes, blot up. Cover with baking soda and let dry. For dried urine, re-wet the area first with cold water, then apply the enzyme cleaner and allow it to work for several hours covered with a damp cloth.

Enzyme cleaners also break down vomit. The steps in how to get vomit out of carpet explain the cleanup and what to do if a stomach bug is the cause.

Blood Stains

For blood, use only cold water — never hot, which sets the protein permanently. Mix 1 tablespoon dish soap with 2 tablespoons hydrogen peroxide. Apply sparingly, let sit 10 minutes, then blot with a clean cold damp cloth. Repeat if needed. For dried blood, soak a cloth in cold water, apply to the stain for 30 minutes to rehydrate, then treat.

Sweat Stains (Yellow Discoloration)

Yellow sweat stains are a mix of body oils, proteins, and antiperspirant residue. Mix 1 cup hydrogen peroxide + ½ cup baking soda + 1 tablespoon dish soap into a paste. Apply to the yellow areas, let sit in sunlight for 1–2 hours, then vacuum and blot with a damp cloth.

Food and Drink Stains

Mix dish soap and cold water into a light lather. Apply with a cloth, blot, rinse with a cold damp cloth, and blot dry. For coffee, wine, or fruit juice, a small amount of hydrogen peroxide can help lift the color.

How Often Should You Clean a Mattress?

Most mattress manufacturers and sleep experts recommend a deep clean every 6 months. Spot-clean stains as soon as they happen. If you have allergies, asthma, or pets that sleep on the bed, more frequent cleaning (every 3 months) helps manage allergen load.

Preventing Future Mattress Damage

  • Use a waterproof mattress protector — This single investment will protect against almost all staining and makes future cleaning trivial
  • Wash bedding weekly to reduce the amount of sweat, oils, and allergens that reach the mattress
  • No food or drink in bed — Or accept that spills will happen
  • Keep pets off the mattress (if possible) or use a dedicated pet blanket as a barrier

A clean mattress contributes directly to better sleep quality and a healthier bedroom environment. The process takes some time but is straightforward — and much easier than replacing a mattress prematurely.

Sources and further reading

Always test a cleaner on a hidden spot first and follow the care label. Never mix bleach with ammonia, vinegar, or other cleaners. Ventilate the room and wear gloves when using strong products.

Darren Dodson
Darren (Dylan) Dodson writes and maintains Stain How-To. He is based in Raleigh, North Carolina, and started the site because most stain advice online skips the safety basics or suggests mixing products that should never be combined. He holds a B.S. in Geographic Information Science from UNC Greensboro and an M.S. from NC State University, works as a GIS researcher with NC State's Center for Integrated Pest Management, and founded Dodson Development, a web and app development company. He is not a professional cleaner or chemist; methods are checked against care labels, product instructions and published cleaning guidance, and each guide links its sources.