TL;DR
Work out which layer the smell is in before you treat anything, then use dry methods first and the least liquid that will work. A mattress core holds water for days, so the most common cause of a musty mattress is a well-intentioned cleaning that never dried out.
Find the Layer First
A mattress is a stack, and odor lives in one part of it.
The bedding. Sheets, protector, and pillows. Wash these first and re-smell the bed. A surprising share of mattress odor complaints resolve here and go no further.
The cover fabric. Sweat, body oil, and whatever was spilled recently. Cleanable.
The comfort layers. Quilted batting and the top inch or two of foam. Partly reachable.
The core. Deep foam or the inside of a spring unit. Effectively unreachable, and where permanent problems live.
Strip the bed, air the room, and smell the bare mattress up close in a few places. If the smell is even across the whole surface it is probably sweat and body oil. If it is concentrated in one area, something was spilled there.
Why Does a Mattress Smell Musty?
Because it stayed damp. Foam and batting hold moisture for days, and damp material at room temperature grows mold and bacteria that produce a musty odor. The usual causes are a spill that was never dried out, a spot cleaning done with too much liquid, or a bedroom with persistently high humidity.
Dry Methods First, Always
Every dry method is free of the risk that makes mattresses hard to treat.
Strip and vacuum thoroughly. Upholstery tool, the whole surface, both sides if it flips, plus the seams, piping, and handles where debris packs in.
Air it out. Open the room, run a fan across the bare mattress, and leave it for several hours. Overnight body moisture alone accounts for a lot of daily odor, and simply airing the bed each morning before making it changes the baseline.
Baking soda for surface odor. Sift a light even layer over the surface, leave it for several hours or overnight, and vacuum it off thoroughly. It absorbs some surface odor and a little moisture. It does not penetrate foam and it does not neutralize urine salts, so use it as a first step rather than a solution.
Lower the humidity. A dehumidifier in a damp bedroom does more for a musty mattress than any spray, because it addresses the condition that caused the smell.
Sunlight, carefully. Dry outdoor air helps. Prolonged direct sun fades the cover and degrades foam, so shade with a breeze beats full sun.
When You Have to Add Moisture
Some odors need a wet treatment. Do it deliberately and dry it properly.
Use cold, never hot. Urine, sweat, vomit, and milk are protein based, and heat sets protein permanently.
Use an enzyme product for organic sources. Enzymes break down the residue that produces the smell. They need to physically reach the residue and stay damp long enough to work, often 15 minutes or more. Covering the treated area with a damp towel keeps it from drying too fast.
Apply to a cloth, not to the mattress. The single habit that keeps you out of trouble.
Blot with dry towels afterward, using body weight to pull moisture back up.
Then dry hard. A fan directly on the area, the room ventilated or dehumidified, and no bedding back on until it is genuinely dry. A treated mattress left to dry on its own is how a urine smell becomes a mildew smell. The same dynamic on furniture is covered in odor trapped in sofa cushions.
Our stain-by-stain guidance is in mattress stain removal by type, and the general routine is in how to clean a mattress at home.
Urine Deserves Its Own Section
Urine is the most common serious mattress odor, and it behaves differently from other spills.
As it dries it leaves salt crystals. Those crystals are hygroscopic, meaning they pull moisture from the air, and when they get damp they release odor again. That is why a mattress can smell fine in dry weather and strongly in humid weather, and why the smell can return weeks after a cleaning that seemed to work.
Enzyme treatment is the right chemistry, and depth is the problem. A pet accident or a child's accident that soaked to the core needs treatment that reaches the same depth, and that means putting real liquid into a mattress and then getting it back out. Our guidance on how to remove pet odor from carpet covers the same chemistry on a substrate that is far easier to dry.
For pet accidents that keep happening in the same place, a veterinarian is the right call. Repeat accidents often have a medical explanation, and no amount of cleaning addresses that.
What Does Not Work
Air fresheners and scented sprays add fragrance over the problem, and repeated use leaves residue that attracts soil.
Vinegar helps mildly on some odors and adds moisture and its own smell. On a mattress the moisture cost usually outweighs the benefit.
Steam adds heat and water, the two things a mattress handles worst. Heat sets protein and water takes days to leave.
Essential oil blends are a poor choice around pets, since many common oils are toxic to cats and birds are extremely sensitive to airborne fumes.
Never mix products in one container. Bleach with ammonia, bleach with any acid, and peroxide with vinegar are all hazardous combinations.
When to Replace Instead
Some mattresses are past treating. A core that has been soaked repeatedly, visible mold speckling, a piece that sat in a damp basement or a flooded room, or an old mattress with heavy staining and a persistent smell are all cases where the money is better spent on a replacement plus a good protector.
Visible mold growth is a remediation question rather than a cleaning question, and it should be assessed as such.
If the mattress is otherwise sound and you are weighing the cost of treatment, is professional mattress cleaning worth it lays out what a service can and cannot do.
FAQ
How do I deodorize a mattress without chemicals?
Strip and wash all bedding, vacuum the mattress thoroughly, sift a light layer of baking soda over it, leave it several hours, then vacuum it off. Air the bare mattress with a fan and keep bedroom humidity down. That routine handles most everyday odor.
Why does my mattress smell like urine again after cleaning?
Urine leaves salt crystals that pull moisture from the air and release odor when damp. If the treatment did not reach the full depth of the original spill, the remaining salts reactivate on humid days. Depth of treatment, not repetition, is what resolves it.
Can I use a steam cleaner on a mattress for odor?
It is a poor choice. Steam adds heat, which sets protein-based odors permanently, and water, which a mattress core holds for days. Low-moisture treatment with aggressive drying is the safer approach.
How long does baking soda need to sit on a mattress?
Several hours at minimum, and overnight is better. Sift it thinly and evenly, then vacuum thoroughly in overlapping passes. Leaving residue behind creates a gritty surface and does nothing extra.
Will a mattress protector stop odor from developing?
It stops most of it. A waterproof protector keeps sweat, spills, and accidents out of the mattress entirely, and it goes in the washing machine. It is the cheapest and most effective step in this entire subject.
How long should a mattress dry after wet treatment?
Several hours for a small treated spot with a fan on it, and up to a full day for a larger area. Do not put bedding back until the area is dry to the touch and the same temperature as the rest of the surface.
If this is one mark among many, carpet cleaning services handle the whole floor.
Mattress odor is usually solvable and easy to make worse, and the difference is almost entirely about how much liquid goes in and how fast it comes back out. If the smell is deep and keeps returning, that is worth an honest assessment before you spend more on products. Every home is different, so the real number depends on size, condition, and what you want covered. Get a quote and we will walk you through it.