To clean a mattress, remove all bedding, vacuum the surface and seams, spot-clean stains with a mild cleaner, blot without soaking the fabric, sprinkle baking soda to absorb odor, let the mattress dry completely, and vacuum again. Use minimal liquid on foam or memory foam mattresses to reduce the risk of moisture damage.
A clean, dry sleep surface in soft daylight sets the tone for the routine below.
A mattress can collect dust, sweat, body oils, dead skin, pet dander, spills, and odors over time. Cleaning it every few months helps keep your sleep surface fresher, but the safest method is usually a dry-first, low-moisture approach: vacuum thoroughly, treat only the areas that need it, deodorize, and dry the mattress fully before putting sheets back on.
Gather first
What You'll Need
Before you start, gather:
Vacuum cleaner with upholstery attachment
Crevice tool, if available
Clean white cloths or paper towels
Mild dish soap or mild detergent
Spray bottle
Baking soda
Enzyme cleaner for urine, pet stains, or other biological stains
Hydrogen peroxide for some tough stains
Fan or open window for airflow
Mattress protector for prevention
Always check the mattress care label before applying moisture, peroxide, steam, or a commercial cleaner. Test any cleaner on a small hidden area first, especially if the mattress cover is colored, delicate, or textured. Hydrogen peroxide and stronger stain treatments can lighten fabric, so use them sparingly and only where needed.
The routine
How to Clean a Mattress Step by Step
1
Remove and wash all bedding
Strip the bed completely. Remove sheets, pillowcases, blankets, mattress pads, and mattress protectors. Wash washable bedding according to the care label.
This step matters because sheets and protectors collect sweat, body oils, skin cells, allergens, and spills before they reach the mattress. Washing bedding regularly keeps that buildup from transferring back onto a freshly cleaned sleep surface.
2
Vacuum the mattress surface and seams
Use a clean upholstery attachment to vacuum the entire mattress surface. Work slowly across the top, sides, seams, handles, edges, and any tufted or quilted areas. If your vacuum has a crevice tool, use it along seams where dust, crumbs, hair, and debris can settle.
Vacuuming first removes dry debris before you add any cleaner. Use the upholstery attachment for broad fabric areas and the crevice tool for seams, piping, handles, and stitched channels where dust and grit tend to hide.
3
Spot-clean stains
Do not spray cleaner across the entire mattress unless the care label specifically allows it. Instead, treat visible stains one at a time.
Use this basic method:
Apply a small amount of cleaner to a clean cloth, not directly onto the mattress.
Gently blot the stain.
Use another cloth lightly dampened with cold water to blot away residue.
Repeat if needed.
Press with a dry cloth to absorb moisture.
Let the area dry completely.
The goal is to clean the stain without soaking the mattress. Keep the cleaner on the cloth instead of pouring it onto the bed, and use just enough moisture to loosen the stain so the comfort layers do not absorb excess liquid.
4
Sprinkle baking soda over the mattress
Once stain-treated areas are no longer wet, sprinkle a thin, even layer of baking soda over the mattress. Baking soda helps absorb moisture and neutralize odor. For light freshening, leave it for at least 15–30 minutes. For stronger odors, leave it for several hours or longer if you have time.
For a routine refresh, a short contact time is usually enough. For stronger odors, give the baking soda several hours so it has more time to absorb surface moisture and stale smells before you vacuum it away.
5
Let the mattress dry completely
Open windows, turn on a fan, and give the mattress as much airflow as possible. Do not put sheets, blankets, or a mattress protector back on until the mattress is fully dry.
This is one of the most important steps. Too much moisture can lead to odor, mildew, mold, or damage to comfort materials. A lightly spot-cleaned area may dry in a few hours, while a deeper clean can need most of the day depending on material, room temperature, humidity, and ventilation. Never mix cleaning products, especially bleach with ammonia-based cleaners.
6
Vacuum again
After the baking soda has sat long enough and the mattress is dry, vacuum the mattress again with the upholstery attachment. Move slowly to remove powder from the surface, seams, and quilting.
Remove the baking soda slowly and thoroughly, especially around seams and quilted areas. Any powder left behind can feel gritty, hold residue in the fabric, or transfer onto clean bedding.
7
Add a clean mattress protector
Once the mattress is clean and dry, add a washable mattress protector before making the bed. A protector helps prevent sweat, body oils, spills, urine, and pet accidents from reaching the mattress.
A washable waterproof protector is the easiest way to keep sweat, spills, dust, allergens, and biological stains from reaching the mattress. Choose a snug protector that can be removed and washed without changing the feel of the bed too much.
The dry-first sequence at a glance: vacuum, spot-treat, deodorize, then dry.
Match cleaner to stain
How to Remove Stains from a Mattress
Different stains need different cleaners. The safest rule is to blot, not scrub, and to use the smallest amount of liquid that can do the job.
Recommended cleaner, method, and caution for common mattress stains.
Stain type
Best cleaner
Method
Caution
Urine
Enzyme cleaner or diluted white vinegar
Blot liquid, lightly mist cleaner, blot again, dry, add baking soda
Do not soak the mattress
Blood
Cold water, mild detergent, or hydrogen peroxide
Blot with cold solution until stain lifts
Avoid hot water; it can set protein stains
Sweat or yellow stains
Mild detergent or diluted hydrogen peroxide
Spot-clean, blot, and dry fully
Test peroxide first
Vomit
Remove solids, use diluted vinegar or enzyme cleaner
Blot, deodorize with baking soda, dry
Ventilate well
Pet stains
Enzyme cleaner
Follow product directions, blot, and dry
Repeat if odor remains
Oil or lotion
Dish soap solution
Dab lightly, then blot dry
Avoid over-wetting
For biological stains such as blood, sweat, urine, vomit, and pet accidents, an enzyme cleaner is often the most practical choice because it targets odor-causing organic residue. Hydrogen peroxide can help with some tough discoloration, but it may lighten fabric, so test first and use it only in small amounts.
How to Get Urine Out of a Mattress
For fresh urine, blot up as much liquid as possible with towels. Press firmly, but do not rub. Then use an enzyme cleaner or a lightly sprayed vinegar solution, blot again, and cover the area with baking soda once the surface is no longer wet. Let it dry fully, then vacuum.
For dried urine stains, an enzyme cleaner is usually more effective because urine odor can remain deeper in the mattress. Apply according to the product instructions, avoid soaking the mattress, and repeat after drying if odor remains. With pet accidents, removing the odor fully is important because lingering scent can attract pets back to the same spot.
How to Remove Blood Stains from a Mattress
Use cold water, not hot water. Blot the stain with a clean cloth and cold water first. If the stain remains, use a small amount of mild detergent solution or cold hydrogen peroxide. Continue blotting until the stain lifts, then blot with a damp cloth and dry thoroughly.
Blot blood stains rather than rubbing them, and keep the treatment cold. If you use hydrogen peroxide, apply it only after a spot test because it can bleach or lighten some mattress fabrics.
How to Remove Sweat and Yellow Stains
Sweat, body oils, and residue can leave yellow stains on a mattress over time. Start with a mild detergent solution and blot gently. For tougher discoloration, use diluted hydrogen peroxide only after a spot test. Blot away excess moisture and dry the area completely.
Avoid pouring cleaner onto the mattress. Use a cloth or a light mist so the cleaning solution stays near the surface instead of soaking into the comfort layers.
Neutralize odor
How to Deodorize a Mattress
The simplest way to deodorize a mattress is to use baking soda. Sprinkle it evenly over the mattress, let it sit, then vacuum it thoroughly. For stronger odors, leave the baking soda on longer and increase airflow by opening windows or running a fan.
Baking soda is useful for general odor and moisture absorption, but it is not a complete solution for every problem. If odor comes from urine, vomit, pet accidents, or mildew, treat the source first. Use only enough baking soda to cover the area evenly, let it sit on a dry surface, and vacuum it up thoroughly.
A thin, even layer is enough. More powder just takes longer to vacuum up.
Do not skip this
How to Dry a Mattress After Cleaning
Drying is not optional. A mattress that feels slightly damp can trap moisture under sheets and create musty odor.
To dry a mattress faster:
Blot wet areas with dry towels.
Open windows if weather allows.
Use a fan to move air across the surface.
Use a dehumidifier in humid rooms.
Stand the mattress on its side if the manufacturer allows it.
Wait until there are no cold, damp, or musty areas before making the bed.
Good ventilation, open windows, a fan, and a dehumidifier can help the mattress dry more evenly. Aim to dry damp areas as quickly as possible; the longer moisture sits inside fabric or foam, the higher the risk of musty odor, mildew, or mold.
Heat & moisture
Can You Steam Clean a Mattress?
You can steam clean some mattresses, but only if the care label allows it and you can dry the mattress completely. Steam adds heat and moisture, which can be risky for foam, memory foam, old mattresses, or rooms with poor ventilation.
Avoid steam cleaning when:
The mattress is memory foam or foam and the care label does not allow moisture.
The room is humid or poorly ventilated.
You cannot leave the mattress uncovered until fully dry.
The mattress already smells musty.
There is visible mold.
Use steam or upholstery-cleaning machines only when the mattress is allowed to get slightly damp and you can dry it fully afterward. When in doubt, choose spot-cleaning and airflow instead of adding heat and moisture.
Extra caution
How to Clean a Memory Foam Mattress Safely
Memory foam needs extra caution because it is not designed to get wet. Use the same cleaning sequence: vacuum, spot-clean, deodorize, dry, but use less liquid and avoid soaking the foam.
For memory foam:
Vacuum first.
Use only a lightly damp cloth for stains.
Blot instead of scrubbing.
Avoid steam unless the care label clearly allows it.
Dry with airflow, not high heat.
Do not put bedding back on until fully dry.
Memory foam absorbs moisture easily and can be slow to dry, so a low-moisture approach is the safest choice. Keep cleaning solution near the surface, blot gently, and give the foam plenty of airflow before using the bed again.
Common mistakes
What Not to Do When Cleaning a Mattress
Avoid these common mattress-cleaning mistakes:
Do not soak the mattress.
Do not scrub stains aggressively.
Do not pour cleaner directly onto the bed.
Do not use bleach unless the care label specifically allows it.
Do not mix cleaning chemicals.
Do not put sheets on a damp mattress.
Do not use steam on memory foam unless approved by the manufacturer.
Do not leave baking soda residue behind.
Do not ignore mold or a persistent musty smell.
Avoid bleach unless the care label clearly allows it, because it can damage mattress fabric and leave harsh residue. Never mix cleaning chemicals, especially bleach with ammonia-based products, because the fumes can be dangerous.
Frequency
How Often Should You Clean a Mattress?
Clean your mattress about every 3–6 months, and spot-clean spills or stains immediately. If you have allergies, pets, night sweats, children, or frequent spills, clean and vacuum it more often.
For most homes, a full refresh every three to six months is a practical schedule. If the mattress has a protector and stays clean, the longer end of that range is usually enough; if there are spills, pets, allergies, or night sweats, clean sooner and spot-treat stains right away.
Prevention
How to Keep Your Mattress Clean Longer
The best way to clean a mattress is to prevent dirt and liquid from reaching it in the first place.
Use these habits:
Use a washable waterproof mattress protector.
Wash sheets regularly.
Vacuum the mattress every few months.
Treat stains as soon as they happen.
Avoid eating and drinking in bed.
Keep pets on a washable blanket if they sleep on the bed.
Air out the mattress before making the bed when possible.
Rotate the mattress if the manufacturer recommends it.
A waterproof protector, regular sheet washing, and fewer food or drink spills in bed will reduce stains and allergen buildup. Washable covers and occasional rotation, when the manufacturer allows it, also help keep the mattress cleaner and more evenly worn.
Know the limits
When Cleaning Is Not Enough
Sometimes a mattress is too damaged or contaminated to clean safely at home. Consider professional cleaning or replacement if:
The mattress has visible mold.
A musty smell returns after drying.
Urine or pet odor remains after repeated enzyme-cleaner treatment.
The mattress stays damp for too long.
The cover or foam is damaged.
The mattress sags, feels uncomfortable, or is near the end of its lifespan.
Allergy symptoms worsen in bed despite cleaning and washing bedding.
If a mattress has mold or persistent moisture problems, cleaning the surface may not solve the underlying issue. Visible mold, recurring musty odor, or dampness inside the mattress should be treated as a serious sign that the mattress may need professional assessment or replacement.
Quick answers
FAQ
Can I clean a mattress with baking soda?
Yes. Baking soda can help absorb odor and moisture from a mattress. Sprinkle it evenly, let it sit, and vacuum it thoroughly. For stains, treat the stain first; baking soda works better as a deodorizer than as a complete stain remover.
How long should baking soda sit on a mattress?
For light freshening, leave baking soda for at least 15–30 minutes. For stronger odors, leave it for several hours or longer if possible, then vacuum slowly until the surface, seams, and quilting feel free of powder.
What is the best way to clean urine from a mattress?
Blot fresh urine immediately, apply an enzyme cleaner or lightly sprayed vinegar solution, blot again, add baking soda once the surface is not wet, let the mattress dry fully, and vacuum. For old urine odor, repeat with an enzyme cleaner.
Can you use hydrogen peroxide on a mattress?
Yes, but only carefully. Hydrogen peroxide can help with blood, sweat, urine, and yellow stains, but it may bleach or discolor fabric. Always spot-test first and use a small amount.
Can you steam clean a mattress?
Sometimes, but only if the care label allows steam or moisture and the mattress can dry completely. Avoid steam on memory foam unless the manufacturer specifically says it is safe.
How do you dry a mattress quickly?
Blot moisture with towels, open windows, run a fan, and use a dehumidifier if the room is humid. Do not put bedding back on until the mattress is fully dry.
How often should you clean a mattress?
Clean a mattress every 3–6 months, and spot-clean spills immediately. Clean more often if you have allergies, pets, children, night sweats, or recurring odors.
Should I use bleach on a mattress?
It is usually better to avoid bleach. Bleach can damage fabric, leave residue, and create dangerous fumes if mixed with other cleaners. Use mild detergent, enzyme cleaner, baking soda, or a fabric-safe stain treatment instead.
Final Takeaway
The safest way to clean a mattress is to keep moisture low: vacuum first, spot-clean only the stains that need treatment, deodorize with baking soda, dry the mattress completely, and vacuum again. For urine, pet stains, blood, sweat, and yellow stains, use the right cleaner for the stain type and always blot instead of soaking. A washable mattress protector is the easiest way to keep the mattress cleaner for longer.
More bedroom care
Helpful sleep and bedding resources
Once the mattress is clean and fully dry, the next layer of comfort comes from the bedding, topper, pillows, and sleep setup around it. These editorial resources can help you keep the rest of the bedroom feeling fresh, comfortable, and easier to maintain.