Cavities form when acids dissolve the minerals in your tooth enamel, and nearly every step in that process is something you can interrupt. Your enamel starts losing minerals once the pH in your mouth drops below about 5.5, which happens every time bacteria feed on sugars left on your teeth. The good news: saliva naturally reverses this damage by delivering calcium, phosphate, and other minerals back into enamel, as long as you give it enough time between acid attacks.
How Cavities Actually Form
Bacteria that live on your teeth consume sugars and produce acid as a byproduct. When that acid pushes the pH at the tooth surface below 5.5, minerals start leaching out of the enamel in a process called demineralization. Below pH 4.3 to 4.5, enamel breaks down even if fluoride is present. This is why a mouth full of acid for extended periods does real damage.
Your saliva is your built-in defense system. At its normal resting pH of about 7.0, saliva is supersaturated with calcium and phosphate, the same minerals your enamel is made of. Once the acid clears, those minerals flow back into weakened spots and repair early damage before it becomes a full cavity. The catch is that saliva needs time. If you’re snacking or sipping sugary drinks throughout the day, your mouth stays acidic and saliva never gets the chance to do its repair work.
Sugar: Total Amount Matters More Than You Think
For decades, dentists emphasized that how often you eat sugar matters more than how much you eat. That advice isn’t wrong, but recent evidence complicates the picture. A large study of U.S. adults found that the total amount of added sugar consumed was more consistently and strongly linked to cavities than frequency alone. Each increase in added sugar intake was associated with an 11% higher rate of decayed and filled tooth surfaces.
Frequency still plays a role, particularly when measured as distinct eating episodes per day rather than individual food items. But cutting your overall sugar intake appears to be at least as important as consolidating when you eat it. In practical terms, both strategies help: eat less sugar overall, and when you do have it, keep it to mealtimes rather than grazing throughout the day. This gives your saliva the longest possible windows to neutralize acid and rebuild enamel.
Brushing: Technique and Toothpaste Choice
Brushing twice a day with fluoride toothpaste remains the single most accessible thing you can do to prevent cavities. Fluoride works by integrating into enamel’s mineral structure, making it more resistant to acid attack and speeding up remineralization. Community water fluoridation at 0.7 ppm prevents at least 25% of tooth decay across all age groups, according to the American Dental Association, and fluoride toothpaste adds protection on top of that.
If you prefer a fluoride-free option, hydroxyapatite toothpaste is the most evidence-backed alternative. A clinical trial in children found that toothpaste containing 10% hydroxyapatite performed equally well as fluoride toothpaste for remineralizing early cavities and preventing new demineralization. The two approaches work differently: fluoride strengthens the outer surface layer, while hydroxyapatite produces a more even, homogenous repair throughout the lesion. Either is a legitimate choice for daily use.
Regardless of which toothpaste you use, spit but don’t rinse after brushing. Rinsing with water washes away the active ingredients before they’ve had time to work on your enamel.
Why Flossing Specifically Prevents Cavities
Nine out of ten cavities form in the back teeth, and the surfaces between teeth are especially vulnerable because a toothbrush can’t reach them. People who don’t floss have 1.46 times the risk of developing cavities between their teeth compared to people who do. That’s a meaningful difference for a habit that takes about two minutes a day.
The goal is to physically disrupt the bacterial film that builds up in those tight spaces. If traditional floss is difficult for you, water flossers and other interdental tools can help with gum health, though the strongest cavity prevention data specifically supports string floss for between-teeth decay.
Xylitol: A Sugar Substitute That Starves Bacteria
Xylitol is a sugar alcohol found in many sugar-free gums and mints, and it does more than just replace sugar. The main cavity-causing bacteria can’t metabolize xylitol for energy, so consuming it regularly actually reduces bacterial populations over time. The effective dose is 6 to 10 grams per day, spread across at least three exposures. Below about 3.5 grams daily, xylitol doesn’t meaningfully change bacterial levels in the mouth.
Most xylitol gums contain about 1 gram per piece, so you’d need two pieces three times a day to hit the minimum effective range. Chewing after meals is ideal because it also stimulates saliva flow right when your mouth needs it most. Look for products that list xylitol as the first ingredient rather than just one of several sweeteners.
Dental Sealants for Back Teeth
Sealants are thin coatings painted into the grooves and pits of molars, where most cavities develop. They prevent 80% of cavities in back teeth over two years, making them one of the most effective preventive treatments available. They’re most commonly applied to children’s permanent molars as they come in (around ages 6 and 12), but adults with deep grooves and no existing fillings can benefit too.
The application takes minutes per tooth, involves no drilling, and is painless. Sealants can last several years before needing to be checked or reapplied. If you have children, asking about sealants at their next dental visit is one of the highest-impact preventive steps you can take.
Treatments That Stop Early Cavities
Not every cavity needs a drill. Silver diamine fluoride (SDF) is a liquid that can be painted onto early or small cavities to stop them from progressing. In a clinical trial of preschool children, cavities treated with SDF twice a year had a 78% arrest rate at one year, meaning the decay stopped advancing in roughly four out of five treated teeth. Applying it four times over a year pushed that rate to about 81%. Even once-yearly application arrested decay in 58% of cases.
The main downside is cosmetic: SDF permanently stains decayed areas black. For back teeth or baby teeth, many parents and patients consider that a worthwhile tradeoff to avoid a filling. It’s particularly useful for young children, older adults, or anyone who has difficulty tolerating traditional dental procedures.
Protecting Your Child’s Teeth Early
Cavity-causing bacteria aren’t present in a baby’s mouth at birth. They’re transmitted from caregivers, most commonly through shared utensils, pre-tasting food, or cleaning a pacifier with your mouth. Studies show that treating a mother’s dental problems reduces the rate of early childhood cavities in her children, likely by lowering the bacterial load she passes along.
For young children, the American Academy of Pediatric Dentistry recommends using a rice-grain-sized smear of fluoride toothpaste as soon as the first tooth appears, increasing to a pea-sized amount at age three. Avoiding sugary drinks in bottles or sippy cups, especially at bedtime, eliminates one of the most common causes of severe early decay. Starting dental visits by age one helps catch problems when they’re still reversible.
Putting It All Together
Cavity prevention works best as layers of protection. No single habit is enough on its own, but stacking several together makes decay unlikely. Brush twice daily with fluoride or hydroxyapatite toothpaste, floss once a day, limit added sugar, and chew xylitol gum after meals. Drink fluoridated tap water if it’s available in your area. Ask your dentist about sealants for yourself or your kids, and about SDF for any early spots of decay that haven’t yet become full cavities.
Your mouth is constantly cycling between mineral loss and mineral gain. Everything on this list either reduces the acid attacks, strengthens your enamel’s ability to recover, or both. The more of these habits you adopt, the more the balance tips toward keeping your teeth intact.

