Cavities form when bacteria in your mouth feed on sugars and produce acids that dissolve tooth enamel. The good news: this process is largely preventable. Your teeth are constantly losing and regaining minerals throughout the day, and the habits you build around eating, drinking, and cleaning your teeth determine which side wins.
How Cavities Actually Form
Your mouth contains billions of bacteria, and some of them thrive on the sugars and starches you eat. When these bacteria break down carbohydrates, they produce organic acids, primarily lactic acid. When those acids build up in the sticky film on your teeth (plaque), the pH at the tooth surface drops below 5.5. At that point, calcium and phosphate start leaching out of your enamel. This is demineralization, and it’s the first step toward a cavity.
Sucrose, ordinary table sugar, is the most cavity-promoting carbohydrate. The bacteria don’t just use it for fuel. They also use it to manufacture a sticky, glue-like substance that helps them cling to your teeth more effectively, making the plaque harder to remove.
Here’s what works in your favor: your saliva is a natural repair system. Once the sugars are gone, saliva buffers the acid and brings the pH back to a neutral level around 7.0. It also carries calcium and phosphate ions back to the enamel surface, partially rebuilding what was lost. This is remineralization, and it happens automatically between meals. Cavities develop when the balance tips, when acid attacks happen too often or last too long for saliva to keep up.
Brush Twice, Floss Once
The American Dental Association recommends brushing twice a day and cleaning between your teeth with floss or another interdental cleaner once a day. Brushing disrupts the bacterial film before it hardens into tarite, and flossing reaches the tight spaces between teeth where a toothbrush can’t go. These are the spots where cavities frequently start.
Two minutes per brushing session is the standard target. Use a soft-bristled brush and make sure you’re reaching the chewing surfaces of your back teeth, the area where 9 out of 10 cavities occur. If you tend to rush, an electric toothbrush with a built-in timer can help.
Why Fluoride Matters
Fluoride is the single most effective mineral for cavity prevention. It works by integrating into the enamel crystal structure during remineralization, creating a surface that’s harder and more resistant to acid attacks than the original enamel. Saliva is the delivery vehicle: it carries fluoride ions to damaged spots on your teeth, so without adequate saliva flow, fluoride can’t do its job properly.
Standard fluoride toothpaste in the United States contains 1,000 to 1,100 parts per million (ppm) of fluoride. That concentration is effective for everyday protection. Over-the-counter fluoride mouthrinses used daily contain about 230 ppm and can add a second layer of defense, particularly if you’re at higher risk for cavities. For people with active decay or very high risk, dentists can apply professional-strength fluoride gels containing 12,300 ppm or prescribe a 5,000 ppm home-use gel.
Many community water systems add fluoride at 0.7 to 1.2 ppm. If your household uses well water or a filtration system that removes fluoride (like reverse osmosis), you’re missing that baseline exposure.
Cut Sugar Frequency, Not Just Amount
The World Health Organization recommends limiting free sugars to less than 10% of your total daily calories, and ideally below 5%, to minimize cavity risk throughout life. For an adult eating 2,000 calories a day, 5% translates to roughly 25 grams, about six teaspoons of added sugar.
But frequency matters as much as quantity. Every time sugar enters your mouth, bacteria produce acid for roughly 20 to 30 minutes. Sipping a sugary coffee over two hours creates a near-constant acid bath on your teeth, while drinking it in ten minutes gives your saliva time to recover. The same total sugar does far more damage when it’s spread across the day. This applies to all fermentable carbohydrates: candy, crackers, dried fruit, sweetened beverages, even cough drops.
Watch Out for Acidic Drinks
Sugar isn’t the only threat. Acidic beverages can dissolve enamel directly, no bacteria required. The critical pH for enamel dissolution is 5.5, and virtually every soft drink, sports drink, energy drink, and fruit juice on the market falls below that threshold. Diet sodas are sugar-free but still highly acidic.
If you drink acidic beverages, a few habits help limit the damage. Use a straw to reduce contact with your teeth. Don’t swish or hold the drink in your mouth. And wait at least 30 minutes before brushing afterward, because acid-softened enamel is more vulnerable to abrasion from a toothbrush.
Try Xylitol Between Meals
Xylitol is a sugar alcohol found in many sugar-free gums and mints. Unlike regular sugar, cavity-causing bacteria can’t ferment it into acid. In fact, when these bacteria take up xylitol, it disrupts their energy production. According to the California Dental Association, chewing xylitol gum or using xylitol mints three to five times daily, totaling about 5 grams, is considered the optimal dose for cavity prevention. Look for products that list xylitol as the first ingredient, not just one of several sweeteners.
Dental Sealants for Back Teeth
Sealants are thin, protective coatings applied to the chewing surfaces of molars. These surfaces have deep grooves and pits that trap food and bacteria, making them the most cavity-prone areas in the mouth. According to the CDC, dental sealants prevent 80% of cavities in back teeth over two years. They’re most commonly placed on children’s permanent molars as they come in, but adults with deep grooves and no existing fillings can benefit too. The application is quick, painless, and doesn’t require drilling.
Dry Mouth Increases Your Risk
Because saliva is your primary defense against acid and the main vehicle for remineralization, anything that reduces saliva flow raises your cavity risk significantly. People with chronic dry mouth often develop cavities in unusual locations: along the gumline, on root surfaces, and even on the tips of teeth that are normally resistant to decay.
The most common cause of reduced saliva is medication. Over 100 medications have moderate to strong evidence of causing dry mouth. The major categories include:
- Antidepressants, especially older tricyclic types
- Antihistamines for allergies and asthma
- Blood pressure medications and diuretics
- Decongestants
- Muscle relaxants and pain medications
- GLP-1 receptor agonists used for diabetes and weight loss
- Bladder control medications
If you take any of these and notice a persistently dry mouth, talk to your dentist about protective strategies. Sipping water throughout the day, using xylitol products to stimulate saliva, and applying prescription-strength fluoride can all help offset the lost protection. Don’t stop a medication on your own, but know that your cavity risk has changed and your dental care may need to adapt.
Regular Dental Visits Catch Problems Early
Professional cleanings remove hardened plaque (tartar) that you can’t get rid of with brushing alone. Just as importantly, your dentist can spot early signs of decay, white spot lesions on the enamel, before they become full cavities. At this stage, the damage is still reversible with fluoride treatment and improved habits. Once a cavity has broken through the enamel surface, it can’t heal on its own and needs a filling.
How often you need to go depends on your individual risk. Someone with no history of cavities, good saliva flow, and solid home care may do fine with annual visits. Someone with dry mouth, frequent sugar exposure, or a history of decay may need checkups every three to four months. Your dentist can help you figure out the right interval based on what they see in your mouth.