Yes, steam cleaning can effectively remove coffee stains from carpets. but it’s not a guarantee. The longer a stain has been in the carpet, the harder it can be to remove.