What Causes Cavities?

A plain-language explanation of how cavities form, why brushing alone may not prevent every cavity, and what influences tooth decay risk.

The simple answer

Cavities form when bacteria in dental plaque use sugars and starches from food and drinks to make acids. Over time, repeated acid exposure can weaken the hard outer layer of a tooth. If that process continues, a cavity can form.

This is why someone can brush regularly and still get a cavity. Brushing is important, but cavities are influenced by several factors at once, including plaque, how often teeth are exposed to sugars or starches, fluoride, saliva, and time.

What a cavity is

A cavity is a damaged area of a tooth caused by tooth decay. It may begin as an early change in the tooth’s mineral surface and can progress if the decay process continues.

Cavities do not always cause obvious symptoms at first. That is one reason dental examinations can matter even when nothing hurts.

The plaque–acid–time process

A useful way to understand cavities is to think about three connected parts:

  • Plaque: A sticky film of bacteria that forms on teeth.
  • Acid: Bacteria in plaque use sugars and starches and produce acids.
  • Time: Repeated acid attacks can gradually weaken the tooth surface.

Your teeth are not permanently “under attack” after every bite. Saliva helps rinse the mouth and can help restore minerals to tooth surfaces. The problem is more likely when acid exposure happens often enough that teeth do not have as much time to recover between exposures.

Four-stage illustration showing plaque on a tooth, food particles reaching plaque, acid activity weakening enamel, and a small cavity forming over time, with protective daily-care symbols below.
Cavities develop through repeated cycles over time; saliva, fluoride, and daily cleaning help protect the tooth surface.

Why sugar matters, but is not the whole story

Sugary foods and drinks can contribute to cavities because plaque bacteria can use sugars to make acid. Starchy foods can also matter because they break down into sugars in the mouth.

How often teeth are exposed can be important. For example, sipping a sweet drink over a long period or having frequent sugary snacks can create repeated acid exposures.

That does not mean one food or drink automatically causes a cavity. Cavities usually develop through a pattern over time, not from one imperfect day.

Why brushing does not prevent every cavity

Brushing twice a day with fluoride toothpaste is a strong foundation for oral health. It removes plaque from many tooth surfaces and helps expose teeth to fluoride.

But brushing is only one part of the picture. Cavities can still be more likely when:

  • Plaque remains in hard-to-clean areas, including between teeth or in deep grooves.
  • Teeth are exposed to sugars or starches frequently.
  • Fluoride exposure is limited.
  • Saliva flow is reduced.
  • A person has other individual risk factors that affect their teeth or mouth.

This is not a reason to blame yourself. It is a reason to think of cavity prevention as a system rather than a test you either pass or fail.

Where fluoride fits in

Fluoride helps strengthen tooth enamel and can help teeth better resist acid attacks. Fluoride is commonly found in toothpaste and, in many communities, drinking water.

The right fluoride plan can vary by person. A dentist can help with questions about a child’s fluoride needs, cavity history, dry mouth, or other individual concerns.

What can help lower cavity risk

General habits that support cavity prevention include:

  • Brushing twice a day with fluoride toothpaste.
  • Cleaning between teeth regularly.
  • Limiting how often teeth are exposed to sugary foods and drinks.
  • Choosing water more often between meals.
  • Keeping up with dental visits recommended for your situation.

Small, repeatable changes are more useful than trying to create a perfect routine overnight.

When to contact a dentist

Consider contacting a dentist if you notice tooth pain, sensitivity that does not improve, a visible hole or dark area on a tooth, swelling, or a broken tooth.

A dentist can determine what is causing the problem and discuss the appropriate next step.

Takeaway

Cavities are not caused by one mistake. They form through a process involving plaque, acid, repeated food and drink exposures, time, and the protections available to your teeth.

Brushing matters. Fluoride matters. Daily habits matter. The most useful goal is a realistic routine that gives your teeth more protection over time.

Sources

Keep going

Related articles