How to Get Stains Out of Carpet (Every Common Stain)

As an Amazon Associate I earn from qualifying purchases. Our picks are based on specs, expert guidance and verified owner reviews. Learn more.

How to Get Stains Out of Carpet (Every Common Stain)

Quick answer: Here’s how to get rid of carpet stains: act fast, scrape or blot up as much as you can, then treat the stain with the right solution for its type (cool water for blood, dish soap solution for most food and drinks, an enzyme cleaner for pet urine, a dry absorbent for grease). Work from the outside in, blot instead of rubbing, rinse with plain water, and dry the spot quickly so it doesn’t wick back.

Almost every carpet stain can be removed, or at least faded to near-invisible, if you use the right method in the right order. The mistakes that make stains permanent are predictable: rubbing, using heat on protein stains, too much soap and leaving the carpet soaking wet.

This complete guide covers how to get rid of carpet stains of every common type, with a stain-by-stain chart, the tools worth owning and the habits that keep your carpet looking new.

The golden rules of carpet stain removal

  1. Act fast. A fresh spill sits on top of the fibers. Once it dries or soaks into the backing, it’s much harder to remove.
  2. Remove solids first. Scrape with a dull knife or spoon, working toward the center. For liquids, blot with white paper towels or a white cloth (colored ones can transfer dye).
  3. Blot, never rub. Rubbing spreads the stain, pushes it deeper and untwists carpet fibers, leaving a fuzzy patch that looks dirty even when it’s clean.
  4. Test first. Try any cleaner on a hidden spot, like inside a closet, and blot with a white cloth. If color comes off or the fiber changes, stop.
  5. Work from the outside in. Apply solution at the edge and move toward the center so you don’t create a bigger ring.
  6. Use less product than you think. Leftover soap is sticky, attracts dirt and makes spots reappear darker a few weeks later.
  7. Rinse and dry. Finish with a plain-water rinse, blot or extract, then dry quickly with a fan. Place a folded white towel weighed down with a heavy book overnight to wick out the last moisture.

The three homemade solutions you’ll use most

  • Dish soap solution: about 1/4 teaspoon of clear, non-bleach dish soap in 1 quart of lukewarm water. This is the go-to for most food and drink spills. Clear soap avoids adding dye.
  • Vinegar solution: 1 part white vinegar to 2 parts water. Helps with coffee, tea, wine and fresh urine, and helps remove soap residue.
  • Cool water: the first step for blood and other protein stains. Hot water can cook proteins into the fibers.

For tougher cases, you’ll also reach for an enzyme cleaner (urine, vomit, feces, blood), 3% hydrogen peroxide (light-colored carpet only), rubbing alcohol (ink, marker) and dry absorbents like baking soda or cornstarch (grease).

How to get rid of carpet stains: stain-by-stain chart

StainFirst stepMain treatmentIf it’s still there
Coffee or teaBlot with cool waterDish soap solution, then vinegar solution3% hydrogen peroxide on light carpet (test first)
Red wineBlot, then dab cool waterDish soap solution plus vinegar solutionHydrogen peroxide on light carpet, or a pro
BloodCool water only, never hotDish soap solution or enzyme cleanerHydrogen peroxide dabbed sparingly (test first)
Grease and oilScrape, cover with baking soda or cornstarch 15+ min, vacuumDish soap solutionDry-cleaning solvent, following the label
Pet urineBlot hard, rinse with cool waterEnzyme cleaner, full dwell timeRepeat; pad replacement for old soaked spots
Vomit or fecesRemove solids, blotEnzyme cleanerSpot extractor with plain water rinse
MudLet it dry completelyVacuum, then dish soap solutionRepeat with rinse and extraction
Ink or markerBlot, don’t add water firstRubbing alcohol dabbed on a white clothDish soap solution to remove alcohol residue
Candle waxFreeze with ice, scrapeBrown paper and warm iron to lift residueRubbing alcohol for remaining dye
Chewing gumHarden with ice, pick offDish soap solutionCommercial gum remover

Hydrogen peroxide can lighten or bleach carpet, especially dark, wool or natural fibers: test on a hidden area and use it only on light, synthetic carpet. Rubbing alcohol and dry-cleaning solvents are flammable, so ventilate the room and keep them away from flames and pets. Never mix bleach with ammonia, vinegar or other cleaners, and don’t use bleach on carpet at all. Wear gloves, keep kids and pets off treated areas until dry, and follow every product label.

How to remove the most common carpet stains

How do you get coffee out of carpet?

Blot immediately, then dab on cool water and blot again. Apply the dish soap solution, let it sit a few minutes, and blot. Follow with the vinegar solution, which helps break down the tannins in coffee and tea.

Coffee with milk and sugar leaves a protein and sugar residue, so rinse especially well. Dried coffee stains usually need a couple of rounds. A portable spot cleaner speeds this up a lot.

How do you get red wine out of carpet?

