A cavity forms when acids produced by bacteria in dental plaque dissolve the hard minerals of a tooth, creating a hole that grows over time. The process is driven by the interaction of bacteria, fermentable carbohydrates, saliva, and time, and it progresses through distinct stages from a microscopic mineral loss to a visible, painful lesion.
Background: What a Tooth Is Made Of
To understand decay, it helps to know the layers of a tooth. The crown—the part you see above the gum—has three main layers:
- Enamel: the outermost layer, the hardest tissue in the human body, composed mainly of hydroxyapatite, a calcium phosphate mineral. Enamel is about 96% mineral by weight and contains no living cells, so it cannot repair itself once destroyed.
- Dentin: the layer beneath enamel, softer and more porous, containing microscopic tubules that connect to the pulp. Dentin is roughly 70% mineral and 20% organic material, including collagen.
- Pulp: the innermost chamber containing nerves, blood vessels, and connective tissue. When decay reaches the pulp, it can cause pain and infection.
The root, below the gum line, is covered by cementum, a thin, softer layer. Decay on root surfaces progresses faster than on enamel because cementum is less mineralized.
The Role of Dental Plaque and Bacteria
Dental plaque is a sticky, colorless biofilm that forms continuously on tooth surfaces. It contains hundreds of species of bacteria, some of which are cariogenic—meaning they can cause cavities. The most studied is Streptococcus mutans, along with Lactobacillus species and others. These bacteria ferment sugars and other fermentable carbohydrates (such as cooked starches) and produce organic acids, primarily lactic acid, as a byproduct.
When you eat or drink something containing fermentable carbohydrates, the bacteria in plaque metabolize the sugars within seconds. The pH in the plaque drops rapidly—from a resting level near neutral (around pH 7) to below 5.5, which is the critical pH at which enamel begins to dissolve. The acid attack lasts roughly 20 to 30 minutes after each exposure, depending on the food and saliva flow.
Step by Step: How a Cavity Develops
- Plaque accumulation: Bacteria colonize the tooth surface, forming a biofilm. If not removed by brushing and flossing, plaque thickens and matures.
- Acid production: Upon exposure to fermentable carbohydrates, plaque bacteria produce acid, lowering the local pH.
- Demineralization: The acid dissolves calcium and phosphate ions from the enamel surface. Initially, this creates a white, chalky spot—a subsurface lesion where the enamel surface remains intact but the mineral beneath is lost.
- Remineralization (reversal): Saliva contains calcium, phosphate, and bicarbonate, which buffer acids and help restore minerals to the enamel. Fluoride from toothpaste or water accelerates remineralization and makes the enamel more acid-resistant. If demineralization and remineralization stay balanced, no cavity forms.
- Lesion progression: If acid attacks outpace repair, the demineralized zone expands. The enamel surface eventually collapses, forming a physical cavity (cavitation).
- Dentin involvement: Once through enamel, decay reaches dentin, which is softer and contains tubules that allow bacteria and acids to spread faster. The cavity enlarges.
- Pulp involvement: If decay reaches the pulp, it can cause inflammation (pulpitis), pain, and infection. At this stage, root canal treatment or extraction may be needed.
Factors That Influence Cavity Risk
Whether a person develops cavities depends on a balance of protective and risk factors. Saliva is a key protective factor: it washes away food, buffers acids, and supplies minerals for remineralization. Dry mouth (xerostomia), often caused by medications or certain medical conditions, significantly increases risk. Other factors include:
- Diet: Frequency of sugar intake matters more than total amount. Sipping sugary drinks or snacking constantly keeps plaque pH low for longer.
- Oral hygiene: Regular brushing with fluoride toothpaste and flossing disrupt plaque and deliver fluoride.
- Fluoride exposure: Community water fluoridation, fluoride toothpaste, and professional applications reduce cavities.
- Tooth anatomy: Deep pits and fissures on chewing surfaces trap plaque and are common sites for decay.
- Age: Children and older adults are at higher risk; older adults often have exposed root surfaces and dry mouth.
- Medical conditions: Acid reflux or eating disorders that expose teeth to stomach acid can erode enamel, making it more vulnerable.
Reversibility and Treatment
Early demineralization (white spot lesions) can be reversed with improved hygiene, fluoride, and dietary changes. Once a cavity (cavitation) forms, however, the lost tooth structure cannot regrow. Treatment depends on the stage:
- Initial lesions: Remineralization therapy, fluoride varnish, and sealing may be enough.
- Enamel and dentin cavities: Dentists remove decayed tissue and restore the tooth with fillings (composite resin, amalgam, or other materials).
- Pulp involvement: Root canal treatment removes infected pulp, and the tooth is restored, often with a crown.
- Severe decay: Extraction may be necessary if the tooth cannot be saved.
Regular dental checkups allow early detection, often before a cavity is visible or symptomatic.
Prevention: Breaking the Cycle
Preventing cavities means shifting the balance toward remineralization. Practical steps include:
- Brush twice daily with fluoride toothpaste, ideally after meals.
- Floss or use interdental cleaners once a day to remove plaque between teeth.
- Limit sugary snacks and drinks; if consumed, have them with meals rather than sipping throughout the day.
- Drink water, especially fluoridated water, and chew sugar-free gum to stimulate saliva.
- Ask a dentist about fluoride varnish or sealants for high-risk teeth.
These measures are not a guarantee, but they substantially reduce the likelihood of decay.
Frequently Asked Questions
Can a cavity heal on its own?
Only the earliest stage—demineralization before a hole forms—can be reversed by remineralization. Once enamel collapses and a cavity exists, it cannot heal without professional treatment.
Does sugar cause cavities directly?
Sugar itself does not dissolve teeth; bacteria ferment sugar into acid, and the acid dissolves minerals. The frequency of sugar exposure matters more than the amount.
Is tooth decay contagious?
The bacteria that cause cavities can be transmitted between people, for example from caregiver to child through shared utensils or saliva. However, transmission alone does not guarantee decay; diet and hygiene determine whether cavities develop.
How long does it take for a cavity to form?
It varies widely. Some lesions progress over months, others take years. Factors include saliva flow, fluoride exposure, diet, and bacterial composition. Regular checkups help catch decay early.
Can I feel a cavity forming?
Early decay is usually painless. Once the cavity reaches dentin, you may feel sensitivity to sweet, hot, or cold foods. Pain often indicates deeper decay or pulp involvement.
Does brushing immediately after eating help?
Brushing right after acidic foods or drinks can abrade softened enamel. It is generally better to wait about 30 minutes, especially after acidic items, and rinse with water in the meantime.