How to Get Smells Out of Carpet (and Deodorize It Properly)
Carpet traps odors deep in the fibers and padding. Here's how to actually deodorize it and remove smells at the source, instead of just masking them.
Carpet absorbs everything, cooking smells, pet odors, smoke, damp, and months of everyday life. Over time it can hold a stale, musty smell even when it looks perfectly clean, because the odor isn't on the surface, it's trapped down in the fibers and the padding. Here's how to actually deodorize carpet and remove the smell at its source, instead of just covering it up.
The short version
To get smells out of carpet: vacuum thoroughly, then for light odors sprinkle baking soda, let it sit, and vacuum it up. For stronger smells, find and treat the source, an enzyme cleaner for pet odors, drying and mold treatment for musty damp, baking soda and vinegar for smoke, then deep-clean with hot water extraction for anything set in. Air fresheners only mask the problem; removing the source is the only lasting fix.
Why carpet holds onto smells
Carpet fibers and the padding beneath them act like a sponge for odors. The smell molecules, along with the oils, moisture, and bacteria that cause them, settle deep and stay there. That's why a quick spray of air freshener fades within hours: it adds a scent on top without touching whatever is actually producing the smell.
Find the source first
Different smells need different fixes, so figure out what you're dealing with before you treat it:
- Pet odor: from accidents soaked into the carpet and padding.
- Musty or damp smell: usually moisture and mildew, often from spills that never fully dried or high humidity.
- Smoke: residue that clings to the fibers.
- General staleness: built-up dirt, oils, and dust over time.
How to deodorize carpet, step by step
1. Vacuum thoroughly
Start by removing the dust, dander, crumbs, and debris that feed odors. Go slow, and hit the edges and under furniture where buildup hides.
2. Baking soda for light odors
Baking soda is a genuine deodorizer. Sprinkle a generous layer over dry carpet, let it sit at least 15 to 30 minutes (overnight for stronger smells), then vacuum thoroughly. It absorbs odor near the surface, ideal for everyday freshening.
3. Vinegar for stubborn smells
For smells baking soda can't shift, a mix of one part white vinegar to two parts water, lightly misted and blotted, helps neutralize them. The vinegar smell disappears as it dries, taking some of the odor with it.
4. Enzyme cleaner for pet and organic odors
Pet accidents need more than masking. An enzyme cleaner breaks down the uric acid and organic matter causing the smell. Our full guide on getting pet smell out of carpet covers this in detail.
5. Deep clean for set-in smells
When the smell is deep or everywhere, the real fix is hot water extraction, flushing heated water through the carpet and pulling it back out, which physically removes the odor-causing dirt and bacteria from the fibers and the padding.
6. Dry it fully
A damp carpet smells musty fast. Whatever method you use, dry the carpet quickly with airflow so moisture doesn't linger and create a brand-new smell.

A fresh-smelling carpet isn't about adding a scent. It's about removing whatever's making the bad one.
Match the fix to the smell
| Smell source | Best fix |
|---|---|
| Pet accidents | Enzyme cleaner, then hot water extraction |
| Musty or damp | Dry it out, treat mildew, control humidity |
| Smoke | Baking soda and vinegar, then deep extraction |
| General staleness | Vacuum, baking soda, periodic deep clean |
What not to do
- Don't rely on air freshener or scented powder. They mask the smell, they don't remove it.
- Don't over-wet the carpet. Trapped moisture causes the exact musty smell you're trying to fix.
- Don't ignore the padding. Deep odors live underneath, which is why surface cleaning often fails.
The hands-off fix for odors that keep coming back
If a smell keeps returning, it's almost always because the source is buried too deep for surface treatment, and deep cleaning is too much hassle to do often. The Robotin R2 Pro solves both: it runs hot water extraction automatically, injecting 140°F heated water to break down odor-causing residue, extracting it back out, and drying the carpet so dampness can't turn musty. Because it's hands-free, you can deodorize at the source as often as you need, not just when the smell gets bad enough to rent a machine. It's the same deep method behind a carpet washing robot.
Frequently asked questions
How do you get smells out of carpet?
Vacuum well, deodorize light smells with baking soda, neutralize stronger ones with a diluted vinegar solution or an enzyme cleaner for pet odors, then deep-clean with hot water extraction for set-in smells. Dry the carpet fully so it doesn't turn musty.
Does baking soda deodorize carpet?
Yes, for surface-level odors. Sprinkled on and left to sit before vacuuming, baking soda absorbs smells near the surface. It can't reach odors soaked deep into the padding, which need extraction.
How do you get a musty smell out of carpet?
A musty smell usually means trapped moisture and mildew. Dry the carpet thoroughly, treat any mold, lower indoor humidity, and deep-clean with extraction. Fixing the moisture is what removes the smell for good.
How do you get smoke smell out of carpet?
Vacuum, then treat with baking soda followed by a vinegar solution to neutralize the residue, and finish with hot water extraction. Smoke clings deep into the fibers, so a deep clean is usually needed.
What permanently removes odor from carpet?
Removing the source. Hot water extraction physically flushes out the dirt, bacteria, and residue causing the smell, and keeping the carpet dry stops new odors forming. Masking products never last.
Meet the Robotin R2 Pro
The first robot that washes, vacuums, and dries. One robot, every floor.
Get the cleaning guides, no spam
Real tips for a cleaner home, straight to your inbox.
