• Mattress Guides
    • Best Mattresses

    • Dr. Jordan Burns Tested 40+ Mattresses to Find the Best Mattress of 2026
    • For Side Sleepers
    • For Back Pain
    • Mail Order Mattress
    • Cooling Mattresses
    • Eco-Friendly Mattresses
    • Mattress Types

    • Fiberglass Free Mattresses
    • Memory Foam Mattresses
    • Hybrid Mattresses
    • Innerspring Mattresses
    • Soft Mattresses
    • Firm Mattresses
    • Mattress Reviews

    • Amerisleep AS3 Mattress Review
    • Zoma Boost Mattress Review
    • Vaya Hybrid Mattress Review
    • Organica Mattress Review
    • Saatva Classic Mattress Review
    • Nolah Evolution 15 Mattress Review
    • Mattress Guides

    • Mattress Buying Guide
    • Mattress Sizes
    • Mattress Foundation Sizes
    • Bed Frame Sizes
  • Bedding Guides
    • Best Pillows

    • Best Memory Foam Pillows
    • Best Pillows for Side Sleepers
    • Best Pillows
    • Comparisons

    • Cotton vs. Microfiber
    • Duvet vs. Comforter
    • FAQs

    • How to Wash Pillows?
    • How Often to Replace Every Type of Pillow?
    • How Long Does it Take to Dry Clean a Comforter?
  • Mattress Resources
    • Mattress Comparison

    • Memory Foam vs. Pillow Top
    • Memory Foam vs. Spring
    • Memory Foam vs. Latex
    • Hybrid vs. Memory Foam
    • Gel Memory Foam vs. Latex
    • Size Comparison

    • King vs. California King
    • King vs. Queen
    • Queen vs. Full
    • Full vs. Twin
    • Twin vs. Twin XL
    • Solutions

    • Mattress Quiz
    • How to Fix a Sagging Mattress
    • How to Fix a Too Soft or Too Firm Mattress
    • How to Dispose of an Old Mattress
  • Sleep Health
    • How-To

    • How to Power Nap Successfully for More Energy
    • How to Stop Snoring
    • How To Wake Up Early? 8 Benefits To Waking Up Early
    • How to Sleep on Your Back
    • Dreams

    • How to Lucid Dream: Techniques, Benefits, and Risks
    • Night Terrors vs. Nightmares
    • What is a Fever Dream?
    • Natural Sleep

    • Natural Herbs For Sleep
    • Essential Oils for Sleep
Home / Mattress Resources / How to Clean a Memory Foam Mattress?
Mattress Resources

How to Clean a Memory Foam Mattress?

by Rosie Osmun CERTIFIED SLEEP COACH Comment on How to Clean a Memory Foam Mattress?
Illustration of stacked white mattress layers rising from lavender clouds inside a turquoise circle.

Eachnight may earn commissions for products you purchase through our links. Our articles and reviews include affiliate links and advertisements, including amerisleep advertising. Learn more

Updated October 30, 2026

Every mattress we recommend is tested hands-on by Dr. Jordan Burns, DC, MS, using our standardized product testing methodology. Each mattress is evaluated using the same criteria, including support, pressure relief, cooling, motion isolation, edge support, responsiveness, and overall value, so every recommendation is directly comparable. Our rankings are based on firsthand testing, consistent scoring, and regular updates as products change, not on manufacturer marketing claims.

Key Takeaways

  • Regular cleaning preserves comfort, hygiene, and lifespan. Memory foam absorbs sweat, dust, and allergens over time, so monthly vacuuming, prompt stain treatment, and deodorizing with baking soda help prevent odors, buildup, and premature breakdown.
  • Use minimal moisture and avoid harsh chemicals. Memory foam is highly absorbent and sensitive to heat and strong cleaners—always spot clean with mild detergent or diluted vinegar, blot gently (don’t scrub), and never soak or steam the mattress.

  • Prevention is the best long-term strategy. A waterproof mattress protector, proper foundation support, regular rotation, and allowing full drying after cleaning protect your mattress warranty and extend its durability.

If you’re searching for how to clean a memory foam mattress, the most important thing to know is this: memory foam requires a gentle, low-moisture cleaning approach.

