Home & Cleaning · Explainer

How to Get Dog Pee Out of Carpet (Fresh and Old Stains)

The short version

  • On a fresh accident, soak up as much urine as you can with layered paper towels, then rinse with cool water and blot or wet-vac [1][2].
  • Finish with an enzymatic cleaner, which the AKC says breaks down odor-causing compounds instead of masking them [2][3].
  • Skip ammonia and steam. Urine contains ammonia, so ammonia cleaners can draw a pet back [4], and heat can permanently set the stain and odor [1][2].
  • The sources disagree on vinegar: the AKC and Illinois Extension give vinegar recipes [2][5], while Humane World says to avoid it [1]. The safer route is an enzyme cleaner.
  • If house soiling starts suddenly, VCA says to get a vet check, since kidney disease, infection, diabetes and bladder stones are among the medical causes [3].
  • Treat a wider area than you can see. The AAFP and ISFM say urine odor can cover up to three times the size of the visible spot [6].
  • If the smell returns after several careful rounds, the padding is holding urine, and that section of pad may need replacing [1].
  • Straining to pee is not a carpet problem. VCA says it could be an emergency, so call your vet [8].
A Dalmatian lying on a light mat on the floor

Fresh accidents: act fast

The sooner you get to it, the less urine soaks through to the backing and padding. Humane World and the AKC describe nearly the same routine [1][2]. If you can, put your dog in another room first; VCA suggests cleaning quietly with the dog out of the room [3].

  1. Soak it up. Layer paper towels with newspaper on top over the wet spot and press down, or stand on it, for about a minute [1]. The AKC says to press for several minutes [2].
  2. Repeat with fresh towels until the area is barely damp [1][2].
  3. Rinse with clean, cool water, then blot again or pull the water out with a wet-dry vacuum [1][2].
  4. Apply an enzymatic pet stain and odor cleaner, following the product's directions [1][2]. VCA recommends a commercial product containing enzymes that break down urine [3], and the ASPCA recommends an enzymatic cleanser designed to neutralize pet odors [4].
  5. Let it dry. If a mark is still visible once the carpet is dry, Humane World suggests a carpet stain remover [1].

The sources do not say how long to leave each enzyme product on the carpet, so follow the directions on the product you use. For colorfastness, the AAFP and ISFM say to test products on an inconspicuous area first. Our pet stain remover guide compares three enzyme cleaners.

Old or set-in stains

Old spots are harder, and some will not come out. University of Illinois Extension says old urine stains and odors may be impossible to remove completely [5].

First, find them. Humane World suggests following your nose, then using a black light in a dark room and outlining each spot with chalk [1]. The AKC mentions an LED UV urine detector for the same job [2].

Then rehydrate and extract. The AKC says to wet the dried spot with water and pull it back out with a wet-dry vacuum, repeating as needed [2]; Humane World suggests renting a carpet cleaner [1]. After that, treat the area with a pet odor neutralizer or enzymatic cleaner [1][2].

If the urine reached the padding underneath, Humane World says you may need to replace that section of carpet and padding [1]. If the smell persists after repeated cleaning, the AKC suggests professional cleaning [2].

Rugs and other washable fabrics are easier. Illinois Extension says to soak a urine stain in an enzyme product for at least 30 minutes, or several hours if the stain is old, then launder [5].

What not to use

Ammonia-based cleaners. Urine contains ammonia, so a cleaner that smells of it can attract a pet back to the same spot; the ASPCA makes this point in its guidance on cats [4], and Humane World says to avoid ammonia for the same reason [1].

Steam cleaners and heat. Humane World and the AKC both say heat can permanently set the stain and odor by bonding the protein in urine to man-made fibers [1][2]. That rules out a steam cleaner on urine spots, even though it is tempting on a smelly carpet.

Mixing chemicals. Illinois Extension warns never to mix chlorine bleach with ammonia [5]. In our view, the simplest rule is to use one product at a time and rinse with water between them.

The vinegar question

This is where the sources disagree, so here is what each one says.

  1. The AKC gives a mix of 1 cup white vinegar, 1 cup water and 2 teaspoons of baking soda, and suggests sprinkling about a quarter cup of baking soda on the spot overnight, then vacuuming [2].
  2. University of Illinois Extension says to sponge the carpet with equal parts vinegar and water [5].
  3. Humane World says to skip vinegar, along with ammonia, because a strong smell can encourage a pet to mark the spot again [1].

