The short answer
Remove the solids first, blot instead of rubbing, treat the spot with an enzyme cleaner or a mild soap solution, rinse with cool water, and dry the carpet all the way through. Put on gloves before you start, since feces can carry bacteria, viruses, and parasites.
Protect yourself first
Treat any carpet accident as a possible health risk. Wear disposable gloves, open a window if you can, and keep children and pets away from the area until it is clean and dry. Wash your hands well afterward, even if you wore gloves.
Remove the solids before treating the stain
Lift as much solid matter as you can before you apply any cleaner. A paper towel, a plastic bag placed over your hand, or a dull knife or spoon works well. Move from the outer edge toward the center so you do not spread the mess. Seal the waste in a bag before you throw it away.
Avoid scrubbing at this stage. Pressing hard pushes residue down into the fibers and the backing.
Blot, don’t rub
Press a clean, dry paper towel or white cloth onto the spot and hold it for a few seconds. Lift, then repeat with fresh sections until the towel stops picking up residue. Rubbing spreads the stain and can fray the fibers, so blotting is the safer habit for the whole job.
Choose a cleaner for the stain
Poop stains are mostly organic matter, and that is where enzyme cleaners do their best work. Enzyme cleaners break down the proteins and other organic material behind both the stain and the smell. Many are sold for pets and labeled for carpet.
For a fresh spot, a small amount of mild dish soap mixed into water can also help. Use only a little, because excess soap is hard to rinse out and can attract dirt later.
Be more careful with stronger products:
- Bleach can remove color from carpet, so use it only on carpet you know is colorfast, and test it first.
- Hydrogen peroxide can also lighten some dyes, so test it before using it on a visible area.
- Never mix bleach with vinegar or with ammonia-based cleaners. Those combinations can release harmful gases.
- Do not mix hydrogen peroxide with vinegar. The combination can form peracetic acid, which irritates the skin, eyes, and airways.
Test a hidden spot first
Apply your cleaner to a small, hidden area, such as inside a closet or under furniture. Blot it, let it dry, and check for color change or fiber damage. Judge the result only after the spot is fully dry, since damp carpet can look darker than it will once it dries.
Treat the stain
Lightly dampen the stain with your cleaner. Use just enough to wet the area, because too much can soak through to the padding. Let it sit for the time on the label, which often runs around 10 to 15 minutes for enzyme products. Blot gently, working from the outside in.
Rinse with cool water
Heat can set many protein-based stains, so rinse with cool water rather than hot. Pour a little cool water on the spot and blot it up. Repeat until the towel stops lifting cleaner or bubbles. Leftover soap or cleaner can attract dirt later, so rinsing matters as much as cleaning.
Dry the carpet thoroughly
Blot the area with dry towels to pull out as much moisture as you can. Run a fan over the spot and keep the room ventilated. Drying often takes several hours, depending on humidity and how much liquid reached the carpet. Keep people and pets off the area until it feels fully dry.
If moisture has reached the padding or the floor underneath, drying the surface may not be enough. A professional can tell whether the pad needs to be removed and dried or replaced.
If the mess has already dried
Dried residue has to be softened before it lifts, and scrubbing it dry usually makes things worse. For a method that starts with cool water and gentle scraping, see how to get dried poop stains out of a carpet.
Deal with lingering odor
If a smell remains once the carpet dries, the source may still be there. Repeat the enzyme treatment, rinse, and dry again. Baking soda sprinkled on the dry carpet can absorb some odor, so vacuum it up after it has had time to sit. Scented sprays usually mask a smell rather than remove it. For more on this, see what kills the smell of dog poop.
When to call a professional
Consider hiring a carpet cleaner if:
- the stain is large or has been there for a long time,
- it has soaked through to the pad or the subfloor,
- the carpet is wool or another delicate fiber, or
- the smell returns after you have repeated the steps.
Check your carpet warranty before using strong products. Some manufacturers specify which cleaning methods they approve.
If you are still choosing a product, the guide to what is the best carpet stain remover explains how to match a cleaner to the stain and the fiber. The same steps apply when the source is a person, and the guide to what is the best stain remover for human feces has a similar answer. Carpet that has taken repeated accidents across a larger area is a bigger job, and the guide on how to clean heavily pet soiled carpet covers that. If urine is also involved, the guide on how to get pet stains and odor out of carpet covers the odor side.
Clean up your supplies
Seal gloves, paper towels, and bags in a bag before you throw them away. Wash any cloths you used in hot water, following the care label, and dry your tools fully before you store them.