Because it’s highly absorbent, using too much water, steam, or harsh chemicals can damage the foam and lead to mold or permanent breakdown.

Over time, memory foam mattresses collect sweat, body oils, dust mites, and allergens that can cause odors and reduce comfort. Proper cleaning not only removes stains and smells but also helps preserve support, extend mattress lifespan, and maintain warranty protection.

In this step-by-step guide, you’ll learn the safest and most effective way to vacuum, spot clean, deodorize, and dry a memory foam mattress — without damaging the material.

How to Clean a Memory Foam Mattress, Step by Step

1. Strip the Bed

Start by completely removing everything from your mattress, including bed sheets, pillowcases, mattress protectors, comforters, and any toppers or blankets you may be using. This step is essential not only to expose the mattress surface but also to prevent cross-contamination while cleaning. 

All your bedding should be washed separately—preferably in hot water if the fabric allows—to remove dust mites, bacteria, and allergensVerified Source National Library of Medicine (NIH)World’s largest medical library, making biomedical data and information more accessible.View source that may have accumulated over time. 

Pay attention to your mattress protector or encasement, as these can harbor sweat, skin oils, and spills that might seep through to the mattress underneath. Stripping the bed fully ensures you’re working with a clean, unobstructed surface and also helps keep your sleeping environment more hygienic overall.

2. Vacuuming

The simplest and most effective way to lift the detritus is through a handheld vacuum cleaner or an upholstery attachment. These cleaning devices are easy to handle— anything larger might cause the mattress fabric to rip.

Vacuum the mattress surface at least once a month. Doing it when you change your sheets makes it easy to remember. Keep these tips in mind:

  • Buttons and crevices will need thorough vacuuming.
  • Make sure to get in the nooks and crannies as dead skin cells and dust build up in those areas.
  • Remember to vacuum the sides of your bed.
  • Vacuum the underside of your mattress every time you rotate it, about every 3 to 6 months. Most memory foam mattresses are one-sided, so flip yours only if the care guide says you can.
  • If you have a pet, use a vacuum specifically designed to pick up pet dander and hair.

3. Removing Dried Stains

EachNight graphic: Four steps for removing dried stains from your mattress.

Once you’ve discovered a stain, it’s best to take care of it right away. We encourage quickly cleaning fresh stains as the spot will lift more easily. However, if you couldn’t get to the spot in time, you can still lift the stain with a little elbow grease.

A zipper does not mean a mattress cover is removable or washable. Keep the cover closed unless the instructions for your exact mattress expressly permit removal, and follow those instructions for cleaning.

Using harsh chemicals such as bleach will damage the foam materials. Instead, add a small amount of mild detergent to a spray bottle of cool water and shake to mix. Lightly mist the stain. The fabric should feel damp, not wet.

Using too much of the solution can risk the integrity of the materials. A memory foam mattress is like a sponge, absorbing moisture and drying slowly. If the mattress isn’t able to dry within 24 hours, it may develop mildew or mold.

  1. After misting the stain, gently blot it with a clean white cloth. Rubbing or pressing too hard may drive the cleaning solution into the foam.
  2. Once the stain is removed, blot the area with a clean, damp cloth to lift any remaining solution.
  3. To dry the mattress quickly, press a clean, dry cloth to the wet spot, absorbing excess water. Then let the mattress air dry under a fan in a well-ventilated room. Once the foam is dry, place clean sheets on the mattress.

Tough Stains

EachNight graphic: Three steps for removing tough stains from your mattress.

For tougher stains, a mixture of equal parts white vinegar and cool water can help lift the stain. Vinegar’s acetic acid does have antimicrobial properties, but lab researchVerified Source National Library of Medicine (NIH)World’s largest medical library, making biomedical data and information more accessible.View source found it only disinfects at concentrations much stronger than a diluted cleaning mix, so treat it as a stain and odor remover, not a sanitizer. Mix it in a bowl rather than a spray bottle.

  1. Dip a clean white cloth into the solution, wring it out well, and blot the stain.
  2. Blot away the excess solution with a clean, damp cloth.
  3. Press a dry towel to the wet spot to absorb excess water, then air dry under a fan.

