How to Get Coffee Stains Out of Clothes, Carpet, and Mugs

Coffee stains are a daily reality for most people, and the good news is they respond well to treatment — especially when caught early. Whether you’ve spilled on your shirt on the way to work, dripped on the carpet during your morning routine, or left a ring inside your favorite mug, this guide covers how to get coffee stains out of clothes, carpet, and mugs.
Different stain or fabric? The stain removal lookup gives the right steps for 14 common stains on cotton, synthetics, wool, silk, carpet and upholstery.
In this guide
Why Coffee Stains Are Stubborn
Coffee contains tannins — naturally occurring polyphenol compounds that bind to protein fibers in fabric. This is why coffee stains go from light brown to a deep, set-in tan if left untreated. The tannins bond more tightly over time, especially when exposed to heat. If milk or cream was in your coffee, you’re also dealing with a mild protein stain that adds another layer of complexity.

How to Get Coffee Stains Out of Clothes
Fresh Coffee Stains
- Blot immediately. Use a paper towel or clean white cloth to absorb as much coffee as possible. Work from the outside edge inward.
- Rinse from the back with cold water. Hold the fabric under cold running water from the back side to push the coffee out. Don’t use hot water — it can set the tannins.
- Apply dish soap or liquid laundry detergent. Work a small amount into the stain with your fingers and let it sit 5–10 minutes.
- Check and repeat if needed, then wash on the warmest setting the care label allows.
- Air dry or check before using the dryer. If the stain is still visible, treat again before drying.
Coffee with Milk or Cream
If your coffee had milk or cream, the protein in the dairy can make the stain harder to remove. Use an enzyme-based detergent (most modern laundry detergents contain enzymes) or a dedicated enzyme pre-treatment like OxiClean or Zout. Let it soak for at least 15–20 minutes before washing.
Dried or Set Coffee Stains on Clothes
- Soak the stained area in cold water for 30 minutes to rehydrate the stain.
- Apply white vinegar directly to the stain and let it sit for 10 minutes. Vinegar helps break down tannins.
- Mix dish soap with baking soda into a paste and apply to the stain. Work it in gently and let it sit 15–20 minutes.
- Wash in the machine. Use an enzyme detergent and the warmest water safe for the fabric.
- Repeat if needed before drying.
How to Get Coffee Stains Out of Carpet
- Blot up as much coffee as possible immediately. Use white cloths or paper towels. Don’t rub.
- Dilute the stain with cold water. Pour a small amount of cold water onto the stain, then blot again. Repeat to dilute and lift the coffee.
- Apply a cleaning solution. Mix 1 tablespoon dish soap + 1 tablespoon white vinegar + 2 cups warm water. Apply with a clean cloth and blot — don’t scrub.
- Work from the edges in to avoid spreading the stain further.
- Rinse with cold water to remove soap residue. Leftover dish soap attracts dirt.
- Blot dry with clean towels, then place a dry towel on the area and weigh it down to absorb remaining moisture.
- For stubborn stains: Apply a small amount of hydrogen peroxide (test in a hidden spot first) or use a commercial carpet cleaner like Folex.
How to Remove Coffee Stains from Mugs and Cups
Coffee and tea leave brown tannin buildup inside mugs over time. The inside of a mug can develop stubborn staining that regular dishwashing doesn’t touch. Here are three methods that work:
Method 1: Baking Soda Scrub
Sprinkle baking soda inside the mug, add just enough water to form a paste, and scrub with a sponge or cloth. The mild abrasive action of baking soda polishes away the tannin buildup without scratching ceramic or porcelain. Rinse well afterward.
Method 2: White Vinegar Soak
Fill the mug halfway with white vinegar and let it soak for 30 minutes to several hours. The acidity breaks down tannin deposits. For light staining, this alone may be enough. For heavy buildup, combine with a baking soda scrub after soaking.
Method 3: Denture Tablets
Drop one denture-cleaning tablet into the mug, fill with warm water, and let it fizz for 15–30 minutes. Denture tablets contain a combination of bleaching agent and enzymes that are surprisingly effective on coffee and tea staining.
Method 4: Bar Keepers Friend
For very stubborn, long-term staining on ceramic mugs, Bar Keepers Friend (a mild oxalic acid cleanser) works extremely well. Dampen the mug, sprinkle in a small amount, scrub with a damp sponge, and rinse thoroughly. This removes staining that nothing else seems to touch.
Tips for Preventing Coffee Stains
- Rinse mugs and travel cups immediately after use — don’t let coffee dry in the cup
- Treat fabric stains within the first few minutes for best results
- Keep a small bottle of dish soap or stain remover in your car or work bag for spills away from home
- Wear a splash guard or apron when pouring in a hurry
Coffee stains are very manageable with the right tools and a bit of speed. The key is cold water first, dish soap to break down the tannins, and always checking the stain is completely gone before applying heat.
Related guides
- How to Remove Yellow Armpit Stains From White Shirts
- How to Get Ink Out of Clothes (Ballpoint, Gel, and Permanent Marker)
- How to Remove Rust Stains From Clothes
Sources and further reading
Always test a cleaner on a hidden spot first and follow the care label. Never mix bleach with ammonia, vinegar, or other cleaners. Ventilate the room and wear gloves when using strong products.