How to Remove Pet Urine Odors and Stains From Carpet (Dogs & Cats)
DISCLOSURE: Some of our articles may contain affiliate links. If you use these links to make a purchase, we may earn a commission (at no cost to you). Thanks for supporting us!
In this post, I’ll walk you through a proven, step-by-step method for eliminating pet urine odors and yellow staining from carpet. Based on a technique used by professional carpet cleaners, this method has been simplified so you can use it at home without specialized equipment or professional experience.
Regardless of how old, large, deep, or pungent the urine odor, this method works! Check out the comments below from other visitors to see how this method has helped others.
SKIP TO:
- Urine Neutralizing Agent Recipe
- Locate Invisible Urine Stains

When pets urinate on carpet, the urine can soak through the fibers, backing, and into the padding. This makes it much harder to remove. Cleaning the carpet surface alone often won't eliminate the odor because urine can remain trapped underneath.

Because the areas beneath the carpet are difficult to access and clean, the most effective way to eliminate lingering pet urine odors is to use a urine-neutralizing solution designed to break down the odor-causing compounds that have penetrated the carpet backing and padding.
In this post, I’ll show you how to make an effective, affordable urine-neutralizing solution using simple ingredients and how to apply it to eliminate pet urine odors. If the urine stains are no longer visible, I’ll also show you how to use a UV flashlight to help locate the hidden spots responsible for the lingering odor.
Urine Odor Neutralizing Agent Ingredients
My preferred urine-neutralizing solution is made using 6% hydrogen peroxide, mixed with a small amount of household ammonia cleaner.
These two inexpensive ingredients are highly effective at breaking down pet urine stains and odors. Another advantage is that hydrogen peroxide and ammonia both evaporate as the carpet dries, leaving behind zero cleaning agent residue.
Hydrogen peroxide is available in several different grades, including food grade, salon grade, swimming pool grade, and medical grade. For urine odor removal, the key factor is the concentration. Use 6% hydrogen peroxide, also labeled as 20-volume hydrogen peroxide.

For urine odor removal, it's best to use clear ammonia, or household ammonia cleaner. I do not recommend using cleaning products that contain both soap and ammonia, as they will leave a residue in the carpet.

Urine Odor Neutralizing Agent Recipe
To break down ALL the odor causing molecules in the carpet, carpet backing, and padding, the urine neutralizing agent must fully soak the area that was contaminated with urine. This means that the volume of neutralizing agent that we use on one pet stain must be greater than the maximum size of your pet’s bladder.
The table below will show you how much 6% hydrogen peroxide and ammonia is needed to treat one pet urine stain, based on your pets weight.
As an example, if your dog weighs 33lb (15kg). The table shows that you need 10 oz (300mL) of 6% hydrogen peroxide mixed with 1 oz (30mL) of ammonia to make 11 oz (330mL) of urine neutralizing agent. This is enough to treat one urine stain that was caused by my 15kg pet.
Use this simple table to determine how much urine neutralizing agent is needed to treat one of your pets urine stains.
Pet Weight | Hydrogen Peroxide Volume | Ammonia Volume | Total Volume |
|---|---|---|---|
11 lb (5 kg) | 3.5 oz (100 mL) | 0.5 oz (10 mL) | 4 oz (110 mL) |
16.5 lb (7.5 kg) | 5 oz (150 mL) | 0.5 oz (15 mL) | 5.5 oz (165 mL) |
22 lb (10 kg) | 7 oz (200 mL) | 1 oz (20 mL) | 8 oz (220 mL) |
33 lb (15 kg) | 10 oz (300 mL) | 1 oz (30 mL) | 11 oz (330 mL) |
44lb (20 kg) | 14 oz (400 mL) | 1.5 oz (40 mL) | 16 oz (440 mL) |
55 lb (25 kg) | 17 oz (500 mL) | 2 oz (50 mL) | 19 oz (550 mL) |
66lb (30 kg) | 20 oz (600 mL) | 2 oz (60 mL) | 22 oz (660 mL) |
88 lb (40 kg) | 27 oz (800 mL) | 3 oz (80 mL) | 30 oz (880 mL) |
Locate Invisible Urine Stains
Pet urine doesn’t always leave a visible yellow stain. If the urine blends in with the carpet or is too diluted to discolor it, a UV flashlight can help locate the affected area.
Shine the UV light over the carpet and look for glowing spots. Check any suspected areas for a urine odor. If you detect one, treat the area with a urine-neutralizing product designed to break down odor-causing molecules.
YOU WILL NEED:
1) UV Flashlight (USA, UK, CAN)