The safer route is to leave vinegar out and use an enzymatic cleaner after the soak-and-rinse steps. The AKC, VCA and the ASPCA all point to enzyme products for urine [2][3][4], and no source we read warns against them. If you have already used vinegar, rinse the area with cool water, blot it dry and follow with an enzyme cleaner.

Why dogs go back to the same spot

Scent. VCA says dogs are often attracted to places they have soiled before [3], and the AKC says lingering odor draws them back [2]. Humane World notes that pets may keep returning as long as they can smell their scent [1]. Removing the smell, not only the visible stain, is what breaks the cycle.

Some of it may be marking rather than a full accident. The AKC describes marking as small amounts of urine left for territory or because of anxiety [2], and VCA says intact dogs mark more [3].

  1. Clean every spot thoroughly with an enzyme cleaner, including old ones you find with a black light [1][2].
  2. Don't punish your dog for accidents, which VCA advises against [3].
  3. Clean with your dog out of the room [3].
  4. For a puppy still learning, a consistent potty spot helps; our puppy pad guide covers indoor options.

For lingering room smells after the carpet is clean, see our pet odor eliminator guide. It is not a substitute for treating the spot itself.

When it is a health issue

Not every accident is a training problem. VCA lists medical causes of house soiling, including kidney or liver disease, urinary infection, diabetes, Cushing's disease, bladder stones, cystitis, cognitive decline and incontinence [3]. It recommends a vet check, especially if soiling starts suddenly in a dog that was reliably house trained [3].

The ASPCA also says to rule out medical problems first [4]. In our view, a sudden change in where or how often your dog pees is a reason to call your vet before buying more cleaner.

How to get dog pee out of carpet: fresh vs dried stains at a glance

The method is the same family of steps for every accident. What changes is how much water you put back in, how far you spread the treatment and how many rounds it takes.

StepFresh (still wet)Dried (hours to days)Old or repeat spot
Find the edgesVisible wet patchNose plus black light; mark with chalk [1][6]Black light; expect more spots than you thought
Remove urineBlot with layered towels, stand on them [1]Wet with plain water, then wet-vac it out [2]Repeat water-and-extract several times [2]
RinseCool water, blot or wet-vac [1][2]SameRented carpet cleaner with cool water [1]
TreatEnzyme cleaner over the spot and a marginEnzyme cleaner up to 3x the visible area [6]Enzyme cleaner, more than one round
Dry and checkAir dry; black light once dryAir dry fullyIf smell returns, suspect the pad [1]

No heat at any stage; Humane World and the AKC say heat can set the stain and odor [1][2].

How to get dried dog pee out of carpet, step by step

  1. Put the dog in another room, as VCA suggests [3].
  2. Darken the room and sweep a black light over the area. The AAFP and ISFM recommend a UV light for finding soiled spots [6]. Outline each glowing patch with chalk [1], and outline a margin around it, since the odor can reach up to three times the size of the mark [6].
  3. Test your enzyme cleaner on a hidden piece of the same carpet, such as inside a closet. The AAFP and ISFM say to test products on an inconspicuous area first [6].
  4. Pour cool, plain water over the spot to rehydrate the dried urine, then pull it out with a wet-dry vacuum. Repeat until the water you pull up runs clear [2].
  5. Apply the enzyme cleaner generously across the whole chalked area so it soaks to the backing, not just the surface. Leave it for the time on the label.
  6. Blot or extract the excess, then let the carpet air dry completely. Keep the dog off it until it does.
  7. Check again with the black light and your nose. Repeat steps 4 to 6 on anything that remains.

Rub nothing. The Illinois Extension's stain guidance for upholstery is to blot up stains as quickly as possible and not rub [9], and the same logic applies to carpet: scrubbing pushes urine sideways and down and frays the pile.

How to get the smell of dog pee out of carpet, including the pad

If the stain is gone but the smell isn't, the urine is somewhere you haven't reached. Think of carpet as layers, and work down.

LayerSigns urine is thereWhat to do
Carpet fibersStain visible; smell right at the surfaceBlot, rinse, enzyme cleaner [1][2]
BackingSpot looks clean but smells when you press your nose to itMore water and extraction, then a deeper enzyme soak [2]
PaddingSmell returns days after cleaning; spot stays damp long after the surface driesHumane World says you may need to replace that section of carpet and pad [1]
Subfloor, tack strip, baseboardSmell persists with new pad; wood is dark or the finish looks affectedHumane World says urine acid can react with varnish or paint, which may need removing and replacing [1]

When to replace the carpet pad

