Tooth decay happens when four factors work together simultaneously: bacteria in your mouth, food that feeds those bacteria, a vulnerable tooth surface, and enough time for damage to occur. Remove any one of these four, and decay can’t progress. Roughly 27.5% of the global population has untreated decay in their permanent teeth, making it one of the most common chronic conditions worldwide.
1. Bacteria That Produce Acid
Your mouth contains hundreds of bacterial species, but a few are especially good at causing cavities. The most significant is a species called Streptococcus mutans, which plays a central role in starting and advancing decay. This bacterium produces sticky enzymes that help it anchor to tooth surfaces and build a structured colony called a biofilm, the thin layer you know as dental plaque. Once established in that biofilm, the bacteria metabolize sugars from your diet and release acid as a byproduct, primarily lactic acid.
Other acid-producing bacteria contribute too, but S. mutans is considered the primary driver because of how effectively it clings to teeth, recruits neighboring bacteria, and tolerates the acidic environment it creates. The more plaque that builds up on your teeth, the more bacteria are sitting directly against the enamel, producing acid right where it does the most damage.
2. Fermentable Carbohydrates in Your Diet
Bacteria can’t produce decay-causing acid without fuel, and that fuel comes from sugars and other fermentable carbohydrates in what you eat and drink. Table sugar is the most well-known culprit, but glucose, fructose, and cooked starches all serve as substrates. When these carbohydrates enter your mouth, salivary enzymes begin breaking them down, making them available for bacteria to metabolize almost immediately.
The World Health Organization recommends keeping free sugar intake below 10% of your total daily calories, and ideally below 5%, to minimize cavity risk throughout life. For children under two, the recommendation is zero sugar-sweetened beverages. It’s not just the amount of sugar that matters, though. Frequency plays a huge role. Sipping a sugary drink over two hours exposes your teeth to repeated acid attacks, while drinking the same amount in five minutes gives your mouth time to recover.
3. A Susceptible Tooth Surface
Not every tooth exposed to acid will decay at the same rate. The tooth itself is the third factor, and its vulnerability depends on several things: enamel thickness and composition, the shape of its grooves and pits, and how well saliva can reach and protect it.
Saliva is your mouth’s primary defense system. It washes away food particles, and when it contains high concentrations of bicarbonate, it can neutralize and buffer acids effectively. Saliva that is supersaturated with calcium and phosphate can even reverse early stages of mineral loss by redepositing those minerals back into softened enamel. On the flip side, saliva that is low in calcium and phosphate offers little protection against acid attacks.
This is why dry mouth, whether caused by medication, medical conditions, or simply breathing through your mouth at night, dramatically increases cavity risk. It’s also why teeth with deep grooves on their chewing surfaces are more prone to decay: saliva can’t easily reach into those narrow crevices to wash away bacteria and neutralize acid. Fluoride strengthens this equation by making enamel more resistant to acid dissolution in the first place.
4. Time
The fourth factor ties the other three together. Bacteria, sugar, and a vulnerable tooth must interact for a sustained period before actual damage occurs. Every time you eat something containing fermentable carbohydrates, bacteria in plaque produce acid that drops the pH on the tooth surface. Enamel begins to dissolve when the pH falls to around 5.5, a threshold known as the critical pH. After you stop eating, saliva gradually neutralizes the acid and the pH climbs back to safe levels.
This cycle of acid attack and recovery happens multiple times a day. When recovery periods are long enough, your saliva can replenish lost minerals and no permanent damage occurs. But when snacking is frequent or plaque sits undisturbed for days, the balance tips toward destruction. The acid spends more total time in contact with the enamel than the saliva spends repairing it, and mineral loss accumulates.
How These Four Factors Lead to a Cavity
Decay doesn’t appear overnight. The earliest visible sign is a white spot lesion, a chalky patch on the enamel where minerals have been lost but the surface is still intact. At this stage, the process is fully reversible. Fluoride treatments, dental sealants, better brushing, or dietary changes can allow the tooth to remineralize and heal without any drilling.
If the conditions persist, the weakened enamel eventually collapses under normal chewing forces, creating an actual break or hole in the tooth surface. Once cavitation occurs, the damage is irreversible and typically requires a filling or other restoration. The bacteria can now access the softer tissue beneath the enamel, where decay accelerates.
Understanding these four causes gives you clear targets for prevention. Disrupting the bacterial biofilm through brushing and flossing removes factor one. Reducing sugar frequency limits factor two. Fluoride and adequate saliva flow strengthen factor three. And consistent daily oral hygiene keeps factor four, the accumulated time of acid exposure, from ever reaching the tipping point.

