Cavities are preventable. The core strategy is straightforward: reduce the acid attacks on your teeth, give your enamel the minerals it needs to repair itself, and clean the spots your saliva can’t reach. Here’s how each piece works and what to do about it.
How Cavities Actually Form
Your teeth are in a constant tug-of-war between breaking down and building back up. Every time you eat or drink something sugary or acidic, bacteria in your mouth produce acids that pull minerals out of your enamel. This is demineralization. Between meals, your saliva buffers those acids and delivers calcium and phosphate back into the enamel surface. This is remineralization. A cavity forms when demineralization wins more often than remineralization, eventually creating a hole in the tooth.
The earliest visible sign of trouble is a white spot lesion: an opaque, chalky patch on the tooth surface that’s lost its shine. These spots appear because the enamel underneath has become porous from mineral loss, scattering light instead of reflecting it cleanly. The good news is that white spot lesions are still partially mineralized and can be reversed with the right care. Once the surface breaks open into an actual cavity, though, that damage is permanent and needs professional treatment.
Cut Back on Sugar (and Timing Matters)
Sugar is the primary fuel for the bacteria that produce cavity-causing acid. 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. For an adult eating around 2,000 calories a day, 5% works out to roughly 25 grams, or about 6 teaspoons of added sugar.
How often you eat sugar matters as much as how much. Every sugary snack or drink triggers a fresh acid attack that lasts about 20 to 30 minutes. Sipping a soda over two hours creates a nearly continuous acid bath, while drinking it in one sitting limits the exposure to a single episode. The same logic applies to acidic drinks like juice, sports drinks, and sparkling water with citrus. Swishing these around your mouth accelerates the chemical breakdown of enamel, so drinking through a straw or taking quick sips rather than swishing helps.
Brush and Floss the Right Way
Brushing twice a day with fluoride toothpaste is the foundation. Use a soft-bristled brush at a 45-degree angle to the gumline, and spend about two minutes covering all surfaces. For children under 3, use a rice-grain-sized smear of toothpaste. Kids between 3 and 6 should use a pea-sized amount. These smaller quantities limit the fluoride a child swallows while still protecting their teeth.
Brushing alone misses the tight spaces between your teeth, and that’s exactly where plaque builds up and cavities start. Daily flossing or using an interdental brush removes the plaque your toothbrush can’t reach. If you find traditional floss difficult, a small interdental brush (sometimes called a proxy brush) fits between teeth and can be easier to use consistently. The best tool is whichever one you’ll actually use every day.
Fluoride: Your Enamel’s Best Ally
Fluoride strengthens enamel by integrating into its crystal structure, making it more resistant to acid attacks and speeding up remineralization. You get fluoride from three main sources: toothpaste, drinking water, and professional treatments.
Community water fluoridation, used in many public water systems, maintains fluoride at 0.7 milligrams per liter. This low, consistent exposure has been one of the most effective public health measures for reducing cavities across entire populations. If your water comes from a well or a system that doesn’t add fluoride, you may benefit from a fluoride rinse or your dentist can apply a concentrated fluoride varnish at checkups.
If you prefer to avoid fluoride, hydroxyapatite toothpaste is an alternative worth knowing about. A clinical study comparing 10% hydroxyapatite toothpaste to a fluoride formula found no statistically significant difference in remineralization. Both achieved roughly 56% remineralization of early lesions over the study period. Hydroxyapatite works by depositing a mineral nearly identical to natural enamel directly onto the tooth surface, producing a more even repair pattern. It’s widely used in Japan and increasingly available elsewhere.
Dental Sealants for Back Teeth
Nine out of ten cavities occur in the back teeth, where deep grooves and pits trap food and bacteria that brushing struggles to dislodge. Dental sealants are thin coatings painted onto the chewing surfaces of molars that physically block bacteria and food from settling into those grooves. According to the CDC, sealants prevent 80% of cavities in back teeth over a two-year period.
Sealants are most commonly applied to children and teenagers once their permanent molars come in, but adults with deep grooves and no existing fillings can benefit too. The process takes just a few minutes per tooth, involves no drilling, and is painless. They typically last several years before needing reapplication.
Xylitol: A Sugar That Fights Cavities
Xylitol is a sugar alcohol found in gum, mints, and some toothpastes that cavity-causing bacteria can’t use as fuel. When these bacteria consume xylitol instead of regular sugar, they can’t produce the acid that erodes enamel, and their populations decline over time. A meta-analysis on xylitol and cavity prevention found that the effective dose is 5 to 10 grams per day, spread across three to five exposures, typically after meals. Consuming it fewer than three times daily, at less than about 3.4 grams total, showed no measurable benefit. Xylitol gum after lunch or a snack is a practical way to hit that threshold.
What Happens When a Cavity Has Already Started
If your dentist finds white spot lesions or very early enamel damage, aggressive remineralization (fluoride treatments, improved brushing, dietary changes) can often reverse the process before a filling is needed. This is the window where all the prevention strategies above have the most impact.
For cavities that have already broken through the enamel surface, a treatment called silver diamine fluoride (SDF) can halt further progression without drilling. A systematic review found that SDF applied once or twice a year arrested about 52% of cavitated lesions in baby teeth over 12 months or more. It’s especially useful for young children, elderly patients, or anyone who has difficulty tolerating traditional dental procedures. The trade-off is that SDF permanently stains the treated area dark, so it’s used more often on baby teeth or less visible surfaces.
Cavities that have progressed deeper into the tooth require a filling, crown, or in severe cases, a root canal. The earlier you catch decay, the simpler and less expensive treatment tends to be, which is why regular dental visits every six months matter even if nothing hurts.
Daily Habits That Protect Your Teeth
- Drink water after meals. Rinsing with plain water helps wash away food particles and dilute acids before they can do damage.
- Wait 30 minutes to brush after acidic foods. Acid softens enamel temporarily, and brushing too soon can wear it away. Let saliva neutralize the acid first.
- Chew xylitol gum after eating. This stimulates saliva flow (your body’s natural defense) while starving harmful bacteria.
- Don’t snack constantly. Every time food enters your mouth, you restart the acid cycle. Giving your teeth breaks between meals lets remineralization catch up.
- Check your mouth for white spots. Opaque, dull patches near the gumline or on smooth surfaces are early warnings. If you spot them, increase your fluoride or hydroxyapatite use and bring them up at your next dental visit.