Quick answer: Blot fresh spills with a clean white cloth, never rub. Rinse the back of the fabric with cold water. Treat with an enzyme pre-wash stain remover or a paste of oxygen bleach (sodium percarbonate) and warm water, let it sit 15–30 minutes, then rinse and launder as usual. For mugs, soak in a baking soda paste or diluted white vinegar and scrub with a non-scratch sponge. Avoid hot water and the dryer until the stain is fully gone.
Professional cleaners treat coffee and tea stains the same way they treat any tannin stain: identify it before reaching for a product, work from the back of the fabric so the stain moves out rather than further in, and always test a hidden spot first. The goal is to break the bond between the tannin pigment and the fiber or glaze before any heat locks it in permanently — not to scrub harder.
Why coffee and tea stain the way they do
Coffee and tea both contain tannins, plant compounds that are mildly acidic and bond readily to fibers, grout and the glaze on mugs. Tea generally carries more tannin than coffee, which is why tea stains can look darker on fabric even when the spill was smaller. Coffee also contains oils that leave a secondary greasy residue, and both drinks darken with milk or cream, which adds a protein component that behaves differently under heat. Heat is the enemy here: hot water, a hot iron or a tumble dryer will set both the tannin and any protein residue so that it becomes permanent.
What you need
- Clean white cloths or paper towels (colored cloths can transfer dye)
- Cold water
- Dish soap (washing-up liquid)
- Enzyme-based laundry pre-treater or powder detergent
- Oxygen bleach (sodium percarbonate powder), sold as color-safe bleach or oxygen stain remover
- White vinegar, usually 5% acidity in the US (check the label: strengths differ elsewhere)
- Baking soda
- A soft-bristled brush or non-scratch sponge
- A bucket or basin for soaking
The method, step by step
- Blot the spill immediately with a dry cloth, working from the outside edge in, to stop it spreading. Do not rub.
- Scrape off any solids (coffee grounds, loose tea leaves) with the edge of a spoon.
- Turn the fabric over and run cold water through the back of the stain, pushing it out the way it went in rather than deeper into the weave.
- Apply a small amount of dish soap directly to the stain and work it in gently with your fingers or a soft brush, then rinse.
- If the stain remains, mix 1–2 tablespoons (15–30 g) of oxygen bleach powder into 1 quart (1 liter) of warm water, around 104–140°F (40–60°C), and soak the item for 30 minutes to several hours, checking regularly.
- For set-in or older stains, apply an enzyme pre-treater and leave it for the dwell time stated on the label, usually 10–30 minutes, before washing.
- Check the stain is completely gone before drying. Any trace left will set permanently once it meets heat, including sunlight on a line-dried item.
- Launder as normal following the care label, and air-dry if you are not fully certain the stain has lifted.
Clothes and fabric
Cotton, linen and polyester blends tolerate oxygen bleach well. Silk and wool are protein fibers and can be damaged by strong alkaline products or chlorine bleach, so stick to a mild enzyme detergent diluted as directed, test on a hidden seam first, and avoid soaking delicate fibers for long periods. For a stain that's already dried into the weave, the method is the same as for any set-in stain described in the professional method for removing tough stains, which covers blotting, identifying the stain type and choosing the right remover.
Carpet and upholstery
Never pour liquid directly onto carpet or a sofa cushion; apply the cleaning solution to a cloth first, then blot. Scrubbing pushes the stain deeper and can fray carpet fibers or distort upholstery weave. Check the manufacturer's cleaning code before using any water-based solution on upholstery, since some fabrics are solvent-only — see upholstery cleaning codes W, S, WS and X explained. Work in small sections, blot with a dry towel to lift moisture, then use a fan to speed drying and reduce the risk of a ring or mildew smell.
Mugs, cups and thermoses
Tannin buildup on ceramic mugs often combines with hard water deposits. A baking soda paste (roughly 3 parts baking soda to 1 part water) worked in with a soft cloth or non-scratch sponge lifts most residue without scratching the glaze. For heavier staining, soak the mug in a solution of white vinegar and warm water for 15–30 minutes, then scrub and rinse well; if the mug also has visible hard water scale, see how to remove limescale for a dedicated descaling method. Stainless steel travel mugs and thermoses should never be cleaned with chlorine bleach, which can pit and discolor the steel; denture-cleaning tablets or a baking soda soak work well instead.
Comparing the main products
| Product | Best for | Dwell time | Caution |
|---|---|---|---|
| Oxygen bleach (sodium percarbonate) | Set-in stains on cotton, linen, polyester, white ceramic | 30 min–several hours | Not for silk, wool or hand-wash-only items unless label confirms safe |
| White vinegar, 5% | Mugs, fresh fabric stains, hard water residue | 15–30 min soak | Never mix with chlorine bleach; can dull some natural stone or grout sealant |
| Baking soda paste | Mug and teapot interiors, light mechanical lifting | 5–10 min, then scrub | Mildly abrasive; avoid on delicate glazes with gold trim |
| Enzyme pre-treater/detergent | Fabric with milk, cream or protein residue | Per label, usually 10–30 min | Less effective in very hot water, which can deactivate enzymes |
| Chlorine bleach | White, colorfast, bleach-safe fabric only | Per label | Never mix with vinegar, ammonia or acidic cleaners; unsuitable for stainless steel or colored fabric |
Where not to use these methods
- Do not use chlorine bleach on colored or wool/silk fabric, or on stainless steel mugs and thermoses — it can pit the metal and strip dye from fabric.
- Do not use hot water or a hairdryer on a fresh stain; heat sets both tannins and milk proteins into the fiber.
- Do not combine oxygen bleach, vinegar or any acidic product with chlorine bleach or ammonia-based cleaners — this produces toxic fumes. See cleaning chemicals you should never mix before combining anything.
- Do not scrub carpet or upholstery vigorously; blot only, and test any new product on a hidden corner first.
- Do not use steel wool or abrasive scourers on nonstick, enamel or glazed ceramic — it scratches the surface, which then stains faster next time.
Common mistakes
- Rubbing the stain instead of blotting, which spreads it and pushes it deeper into the fibers.
- Using hot water first, which sets the stain before it's treated.
- Skipping the hidden-spot test on colored fabric or carpet, risking a bleached patch.
- Drying or ironing before confirming the stain is fully gone.
- Letting a splashed mug or spilled cup sit overnight — the longer tannins sit, especially on unsealed grout or stone, the harder they are to shift.
How to prevent it
- Rinse mugs and cups as soon as they're empty rather than leaving them in the sink.
- Use coasters and avoid setting mugs directly on unsealed wood or stone.
- Keep an enzyme detergent on hand for quick pre-treatment before a spill has time to dry.
- Reapply grout sealant periodically if tea or coffee is regularly spilled near countertops — see how to clean grout and when to reseal or regrout.
- Run a hot maintenance wash on the washing machine periodically if stained laundry is a recurring issue, since residue buildup in the drum can redeposit on fabric — see how to clean a washing machine.
For cleaning professionals
- A single garment or mug set typically adds 5–15 minutes to a job; carpet or upholstery spot treatment can take 20–40 minutes depending on how set the stain is, so price it as a timed add-on rather than folding it into a flat rate — the cleaning price calculator helps quote this consistently.
- Record the client's upholstery and carpet codes the first time you clean a home, so you don't have to re-test solvent compatibility on every visit.
- Take a before-and-after photo of any treated stain before you leave, especially on fabric or antique mugs, in case the client disputes the result later.
- Train new staff on the difference between tannin stains and protein or oil stains, since the wrong product order can set a stain permanently rather than lift it. Scheduling, invoicing and appointment reminders for these add-on jobs are easier to track with booking software like CleanWhale rather than relying on memory between visits.