Blot, never rub. Pour a little cool water on the stain to dilute it and blot again. Then apply dish soap solution, blot, and follow with the vinegar solution. Repeat until no more color transfers to your cloth.

On light-colored synthetic carpet, a small amount of 3% hydrogen peroxide can lift the last pink shadow. Test it first. Skip the old trick of pouring salt on a wet wine stain: it absorbs some liquid but can leave residue and doesn’t remove dye.

How do you get blood out of carpet?

Use cold water only. Heat sets blood proteins permanently. Blot with cool water, then apply dish soap solution or an enzyme cleaner, which breaks down proteins, and blot.

For a stubborn dried stain on light synthetic carpet, dab a tiny amount of 3% hydrogen peroxide. It foams as it works. Rinse with cool water and blot dry. Skip enzymes on wool, which is a protein fiber.

How do you get grease or oil out of carpet?

Water alone just spreads grease. Scrape up what you can, then cover the spot with baking soda or cornstarch and let it sit at least 15 minutes to absorb the oil. Vacuum it up.

Then work in dish soap solution, since dish soap is designed to cut grease, and blot. Rinse well. For motor oil or heavy grease, a dry-cleaning solvent applied to a cloth (never poured on) can help; follow the label and ventilate.

How do you get pet urine out of carpet?

Urine is different from other stains because the smell outlasts the color. Uric acid crystals don’t dissolve in water, so regular cleaners mask the odor for a while but humidity brings it back. Blot hard, rinse with cool water, then saturate the area with an enzyme cleaner and let it work.

We have two detailed guides: how to get rid of dog urine smell in carpet and how to get rid of cat pee smell. If you’re shopping for a machine, our best carpet cleaner for pet urine guide compares spot cleaners and full-size uprights.

How do you clean vomit out of carpet?

Scoop solids with a paper towel or a flexible spatula, then blot. Sprinkle baking soda to absorb moisture and odor, wait 15 minutes and vacuum. Treat with an enzyme cleaner, let it dwell, then rinse and extract.

Pet vomit can contain dyes from food and stomach acid that affect some carpets, so don’t wait. A spot cleaner with a dedicated pet tool, like the SpotClean Pet Pro, keeps the mess out of the hose.

How do you get mud out of carpet?

This is the one time you should wait. Wet mud smears deeper if you touch it. Let it dry completely, break it up gently, and vacuum thoroughly from several directions.

Treat any remaining discoloration with dish soap solution, then rinse and blot. Red clay soils can leave a stubborn tint that often needs a spot extractor or a couple of passes.

How do you get ink or marker out of carpet?

Don’t add water first; it can spread water-based ink. Dab rubbing alcohol onto a white cloth (not directly onto the carpet) and blot the stain, switching to a clean area of the cloth as ink transfers. Be patient.

Once no more ink lifts, remove the alcohol residue with a little dish soap solution and rinse. Permanent marker may only fade, not disappear completely.

How do you get candle wax and gum out of carpet?

Harden both with an ice cube in a plastic bag, then scrape or pick off as much as possible. For remaining wax, place a brown paper bag over the spot and press with a warm (not hot) iron for a few seconds at a time; the paper absorbs the melted wax. Keep the iron moving and never let it touch the carpet directly, as synthetic fibers can melt.

Colored wax can leave dye behind. Dab it with rubbing alcohol on a cloth, then rinse.

Why do carpet stains come back after cleaning?

It’s frustrating: the spot looks clean when wet, then a shadow reappears a day later. There are two usual culprits. Wicking happens when the stain has soaked into the backing or pad, and as the surface dries, moisture pulls the stain back up the fibers.

Residue happens when soap or cleaner stays in the fibers and attracts new dirt, so the spot turns gray again within weeks. Both are fixable with thorough rinsing, strong extraction and fast drying. Our full guide on carpet stains that keep coming back walks through each fix.

What about upholstery and rugs?

Most carpet methods work on upholstery, with one big caveat: check the cleaning code on the tag first. “W” means water-based cleaners are fine, “S” means solvent only, “W/S” means either, and “X” means vacuum only. Using water on an S-code couch can leave permanent water rings.

Our best upholstery cleaner for couch guide explains each code and the tools that work for each. For wool or antique rugs, skip enzymes and alkaline cleaners and consider a specialist rug cleaner.

The tools that solve most carpet stains

You can remove many stains with towels and a spray bottle. But a spot cleaner makes the difference between “faded” and “gone”, because it rinses and extracts far more liquid than blotting ever can. Here’s what we’d keep on hand.

Best budget spot cleaner

Bissell Little Green Portable Carpet Cleaner 1400B

Best for: everyday spills, small homes and cars.

Why we picked it

  • One of the most popular portable carpet cleaners on Amazon
  • Compact, with a 48 oz clean tank
  • Rinses and extracts far better than blotting

Keep in mind

  • Less suction than bigger models

