How to Prevent Cavities and Stop Tooth Decay

Preventing cavities comes down to one basic principle: keeping the minerals in your teeth from dissolving faster than your body can replace them. Your tooth enamel is 96% mineral, and it starts breaking down whenever the environment in your mouth drops below a pH of about 5.5. Every time you eat or drink something sugary or acidic, bacteria in your mouth produce acids that push past that threshold. If that happens often enough without recovery time, a cavity forms. The good news is that nearly every cavity is preventable with a combination of daily habits and a few smart choices.

What Actually Causes a Cavity

Cavities aren’t caused by sugar directly. They’re caused by acid, which is produced by bacteria living on your teeth. These bacteria feed on sugars and starches left in your mouth, and their waste product is acid. When that acid lingers, it pulls calcium and phosphate out of your enamel in a process called demineralization. Your saliva naturally contains calcium and phosphate and works to repair this damage between meals, pushing minerals back into weakened enamel. A cavity only develops when demineralization outpaces this natural repair cycle over weeks or months.

This is why frequency of sugar exposure matters more than total amount. Sipping a sugary drink over three hours is far worse for your teeth than drinking the same amount in five minutes, because each sip restarts the acid attack and keeps your mouth acidic for longer.

How Sugar and Diet Fit In

The World Health Organization recommends keeping free sugars below 10% of your total daily calories, and ideally below 5%, to minimize cavity risk throughout life. For an adult eating around 2,000 calories a day, 5% works out to roughly 25 grams, or about six teaspoons of added sugar. That’s less than what’s in a single can of soda.

Free sugars include anything added to food, plus sugars naturally present in honey, syrups, and fruit juice. Whole fruit doesn’t count because the sugar is locked inside fiber, which slows its release and limits contact with your teeth. Starchy, sticky foods like chips and crackers can also be a problem because they cling to tooth surfaces and break down into sugars slowly.

Timing matters too. Snacking throughout the day means your mouth rarely gets a chance to return to a neutral pH. If you’re going to have something sweet, eating it with a meal is better than having it on its own, because the extra saliva produced during a full meal helps wash acids away faster.

Brushing: Technique and Timing

Brushing twice a day with fluoride toothpaste is the single most effective thing you can do at home. Fluoride works by speeding up the remineralization process and making the repaired enamel more resistant to future acid attacks. For adults and children, toothpaste with at least 1,000 ppm fluoride is the standard recommendation. Higher-concentration toothpastes (5,000 ppm) exist for people at very high risk, but those are typically used under professional guidance.

For young children, a rice-grain-sized smear of fluoride toothpaste is appropriate up to age three, then a pea-sized amount from ages three to six. This balances cavity protection with minimizing the amount swallowed.

One common mistake is brushing right after eating something acidic, like citrus fruit, tomato sauce, or soda. Acid softens your enamel temporarily, and brushing while it’s in that weakened state can actually wear it away. The Mayo Clinic recommends waiting a full hour after acidic foods or drinks before brushing. In the meantime, rinsing your mouth with plain water helps neutralize the acid faster.

Flossing and Cleaning Between Teeth

Toothbrush bristles can’t reach the tight spaces between teeth, which is exactly where many cavities start. Interestingly, the research on flossing and cavities is thinner than you might expect. A Cochrane review found no randomized controlled trials directly measuring whether home flossing reduces cavities between teeth. A separate analysis found that professional flossing done five days a week significantly reduced cavities in those spaces, but self-flossing by patients didn’t show the same clear statistical benefit.

That doesn’t mean you should skip it. The likely explanation is that most people floss inconsistently or with poor technique, which dilutes the results in studies. The principle is sound: removing food and bacterial buildup from surfaces your brush can’t reach reduces acid exposure in those areas. Interdental brushes (the small, bristled picks that slide between teeth) tend to be easier for many people to use correctly and may be more effective for anyone with gaps large enough to fit them.

Fluoride Beyond Toothpaste

Community water fluoridation is one of the most studied public health measures in existence. The CDC recommends a fluoride level of 0.7 milligrams per liter in drinking water, a concentration that strengthens developing teeth in children and provides ongoing protection for adults. If your water supply is fluoridated, simply drinking tap water contributes to cavity prevention throughout the day.

If you rely on bottled or filtered water, you may be missing this benefit. Reverse osmosis filters and distillation remove fluoride, while standard carbon filters generally do not. Checking your local water utility’s annual quality report will tell you whether fluoride is added and at what level. For people in non-fluoridated areas or those at higher cavity risk, a dentist can apply concentrated fluoride varnish directly to the teeth, typically every three to six months.

Dental Sealants

Sealants are thin plastic coatings painted onto the chewing surfaces of back teeth, where the grooves and pits are deepest and hardest to clean. They prevent 80% of cavities in those teeth over two years, and nine out of ten cavities occur in back teeth. Children without sealants develop nearly three times as many cavities in their first molars compared to children with them.

Sealants are most commonly applied to permanent molars shortly after they come in, around ages six and twelve. The process takes a few minutes per tooth, involves no drilling, and is painless. They can last several years before needing reapplication. Despite their effectiveness, only about 40% of children in the U.S. have them, making sealants one of the most underused preventive tools available.

Xylitol: A Sugar That Fights Cavities

Xylitol is a sugar alcohol found in many sugar-free gums and mints. Unlike regular sugar, cavity-causing bacteria can’t use it as fuel. When they try, their growth is inhibited, which means less acid production in your mouth. Studies have shown a 30% to 80% decrease in cavity rates with regular xylitol use.

The catch is consistency. You need 5 to 10 grams spread across three to five times a day, ideally after meals, for it to work. Amounts below about 3.5 grams per day show no protective effect at all. A single piece of xylitol gum contains roughly one gram, so you’d need several pieces daily to reach a useful dose. Check that xylitol is the first listed sweetener, because many “xylitol” products mix it with other sweeteners that don’t offer the same benefit.

The Role of Saliva

Saliva is your mouth’s built-in defense system. It rinses away food particles, neutralizes acids, and delivers the calcium and phosphate your enamel needs to repair itself. Anything that reduces saliva flow increases cavity risk significantly. Hundreds of common medications list dry mouth as a side effect, including antihistamines, antidepressants, blood pressure medications, and decongestants. Breathing through your mouth at night, dehydration, and certain medical conditions also reduce saliva production.

If your mouth frequently feels dry or sticky, or you notice you’re thirsty often, it’s worth paying attention. Staying well hydrated, chewing xylitol gum to stimulate saliva, and using alcohol-free mouth rinses can all help. People with chronic dry mouth face a dramatically higher cavity rate even with otherwise good oral hygiene, so additional fluoride treatments or prescription-strength toothpaste may be necessary.

Treatments That Stop Early Decay

Not every cavity needs a drill. When decay is caught early, before it has broken through the enamel surface, it can sometimes be reversed with fluoride alone. For more advanced cavities that have already created a visible hole, silver diamine fluoride (SDF) is a liquid treatment that can arrest the decay and stop it from progressing. Applied twice a year, SDF has been shown to prevent root cavities at rates 72% higher than placebo. It’s painless, fast, and particularly useful for young children, elderly patients, or anyone who has difficulty tolerating traditional dental procedures.

The main drawback of SDF is cosmetic: it permanently stains the decayed area black. On back teeth or baby teeth, this is often an acceptable trade-off, but it limits the treatment’s appeal for visible front teeth.