What Is the Main Cause of Cavities and Tooth Decay?

The main cause of cavities is bacterial acid. Specific bacteria in your mouth feed on sugars from food and drinks, then produce acids that dissolve the mineral structure of your teeth. This process, called demineralization, is what creates the holes we know as cavities. Nearly 21% of American adults between 20 and 64 have at least one untreated cavity right now, making it one of the most common chronic health problems in the country.

How Bacteria Turn Sugar Into Acid

Your mouth is home to hundreds of bacterial species, but one plays a starring role in cavity formation: Streptococcus mutans. This bacterium produces a sticky substance that helps it cling to tooth surfaces and build up into plaque, the soft film you can feel on your teeth when you haven’t brushed in a while. Once established in plaque, it feeds on carbohydrates and converts them into several types of acid, including lactic and acetic acid.

These acids attack the mineral crystals that make up your tooth enamel. Enamel is mostly composed of calcium and phosphate arranged in a crystal structure. When the acids lower the pH at the tooth surface below a critical threshold, calcium and phosphate begin dissolving out of the enamel. That threshold isn’t a single number. It ranges from about 5.1 to 6.5 depending on how much calcium and phosphate are naturally present in your saliva and plaque. People with lower mineral concentrations in their saliva lose enamel at a higher pH, meaning their teeth are more vulnerable to acid attacks.

Every time you eat or drink something containing sugar or starch, the bacteria in plaque ramp up acid production within minutes. The pH at the tooth surface drops, and demineralization begins. After you stop eating, your saliva gradually neutralizes the acid and brings the pH back up. If this cycle happens occasionally, your teeth recover. If it happens repeatedly throughout the day, the damage accumulates faster than your body can repair it, and a cavity forms.

Why Sugar Matters So Much

Not all foods fuel cavity-causing bacteria equally. The World Health Organization identifies “free sugars” as the primary dietary driver. These include any sugars added during cooking or manufacturing, plus sugars naturally found in honey, syrups, and fruit juices. Table sugar (sucrose) is particularly effective at fueling bacterial acid production because S. mutans uses it to build the sticky matrix that holds plaque together on your teeth.

Frequency matters more than quantity. Sipping a sugary drink over two hours exposes your teeth to far more acid attacks than drinking the same amount in five minutes with a meal. Each new exposure restarts the acid cycle, keeping the pH at the tooth surface low for longer stretches. Sticky foods like dried fruit, candy, and crackers that lodge in the grooves of your teeth also extend acid exposure time.

Your Body’s Built-In Defense System

Saliva is your primary natural protection against cavities, and it works in at least four ways. First, it contains bicarbonate and other compounds that buffer acids, raising the pH in your mouth back to safe levels after eating. Second, it physically washes food particles and bacteria off your teeth. Third, it contains antibacterial proteins that limit bacterial growth. Fourth, and perhaps most importantly, saliva is supersaturated with calcium and phosphate, which means it actively pushes minerals back into enamel that has started to weaken.

Saliva also delivers fluoride to the tooth surface. When fluoride is present during remineralization, it replaces part of the original mineral structure with a slightly different crystal that is harder for acids to dissolve. This is why fluoride toothpaste and fluoridated water are so effective at preventing cavities. They don’t just coat your teeth; they change the chemistry of the enamel itself, making it more resistant to future acid attacks. A weakened spot on a tooth that hasn’t yet become a full cavity can actually be repaired through this process.

Why Some People Get More Cavities

If bacterial acid is the direct cause, several factors determine how much damage that acid actually does.

  • Dry mouth: Hundreds of common medications reduce saliva production, including antihistamines, decongestants, antidepressants, and drugs for overactive bladder. Without enough saliva, your mouth loses its buffering, cleansing, and remineralizing capacity. People with chronic dry mouth develop cavities at a dramatically higher rate.
  • Low fluoride exposure: The WHO identifies inadequate fluoride as one of three key contributors to cavity formation, alongside sugar intake and poor plaque removal. Without fluoride, the minerals deposited back into weakened enamel are more vulnerable to the next acid attack.
  • Inconsistent brushing: Plaque that stays on teeth for hours gives bacteria a protected environment where acid concentrations build up. Brushing with fluoride toothpaste (1000 to 1500 ppm concentration) twice a day disrupts this process mechanically and chemically.
  • Individual saliva chemistry: People whose saliva naturally contains less calcium and phosphate have a higher critical pH, meaning their enamel starts dissolving under milder acid conditions. This is one reason two people with similar diets and brushing habits can have very different cavity rates.

How a Cavity Actually Forms

Cavities don’t appear overnight. The process starts with a “white spot lesion,” a chalky, slightly opaque area on the tooth where minerals have been lost from below the surface but the outer layer of enamel is still intact. At this stage, the damage is reversible. Fluoride, improved brushing, and reduced sugar intake can allow saliva to push minerals back into the weakened area and restore it.

If demineralization continues, the surface enamel eventually collapses inward, creating an actual hole. Once a cavity breaks through the enamel, it can’t heal on its own. The decay spreads into the softer layer underneath (dentin) more quickly, and if left untreated, it reaches the nerve and blood supply at the center of the tooth. According to CDC data, about 11% of children as young as two to five already have untreated decay in their baby teeth, and the rate climbs to nearly 18% in children aged six to eight.

What Actually Prevents Cavities

Since the root cause is acid produced by bacteria feeding on sugar, prevention targets each link in that chain. Reducing how often you consume free sugars limits the fuel supply. Brushing twice daily with fluoride toothpaste removes plaque and strengthens enamel. Drinking fluoridated water provides a low, steady supply of fluoride to your saliva throughout the day.

If you take medications that cause dry mouth, staying hydrated and using sugar-free gum or lozenges can stimulate saliva flow. Some people benefit from saliva substitutes or prescription fluoride products. The goal is always the same: keep the balance tipped toward remineralization rather than demineralization, so your teeth rebuild faster than acid can break them down.