I will never forget childhood trips to the dentist. Several days before an appointment I would launch a frantic oral-care routine: brushing and flossing multiple times a day and giving up my favorite after-school snack, a Butterfinger. The night before, I’d find myself suddenly devout, praying for a cavity-free check-up.
Of course, those last-minute efforts rarely worked. The dentist usually found cavities that reflected my long-term habit of neglect. I was “fortunate” to get fillings that same day because the office had a last-minute opening.
It wasn’t until I became a dentist that I fully understood what a cavity is and how it develops.
Understanding cavities doesn’t need to be complicated, even for a child.
Early explanations of tooth decay were colorful: many ancient cultures believed a “worm” was eating the teeth. That idea, found from Babylon to ancient China, wasn’t entirely wrong—microorganisms do play the central role.
What Is a Cavity?
Dental cavities are a disease. Although preventable, they are the most common chronic condition among children and adolescents. Adults aren’t immune either—according to the CDC, nine out of ten adults over 20 have had at least one cavity.
A cavity is essentially a hole in the tooth. It forms when acids produced by bacteria in the mouth dissolve tooth enamel. As enamel breaks down, the sensitive inner parts of the tooth can become exposed, causing pain or sensitivity when eating or drinking.
If you feel pain near the root of a tooth, you may have tooth decay and should see your dentist.
I’ve helped hundreds of patients stop the cycle of cavities. Now I’m sharing that experience with readers.
How Cavities Form in the Mouth
The process is multifactorial and still partly under study.
There isn’t a single cause; cavities develop when several factors converge. Four main elements contribute:
- The condition of your teeth and saliva, which create the environment for decay
- The bacteria living in your mouth
- The foods you eat
- The frequency that these factors overlap—the more often they do, the higher the risk
Decay begins when bacteria attach to teeth. They combine with proteins from saliva and food debris to form a sticky film called plaque. Plaque coats tooth surfaces and houses bacteria that digest food particles—often within 15 minutes. These microbes prefer easily digestible, processed carbohydrate-rich foods such as crackers, chips, and sugary snacks.
Foods that are harder to digest, like vegetables with cellulose, are less attractive to these bacteria. When plaque bacteria metabolize sugars and starches, they produce acid as a waste product. Localized acid production can dissolve the mineral content of enamel in a process called an “acid attack.” If plaque remains in one area long enough, repeated acid attacks can create a hole in the tooth.
Put plainly: cavities form because bacteria excrete acid in your mouth.
Fortunately, teeth can re-mineralize small areas of enamel loss if given time and the right conditions. Removing plaque by brushing and flossing interrupts acid attacks and allows saliva and minerals to rebuild enamel. This is why routine mechanical removal of plaque is essential to prevention.
Saliva plays a protective role by diluting and neutralizing acids during the day. However, saliva production decreases during sleep, giving bacteria a more favorable environment to produce acid overnight. That’s why brushing and flossing before bed are especially important: they reduce plaque before the longest period without saliva protection.
Think of saliva like water that buffers acid spilled on a wood floor—the more buffering, the less damage. Fluoride also helps: as teeth re-mineralize they can incorporate fluoride into their crystalline structure, making enamel more resistant to future acid attacks. Topical fluoride treatments help strengthen enamel against decay.
How Cavities Are Treated
Treating cavities is straightforward in most dental offices. The standard approach is a filling: the dentist removes decayed tissue and restores the tooth with a durable material such as composite, porcelain, or metal. More advanced decay may require crowns or root canal therapy to protect and preserve the tooth.
How to Prevent Cavities
As a dentist now, I understand why my childhood last-minute flossing didn’t help. Fortunately, I reached adulthood with only a few fillings. Over time I adopted a balanced diet and consistent daily oral care.
Consistency in oral hygiene is the single most important factor for preventing cavities.
Prevention is easier than treatment. Keep plaque from accumulating with regular brushing, daily flossing, and routine dental cleanings. Limiting sugary and processed snacks and spacing meals reduces the frequency of acid attacks. Using fluoride toothpaste and professional fluoride treatments when recommended further strengthens enamel.
I still see many patients—children and adults—repeating the same last-minute rituals I used to rely on. Good habits matter. Perhaps after work tomorrow I’ll enjoy just one Butterfinger and then get back to my routine.
Mark Burhenne DDS
I’ve helped hundreds of patients break the cycle of cavities and now share practical guidance with readers.
Learn More:Foods to Eat—And Foods to Avoid—to Heal Cavities Naturally