Replace the pad section when the smell comes back after two or three thorough rounds of extraction and enzyme cleaner, or when you can pull up the carpet corner and see staining on the pad. Pad is sold by the roll and a patch can be cut in; a carpet installer can lift the carpet, cut out the soaked square, seal or treat the subfloor and re-stretch the carpet. If the smell persists after repeated cleaning, the AKC suggests professional cleaning [2].

Room smell after the carpet is clean

Baking soda helps with what is left. The AKC says it can absorb mild to moderate odors and suggests leaving it on carpet overnight before vacuuming [2]. For the air of the room, see our pet odor eliminator picks, but don't let a spray stand in for treating the spot.

Vinegar and baking soda for dog pee: what each source says, and safe use

This is the most repeated home remedy, and the sources split. Here is exactly what each one says.

SourceRecipe or adviceTiming
AKC1 cup white vinegar, 1 cup water, 2 teaspoons baking soda; about a quarter cup of baking soda sprinkled on the spot [2]Vinegar mix sits 5–10 minutes; baking soda overnight, then vacuum [2]
University of Illinois Extension, carpetSponge with cool water and blot, then equal parts water and white vinegar, blot, shampoo, dry and vacuum [5]No set time
University of Illinois Extension, upholsteryDetergent solution, rinse with equal parts vinegar and water; if odor remains, baking soda [5]Baking soda one day, then vacuum [5]
Humane World for AnimalsSkip vinegar and ammonia; strong smells can encourage re-marking [1]—

If you use vinegar anyway, do it safely:

  • Use plain white vinegar diluted with water, as both recipes do, and test it on a hidden area first [6].
  • Don't combine it with an enzyme cleaner in the same application. Rinse with cool water and blot before the enzyme product goes on.
  • Never mix it with bleach or other cleaners. The Illinois Extension warns that chlorine bleach and ammonia must never be mixed because the fumes are hazardous [5], and the simplest rule is one product at a time.
  • Vacuum baking soda up completely once the time is up, before the dog walks or lies on it.

For a dog that has already marked the spot, Humane World's warning is the one to weigh most. The enzyme route, which the AKC, VCA and the ASPCA all point to [2][3][4], gives you the odor removal without a new strong smell.

Can you use hydrogen peroxide on colored carpet?

Carefully, and only after a test. The AKC notes that many odor formulas include hydrogen peroxide, vinegar or baking soda [2]. Peroxide is an oxidizer: the same reaction that lightens a yellow urine mark can lighten dyed carpet fibers.

  1. Use the drugstore strength (3%), not a stronger solution.
  2. Test on a hidden piece of the same carpet, as the AAFP and ISFM advise for any cleaner [6]: dab it on, wait about 10 minutes, blot with a white cloth and let it dry.
  3. If the color holds, apply a small amount only to the stained fibers, blot, then rinse with cool water and blot again.
  4. Don't mix peroxide with vinegar or other cleaners on the spot.
  5. Treat the odor separately with an enzyme cleaner; peroxide on its own isn't what the sources recommend for urine odor.

None of the vet, extension or animal-welfare sources we read gives a peroxide method for carpet, so for a wool rug or carpet you can't easily replace, a professional cleaner is the safer call.

Why dogs pee on the same spot of carpet, and how to stop it

First work out whether you are dealing with a full-bladder accident or marking. VCA says marking is usually a small amount of urine, often on vertical objects like furniture corners, while a dog emptying a full bladder leaves a larger puddle [8]. It is most common in intact males, but spayed and neutered dogs of both sexes can mark too [8].

What to tryWhat the sources say
Remove the odor completelyUC Davis: clean residual urine odor with enzymatic cleaners [7]
Neuter an intact maleVCA: studies report neutering can reduce marking by up to 80% in male dogs; UC Davis cites one study where 40% of males castrated for marking markedly reduced it [8][7]
Change what the spot meansUC Davis: turn target areas into places for play or meals [7]
Block accessVCA: gates or confinement to keep the dog from favorite targets [8]; Humane World: make the area unattractive or unavailable [1]
Remove triggersUC Davis: cover windows where the dog watches other dogs pass, and don't put new objects on the floor until the dog is used to them [7]
Supervise and redirectVCA: watch for sniffing and redirect with play or a toy [8]
Use a belly band only short termVCA: it protects belongings but doesn't teach the dog not to mark; remove a soiled band promptly to avoid skin infection [8]
Don't punishVCA says punishment can trigger fear [8]; UC Davis says punishing after the fact can lead to marking when you're away [7]

Guests' bags and new purchases are common targets; Humane World suggests keeping them out of reach [1]. For a puppy still learning where to go, see our puppy pad picks.

