Carpet Cleaning

How to Get Coffee Out of Carpet (Fresh or Dried)

A coffee spill on the carpet looks worse than it is. Here's how to get coffee out of carpet, fresh or dried, without setting the stain.

A cup of coffee on a wooden surface
A cup of coffee on a wooden surface

A coffee spill on the carpet is one of those small morning disasters that feels worse than it is. The good news: coffee comes out of carpet readily if you treat it quickly and correctly, and even a dried coffee stain can usually be lifted. Here's how to get coffee out of carpet, fresh or set-in.

The short version

Blot the spill right away (never rub), dilute it with a little cold water, then treat it with a solution of dish soap and white vinegar in warm water. Blot from the outside in, repeat until the stain lifts, rinse with cold water, and dry. For a dried coffee stain, rehydrate it with warm water first. Avoid hot water, which can set the stain, and never scrub.

Why coffee stains carpet

Coffee stains for the same reason tea and red wine do: it's full of tannins and brown pigment that bond to carpet fibers, and as it dries it oxidizes and darkens into a stubborn brown mark. If your coffee had milk or cream, there's an added challenge, the fat and protein need a grease-cutting cleaner, and heat can set the protein. That's why cold water and dish soap matter even more.

Fresh spill: act fast

1. Blot immediately

Press a clean white cloth or paper towels onto the spill to soak up as much coffee as possible. Work from the outside in so you don't spread it, and resist the urge to rub, which drives the pigment deeper.

2. Dilute with cold water

Pour a little cold water over the stain to dilute what's left, then blot again. Repeat once or twice. This alone lifts a lot of a fresh spill.

3. Treat the stain

Mix one tablespoon of dish soap and one tablespoon of white vinegar into two cups of warm water. Dab it onto the stain with a cloth and let it sit about five minutes. For a stubborn stain, a one-to-one mix of dish soap and hydrogen peroxide works, but test it on a hidden spot first, since peroxide can lighten some carpets.

4. Blot and repeat

Blot from the edges inward, lifting color with each pass. Reapply and repeat rather than scrubbing harder. Coffee often takes a few rounds.

5. Rinse and dry

Blot with plain cold water to rinse the cleaner out, press with dry towels, and dry the spot quickly with a fan so nothing wicks back up.

Dried or old coffee stains

For a coffee stain you didn't catch in time, mist it with warm water and let it soften for a few minutes, then treat it exactly as above with extra patience. Large or deep dried stains that reached the padding may need hot water extraction, the same approach covered in our guide on getting old stains out of carpet.

Robotin R2 Pro carpet wash-and-dry module

What works on coffee, and what doesn't

Method Works on coffee?
Blotting immediately Yes
Cold-water dilute Yes
Dish soap + white vinegar Yes
Dish soap + hydrogen peroxide Yes
Hot water No, it can set the stain
Rubbing or scrubbing No, it spreads it

What not to do

  • Don't use hot water, especially on coffee with milk, heat sets both tannins and proteins.
  • Don't rub or scrub, it spreads the stain and frays the fibers.
  • Don't over-soak the carpet, excess water leads to slow drying and mildew.
Coffee looks dramatic on carpet, but it's mostly bluff. Blot fast, treat gently, and it lifts more easily than red wine.

When the spill is big or set in

For a knocked-over pot, a stain spread across a large area, or an old coffee mark that soaked deep, spot-cleaning may not get all of it. That's where hot water extraction comes in, flushing the carpet and pulling the dissolved coffee back out. The Robotin R2 Pro does that deep wash-and-extract automatically and dries the carpet afterward, with no rental machine required. It's the same method behind a carpet washing robot. For another classic spill, see our guide on getting red wine out of carpet.

Frequently asked questions

How do you get coffee out of carpet?

Blot it up fast without rubbing, dilute with cold water, then treat with a dish soap and white vinegar solution, blotting from the outside in. Repeat until the stain lifts, rinse with cold water, and dry. Avoid hot water.

Does coffee come out of carpet?

Yes, usually completely if you act quickly. Even dried coffee stains can be lifted by rehydrating and treating them patiently.

How do you get dried or old coffee stains out of carpet?

Mist the stain with warm water to rehydrate it, let it sit a few minutes, then treat with a dish soap and vinegar (or hydrogen peroxide) solution, blotting in repeated passes. Deep, set-in stains may need hot water extraction.

Does vinegar remove coffee stains from carpet?

Yes. White vinegar, mixed with dish soap and warm water, helps break down the tannins in coffee. It's one of the most effective home treatments for coffee stains.

How do you get coffee with milk out of carpet?

Use cold water and a grease-cutting dish soap to handle the fat and protein from the milk, and avoid hot water, which can set the protein. Otherwise treat it like a regular coffee stain.

Meet the Robotin R2 Pro

The first robot that washes, vacuums, and dries. One robot, every floor.

Learn more

Get the cleaning guides, no spam

Real tips for a cleaner home, straight to your inbox.