Check price on Amazon

Best spot cleaner for pets

Bissell SpotClean Pet Pro 2458

Best for: homes with pets, stairs and frequent messes.

Why we picked it

  • Stronger suction and bigger tanks than the Little Green
  • Pet Stain Trapper tool for vomit and solids
  • 22-ft cord and long flex hose for stairs

Keep in mind

  • Bulkier to store

Check price on Amazon

Best for whole rooms

Bissell ProHeat 2X Revolution Pet 1548F

Best for: deep-cleaning entire rooms, traffic lanes and old, widespread stains.

Why we picked it

  • Full-size upright, about half the weight of a rental machine
  • MAX clean mode for heavy soil
  • 7-ft hose and pet stain tool for stairs and spots

Keep in mind

  • Needs real storage space
  • More machine than you need for occasional spills

Check price on Amazon

Best enzyme cleaner

Bissell Pet Pro Stain & Odor Eliminator (2-pack)

Best for: urine, vomit, feces and other organic stains.

Why we picked it

  • Enzyme action breaks down odor at the source
  • 2-pack for saturating deep spots

Keep in mind

  • Not for wool or silk; test first

Check price on Amazon

Not sure which spot cleaner fits you? Compare them in our Bissell Little Green vs SpotClean Pet Pro comparison, read the full Bissell Little Green review, or see our Hoover PowerDash Pet review for a lightweight compact upright.

Can you use a steam cleaner on carpet stains?

A canister steam cleaner is great for tile grout, sealed hard floors and sanitizing surfaces, but it isn’t a carpet extractor: it adds heat and moisture without pulling the dirty water back out. Heat can also set protein stains like blood and urine. Use extraction for carpet, and save steam for hard surfaces. Our McCulloch MC1375 review covers what a steamer does well.

Carpet stain prevention checklist

  • Keep a “stain kit” ready: white towels, a spray bottle, clear dish soap, white vinegar, an enzyme cleaner and a dull scraper.
  • Vacuum high-traffic areas at least twice a week; grit wears fibers and makes stains cling.
  • Put washable mats at every entry door and take shoes off indoors.
  • Use area rugs or runners in dining areas and under pet bowls.
  • Deep-clean the whole carpet every 12 to 18 months, or more often with pets and kids. Many carpet warranties require periodic hot-water extraction, so check yours.
  • Ask about stain-protection treatment after professional cleaning, and reapply as recommended.
  • Keep pet nails trimmed and house-train with an enzyme cleaner on hand for accidents.

When to call a professional

Call a certified carpet cleaning professional (look for IICRC certification) for wool, silk or antique rugs, large stains, stains you can’t identify, sewage or flood water, heavy pet urine that has reached the pad, or anything your own attempts have made worse. Sewage and flood-soaked carpet is a health issue, not a stain: it usually needs removal. Pros also have stronger extraction and specialty spotters that can save carpet you’d otherwise replace.

Frequently asked questions

What is the best homemade carpet stain remover?

For most food and drink stains, a solution of about 1/4 teaspoon clear dish soap in a quart of lukewarm water works well, followed by a rinse with 1 part white vinegar to 2 parts water. Blot, don’t rub, and finish with plain water. For pet urine and other organic stains, an enzyme cleaner works far better than homemade mixes.

Can old, set-in carpet stains be removed?

Often, yes, or at least faded significantly. Rehydrate the stain with warm water (cool for blood and urine), apply the right solution for the stain type, let it dwell for several minutes, then extract with a spot cleaner. Expect to repeat the process two or three times. Very old dye stains may need a professional.

Does baking soda remove carpet stains?

Baking soda is great at absorbing grease and moisture, and it reduces odors, but it doesn’t dissolve most stains on its own. Use it as a first step on oily spills or vomit, let it sit, vacuum it up, then treat the remaining stain with a dish soap solution or the right cleaner for the stain.

Is hydrogen peroxide safe on carpet?

Only on light-colored synthetic carpet, and only after testing on a hidden area. Standard 3% hydrogen peroxide can bleach dyes and damage wool and other natural fibers. Dab small amounts rather than pouring, then rinse with cool water. Never mix it with vinegar or other cleaners in the same container.

Why did my carpet stain turn brown after cleaning?

Browning usually comes from over-wetting. Water dissolves dirt or tannins in the backing and pad, then wicks them up to the tips of the fibers as it dries. Fix it by blotting with a vinegar solution, extracting well with a spot cleaner, and drying quickly with a fan and a weighted towel.

How long should carpet take to dry after spot cleaning?

A small, well-extracted spot should dry in a few hours with a fan. Larger areas can take 6 to 12 hours. If carpet stays damp for more than a day, stains can wick back and musty odors can develop, so improve airflow, run a dehumidifier or AC, and extract more water next time.

Ready to choose a machine? Start with our best carpet cleaner for pet urine guide, which works for every kind of stain, not just pet messes.