How to Get Dog Pee Out of Carpet (Even Old Stains)
Quick Answer
Old dog pee stains come back because uric acid crystals don't dissolve in water. Soap, vinegar and baking soda lift the visible mark but leave the crystals behind, and every humid day reactivates the odour. Only enzyme cleaners with both protease and urease break them down properly. Below is the step-by-step method, including stains so old they've soaked into the underlay.

Further reading: UKHSA — sodium hypochlorite (bleach) safety · Which? — how to buy the best carpet cleaner
Why Dog Pee Smell Keeps Coming Back
Dog urine is a mix of urea, uric acid, creatinine, hormones and bacteria. Each part behaves differently once it hits your carpet, and that's why half-cleaned stains haunt you for months.
Urea dissolves in water. It's the bit that breaks down into ammonia and CO2 and causes the sharp first-day smell. A damp cloth, soap, or vinegar will shift it reasonably well.
Uric acid is the problem. It does not dissolve in water. Once the wet patch dries, uric acid crystallises inside the carpet fibres, the backing, and the underlay beneath. Those crystals sit there dormant until humidity rises, at which point they reactivate and release that unmistakable stale-pee odour. This is why the smell is often strongest on muggy days, after you've had the heating off, or near skirting boards where moisture lingers.
On top of that, bacteria feed on the organic residue in the carpet backing, producing their own odour. So you're fighting three sources at once: urea, uric acid crystals, and bacterial by-products. Water-based cleaners only touch the first one.
This is the whole reason enzyme cleaners exist. You need protease to break down the proteins and urease to specifically break down uric acid into compounds that actually rinse away. Without urease, the crystals stay put.
Fresh Accidents: Step-by-Step
Speed matters. The longer urine sits, the further it travels down through the carpet pile into the backing and underlay. If you catch it in the first ten minutes, you can keep it in the top layer.
1. Pre-rake the pile (optional but useful)
Before you do anything wet, run a carpet rake gently over the area. This lifts the nap and exposes the route the urine has taken into the backing, so whatever you apply next actually reaches the stain path rather than pooling on top of matted fibres. Skip this if the accident is still visibly wet.
2. Blot, don't rub
Press a thick wad of white kitchen roll or a clean towel onto the stain. Stand on it if you have to. Rubbing pushes urine sideways and deeper into the pile. Keep swapping in dry paper until almost nothing more transfers.
3. Apply an enzyme cleaner (not just water)
Saturate the area with a pet-safe enzyme cleaner containing protease and urease. It needs to reach as deep as the urine did, so be generous. Water alone will dilute the urea and feel like it's working, but it drives uric acid deeper.
4. Let it dwell 10-15 minutes
Enzymes need contact time. Don't blot too early. Cover loosely with a damp cloth if your room is warm and dry so the cleaner doesn't evaporate before it's done the work.
5. Blot again and rake the nap
Blot up the excess, then run the carpet rake over the damp pile to stand the fibres back up and speed drying.
6. Dry with ventilation
Open a window and point a fan at the area. Avoid heat (radiators, hairdryers) — heat can set any remaining uric acid. Do not put a rug or furniture back until the carpet and the underlay beneath are fully dry.
Old, Set-In Stains: The Deeper Problem
Old stains are a different job. The uric acid has already crystallised and may have soaked through to the underlay or floorboards. You can't just spot-clean the top of the pile and expect the smell to go.
How to find old stains you can't see
A UV blacklight torch (£6-10 online) is the cheapest piece of kit you'll buy all year. Turn the lights off at night, sweep the torch slowly across the carpet, and old urine stains glow yellow-green. You will almost certainly find more than you expected, often along walls, behind sofas, and under curtains.
Assess the depth
Press a clean dry paper towel firmly onto the stain. If it stays dry, the uric acid is crystallised in the fibres only. If any moisture comes up on a muggy day, it's reactivating from the backing. If the smell is worse than the visible stain suggests, assume it's reached the underlay.
Saturation re-treatment
Old stains need the enzyme cleaner to physically reach every crystal. Spot-spraying won't do it. Pour enough cleaner to fully saturate the carpet down into the underlay — roughly the same volume the dog would have passed. Cover with a damp towel and cling film to stop evaporation. Leave overnight (8-12 hours). Blot heavily in the morning, rake the pile, and dry with fans and ventilation for a full 24-48 hours. For stubborn areas you may need a second soak.
When the underlay needs replacing
If, after proper enzyme saturation and full drying, the smell still reactivates on humid days, the underlay is the problem. Foam and felt underlay hold urine like a sponge and are often cheaper to replace than to rescue. Lift the carpet in that area, cut out the contaminated underlay, seal the floorboards beneath with a stain-blocking primer (urine soaks into bare wood too), and fit new underlay before relaying the carpet.
What Not to Use on Dog Pee
- Steam cleaners on untreated stains. Heat permanently sets uric acid crystals into the fibres. Only steam after full enzyme treatment and drying.
- Ammonia-based cleaners. Dog urine smells of ammonia — your dog reads ammonia as another dog's mark and is more likely to re-offend in that spot.
- Bleach. Damages carpet colour, doesn't break down uric acid, and creates toxic fumes if residual urine ammonia is still present.
- Fragrance-only sprays and plug-ins. Mask the smell for a few hours, then the humidity-triggered odour returns and you haven't addressed anything.
- Baking soda and vinegar alone. The classic folk remedy tackles urea and neutralises some surface odour, but neither ingredient breaks down uric acid crystals. Fine as a first-aid blot, useless as a final fix.
Preventing Re-Marking
Dogs return to places that smell like a toilet — to them, scent is a signpost. If residual urine odour is still detectable (and their noses are far better than ours), the spot stays on the rotation. Masking the smell doesn't work; the underlying scent molecules are still there.
The only reliable prevention is proper source removal using enzymes, followed by keeping the dog away from the area while it dries. If you're also dealing with general toilet-training setbacks, the Blue Cross guide to toilet-training your dog covers routine and positive reinforcement properly.
For a broader look at keeping a pet home fresh without masking, see our complete guide to pet smells in the home. Cat owners dealing with the same problem should read how to remove cat urine smell — cat urine chemistry is even more stubborn. And once odours are handled, how to remove embedded pet hair from carpets covers the weekly maintenance side.
Lift embedded stains and hair before you clean
viblii Dual-Edge Carpet Rake disturbs the nap to expose stains and pull fur up from the backing — so enzyme cleaners can reach the source, not just the surface. Brass, silicone, and squeegee edges. 157cm adjustable handle.
Related Reading
- Complete Guide to Pet Smells in the Home
- How to Remove Cat Urine Smell from Carpet
- How to Clean Pet Vomit from Carpet

