What Foods Cause Cavities and How to Protect Teeth

Sugary foods top the list, but they’re not the only culprits. Cavities form when bacteria in your mouth feed on carbohydrates from food, producing acid that eats away at tooth enamel. Any food that delivers fermentable carbohydrates, clings to your teeth, or lowers the pH in your mouth below 5.5 can contribute to decay.

How Food Actually Causes Cavities

Your mouth is home to hundreds of species of bacteria, and some of them thrive on the sugars and starches you eat. When these bacteria break down carbohydrates, they produce acids as a byproduct. Those acids lower the pH on tooth surfaces, and once the pH drops below about 5.5, the mineral crystals that make up your enamel start to dissolve. This process is called demineralization.

Saliva normally steps in to neutralize acids and resupply minerals back to your teeth. But when you eat sugary or starchy foods repeatedly throughout the day, your saliva can’t keep up. The acid attacks overlap, and over time, the cumulative mineral loss creates a cavity. So the real issue isn’t just what you eat. It’s how much acid exposure your teeth accumulate before saliva has a chance to repair the damage.

Sugar: The Biggest Driver of Decay

Sucrose, ordinary table sugar, is the most cavity-promoting carbohydrate. It’s the preferred fuel for the bacteria most responsible for tooth decay, and it feeds them efficiently. But sucrose isn’t the only sugar that matters. Glucose, fructose, and other simple sugars all get fermented into acid by plaque bacteria.

The World Health Organization recommends keeping free sugars below 10% of your total daily calories, and ideally below 5%, to minimize cavity risk across your lifetime. “Free sugars” includes any sugar added during manufacturing or cooking, plus sugars naturally present in honey, syrups, and fruit juice. It does not include the sugars locked inside whole fruits, vegetables, or plain milk.

The foods with the most obvious cavity risk are the ones you’d expect: candy, cookies, cake, ice cream, and sweetened cereals. But the form sugar takes matters as much as the amount. Sticky, chewy candies like caramels, taffy, and gummy bears cling to tooth surfaces for extended periods, giving bacteria a prolonged feast. Hard candies and lollipops dissolve slowly in your mouth, bathing teeth in sugar for minutes at a time. Both are particularly damaging compared to sugary foods you chew and swallow quickly.

Starchy Foods Are More Harmful Than You Think

White bread, crackers, chips, pasta, and breakfast cereals don’t taste sweet, but they’re loaded with starch that breaks down into sugars in your mouth. Enzymes in your saliva start converting starch to simple sugars almost immediately. And cooked starch is far more cavity-promoting than raw starch. Animal studies have shown that cooked starch is roughly one-third to one-half as damaging as pure sucrose.

That might sound modest until you consider two things. First, people tend to eat starchy foods in large quantities without thinking of them as a cavity risk. Second, combining starch with sugar may be even more damaging than sugar alone. Think of cookies, doughnuts, sweetened cereals, or chips dipped in sugary salsa. The starch helps the mixture stick to your teeth while the sugar feeds bacteria directly, creating a longer, more intense acid attack.

Refined starches like white bread and potato chips are particularly problematic because they compress into a paste that wedges into the grooves and spaces between teeth. That paste sits there producing acid long after you’ve finished eating.

Sugary and Acidic Drinks

Soda is a double threat. It contains large amounts of sugar and is also highly acidic on its own. The pH of most commercial carbonated drinks sits well below the 5.5 threshold where enamel starts dissolving, which means the drink attacks your teeth directly through its acidity while also feeding bacteria that produce even more acid. Diet sodas eliminate the sugar but keep the acidity, so they still contribute to enamel erosion.

Fruit juice is often treated as a healthy alternative, but from your teeth’s perspective, it behaves a lot like soda. Juices are naturally acidic and contain free sugars that bacteria readily ferment. Apple juice, orange juice, and grape juice all qualify. Sports drinks and energy drinks combine sugar, acidity, and a tendency to be sipped over long periods during exercise, which extends the window of acid exposure.

One thing working in liquid sugars’ favor: they pass through your mouth relatively quickly compared to solid foods. Beverages flow easily and don’t stick to tooth surfaces the way a caramel or a cracker does. But people often sip sugary drinks slowly over an hour or more, which negates that advantage by restarting the acid cycle with every sip.

Surprisingly Risky Foods

Dried fruits like raisins, dates, and dried apricots are concentrated in natural sugars and extremely sticky. They pack into the grooves of your molars and stay there. Many people eat them as a “healthy” snack without realizing they’re one of the more cavity-promoting whole foods.

Condiments and sauces are another hidden source. Ketchup, barbecue sauce, honey mustard, and many salad dressings contain added sugars. So do flavored yogurts, granola bars, and canned soups. These aren’t foods people associate with cavities, but they all deliver fermentable sugars to your mouth. Bread is worth singling out again here: even plain white sandwich bread contains enough rapidly digestible starch to lower plaque pH after eating.

Why Texture and Timing Matter

The stickier a food is, the longer it clings to your teeth, and the longer bacteria have to convert it into acid. This is why the physical form of a food is directly related to its cavity potential. A spoonful of sugar dissolved in water washes away in seconds, while the same amount of sugar in a piece of toffee might coat your teeth for twenty minutes or more.

Total sugar intake appears to matter more than how often you snack. A large study of U.S. adults found that the total amount of added sugar consumed per day was more consistently and strongly linked to cavities than eating frequency. Each standard increase in daily sugar intake (about 55 grams) was associated with an 11% higher cavity score. Frequency of intake showed a much weaker, sometimes nonexistent, association once total amount was accounted for. That said, spreading sugar across many small snacking episodes throughout the day still extends the total time your teeth spend under acid attack, so both factors play a role.

Foods That Help Protect Your Teeth

Not all foods promote decay. Cheese raises the pH in your mouth and delivers calcium and phosphate that help rebuild enamel. Crunchy, water-rich vegetables like celery and carrots stimulate saliva flow and physically scrub tooth surfaces. Nuts provide minerals without the fermentable carbohydrates that bacteria need. Plain water, especially fluoridated tap water, rinses away food particles and helps saliva do its job.

Eating protective foods alongside or right after sugary ones can blunt the acid response. Finishing a meal with a piece of cheese, for example, helps neutralize the acids produced during eating. Chewing sugar-free gum after meals also stimulates saliva, which speeds up the process of washing away sugars and buffering acids back to a safe pH.

Practical Ways to Lower Your Risk

You don’t have to eliminate sugar entirely. The goal is to reduce how much acid your teeth absorb over the course of a day. Eating sweets with meals rather than as standalone snacks helps, because mealtime saliva production is higher and other foods help buffer the acid. Drinking sugary or acidic beverages through a straw reduces contact with your teeth. Rinsing your mouth with water after eating something sweet or starchy is a simple habit that makes a measurable difference.

Keeping total added sugar intake low matters more than obsessing over every snack. The WHO’s target of under 5% of daily calories translates to roughly 25 grams, or about 6 teaspoons, of added sugar per day for an average adult. A single can of regular soda contains about 35 to 40 grams, which puts you well over that limit in one drink.