Sugar in soda combines with bacteria in your mouth to form acid, which attacks the teeth. Diet or “sugar-free” soda contains its own acid, which also can damage teeth. Each attack lasts about 20 minutes and starts over with every sip of soda you take. These ongoing acid attacks weaken tooth enamel.