Liquid Stains

EachNight graphic: Four steps for removing liquid stains from your mattress.

Accidents happen no matter your age. Spilling a dark color drink can be difficult to clean, but it’s easier if you clean it as soon as you can.

  1. Use paper towels to absorb as much of the liquid as possible. Repeat until the towels are no longer absorbing moisture.
  2. Lightly mist the area with equal parts white vinegar and water, then absorb the liquid again with a paper towel.
  3. Sprinkle the wet spot with baking soda and let it sit for 8 to 10 hours. The baking soda will absorb the moisture and odor.
  4. Vacuum the baking soda up. You’ll want to let the spot fully dry before putting clean sheets on the mattress. If an odor remains, sprinkle more baking soda on the spot, let it sit, and vacuum again.

4. Deodorize With Baking Soda

Once any treated spots are dry, sprinkle a thin, even layer of baking soda across the mattress surface (skip this if you already used it to treat liquid stains). Let it sit for several hours, ideally overnight, to absorb lingering odors and moisture.

5. Vacuum Again

Once the baking soda has had time to work, remove it along with the absorbed moisture, odors, and residue. Use a vacuum cleaner with an upholstery attachment to thoroughly vacuum the entire surface of the mattress.

Pay special attention to seams, indentations, and edges, as baking soda tends to collect in these areas. Move slowly in overlapping passes to ensure no powder is left behind, as any residue can irritate the skin or lungs if disturbed later. 

If your vacuum has a HEPA filter, even better—it will capture fine dust and allergens more effectively. This final vacuuming not only cleans the mattress surface but also fluffs up the memory foam slightly, helping it maintain its texture and responsiveness.

Quickly Dry Your Memory Foam Mattress

As we said, memory foam mattresses are like sponges. They absorb moisture readily and dry slowly because of their density. Even mold-resistant mattresses shouldn’t stay damp for long.

Excess moisture can lead to unpleasant odors, bacterial buildup, or even minor mildew growth if left unchecked. Over time, this can affect the comfort and hygiene of the mattress, especially in humid climates where drying takes even longer.

It’s critical to make sure the room is well-ventilated when cleaning. Opening the door and window will help ensure quick drying of your mattress, and fresh airflow has another upside: a research reviewVerified Source National Library of Medicine (NIH)World’s largest medical library, making biomedical data and information more accessible.View source found natural ventilation may help limit the spread of airborne germs indoors.

If possible, set the mattress in a bright, airy spot out of direct sun. Steady airflow does more to speed drying than heat.

A fan or a hair dryer on the cool setting can speed up drying. Avoid warm or hot settings, which can damage the foam. Even a ceiling fan can help speed up the drying process despite the distance between it and the bed.

You can also prop the mattress upright against a wall or over two chairs to allow airflow on both sides, further accelerating the drying time. For thicker mattresses, this step is especially useful, as the center retains moisture the longest. If you’re dealing with a significant spill, running a dehumidifier in the room can also help draw out hidden dampness.

How to Keep Your Memory Foam Mattress Clean?

The first step in mattress care is protecting your bed from damage and debris. While vacuuming and spot cleaning keeps your mattress clean, mattress protectors and encasements willVerified Source National Library of Medicine (NIH)World’s largest medical library, making biomedical data and information more accessible.View source prevent damage and protect against things like dust mitesVerified Source National Library of Medicine (NIH)World’s largest medical library, making biomedical data and information more accessible.View source, dust, pollenVerified Source Centers for Disease Control and Prevention (CDC)The United States’ health protection agency that defends against dangers to health and safety.View source, and bed bugs.

Waterproof protectors and encasements offer protection to those who enjoy snacks and beverages in bed. Even a mold-resistant or hypoallergenic mattress can benefit from an extra barrier of protection.

There are some mattress companies that require their mattresses to be covered by a mattress protector or encasement to keep the warranty intact. Many warranties exclude stains or discoloration, so check yours.

A mattress topper can also offer some protection, but the protection is minimal. Liquids can soak through the material and there is no side protection, leading to debris collection on the mattress surface.