Remove Urine Odor & Stains From Carpet (Step-By-Step Instructions)
In this demo, I will show you step-by-step instructions on how to remove pet urine odors from carpet. The dog that caused this particular pet stain weighs 33 lb (15kg).
The required amount of urine neutralizing agent depends on the weight of the pet that caused the accident. Refer to the table above to determine how much neutralizing agent you need to treat one of your pets accidents.
YOU WILL NEED:
1) 6% Hydrogen Peroxide / 20 Volume Clear Developer (USA, UK, CAN)
2) Household Ammonia Cleaner (USA, UK, CAN)
3) White Cloths (USA, UK, CAN)


Step 1 - Prepare enough urine odor neutralizing agent to treat one pet urine stain. The required amount of neutralizing agent is based on your pets weight (table above).
This stain was caused by a 33lb (15kg) dog so the table tells us we need 10 oz (300mL) of 6% hydrogen peroxide and 1oz (30mL) of household ammonia.

Step 2 - Slowly pour all of the urine neutralizing agent onto the urine stain. Allow the liquid to settle into the carpet and disperse into the carpet backing. This measured volume is designed to be larger than your pets bladder. Therefore, it should engulf and neutralize all of the urine in the carpet backing and carpet padding.
If the urine stain that you are treating is invisible, use a UV flashlight to locate the urine stain(s) in your carpet.

Step 3 - Cover the urine stain with plastic wrap. The plastic wrap will prevent the ammonia from evaporating.

Step 4 - Fill a pot with hot tap water. Place the pot on top of the plastic wrap and allow the neutralizing agent to dwell for 2 hours. During this time, the neutralizing agent will be slowly breaking down the odor causing molecules and the yellow pigments in the urine.

Step 5 - Remove the pot and plastic wrap from the carpet. You will notice that the yellow stain has vanished.

Step 6 - Using dry white towels, absorb as much liquid from the carpet as possible. The more pressure you apply, the more liquid will be absorbed by the towel. Repeat with dry towels until the towels stop absorbing liquid from the carpet.

Step 7 - Allow the carpet to dry naturally. Any remaining ammonia will quickly evaporate (the ammonia odor will also disappear quickly). As the carpet dries, the remaining hydrogen peroxide will break down into water and oxygen.
By the time the carpet fully dries, there will be zero hydrogen peroxide or ammonia residue left in the carpet, as it all will have evaporated. The urine stain and odors that were previously present will have vanished before your eyes and nose!
This page contains affiliate links. If you use these links to buy a product, TheStainGuide.com may earn a commission. Thanks for your support!
Remove Urine Odor & Stains From Carpet Video Instructions
Since this video was published, I've renamed my website from DIYCarpetCleaner.com to TheStainGuide.com. We've expanded beyond carpet cleaning to include stain removal guides for clothing and more! Thanks for visiting our website and watching our YouTube videos!
Some Comments From Our YouTube Video:
@heatheroliver2915
"This is a miracle for multiple large stains our lab made that have left a strong odor in 2 areas of our home. I have tried everything to get the smell out and after many unsuccessful attempts with other products, this worked magic. No smell at all and any yellow that was left before this is gone! Thank you for sharing the science behind this solution!!"
@nayawalker9637
"THIS S**T WORKS !!!!! My carpet looks absolutely brand new ! THANK YOU MILLION TIMES"
@DanaRayDray
"I am so thankful for this. I have almost ripped my hair out using every product that never works! This actually worked and doesn’t even cost much. My carpet has no evidence of the urine at all. No soap on carpet is a must to keep it clean as well. Anyone like me frustrated with pee on carpet please use this and save your sanity!!!!"
@Cholita.1979
"This man deserves an award. I’ve been trying this method for 3-4 days now. Doing it by sections bc I have a larger area in my basement that my dogs literally used as bathroom. I purposely never use the UV flash light bc I get so stressed by just seeing those stupid glowing stains EVERYWHERE. I sweat cleaning that area with different products with no avail. And finally…. this WORKS! it’s amazing! I shall do this until I get rid of every single pee stain in my carpet"
@LadyZeldaKelly
"Thank GOD I found you! With your formula I was able to immediately knock out cat pee smells and clean it up. If anyone wonders what it smells like, it is a very faint smell like a home hair permanent ( the Toni in the box) lol. That is SOOOO much better than the pee smell. My older boy was mad because I changed his cat food and phew--he went to town on the carpet and on a corner of the sofa. Immediately, the pungent smell was gone. I'll do it again in a couple days. This is the ONLY thing that has worked and believe me--I've tried it ALL! Thank you for your post!"