You cleaned it. The stain went, the smell went, and you moved on. Then two weeks later it rained, the house warmed up, and the smell was back - in exactly the same spot.
That is a chemistry problem, and it has a specific, well-understood cause. Almost everything sold and recommended for pet urine is water-based, and the compound causing the smell does not dissolve in water.
Here is what is happening under your carpet, and what gets rid of it.
Key Takeaways
- Uric acid crystals are the problem. As urine dries, bacteria convert urea to ammonia and then to uric acid crystals, which are not meaningfully water-soluble.
- That is why vinegar and baking soda fail. Both are water-based. They remove the visible stain and surface smell and leave the crystals behind.
- Humidity reactivates them. The crystals rehydrate and the odor goes airborne again - which is why the smell returns after rain or on a warm day.
- Enzymes are the actual fix. Protease enzymes break the crystals into simple odorless compounds, but they need dwell time and they need to reach the contamination.
- A UV black light shows the real extent, which is almost always far larger than the visible mark.
- The reservoir is underneath. Carpet pad and subfloor hold most of it, which is why replacing carpet alone does not solve it.
- Blot fresh accidents, never rub. And cold water only - urine is a protein stain and heat sets it.
The chemistry, in plain terms
Fresh urine is mostly water, urea, urochrome (the yellow), uric acid, bacteria, ammonia and hormones. Fresh, it is relatively easy to deal with.
Then it dries, and it changes. Bacteria break the urea down into ammonia - the sharp smell you notice first - and then into uric acid crystals. Those crystals are the long-term problem. They are not very water-soluble, so they bind to carpet fibers, to the backing, to the carpet pad and into the pores of a wooden subfloor or concrete slab, and they stay there.
Water-based cleaners wash away the liquid, the color and the ammonia. The crystals are untouched. The stain looks gone and the smell seems gone, and you reasonably conclude the job is done.
Then the humidity rises. Uric acid crystals rehydrate, and as they do the odor compounds become airborne again. This is why a floor can smell perfectly clean for a week and then reek after a rainy day, and why the problem seems to come and go with the weather. In professional remediation this is sometimes called uric acid salt contamination, and it is the most important thing to understand about pet odor: the smell is a deposit that moisture switches on and off, not a residue on the surface.
It is also why replacing the carpet does not fix it. New carpet over a contaminated subfloor smells fine for a while, and then the first humid spell rehydrates the crystals in the wood below and the odor rises straight through the new floor.
The same chemistry applies wherever the accident landed. On a wool rug it is worse, because urine is alkaline and alkalinity loosens wool's dye bond - frequently causing permanent color loss as well as odor, which is why wool rugs need in-plant rug cleaning rather than a home attempt. On a sofa the reservoir is the foam cushion core instead of the carpet pad, and that changes the whole method - see how to get pee smell out of a couch. On a hardwood floor, uric acid salts penetrate the wood itself and react with its tannins, which is what causes those black spots no cleaner will lift.
Why vinegar and baking soda do not work
These are the two most-recommended remedies on the internet and they are both water-based, which means neither can dissolve uric acid crystals.
Vinegar is acidic and does neutralize some alkaline salts and knock back the ammonia smell temporarily. It does not dissolve the crystals. It also adds moisture, which can carry contamination deeper into the carpet pad, and its own smell masks the problem for a day or two, which is why people think it worked.
Baking soda is an absorbent and a mild alkali. It takes up some surface moisture and some airborne odor. It does not reach or dissolve crystals in the backing, and it leaves a powder residue in the pile that is hard to vacuum out completely.
Neither is useless - vinegar has a role as a rinse, and baking soda is fine for dry surface odor - but neither solves this. If the smell keeps returning, this is why.
Step 1: Find out how big the problem is
Before treating anything, find all of it. Urine fluoresces under UV, so a black light in a darkened room will show you the truth, and it is usually unwelcome.
- Work at night or with curtains closed.
- Go slowly, close to the floor, over the whole room - not just where you remember accidents.
- Mark every patch with masking tape or chalk as you find it.
- Check carpet edges and the tack strip, where urine wicks and collects.
- Check up walls and baseboards, especially for male dogs.
- Check under and behind furniture.
Two things you will almost certainly discover. There are more spots than you thought, because animals return to places they have marked and old accidents fade from view. And each spot is much larger than it looks, because liquid spreads outward and downward as it soaks - the patch at carpet pad level is typically several times the diameter of the mark on the surface.
That second point governs treatment: you have to treat the whole contaminated area, not the visible mark. Treating only what you can see is why partial results are so common.
Step 2: Fresh accidents - act in the first few minutes
If you catch it wet, you can usually prevent the whole problem.
- Blot immediately with paper towels or a white cloth. Press down hard and lift. Stand on a thick pad of towels to drive the pressure down into the pile and carpet pad - this removes dramatically more liquid than dabbing.
- Keep going with fresh towels until no more moisture transfers. This is the highest-value minute you will spend.
- Never rub. Rubbing spreads the contamination outward and frays the fiber tips.
- Rinse with cool water, blotting hard again after each application. Two or three cycles.
- Cold water only. Urine is a protein stain, and heat cooks protein into the fiber the way it sets egg in a pan. A steam cleaner on a fresh accident will set it permanently.
- Then apply an enzyme cleaner as below, even though it seems unnecessary. Preventing crystal formation is far easier than dissolving crystals later.
Step 3: Set accidents - enzyme treatment, done properly
Enzyme cleaners work where water-based products cannot: protease enzymes break the uric acid crystals down into simple, odorless compounds. But they are commonly used wrongly, and they fail when they are.
Three rules:
Use enough. The product has to reach all the contamination, which means saturating down to the depth the urine reached. A light surface spray on a patch that soaked into the carpet pad treats a fraction of the problem. For a set accident this means applying considerably more product than feels reasonable - the instinct to be sparing is what defeats most attempts.
Give it dwell time. Enzymes are biological catalysts, not solvents. They need time and moisture to act - typically hours, and for old contamination sometimes 24 hours or more. Check the label. Cover the treated area with plastic or a damp towel to stop it drying out, because enzymes stop working when they dry.
Do not mix it with anything. Many cleaning chemicals, and especially anything alkaline or oxidizing, denature enzymes and render the product inert. If you have already used vinegar, baking soda, carpet shampoo or an oxygen cleaner on the spot, rinse thoroughly with clean water and let it dry before applying an enzyme product. This is a very common sequence error.
Not sure when your carpets were last deep cleaned?
Get an exact price online in about two minutes. No phone tag, no surprise fees.
Get My Instant QuoteThe procedure:
- Vacuum the dry area first.
- Rinse out any previous chemicals with clean water and extract or blot thoroughly. Let it dry.
- Apply the enzyme cleaner generously, covering an area larger than the visible stain - out to the edge of what the black light showed.
- Cover with plastic sheeting or a damp towel.
- Leave it for the full stated dwell time, longer for old contamination.
- Blot up the excess, or extract it if you have a machine.
- Dry with airflow. A fan, not heat.
- Re-check with the black light once dry, and repeat on anything still glowing.
- Expect to repeat on old, heavy contamination. One treatment rarely clears years of accumulation.
Step 4: When the problem is below the carpet
This is where home treatment reaches its limit, and it is worth being straight about it.
For a significant or repeated accident, the contamination is in three layers: the carpet, the carpet pad, and the subfloor. Carpet pad is porous and absorbent - it acts like a sponge, which is exactly why odor persists after the carpet above it has been cleaned. And uric acid salts in a wooden subfloor or a concrete slab are chemically bound into the material.
What that means practically:
- Treating from the top down rarely reaches the subfloor. Enough liquid to penetrate that far is more liquid than you can then remove, which creates a damp carpet pad - and a mold problem to go with the smell.
- Saturated carpet pad usually has to come out. It is inexpensive to replace and almost impossible to decontaminate in place.
- A contaminated subfloor needs sealing after treatment. Enzyme treatment, full drying, then a shellac-based or purpose-made odor-blocking sealer over the affected area to lock in anything remaining.
- Replacing carpet without doing this is money wasted. The new carpet will smell on the first humid day.
If the black light shows large or multiple patches, or if the smell has persisted through several cleanings, this is the explanation.
Step 5: Stop it recurring
- Animals return to marked places, and they can smell what you cannot. Full decontamination is also behavioural prevention.
- An enzyme product on hand turns a potential permanent problem into a five-minute clean-up.
- A washable, waterproof-backed mat in a known spot while you work on the behavior.
- Rule out medical causes. A sudden change in bathroom habits in a previously reliable animal is a reason to see a vet - urinary tract infections, diabetes and kidney disease all present this way. Worth saying, because people spend months on cleaning for a problem that needs treating.
- Deal with accidents immediately, every time. Fresh is a cleaning job; dried is a chemistry job.
- Get on a sensible cleaning interval if you have pets - more often than a pet-free house needs. See how often carpets should be professionally cleaned.
Frequently Asked Questions
How do I get pet urine smell out of carpet permanently?
Find all the contamination with a UV black light, then treat the full affected area with an enzyme cleaner containing protease, applied generously enough to reach the depth the urine reached and left to dwell for the full time without drying out. Where carpet pad or subfloor is contaminated, the carpet pad usually has to be replaced and the subfloor treated and sealed.
Why does the pet smell come back when it rains?
Uric acid crystals left behind by water-based cleaning rehydrate in humidity, and the odor compounds become airborne again. The crystals were never removed - the moisture switched them back on.
Does vinegar get rid of dog urine smell?
Temporarily at best. Vinegar is water-based and cannot dissolve uric acid crystals. It neutralizes some ammonia and masks the smell briefly, then the odor returns.
Does baking soda remove pet urine odor?
It absorbs some surface moisture and airborne odor. It does not reach or dissolve crystals in the backing or carpet pad, and it leaves a residue in the pile.
Can I use a steam cleaner on pet urine?
No. Urine is a protein stain, and heat sets protein into the fiber permanently. Use cold water and enzymes.
How long should an enzyme cleaner sit?
Follow the label - typically hours, and sometimes 24 hours or more for old contamination. Cover the area so it stays damp, because enzymes stop working once they dry.
Do I need to replace the carpet?
Not usually, if the contamination is caught reasonably early. Saturated carpet pad often does need replacing, and a contaminated subfloor needs treating and sealing. Replacing carpet alone, over an untreated subfloor, does not solve the smell.
Why does my house still smell after professional cleaning?
Most likely the carpet pad or subfloor is contaminated, or there are patches nobody found. Run a black light over the room in the dark.
When to have it done properly
Pet odor is the job where equipment makes the most difference, because the whole problem is reaching contamination that sits below the surface and then removing the liquid you used to reach it.
Our pet-odor treatment is $50 per room on top of the carpet clean - $60 for a standard room, $35 for a hall or landing, $60 for a staircase, with 10% off automatically when you book online. Truck-mounted extraction above 200°F at 400+ PSI pulls treatment solution and contamination out of the backing rather than leaving it in the carpet pad, which is where a rental machine cannot go.
25+ years, 50,000+ customers, removing 99% of allergens, biodegradable solutions, no upsells at the door, and a come-back guarantee.
See carpet cleaning, call (855) 507-8955, or get a free quote.



