Act fast: the first 24 hours matter most

Urine sets into carpet fibres and backing within hours. The longer it sits, the harder it is to remove and the more likely the smell will return after the carpet dries. If you catch it fresh, blot up as much liquid as you can with paper towels or a clean cloth — press down hard rather than rubbing, which pushes the urine deeper into the pile.

Once you have removed the wet urine, the stain itself is still there, along with uric acid crystals that cause the smell. Water alone will not break these down. You need an acid or enzyme to dissolve them before they dry completely.

Key Takeaways

  • Blot fresh urine when ready with paper towels or cloth; do not rub, which drives it deeper into the carpet.
  • Use white vinegar, hydrogen peroxide, or an enzyme cleaner to break down uric acid crystals that cause the stain and smell.
  • Enzyme cleaners work best on old stains because they actively break down urine compounds, while vinegar and peroxide work faster on fresh ones.
  • Baking soda absorbs odour after the stain is cleaned, but only after the carpet is fully dry.
  • If the backing or subfloor is saturated, the smell will return no matter what you do to the surface — you may need professional extraction or replacement.

White vinegar and hydrogen peroxide for fresh stains

Mix equal parts white vinegar and water in a spray bottle. Spray the stained area until it is damp but not soaked, then let it sit for 5 to 10 minutes. The vinegar breaks down uric acid. Blot with a clean cloth, pressing hard to pull the liquid back out.

For a stronger treatment, use hydrogen peroxide instead. Spray a 3% solution (the kind sold in drugstores) directly on the stain, let it sit for 5 to 10 minutes, then blot. Hydrogen peroxide works faster than vinegar on fresh stains and also lightens discolouration. Test it on a hidden corner first — it can bleach dark carpet.

After either treatment, rinse the area with plain water, blot again, and let it dry completely. If the smell lingers after drying, the stain has soaked through to the backing.

Enzyme cleaners for old or set-in stains

Enzyme cleaners contain bacteria that actively eat urine compounds. They work on stains that have already dried and are harder to remove with vinegar or peroxide alone. Common brands include Nature's Miracle, Rocco & Roxie, and Sunny & Honey, all sold at pet stores and online.

Follow the product instructions — most require you to spray the cleaner on the stain, let it sit for several hours or overnight, then blot and rinse. The longer you leave it, the more time the enzymes have to work. Some products work better if you cover the area with plastic to keep it moist.

Enzyme cleaners are slower than vinegar or peroxide but more thorough on old stains. They are also the best choice if a pet has repeatedly marked the same spot, because they break down the full buildup of urine salts.

Baking soda to absorb odour after cleaning

Baking soda only works after the stain itself is cleaned and the carpet is completely dry. Sprinkle it generously over the treated area, let it sit for 30 minutes to several hours, then vacuum it up. The baking soda absorbs lingering odour molecules.

Do not use baking soda on a wet or damp stain — it will clump and be harder to vacuum. If you explore it too early, it can trap moisture and make the smell worse.

When the smell returns after drying

If the carpet smells like urine again after it has dried completely, the urine has soaked through the carpet pile into the backing or subfloor. Surface cleaning will not reach it. You have two options: professional extraction or replacement.

A carpet cleaning company with a truck-mounted extractor can inject hot water and cleaning solution deep into the carpet and backing, then pull it back out with strong suction. This works if the subfloor itself is not saturated. If the subfloor is wet or smells, the padding underneath the carpet is likely ruined and will need to be replaced along with the carpet.

To check whether the backing is wet, pull back a corner of the carpet if possible. If the padding feels damp or smells strongly, replacement is the only permanent fix. Cleaning the surface will not solve the problem.

Preventing future stains from pets or accidents

If the stain is from a pet, clean it thoroughly and consider using a pet-specific enzymatic cleaner as a preventive step. Pets are drawn back to spots where they have marked before, even if the smell is faint to humans. A thorough enzyme treatment breaks that cycle.

For accidents from children or adults, the same rule applies: clean completely as soon as possible. The faster you treat it, the less likely it is to set into the backing.

If accidents are frequent, a washable area rug over the spot is cheaper than replacing carpet. Rugs can be thrown in the washing machine and dried completely, which removes urine far more effectively than any surface treatment.

Comparing your cleaning options

MethodBest forTime to workCost
White vinegarFresh stains caught within hours5–10 minutesUnder $5
Hydrogen peroxideFresh stains; also lightens discolouration5–10 minutesUnder $5
Enzyme cleanerOld, set-in stains; repeated pet markingSeveral hours to overnight$10–$25 per bottle
Professional extractionStains that have soaked into backingSame day$200–$500+
Carpet replacementSubfloor is saturated or damaged1–2 days$500–$2,000+

Frequently Asked Questions

Can I use bleach to remove a pee stain?

No. Bleach will lighten or discolour the carpet and does not break down uric acid. It can also create toxic fumes if mixed with urine or other cleaners. Stick to vinegar, hydrogen peroxide, or enzyme cleaners.

How long does it take for an enzyme cleaner to work?

Most enzyme cleaners need 4 to 12 hours to work, though some brands recommend leaving them overnight. Check the product label. The longer you leave it, the more effective it is on old or stubborn stains.

What if the stain is on a rug instead of wall-to-wall carpet?

Treat it the same way with vinegar or enzyme cleaner, but you can also wash the rug. If it is small enough, throw it in the washing machine with hot water and a regular detergent, then dry it completely. This removes urine far more thoroughly than any surface treatment.

Will the smell come back if I only clean the top of the carpet?

Yes, if the urine has soaked into the backing or padding. Once the carpet dries, smell that returns means the problem is below the surface. You will need professional extraction or replacement to fix it permanently.

Is there a way to tell how deep the stain goes before I start cleaning?

Use a blacklight (a UV flashlight sold at hardware stores for under $20). Urine glows under blacklight. Shine it on the stain to see how far it spreads beyond what you can see with your eyes. If it covers a large area or the glow extends beyond the visible stain, the urine has soaked deep into the backing.