Question: are fruit flies attracted to coffee?
Answer: Fact: Fruit flies are attracted to and feed on decaying fruits and vegetables, drinks (including beer and wine), spills, coffee grounds, drains, trash cans, dirty mops, towels, damp clothing, moist pet food and indoor houseplants. If it's damp and remotely edible, fruit flies and their larvae will use it.