Frequently Asked Questions
How do I find old pee stains I can't see?
Use a UV blacklight torch in a dark room. Old urine fluoresces yellow-green under UV. They cost £6-10 online and are the fastest way to map every accident spot before treating. Check along skirting boards, behind sofas, and under curtains especially.
Does baking soda and vinegar actually work?
Partly. It neutralises fresh urea and lifts the visible mark, which is why people swear by it on day one. But neither ingredient breaks down uric acid crystals, so the smell comes back when humidity rises. Fine for first-aid, not a final solution.
Can steam cleaning get dog pee out of carpet?
Not on untreated stains. Heat sets uric acid crystals permanently into the fibres and underlay, making the problem much harder to fix. Only use a steam cleaner after a full enzyme treatment and thorough drying, as a finishing step rather than a cure.
Will my dog keep peeing in the same spot?
Very likely, if residual odour remains. Dogs return to places that smell like a toilet, and their noses detect far lower concentrations than ours. Proper enzyme removal of the source scent is what stops re-marking — masking sprays don't work.
When should I just replace the carpet?
If the underlay is saturated and the smell reactivates after proper enzyme treatment and full drying, consider replacing the underlay first — it's often the real reservoir. Only replace the carpet itself if fibres are badly stained, the backing is degraded, or multiple overlapping accidents have compromised the whole area.