Preventive Care7 min read·June 20, 2026

What Actually Causes Cavities — And How to Stop Getting Them

Cavities aren't caused by sugar alone — they're the result of a specific biological process involving bacteria, acid, time, and tooth anatomy. Here's the real science and what actually prevents them.

By Dr. Priya Nair, DMD

Tooth decay (dental caries) is the most prevalent chronic disease in the world — more common than diabetes, heart disease, and asthma. Yet it's almost entirely preventable. The disconnect between how widespread cavities are and how preventable they are comes from a surface-level understanding of what causes them. Most people know sugar is involved. Few understand the full biological process — and understanding it is the difference between managing cavities reactively and preventing them proactively.

The Four Requirements for a Cavity to Form

A cavity requires four elements to be present simultaneously: a susceptible tooth surface, cavity-causing bacteria (primarily Streptococcus mutans and Lactobacillus species), fermentable carbohydrates (sugars and refined starches that bacteria metabolize), and time. Remove any one of these four elements and the cavity cannot form. This framework — developed by dental researcher Paul Keyes in the 1960s and still the foundation of caries prevention — explains why some people with sweet diets never get cavities and others get cavities despite brushing carefully. Individual susceptibility, bacterial load, dietary patterns, and exposure duration all interact.

The Bacteria: What's Actually Happening in Your Mouth

Streptococcus mutans is the primary bacteria responsible for initiating tooth decay. It metabolizes sugars and produces lactic acid as a byproduct — the same acid that dissolves the mineral structure of tooth enamel (a process called demineralization). S. mutans is transmissible — primarily from parent to infant through shared utensils, kissing, and saliva contact — which is why some families have dramatically higher cavity rates than others. The bacterial ecosystem in your mouth is called the oral microbiome, and whether cavity-causing bacteria dominate or are kept in check by healthier bacterial species significantly affects your cavity risk.

How Sugar Causes Cavities (The Actual Mechanism)

Sugar does not directly damage teeth. The damage is indirect: S. mutans metabolizes fermentable carbohydrates (glucose, sucrose, fructose, and refined starches like crackers, bread, and chips) within seconds of ingestion, producing acid that drops the pH of your saliva and tooth surface below 5.5 — the critical threshold at which enamel begins to dissolve. This acid attack lasts approximately 20 to 40 minutes after carbohydrate exposure. Here's the critical insight: it's not the amount of sugar that matters most — it's the frequency of exposure. Sipping a sugary drink over two hours produces far more acid attacks (and therefore more decay potential) than drinking the same amount in five minutes. Frequent snacking, sipping sweet beverages throughout the day, and sucking on hard candy are cavity risk behaviors for this reason.

The Saliva Factor: Your Body's Natural Defense

Saliva is your mouth's primary natural defense against tooth decay. It neutralizes acid after carbohydrate exposure, remineralizes early demineralized enamel using calcium and phosphate ions it carries, physically clears food debris and bacteria, and contains antibacterial proteins (lysozyme, lactoferrin, IgA antibodies) that inhibit S. mutans colonization. This is why dry mouth — from medications, medical conditions, or mouth breathing — so dramatically increases cavity risk. Stimulating salivary flow with sugar-free xylitol gum after meals leverages this defense mechanism.

Remineralization: How Early Decay Can Reverse

Tooth decay is not always a one-way street. In its earliest stage — a 'white spot lesion' visible as a chalky white area on the tooth surface — demineralization has occurred but the enamel surface is still intact. At this stage, the process can be reversed through remineralization: fluoride from toothpaste or professional treatments, calcium and phosphate from saliva and certain foods, and reduction in acid exposure all allow the enamel to reharden. This is why early detection by your dentist matters — a white spot lesion treated aggressively with fluoride, diet modification, and improved hygiene may never become a cavity requiring drilling. Once the enamel surface is broken (a cavity), remineralization cannot fully repair it and a filling is required.

Anatomy of a High-Risk Tooth

Not all tooth surfaces are equally vulnerable. The pits and fissures (grooves) on the chewing surfaces of molars are the most cavity-prone surfaces — deep grooves trap food debris and bacteria in areas that a toothbrush cannot reach. Approximately 90% of cavities in children occur in these pit and fissure surfaces. Dental sealants — thin resin coatings applied to molar chewing surfaces — prevent cavities here by sealing off the grooves. Smooth surfaces between teeth (interproximal surfaces) are the second most vulnerable location — only flossing cleans these surfaces. Root surfaces in adults with gum recession are the third high-risk location — softer than enamel and directly accessible to bacteria.

The Practical Prevention Protocol

Based on the four-factor model, effective cavity prevention addresses each factor. Reduce bacterial load: brush twice daily with fluoride toothpaste using proper technique (2 minutes, all surfaces), floss daily to remove biofilm between teeth, and consider xylitol gum or mints (xylitol inhibits S. mutans replication). Protect the tooth surface: use fluoride toothpaste, consider prescription-strength fluoride if you're moderate-to-high risk, get dental sealants on molars (especially children), and attend regular professional cleanings. Modify carbohydrate exposure: reduce snacking frequency, eliminate continuously sipped sugary drinks, rinse with water after carbohydrate consumption. Reduce exposure time: don't eat then go to sleep without brushing, choose water over sugary drinks between meals.

Why Some People Get More Cavities Than Others

Individual cavity susceptibility varies significantly and is not simply a matter of effort. Genetic factors affect enamel quality, saliva composition, and immune response to oral bacteria. Early bacterial colonization from caregivers affects the bacterial ecosystem established in childhood. Medication use affects salivary flow. Anatomy affects how deep molars' fissures are. Economic factors affect access to preventive care and diet quality. Patients who feel shame about having multiple cavities despite brushing regularly may be fighting a genuinely less favorable biological hand — understanding this transforms the clinical conversation from judgment to problem-solving.

Final Thoughts

Cavities are almost entirely preventable, but prevention requires understanding the real mechanism rather than just 'avoiding sugar.' Frequency of carbohydrate exposure, bacterial load control through consistent hygiene, fluoride protection, and regular professional care are the four levers. For high-risk patients — those with dry mouth, frequent snacking habits, or a history of multiple cavities — prescription fluoride and more frequent professional care are evidence-based interventions worth discussing with your dentist.

Ready to find your dentist?

Browse our directory of 20+ verified US dentists by city and specialty.

Find a Dentist →

More from the blog