Quick answer: To remove coffee stains, rinse with cool water, treat with white vinegar, wash as directed, and inspect before drying. If the stain includes milk or sugar, finish with detergent or an enzyme stain remover, and use hydrogen peroxide only if needed.
Coffee stains are usually easiest to remove when you treat them right away. The key is to break the stain into its parts: coffee tannins respond well to a mild acid, while any milk or sugar residue needs detergent or an enzyme-based stain remover.
If you act quickly, rinse first, then treat, wash, and inspect before drying, you can remove most coffee stains without setting them in.
If a faint brown mark remains after washing, treat the area again with hydrogen peroxide and let it air dry in the shade. For tougher stains, especially ones that include milk or sugar, an oxygen bleach soak can help before rewashing.
Do not keep re-drying a stained garment. Heat can lock the stain in and make it much harder to remove later.
If you cannot wash the garment right away, blot the stain with a towel or paper towel and use a little dish soap mixed with water. Place a clean towel behind the fabric and dab the stain from the front.
Do not rub. Rubbing spreads the stain and can drive it deeper into the fibers. Dabbing is the safer move until you can wash the item properly.
Coffee is an oxidizable stain, which means it can darken and become harder to remove over time. If your coffee had milk or sugar, that adds oily and protein-like residue that needs a different kind of treatment than coffee alone.
That is why one product sometimes is not enough. Vinegar helps with the coffee itself, while detergent, enzymes, or oxygen bleach help finish the job.
If the garment is silk, wool, structured, or labeled dry clean only, or if the stain is old and still visible after treatment, professional cleaning is the safest next step. Delicate fabrics can react badly to spot treatments, especially peroxide or strong soaking methods.
Or ask about any laundry or garment care question