What NOT to Do When Cleaning Memory Foam?

1. Don’t Use Bleach or Harsh Chemicals

Why: Memory foam is made from delicate polyurethane materials that can be chemically altered or weakened by strong cleaning agents. Bleach, ammonia, hydrogen peroxide, or even some multi-surface sprays can break down the foam’s structure and lead to permanent damage.
What to Do Instead: Use a mild detergent diluted in water or an enzyme-based cleaner designed for fabrics and upholstery.

2. Don’t Machine Wash or Soak the Mattress

Why: Memory foam is incredibly absorbent. If submerged or saturated with water, it can take days (or even weeks) to dry completely. This trapped moisture becomes a breeding ground for mold, mildew, and bacteria, which can ruin your mattress and pose health risks.
What to Do Instead: Always spot clean using minimal liquid, and avoid using steam cleaners or deep extraction tools.

3. Don’t Scrub Vigorously or Use Abrasive Tools

Why: Memory foam’s open-cell structure is sensitive to friction. Scrubbing with stiff brushes or abrasive pads can tear the foam, flatten its shape, or create thin spots that reduce its support.
What to Do Instead: Gently blot stains using a soft cloth or sponge. Use dabbing motions to lift stains without compressing the foam too much.

4. Don’t Use or Cover the Mattress Until It’s Fully Dry

Why: Covering a damp mattress traps moisture, creating ideal conditions for mold and odor development. Lying down on a damp surface can also trigger allergies and disrupt your sleep quality.
What to Do Instead: Allow the mattress to dry completely in a well-ventilated space. Use fans, open windows, or a hair dryer on the cool setting to speed up the process. Always check for dryness deep within the foam before replacing bedding.

5. Don’t Use Colored or Dyed Cloths for Cleaning

Why: Some colored cloths may bleed dye when damp, especially when mixed with cleaning agents. This can lead to unwanted staining on your memory foam surface.
What to Do Instead: Use clean, white microfiber cloths or paper towels for spot cleaning and drying.

6. Don’t Ignore Spills or Stains for Too Long

Why: The longer a stain sits, the deeper it seeps into the foam and the harder it is to remove. Stains from urine, coffee, or vomit can also create long-lasting odors if not treated promptly.
What to Do Instead: Act quickly. The sooner you address the spill, the better the chances of removing it completely without damaging the mattress.

7. Don’t Use Excessive Heat

Why: Heat can warp the foam’s structure, reducing its responsiveness and support. Using a hot hair dryer, heating pad, or placing the mattress in direct sunlight for too long may cause the foam to crack or stiffen.
What to Do Instead: Use cool air-drying methods and indirect sunlight only for short periods. A fan or dehumidifier works best for indoor drying.

Maintenance Tips

Mattress cleaning is a great way to extend your bed’s life. However, there are other ways to care for your mattress that can also increase its longevity.

  • Support your memory foam mattress with a solid foundation. Memory foam needs more support than an innerspring mattress. The material can disintegrate if too much pressure is placed on one area. We recommend a base with slats no more than 3 inches apart as the weight of the mattress will spread over a wider space and stop pressure from disintegrating the mattress.
  • Rotate your mattress every three to six months. This will help your mattress wear evenly as time goes on.
  • Air out the mattress. When you change your sheets, leave the bed uncovered for a few hours in a well-ventilated room to let moisture escape.
  • Wash the bedding weekly. A zipper does not mean a mattress cover is removable or washable. Keep the cover closed unless the instructions for your exact mattress expressly permit removal, and follow those instructions for cleaning.

Memory foam mattresses are like sponges. They absorb moisture readily and dry slowly because of their density.

Memory Foam Mattress Cleaning Dos and Don’ts

DOsDON’Ts
       Vacuum regularly       Don’t use bleach or harsh chemicals
       Use mild detergent for spot cleaning       Don’t soak or saturate the foam
       Blot stains gently, don’t rub       Don’t machine wash or dry the mattress
       Allow mattress to air dry completely       Don’t scrub aggressively
       Use baking soda to deodorize       Don’t use colored cloths that may bleed
       Use a waterproof mattress protector       Don’t cover or seal a damp mattress
       Rotate mattress every 3–6 months       Don’t expose the foam to direct heat

