Memory foam mattresses offer unmatched comfort, but their unique structure can make cleaning tricky. Cleaning a memory foam mattress is essential for comfort, hygiene, and extending the life of your mattress, since they are highly absorbent and sensitive to heat and moisture.
But make even just one mistake, and you could end up with warped foam or mold growth.
This guide walks you through the safest methods to keep your foam mattress fresh without causing damage.

Why Cleaning a Memory Foam Mattress Matters
Regular light cleaning can extend the life of a foam mattress well beyond the typical 7-10 years[1], but poor maintenance can cut that short. But poor maintenance and cleaning can shorten that lifespan to as little as 5 years. To understand what factors affect longevity, see our guide on how long a memory foam mattress lasts.
Memory foam is comfortable because of its structure, which responds to your body’s temperature and pressure. However, this same structure traps sweat, body oils, and allergens deep inside over time, making it important to clean memory foam mattresses carefully.
Even when a mattress looks clean on the surface, odors, excess moisture, and allergens can build up deep inside the memory foam, affecting sleep quality and mattress longevity.
Gather Your Memory Foam Cleaning Supplies
Tools you’ll need:
- Vacuum cleaner with upholstery attachment: Removes dust, hair, and debris
- Several clean white microfiber cloths: For blotting and applying cleaners
- Small spray bottle: For controlled application of solutions
- Measuring cup: Ensures proper dilution ratios
- Portable or box fan: Speeds drying time
Cleaning solutions:
- Mild liquid laundry detergent (dye-free preferred)
- Distilled white vinegar (5% acetic acid)
- Baking soda (sodium bicarbonate)
- Optional: 3% hydrogen peroxide for tough stains on light-colored fabrics
Step-by-Step: How to Clean a Memory Foam Mattress
This routine takes you from stripping bedding to a completely dry, fresh-smelling mattress. Plan for the process to take most of a day, as proper drying is non-negotiable. It’s important to address any stains promptly and not let stains dry, as dried stains are much harder to remove.
Step 1: Strip the Bed and Wash All Bedding
-
1
Remove sheets, blankets, comforter, mattress protector, and any foam topper. Place all washable items in the laundry. -
2
Wash sheets and pillowcases in hot water. Clean removable mattress covers or protectors separately on a gentle cycle, then dry on low or line dry. -
3
If the mattress cover is not removable, treat it as part of the mattress. Do not try to remove or machine wash it.
Step 2: Vacuum the Mattress Surface
Regularly vacuuming your mattress removes dirt, dust, hair, dead skin cells, and crumbs that attract dust mites and cause odors. This step alone can significantly reduce allergen levels in your bedroom.
Follow these steps for effective vacuuming:
-
1
Attach the upholstery tool to your vacuum and set suction to low or medium. -
2
Slowly vacuum the entire mattress surface. -
3
Focus on seams, tufting, and edges where debris collects. -
4
Repeat every 1-2 months to reduce dust and allergens.
Step 3: Spot Clean Fresh Spills and Stains
Accidents happen, and speed matters. When you catch spills immediately, you can remove up to 80-90% of the liquid before it penetrates the foam.
-
1
Blot fresh spills with a dry cloth or towel. Never rub, since it spreads liquid and pushes moisture deeper into the foam. -
2
Mix a cleaning solution: 1 teaspoon mild dish soap or laundry detergent with 1 cup lukewarm water in a spray bottle. -
3
Lightly spray the cloth, not the mattress, then dab from the outside of the stain inward. -
4
Use minimal liquid and blot with a dry towel to absorb moisture while lifting the stain.
Step 4: Tackle Set-In Stains (Sweat, Food, Light Urine)
Older yellow or brown discoloration from sweat or long-dried spills needs a slightly stronger approach. Sweat stains develop through chemical reactions between proteins and fabric over time, and they won’t respond to water alone.
-
1
Mix equal parts distilled white vinegar and water with one drop of mild detergent. -
2
Test the solution on a small hidden area to check for color changes. -
3
Apply the solution to a cloth and gently dab the stain. -
4
Blot immediately with a clean dry cloth to remove moisture. -
5
Repeat the dabbing and drying process if the stain remains.
Step 5: Deodorize with Baking Soda
Baking soda absorbs moisture and neutralizes odors trapped in the mattress surface. As a natural deodorizer, it can adsorb volatile compounds and many times its weight in moisture.
-
1
Sprinkle a light, even layer of baking soda across the mattress, focusing on areas with stronger odors. -
2
Let it sit for at least 4 hours, ideally 8-24 hours with good airflow. -
3
Vacuum the baking soda thoroughly once the waiting period ends. -
4
Move slowly over seams and edges where powder collects.
Step 6: Let the Mattress Air Dry Completely
This step is non-negotiable. Moisture buildup inside memory foam creates conditions where mold thrives, and black spots indicating spores can release toxic compounds that affect respiratory health.
-
1
Prop the mattress on its side if possible and aim a fan at any damp areas. -
2
Let it air dry in a well-ventilated room for several hours. Drying can take 6-12 hours, or up to 24 hours in humid conditions.
Remember:
- Do not use hair dryers, space heaters, or place the mattress in direct hot sunlight to speed drying.
- Avoid temperatures above 140°F as they can melt or deform foam cells.
- Do not use steam cleaners reaching 200-300°F, which cause even worse damage.[2]
- Patience here prevents permanent problems.
How to Treat Specific Memory Foam Mattress Stains
Different stains require different approaches based on their chemical composition. All methods should still avoid soaking the foam, and spot-test any solution in an inconspicuous area first.
Urine Stains and Odors
Fresh urine, treated immediately, responds well to standard cleaning.
-
1
Blot the area thoroughly to remove as much liquid as possible. -
2
Apply a vinegar solution of equal parts white vinegar and water to help neutralize ammonia odors. -
3
Once partially dry, cover the spot with baking soda and let it sit overnight.
Older urine stains on light fabrics may need hydrogen peroxide.
-
1
Mix 1 part hydrogen peroxide with a small amount of dish soap and baking soda to form a paste. -
2
Apply carefully, since peroxide may bleach colored fabrics.
Urine penetrates deep into memory foam, so expect extended drying times of 12-24 hours. Use fans or a dehumidifier to further evaporate.
Blood Stains
Blood responds best to cold water, since hot water will cause the blood to set permanently. Use a cloth dipped in cold water with a small amount of gentle detergent to dab the spot.
For white covers with stubborn blood stains, 3% hydrogen peroxide can help break down the heme compounds. Apply sparingly and blot quickly. Avoid peroxide entirely on colored or patterned fabrics unless you’ve tested a hidden area first.
Act quickly with blood. Stains blotted within 10 minutes show better removal rates than those left to dry.
Vomit and Other Organic Messes
-
1
Remove solids with paper towels or disposable gloves. Bag and discard the waste before using any liquid cleaners. -
2
Blot remaining moisture, then apply a vinegar solution to break down residue and neutralize odors. -
3
When slightly damp, cover the area with baking soda and let it sit for several hours before vacuuming.
Severe contamination with lingering odors may justify replacing the mattress entirely. At some point, the cleaning cost and effort aren’t worth trying to salvage the mattress. In this case, professional mattress removal is your best option.
When It’s Time to Replace (and Responsibly Dispose Of) Your Mattress
Sometimes, a memory foam mattress is beyond cleanable replacement is needed. If you notice any of these red flags, it is time to start new:
- Deep sagging that doesn’t let up
- Strong odors that return quickly after cleaning
- Visible black or green mold spots
- Extensive staining covering large portions of the mattress
- Mattress age approaching 7-10 years
When a mattress reaches this point, cleaning becomes a losing battle. The foam structure has degraded, and no amount of baking soda or vinegar will restore it. If the mattress is still structurally intact but simply too far gone to clean, you may also want to read our guide on how to cut up an old foam mattress for safe and manageable disposal.
Mattress Disposal Plus offers a straightforward solution. As a nationwide service, we connect you to local pros who pick up old mattresses, box springs, and bed frames from homes and commercial properties, and donate useable items.
Most mattress removal companies require on-site estimates, leading to unpredictable pricing and surprise fees. With us, you can get an instant price by booking online and know what you owe before your mattress haulers show up at your door.
Take the hassle out of mattress removal today. Book online for fast, transparent, and eco-friendly service you can trust!
Memory Foam Mattress Clean FAQ
Cleaning a memory foam mattress is a process that requires patience to ensure the best results without damaging the foam. Typically, the entire cleaning routine, from spot cleaning stains to deodorizing with baking soda, can take a few hours. The most critical part is allowing the mattress to air dry completely, which usually takes several hours to prevent moisture buildup and mold growth. Planning for a few hours of drying time helps maintain the mattress’s comfort and longevity.
For a thorough deep cleaning, create a mixture of water and white vinegar in equal parts. Lightly mist the mattress surface with this solution and allow it to sit for a few minutes. Then, gently blot the area using a clean cloth to lift dirt and odors. Ensure the mattress is dried completely afterward to prevent moisture buildup.
For most people, vacuuming every 1-2 months is sufficient for routine maintenance. A baking soda deodorize every 3-6 months helps keep odors under control, while a full deep clean once or twice a year is recommended for hygiene. Spot clean any spills or stains immediately as they happen, since fresh stains are significantly easier to remove than dried ones.
A simple homemade remedy can effectively tackle urine stains. Mix equal parts white vinegar and water in a spray bottle and saturate the affected area. Afterward, sprinkle a generous layer of baking soda over the spot. This combination helps neutralize odors and lift urine stains, making it particularly useful for pet accidents.
Yes, the same principles apply: no soaking, no machine washing, and no heat drying. Vacuum both sides regularly, spot clean stains with a lightly dampened cloth and a diluted vinegar solution, and deodorize with baking soda as needed. Because toppers are thinner than a full mattress, they are more prone to moisture damage, so use minimal liquid and allow plenty of drying time before putting the topper back on the bed.
Yes, using a diluted vinegar solution made from equal parts distilled white vinegar and water is safe for memory foam mattresses. This spray acts as a natural disinfectant without leaving a strong vinegar odor, helping to sanitize the mattress surface gently.
To address yellow discoloration, prepare a cleaning solution by mixing two parts warm water, one part hydrogen peroxide, and one part baking soda. Spray this mixture evenly over the stained areas without soaking the mattress. Use a clean cloth to gently rub the solution into the stains, focusing on the darkest spots for better results.
