What Causes Tooth Decay: From Sugar to Genetics

Tooth decay happens when acids dissolve the hard outer layer of your teeth. Those acids come from bacteria feeding on sugars in your mouth, but the full picture involves your diet, saliva, medications, genetics, and even digestive conditions. Understanding these causes helps explain why some people get cavities despite brushing, while others seem resistant.

How Decay Actually Starts

Your mouth is home to hundreds of bacterial species, and some of them thrive on sugar. When you eat or drink something containing carbohydrates, bacteria in the sticky film on your teeth (plaque) break down those sugars and produce acid as a byproduct. This acid lowers the pH on your tooth surface, and once it drops below about 5.5, the minerals in your enamel start dissolving. That process is called demineralization.

Normally, your saliva fights back. It contains calcium, phosphate, and bicarbonate that neutralize acids and resupply minerals to weakened enamel, a process called remineralization. Tooth decay develops when demineralization outpaces remineralization over time. It’s not a single event but a tug-of-war that tips in the wrong direction.

The earliest sign of this imbalance is a white spot lesion: a chalky, opaque patch on the tooth where minerals have leached out but the surface hasn’t broken yet. At this stage, decay is actually reversible with fluoride and better oral care. Once the surface collapses into a physical hole, though, the damage is permanent and needs a filling or other restoration.

Sugar, Starches, and Sticky Foods

Any carbohydrate that bacteria can ferment will fuel acid production. That includes obvious sources like candy and soda, but also honey, maple syrup, corn syrup, dried fruit, crackers, chips, and even bread. Saliva begins breaking down starches into simpler sugars almost immediately, so starchy foods that cling to your teeth can be just as problematic as a spoonful of table sugar.

What matters most isn’t how much sugar you consume in a day but how often you consume it. A landmark study conducted in Sweden tracked groups consuming different amounts of sugar in different forms. People who ate 30 grams of sugar per day (all at meals) averaged about 0.27 new cavities per year. People consuming 330 grams per day, more than ten times as much, but all in liquid form at mealtimes averaged only slightly more at 0.43. The group that fared worst consumed sticky toffees between meals throughout the day: they averaged 4.02 new cavities per year.

The reason is timing. Each time sugar enters your mouth, bacteria produce acid for roughly 20 minutes or more. Your saliva then gradually brings the pH back to a safe level. If you sip a sugary drink over three hours, you’re restarting that acid attack dozens of times. Drinking the same amount in one sitting gives your saliva a single recovery window. So five small snacks spread across the afternoon do more damage than one larger meal with dessert.

Dry Mouth and Medications

Saliva is your mouth’s primary defense against decay. It rinses away food particles, neutralizes bacterial acid, and delivers the calcium and phosphate your enamel needs to repair itself. When saliva flow drops, that entire defense system weakens.

Hundreds of commonly prescribed medications reduce saliva production. The most frequent culprits include antidepressants (especially older tricyclics), antihistamines, blood pressure medications like beta-blockers and diuretics, decongestants, muscle relaxants, sedatives, opioid painkillers, bladder medications, and bronchodilators. Chemotherapy drugs, thyroid supplements, and HIV medications can also cause dry mouth. If you’re taking one or more of these and noticing a dry or sticky feeling in your mouth, that reduced saliva flow is directly increasing your cavity risk.

Dry mouth isn’t only medication-related. Radiation therapy to the head or neck can permanently damage salivary glands. Certain autoimmune conditions reduce saliva output. Even habitual mouth breathing, whether from allergies or during sleep, dries out your teeth and removes that protective layer of moisture.

Acid Reflux and Stomach Acid

Bacteria aren’t the only source of acid in your mouth. People with gastroesophageal reflux disease (GERD) experience stomach acid traveling up into the throat and mouth repeatedly throughout the day. Stomach acid has a pH well below the 5.5 threshold for enamel damage, so chronic reflux can erode teeth even in someone with excellent brushing habits. The erosion typically appears on the inner surfaces of the upper teeth first, since that’s where the acid makes the most contact. Frequent vomiting, whether from an eating disorder, morning sickness, or other causes, creates the same kind of damage.

Genetics and Tooth Structure

Some people inherit teeth that are naturally more vulnerable to decay. Several genes influence how thick and well-mineralized your enamel is during development. If the proteins responsible for building enamel don’t function optimally, the resulting teeth may be slightly softer or more porous, making them dissolve more easily when exposed to acid.

Genetics also shape the composition of your saliva, including how well it buffers acid and how much calcium and phosphate it carries. Your immune response to oral bacteria has a genetic component too, which affects how aggressively harmful bacteria colonize your mouth. None of this means cavities are inevitable if you have “bad teeth genes,” but it does explain why two people with identical diets and brushing habits can have very different experiences at the dentist.

Tooth shape matters as well. Deep, narrow grooves on the chewing surfaces of molars trap food and bacteria in places a toothbrush can’t easily reach. These pits and fissures are the most common sites for decay to start, which is why dental sealants (a thin protective coating painted over grooves) are so effective for children and cavity-prone adults.

How Fluoride Protects Against These Causes

Fluoride works by inserting itself into the crystal structure of your enamel, replacing a component that makes teeth more soluble in acid. The result is a slightly different mineral that is measurably harder to dissolve. When your enamel is repairing itself after an acid attack, fluoride gets incorporated into the new mineral layer, making the repaired surface more resistant to future attacks than the original enamel was.

This is why fluoride toothpaste and fluoridated water reduce cavities so effectively. They don’t eliminate the causes of decay, but they strengthen the enamel’s ability to withstand the acid that bacteria and diet inevitably produce. For people at high risk due to dry mouth, reflux, or frequent snacking, prescription-strength fluoride rinses or professional fluoride treatments can provide additional protection.

Factors That Compound Over Time

Tooth decay rarely comes from a single cause. It’s usually a combination: a diet with frequent snacking, a medication that dries your mouth, deep grooves that trap plaque, or saliva that doesn’t buffer acid as well as average. Receding gums in older adults expose the tooth root, which lacks the thick enamel layer of the crown and decays more quickly. People with braces or dental appliances have more surfaces for plaque to accumulate on. A diet high in acidic beverages like citrus juice, sports drinks, or sparkling water with citric acid softens enamel and makes it more vulnerable to bacterial acid on top of that.

Because the process is gradual, early damage often goes unnoticed. White spot lesions can develop in areas you can’t see, like between teeth or along the gumline, and progress to cavitation before causing any pain. By the time a cavity hurts, it has typically reached the softer layer beneath the enamel or is approaching the nerve. Regular dental visits catch decay at the reversible stage, when fluoride and improved habits can halt the process before a filling becomes necessary.