When dog pee on the carpet is a health sign

A dog that was reliably house-trained and suddenly isn't needs a vet visit before more cleaning products. VCA lists kidney and liver disease, urinary infection, diabetes, Cushing's disease, bladder stones and cognitive decline among the medical causes of house soiling [3], and says the vet may need bloodwork and a urine sample [8].

  • Call right away if the dog is straining to urinate or producing little or nothing; VCA says straining could be an emergency [8].
  • Book a visit soon for sudden accidents, larger or more frequent puddles, drinking more than usual, blood in the urine, or leaking while asleep.
  • Bring notes: when it started, how often, roughly how much, and whether the dog is drinking more. A fresh urine sample collected in a clean container can help; ask the clinic how they want it.

The ASPCA also says to rule out medical problems first [4]. Once your vet has checked the dog, the cleaning and re-marking steps above do the rest. Our pet stain remover guide compares three enzyme cleaners.

Dog pee on carpet FAQ

What is the best way to get dog pee out of carpet?

Soak up as much as you can with layered paper towels, rinse with cool water, blot or wet-vac, then apply an enzymatic cleaner [1][2]. VCA and the ASPCA both recommend enzyme products for urine [3][4].

Does vinegar get rid of dog urine smell?

The sources disagree. The AKC and University of Illinois Extension give vinegar recipes [2][5], but Humane World says to avoid vinegar because the smell can encourage re-marking [1]. An enzymatic cleaner is the safer choice.

Can I use a steam cleaner on dog pee?

No. Humane World and the AKC say heat can permanently set the stain and odor [1][2]. Use cool water and a wet-dry vacuum or a rented carpet cleaner instead [1][2].

How do I find old dog urine spots?

Humane World suggests using your nose, then a black light in a dark room, and marking each spot with chalk [1]. The AKC mentions an LED UV urine detector [2].

Why does my dog keep peeing in the same spot?

Dogs are drawn back to places that smell of urine [2][3]. Clean thoroughly with an enzyme cleaner, avoid ammonia [4], and don't punish accidents [3]. If it starts suddenly, see your vet [3].

Can old dog urine stains be removed completely?

Not always. University of Illinois Extension says old urine stains and odors may be impossible to remove [5]. If urine reached the padding, Humane World says you may need to replace that section of carpet and padding [1].

Does baking soda get dog pee smell out of carpet?

It helps with leftover odor, not with the urine itself. The AKC says baking soda can absorb mild to moderate smells and suggests leaving about a quarter cup on the spot overnight, then vacuuming [2]. Do it after blotting, rinsing and an enzyme cleaner, once the carpet is dry, and vacuum it all up before the dog lies there.

Do I need to replace carpet padding after dog pee?

Not after one accident you caught quickly. If the smell comes back after repeated rounds of extraction and enzyme cleaner, the urine has likely soaked into the pad, and Humane World says you may need to replace that section of carpet and padding [1]. The AKC suggests professional cleaning when the smell persists [2].

Is it marking or an accident?

VCA says marking is usually a small amount of urine, often aimed at vertical objects such as furniture corners, while a full-bladder accident leaves a bigger puddle [8]. Marking responds to odor removal, blocking access and, in intact males, neutering [8][7]. Sudden accidents in a house-trained dog call for a vet check first [3].

Can I use a carpet shampooer on dog pee?

Yes, with cool water only. Humane World suggests renting a carpet cleaner for urine [1], but Humane World and the AKC say heat can permanently set the stain and odor [1][2], so skip hot-water or steam settings. Follow the extraction with an enzyme cleaner.

Sources

  1. Humane World for Animals. How to Remove Pet Stains and Odors Naturally. humaneworld.org
  2. American Kennel Club. How to Get Rid of Dog Pee Stains and Smells. akc.org
  3. VCA Animal Hospitals. Dog Behavior Problems: House Soiling. vcahospitals.com
  4. ASPCA. Urine Marking in Cats. aspca.org
  5. University of Illinois Extension. Stain Removal: Urine. dev.web.extension.illinois.edu
  6. AAFP and ISFM — Feline House-Soiling: Useful Information for Cat Parents (client handout, 2014). catvets.com
  7. UC Davis School of Veterinary Medicine, Behavior Service — Urine Marking in Dogs. healthtopics.vetmed.ucdavis.edu
  8. VCA Animal Hospitals — Dog Behavior Problems: Marking Behavior. vcahospitals.com
  9. University of Illinois Extension — Stain Solutions: General Upholstery (cleaning codes). dev.web.extension.illinois.edu