Is It Time to Replace the Memory Foam Mattress?

Sometimes, the effort of cleaning a memory foam mattress just isn’t worth it. For example, if mattress mold has taken root, it’s difficult enough to dislodge completely for your safety that you are typically better off with replacing the mattress.

If you find that to be the case, you can save greatly on a new mattress purchase with one of the year’s big mattress sales:

  • Best MLK Day Mattress Sales
  • Best Presidents Day Mattress Sales
  • Best Sleep Awareness Week Mattress Sales
  • Best Memorial Day Mattress Sales
  • Best 4th of July Mattress Sales
  • Best Columbus Day Mattress Sales
  • Best Labor Day Mattress Sales
  • Best Black Friday Mattress Sales
  • Best Cyber Monday Mattress Sales

FAQs

How do I protect my mattress from spills?

Use a mattress protector, preferably an encasement that covers all six sides of the mattress. Not all protectors are waterproof, so look for ones that are. You should also use a protector that shields against bed bugs and dust mites.

How often should I clean my memory foam mattress?

You should vacuum your memory foam mattress at least once a month to remove dust, allergens, and debris. Spot cleaning should be done as needed, and a deeper clean with baking soda can be done every 3 to 6 months to keep it fresh.

Can you shampoo a memory foam mattress?

You should only use a mild detergent to spot-clean your mattress.

Can you use a steam cleaner on a memory foam mattress?

No, steam cleaning is not recommended for memory foam. The high heat and moisture can damage the foam’s structure and promote mold growth inside the mattress. Instead, stick to dry cleaning methods like vacuuming and spot cleaning with minimal moisture.

How do you get stains out of a memory foam mattress?

Lightly mist the stain with a mild detergent solution, then blot it with a clean white cloth until it lifts. Avoid rubbing or soaking the area.

What causes yellow stains on a mattress?

Sweat can leave behind yellow stains, which are quite common on old mattresses. You can remove them using the methods outlined in this article.

Is it safe to use vinegar on a memory foam mattress?

Yes, diluted white vinegar can be used to treat odor or stains, but it should be applied sparingly. Use a spray bottle with equal parts water and vinegar, and dab with a cloth—never soak the mattress. Always air dry thoroughly afterward.

Conclusion

You spend a third of your life on your mattress, which collects dust and grime. Skipping regular cleaning lets allergens build up and can shorten the life of your bed. Routine vacuuming and prompt spot cleaning keep your mattress fresher and more supportive, which helps you sleep better.

Sources

  1. Institute of Medicine (US) Committee on the Health Effects of Indoor Allergens; Pope AM, Patterson R, Burge H, editors. Indoor Allergens: Assessing and Controlling Adverse Health Effects. Washington (DC): National Academies Press (US); 1993. Chapter 1, Introduction. https://www.ncbi.nlm.nih.gov/books/NBK236033/
  2. Zinn MK, Bockmühl D. Did granny know best? Evaluating the antibacterial, antifungal and antiviral efficacy of acetic acid for home care procedures. BMC Microbiology. 2020;20:265. doi:10.1186/s12866-020-01948-8. https://pmc.ncbi.nlm.nih.gov/articles/PMC7447605/
  3. Hobday RA, Dancer SJ. Roles of sunlight and natural ventilation for controlling infection: historical and current perspectives. Journal of Hospital Infection. 2013;84(4):271-282. doi:10.1016/j.jhin.2013.04.011. https://pmc.ncbi.nlm.nih.gov/articles/PMC7132476/
  4. Mosbech H, Jensen A, Heinig JH, Schou C. House dust mite allergens on different types of mattresses. Clinical & Experimental Allergy. 1991;21(3):351-355. doi:10.1111/j.1365-2222.1991.tb01667.x. https://pubmed.ncbi.nlm.nih.gov/1863898/
  5. Schei MA, Hessen JO, Lund E. House-dust mites and mattresses. Allergy. 2002;57(6):538-542. doi:10.1034/j.1398-9995.2002.23433.x. https://pubmed.ncbi.nlm.nih.gov/12028120/
  6. Centers for Disease Control and Prevention. Pollen and Your Health. https://www.cdc.gov/climate-health/php/effects/pollen-health.html
