While coffee contains polyphenols that can help fight harmful bacteria, it can also have adverse effects on your teeth. Coffee residue left on your teeth can cause bad breath, enamel erosion, and cavities. To mitigate these effects, make sure to brush your teeth after enjoying your cup of coffee.