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 Why Trust Us 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 TakeawaysRegular 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 Step1. Strip the BedStart 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. VacuumingThe 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 StainsOnce 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.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.Once the stain is removed, blot the area with a clean, damp cloth to lift any remaining solution.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 StainsFor 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.Dip a clean white cloth into the solution, wring it out well, and blot the stain.Blot away the excess solution with a clean, damp cloth.Press a dry towel to the wet spot to absorb excess water, then air dry under a fan.Liquid StainsAccidents 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.Use paper towels to absorb as much of the liquid as possible. Repeat until the towels are no longer absorbing moisture.Lightly mist the area with equal parts white vinegar and water, then absorb the liquid again with a paper towel.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.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 SodaOnce 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 AgainOnce 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 MattressAs 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 ChemicalsWhy: 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 MattressWhy: 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 ToolsWhy: 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 DryWhy: 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 CleaningWhy: 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 LongWhy: 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 HeatWhy: 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 TipsMattress 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 Mattress Cleaning Dos and Don’tsDOsDON’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 heatIs 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 SalesBest Presidents Day Mattress SalesBest Sleep Awareness Week Mattress SalesBest Memorial Day Mattress SalesBest 4th of July Mattress SalesBest Columbus Day Mattress SalesBest Labor Day Mattress SalesBest Black Friday Mattress SalesBest Cyber Monday Mattress SalesFAQsHow 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.ConclusionYou 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.SourcesInstitute 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/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/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/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/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/Centers for Disease Control and Prevention. Pollen and Your Health. https://www.cdc.gov/climate-health/php/effects/pollen-health.htmlAbout 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 RosieAuthor Social Links Follow: Author Linkedin Author Twitter Comments Cancel replyLeave a CommentYour email address will not be published. Required fields are marked * Comment Name Email I agree to the Terms and Conditions of this website. Δ