Why Do We Get Cavities? Causes, Prevention & Evolution
Why do cavities form—even if you brush? Learn how diet and bacteria cause tooth decay, what early decay can reverse, and when a filling or root canal may help.
We get cavities when plaque bacteria turn sugars and starches into acids that remove minerals from teeth faster than saliva and fluoride can replace them. Frequent sugary exposures, plaque buildup, and reduced saliva can increase risk. Early mineral loss may be reversible; an established hole needs dental assessment.
Editorial note: This original article was prepared with AI assistance. Its clinical content was reviewed and approved by Dr. Jason Kung, DDS, MS on October 27, 2026. It provides general education, not a diagnosis or an individual treatment plan.
How bacteria turn food into tooth decay
Dental plaque is a film of microorganisms on the teeth. Some of those organisms use sugars and starches from food and drinks to produce acids. Repeated acid exposure can remove minerals from enamel. According to the National Institute of Dental and Craniofacial Research (NIDCR), early mineral loss may appear as a white spot. If mineral loss continues, the surface can weaken and break down into a cavity.
This is not simply a battle against one bacterium. A review of dental plaque ecology explains how frequent acidic conditions favor acid-producing, acid-tolerant organisms within a microbial community. Saliva flow and diet help shape that environment. The aim of prevention is not to sterilize the mouth, but to reduce conditions that promote disease.
Why do humans get cavities? What evolution can—and cannot—explain
A recent Forbes explainer discusses how changes in human diets may help explain patterns of tooth decay. The useful idea is that teeth interact with their environment: changing foods and eating patterns can change the conditions on tooth surfaces.
However, an evolutionary explanation is not proof that all ancient people had healthy teeth, that modern teeth are defective, or that one historical diet will prevent cavities today. Archaeological studies describe particular populations and surviving remains. They cannot isolate every influence on decay or replace clinical prevention research.
Did ancient people get cavities?
A 2014 study of hunter-gatherers at Taforalt in Morocco is an important counterexample to the idea that decay began with farming. In the adult remains examined, 344 of 672 observed teeth—51.2%—had carious lesions. That percentage refers to teeth, not to the percentage of people affected.
The researchers also found evidence of harvesting and processing wild plant foods, including acorns and pine nuts. They inferred that reliance on fermentable plant foods and food processing contributed to the high decay burden. This was an archaeological study, not a controlled dietary trial: it does not show that a particular food alone caused the lesions, or that avoiding all carbohydrates is appropriate.
The practical lesson is narrower and more useful: foods do not have to be modern candy to contribute to an acid-producing oral environment. Diet, preparation, eating patterns, and other risk factors matter together.
Why frequent sipping and snacking matter
Repeated exposure to sugary or starchy foods and drinks gives plaque bacteria repeated opportunities to produce acid. Sipping a sugary drink over a long period can prolong exposure compared with having it at a meal. Both the amount and the frequency of sugar consumption matter; reducing frequency is not a substitute for moderating the total amount.
People also differ in saliva flow, tooth anatomy, exposed root surfaces, and fluoride exposure. Getting a cavity does not automatically mean someone is careless. If you keep developing decay despite a good cleaning routine, ask your dentist for an individualized risk assessment rather than assuming your teeth are simply weak.
Can a cavity heal itself?
Early decay and an established hole are different. Before a hole forms, minerals from saliva and fluoride can help stop or reverse early enamel mineral loss. Once tooth structure has broken down into a cavity, it does not simply grow back. A dentist must assess the lesion and decide how to control the disease and restore the tooth when needed.
Do not use the absence of pain as a reason to wait. NIDCR notes that early decay often causes no symptoms. Regular dental examinations can identify problems before they become more extensive.
What actually helps prevent cavities?
- Brush twice daily with fluoride toothpaste. Fluoride supports remineralization and helps resist decay. For children, use age-appropriate amounts and supervision recommended by their dental team.
- Clean between teeth regularly. Use floss or another suitable interdental cleaner.
- Limit frequent sugary exposures. Reduce sugary drinks and repeated snacking while keeping meals nutritious and balanced.
- Discuss dry mouth and recurring decay. Your dentist can review individual risk factors and whether additional preventive care is appropriate.
- Keep regular dental visits. Your dentist can recommend a suitable recall schedule, fluoride care, and sealants where indicated.
These recommendations follow NIDCR patient guidance. You do not need to recreate a prehistoric diet, eliminate every carbohydrate, or buy a product claiming to reset your oral microbiome.
Early decay vs. a cavity vs. pulp disease: what is the difference?
| Finding | What it means | Possible care |
|---|---|---|
| Early mineral loss | No established hole in the surface | Fluoride, risk reduction, and monitoring |
| Cavity | Tooth structure has broken down | Disease control and a filling or other restoration when indicated |
| Pulp inflammation or infection | The tissue inside the tooth is affected | Pulp testing and assessment for vital pulp therapy, root canal treatment, or other care |
Sources: NIDCR: tooth decay and treatment; American Association of Endodontists: pulp disease and root canal treatment. Stages and symptoms do not follow one fixed timeline.
When does decay need a filling—or a root canal?
Not every cavity needs root canal treatment. Early non-cavitated lesions may be managed preventively. A cavity with lost structure commonly requires a filling or another restoration, depending on its size and location.
When decay reaches or affects the pulp—the tissue containing nerves and blood vessels inside a tooth—the decision is more complex. Depending on the diagnosis, the options may include vital pulp therapy, root canal treatment, or other care. Symptoms alone cannot reliably tell you which treatment is necessary. An examination, appropriate imaging, and pulp testing help guide the decision.
Root canal treatment addresses diseased pulp and the canal system; it does not remove the future risk of decay. The tooth still needs an appropriate restoration, cleaning, and ongoing dental care.
Common questions
Why do I keep getting cavities even though I brush?
Brushing with fluoride toothpaste lowers risk but cannot prevent every cavity. Decay risk also depends on diet, plaque between teeth, saliva, and other factors. Repeated cavities deserve a tailored prevention plan.
Can cavities form without pain?
Yes. Early tooth decay often causes no symptoms, according to NIDCR. A dentist can assess changes before pain develops; pain alone does not measure the depth of decay.
Does avoiding sugar completely prevent cavities?
No single dietary change guarantees cavity prevention. Limiting sugary exposures helps, but fermentable starches, plaque, saliva, fluoride, and individual tooth conditions also matter. Use a balanced diet and an individualized prevention plan rather than eliminating whole food groups.
Are all bacteria in my mouth harmful?
No. The mouth contains a diverse microbial community. The plaque-ecology model focuses on changes in the community and its environment, rather than treating every microorganism as an enemy.
Does tooth pain always mean I need a root canal?
No. Pain has several possible dental and non-dental causes. Arrange an evaluation rather than choosing treatment based on a symptom or a news article.
Take the next step before a small problem becomes larger
For routine decay prevention and fillings, start with your general dentist. If deep decay or persistent tooth pain raises a question about the pulp, contact Silicon Valley Endodontics and Microsurgery in Sunnyvale for an endodontic evaluation. Seek urgent assessment for facial swelling or fever with a dental problem; trouble breathing or swallowing, or rapidly spreading swelling, needs emergency medical care.