How to Prevent Tooth Decay and Avoid Cavities

Preventing tooth decay comes down to controlling the balance between two forces in your mouth: acid attacks that dissolve tooth enamel and the natural repair process that rebuilds it. Every time you eat or drink something containing sugar, bacteria on your teeth produce acid for about 20 to 30 minutes. If those acid attacks happen too often or your mouth’s defenses are weakened, minerals leach out of the enamel faster than they can be replaced, and a cavity forms. The good news is that nearly every step in this process can be interrupted.

What Actually Causes Cavities

Cavities aren’t caused by sugar directly. They’re caused by bacteria (primarily one species called Streptococcus mutans) that feed on sugar and produce lactic acid as a byproduct. That acid dissolves the calcium and phosphate crystals that make up tooth enamel, creating tiny pores between the enamel rods. At first this damage is invisible. Then it shows up as a chalky white spot on the tooth surface, which is the earliest visible sign of decay. At this stage, the damage is still reversible. Once the decay breaks through the enamel into the softer layer underneath, it can’t be reversed and needs a filling.

Understanding this process matters because it reveals multiple points where you can intervene: reduce the bacteria, cut off their food supply, strengthen enamel against acid, or boost your mouth’s natural repair system.

Limit Sugar, Especially Between Meals

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 someone eating 2,000 calories a day, 5% works out to about 25 grams, or roughly six teaspoons.

But frequency matters as much as quantity. Sipping a sugary coffee over three hours exposes your teeth to acid for three hours straight, while drinking the same coffee in 10 minutes limits the attack to a single 20-to-30-minute window. The same goes for snacking. Three meals a day gives your mouth time to recover between acid attacks. Grazing on crackers, dried fruit, or candy throughout the day keeps the pH in your mouth low and enamel under constant assault.

“Free sugars” includes table sugar, honey, syrups, and fruit juice, but not the sugar naturally present in whole fruits and vegetables, or in plain milk. Starchy refined carbohydrates like chips and white bread also break down into sugars quickly in the mouth, so they carry similar risk.

Brush With Fluoride Toothpaste

Fluoride is the single most effective topical agent for preventing decay. It works in three ways: it helps rebuild (remineralize) enamel that’s been weakened by acid, it makes the rebuilt enamel harder and more acid-resistant than the original, and it interferes with bacteria’s ability to produce acid in the first place.

Use a toothpaste with at least 1,000 ppm fluoride (nearly all standard adult toothpastes meet this threshold) and brush twice a day, spending about two minutes each time. A soft-bristled brush angled at 45 degrees toward the gumline cleans both the tooth surface and the critical zone where plaque accumulates along the gums. After brushing, spit out the excess toothpaste but don’t rinse with water. This leaves a thin layer of fluoride on your teeth that continues to protect them.

If you’re at higher risk for cavities, your dentist may recommend a prescription-strength fluoride toothpaste or a fluoride rinse as an added layer of protection.

Clean Between Your Teeth

Brushing alone misses the surfaces where teeth touch each other, which is exactly where many cavities form. Some form of interdental cleaning is necessary to reach those areas. Your main options are traditional string floss, interdental brushes (tiny bottle-brush-shaped picks), and water flossers.

Interestingly, the evidence base for self-flossing is weaker than most people assume. A meta-analysis found that professional flossing five days a week significantly reduced cavities between teeth, but self-flossing did not show the same statistically significant benefit. This likely reflects technique rather than futility: most people floss too quickly or without proper form. The key is to curve the floss into a C-shape around each tooth and slide it gently below the gumline, rather than just snapping it straight down between the teeth. If you find floss difficult to use, interdental brushes or water flossers are reasonable alternatives. The best tool is the one you’ll use consistently and correctly.

Consider Dental Sealants

The chewing surfaces of back teeth (molars) have deep grooves and pits that trap food and bacteria, making them especially vulnerable to decay. Nine out of ten cavities occur in these teeth. Dental sealants are thin plastic coatings painted onto these grooves that create a physical barrier against plaque and acid. Two years after placement, sealants prevent more than 80% of cavities in permanent molars.

Sealants are most commonly applied to children’s permanent molars as soon as they come in (around ages 6 and 12), but adults with deep grooves and no existing fillings in their molars can benefit too. The application is quick, painless, and doesn’t require any drilling. Sealants can last several years before they need to be checked and potentially reapplied.

Use Xylitol as a Sugar Substitute

Xylitol is a sugar alcohol found in many sugar-free gums and mints. Unlike regular sugar, the bacteria in your mouth can’t metabolize it efficiently, so they produce far less acid. Over time, regular xylitol use also appears to reduce the population of decay-causing bacteria in plaque and saliva.

The effective dose for cavity prevention is 5 to 10 grams per day, spread across three to five exposures, ideally after meals. That translates to roughly two pieces of xylitol gum after each meal. Some studies show a 30% to 80% decrease in cavity rates with consistent use. For best results, look for products where xylitol is the first or only sweetener listed, not blended with other sugar alcohols like sorbitol.

Protect Your Saliva

Saliva is your mouth’s most important natural defense against decay. It’s 99% water, but that remaining 1% contains calcium, phosphate, and bicarbonate that neutralize acid and actively rebuild weakened enamel. It also contains antibodies and enzymes that suppress harmful bacteria. When saliva flow drops, cavity risk increases dramatically.

Dry mouth (xerostomia) is surprisingly common, and medications are the most frequent cause. Antidepressants, antihistamines, blood pressure medications, decongestants, pain medications, diuretics, muscle relaxants, and certain diabetes medications (GLP-1 receptor agonists) can all reduce saliva production. If you take any of these and notice a persistently dry mouth, talk to your prescriber. Sometimes a dosage adjustment or alternative medication can help.

In the meantime, you can support saliva flow by drinking water regularly throughout the day, chewing sugar-free gum (especially xylitol gum, for double benefit), and avoiding alcohol-based mouthwashes, which can dry out the mouth further. Sleeping with a humidifier can also help if you wake up with a dry mouth.

Catch Decay Before It Needs a Filling

Tooth decay doesn’t start as a hole. It starts as a white spot lesion: a chalky, opaque area on the enamel surface where minerals have been lost but the surface hasn’t actually broken down yet. At this stage, the damage is entirely reversible. Fluoride treatments, improved oral hygiene, and dietary changes can remineralize these areas and stop the cavity from forming.

If a white spot lesion is at risk of progressing, dentists can sometimes treat it with a technique called resin infiltration, where a low-viscosity resin is drawn into the tiny pores in the weakened enamel by capillary action. This fills the microscopic gaps, strengthens the enamel, and blocks further acid penetration, all without any drilling. It’s a good example of why regular dental visits matter: catching decay at the white spot stage opens up treatment options that disappear once a cavity actually forms.

How Often to See a Dentist

The old “every six months” rule isn’t actually one-size-fits-all. The American Dental Association recommends preventive dental visits at intervals determined by individual risk. Someone with no history of cavities, good oral hygiene, and a healthy diet may need visits less frequently. Someone with a history of decay, dry mouth, or braces may benefit from visits every three to four months. Your dentist can help you determine the right schedule based on your specific risk factors.

Professional cleanings remove hardened plaque (tarite) that you can’t remove at home, and they give your dentist the chance to spot white spot lesions, early gum disease, or other problems while they’re still easy to treat. Regular visits also allow for fluoride varnish application, which provides a concentrated dose of fluoride directly to vulnerable areas.