About the author
Rosie Osmun CERTIFIED SLEEP COACH

Rosie Osmun, a Certified Sleep Science Coach, holds a degree in Political Science and Government from the Arizona State University College of Liberal Arts and Sciences. Her academic accomplishments lay a solid foundation for her role in the health and wellness industry. Her certification as a Sleep Science Coach further underscores her proficiency in the field of sleep and wellness.

With over 13 years of hands-on experience in the beauty, health, sleep, and wellness industries, Rosie has cultivated a deep understanding of the science of sleep and its impact on overall health and wellbeing. Her dedication to helping others improve their sleep quality is evident in her practical, evidence-based advice and tips.

Her contributions to various publications, including Forbes, Bustle, and Healthline, as well as her regular contributions to Amerisleep’s blog, demonstrate her standing in her field. These platforms, recognizing her proficiency, rely on her to provide accurate and relevant information to their readers.

Find more articles by Rosie
Author Social Links Follow: Author Linkedin Author Twitter

Comments

Cancel reply

Leave a Comment

Your email address will not be published. Required fields are marked *

What’s the best mattress?

Best Mattress

We’ve spent countless hours finding the best mattresses out there so you don’t have to hunt for them.

See Our Top Picks

Mattress Resources

Memory Foam vs Air Mattress
Memory Foam vs Air Mattresses
Rosie Osmun
Do Walmart Mattresses Have Fiberglass?
Rosie Osmun
Illustration of a clean mattress surrounded by soap bubbles.
How to Clean a Mattress
Rosie Osmun

EachNight Fact-Checking Standards and Processes

The EachNight writing team is devoted to creating articles that are not only entertaining and easy to understand but also as impartial, accurate, and well-sourced as possible. Whenever possible, we strive to have our articles fact-checked by our independent review board. We also do not tolerate plagiarism or ill intent from our contributors.

Here are the medical and factual guidelines that a EachNight article must adhere to:

  • We draw upon only reputable and respectable sources when researching our articles’ topics and endeavor to only link to highly authoritative sources. Such sources would include peer-reviewed medical and academic journals, medical and academic associations in good standing, and interviews with or blog posts from certified medical professionals.
  • We may link to news articles or peer-reviewed medical blog posts about studies when appropriate, but always attempt to connect directly to the studies these pages discuss.
  • Our scientific information, conclusions, and analysis are always supported by at least one reputable source.
  • We strive to make any potential conflicts of interest attached to any studies or sources clear to our readers. When applicable, we also try to include conflicting research or questions that may throw a study’s conclusion into doubt to clarify that scientific understandings often change and progress over time.
  • Our articles typically link to other articles and resources on our site. This is solely for easier navigation, and we do not promote our website as a medical resource. Try to speak with your physician if you have medical concerns.
  • Any necessary background information on a topic will be included when appropriate.
  • Our goal is for every one of our medical-related articles to be reviewed by our independent board of experts. Should they spot any medical or health-related misinformation or errors, we will strike it out from the final published article.

What’s a Certified Sleep Coach?

Our writers are sleep coaches certified by the Spencer Institute, which has been training coaches since 1992. Becoming a certified sleep coach means that our writers are well-versed in various sleep science matters, taking us beyond being just a group of mattress reviewers. The certification allows us an in-depth understanding of what we’re talking about when it comes to advising readers on better sleep habits.

About Us

Our simple goal is to provide the information you need to get better sleep each night. We provide a full-circle approach to sleep and wellness.

Company

  • About Us
  • Contact Us
  • Privacy Policy
  • Disclosure
  • Expert Review Board
  • Product Research Methodology

Our Guides

  • Mattress Guides
  • Mattress Reviews
  • Best Mattress
  • Mattress Quiz
  • Sleep Health
  • Sleep Calculator
  • Mattress Sizes

Newsletter

Subscribe to our monthly newsletter to find out about content, features and more happening at eachnight.

You must enter a valid email.
Each Night Logo

Copyright © 2026 eachnight. All rights reserved.