Dentists fix cavities by removing infected and weakened enamel and dentin with a drill or air abrasion, then sealing the resulting defect with a restorative material—composite resin, dental amalgam, glass ionomer, or, for deep lesions, an indirect pulp cap or root canal followed by a crown. The choice of technique depends on how far decay has progressed into the tooth's layers and whether the pulp is still vital.
Cavities are not holes that appear overnight. They are the endpoint of a demineralization process that begins at the atomic scale and can take months to years to reach the dentin, which is why early detection changes the entire treatment pathway.
Enamel Demineralization: The Chemistry Behind the Cavity
Dental enamel is roughly 96 percent hydroxyapatite by weight, a calcium phosphate mineral arranged in rods about 4 to 5 micrometers wide. When fermentable carbohydrates sit on a tooth surface, cariogenic bacteria—chiefly Streptococcus mutans and Lactobacillus species—convert them to organic acids, mostly lactic acid. Those acids drop the local pH below the critical threshold of about 5.5, and hydroxyapatite begins dissolving.
This is not a uniform erosion. Demineralization starts at the subsurface, leaving a relatively intact surface layer of 10 to 30 micrometers. That layer is why an early white-spot lesion can look chalky but still feel hard to a probe. Saliva is the counterweight: calcium and phosphate ions in saliva, plus fluoride, drive remineralization and can arrest a lesion if the acid challenge is interrupted often enough.
Once the surface layer collapses, the defect becomes cavitated, and a dentist must intervene because the lesion can no longer be cleaned or remineralized. That transition—from reversible white spot to cavitation—is the single most important branch point in cavity treatment.
What the Dentist Actually Does: Step by Step
The sequence has five functional stages, and each exists for a mechanical or biological reason.
First, diagnosis. The dentist examines the tooth visually, probes for surface roughness, and may take bitewing radiographs, which detect approximal decay that is invisible to direct inspection. Radiographs show demineralized tissue as a radiolucency because mineral loss reduces X-ray attenuation. In plain terms, the X-ray shows a dark patch where the hard mineral used to be.
Second, anesthesia. Local anesthetic is delivered near the nerve supplying the tooth, and the dentist waits for onset—typically several minutes for pulpal anesthesia—before drilling. Some patients receive buffered or warmed anesthetic formulations to speed onset.
Third, excavation. The dentist removes infected dentin, which is soft, wet, and bacteria-laden, and preserves affected but remineralizable dentin where possible. Rotary burs cut efficiently but generate heat, so the dentist uses water coolant and light intermittent pressure. In deep lesions, caries-detecting dyes and hand instruments help the dentist judge the boundary; the clinical judgment is whether remaining dentin is leathery or firm.
Fourth, restoration. The defect is conditioned, bonded, and filled. Composite resin is placed in increments because each layer must be cured by light for a set exposure—thin increments cure more completely than thick ones, and inadequate curing leaves unreacted monomer that weakens the bond.
Fifth, occlusion check. The dentist asks the patient to bite and adjusts the restoration so it does not sit high, because a proud filling concentrates force and can fracture the tooth or the restoration.
Quantified Context: Depth, Time, and Materials
Caries progression is slow enough that timing matters more than speed. Enamel lesions can take roughly 2 to 4 years to progress through enamel, while dentin lesions can advance faster once the dentin is reached, sometimes within a year or two. These ranges vary widely with diet, fluoride exposure, and saliva flow, so treat them as orientation, not prediction.
Material selection is driven by location and size. Amalgam remains durable in high-load posterior teeth but is being phased out under the Minamata Convention on Mercury, which sets a global trajectory toward reduced amalgam use. Composite resin dominates in most modern practices because it bonds to tooth structure and matches color. Glass ionomer releases fluoride and is useful in pediatric and root-surface restorations, though it wears faster under load.
Cost in the US varies by region and material. A routine composite filling commonly falls in the range of roughly USD 150 to USD 300 per surface, with multi-surface restorations costing more; amalgam tends to be less expensive. These are broad market ranges, not quotes, and insurance coverage changes the out-of-pocket figure substantially.
Edge Cases That Change the Plan
Not every cavity is a drilling case. Arrested lesions—hard, dark, and non-cavitated—may be monitored rather than excavated. This is the counterintuitive detail: a dark spot is not automatically a cavity, and aggressive drilling of a remineralized lesion removes sound tooth structure for no benefit.
Deep lesions near the pulp create a different problem. If the pulp is still vital and the decay is close but not into the nerve, an indirect pulp cap places a protective liner over the near-exposed dentin to encourage reparative dentin formation. If the pulp is already exposed or infected, the options narrow to direct pulp cap, pulpotomy, or root canal therapy, and the choice depends on pulp vitality testing and symptoms.
Cracks and fracture lines introduce another variable. A cracked tooth may hold a filling poorly because the crack propagates under load, and a crown may be the more durable solution. Patients who clench or grind add cyclical loading that shortens restoration life.
Common Misconceptions and Professional Caveats
The most persistent misconception is that a filling "fixes" the tooth permanently. Restorations have finite service life; composite and amalgam both degrade, marginal seals fail, and secondary caries can form at the restoration edge. Replacement is a maintenance event, not a failure of the dentist.
A second misconception is that drilling always means pain during the procedure. With effective local anesthesia, the drilling itself is typically not painful; post-operative sensitivity to cold or pressure is common for days to weeks, especially with deep restorations.
A third is that silver fillings are inherently unsafe. Amalgam's mercury is bound in an alloy and releases only trace vapor; major health bodies have maintained that amalgam is safe for most adults, while recommending caution in specific groups such as pregnant patients and those with certain kidney conditions—a nuance that gets flattened into either "safe" or "toxic" in popular coverage.
Practical Actions and When to Seek Care
The practical steps are mostly about catching lesions early and keeping restorations alive.
Brush twice daily with fluoride toothpaste and clean between teeth daily, because approximal surfaces are where radiographs most often find hidden decay. Limit frequent sugar exposures rather than total sugar; the number of acid attacks per day matters more than the amount in one sitting. Attend recall exams at the interval your dentist recommends, typically 6 to 12 months depending on caries risk. Do not ignore a sharp pain to hot or cold that lingers; prolonged thermal pain suggests pulp involvement and warrants prompt evaluation. Avoid chewing ice, hard candies, and unpopped popcorn kernels, which fracture restorations and teeth. If a filling chips or feels high when biting, seek care rather than waiting, because a marginal gap admits bacteria.
Red flags that warrant urgent care:
Spontaneous pain that wakes you from sleep. Swelling of the face or jaw. Fever with dental pain. A bad taste or pus near a tooth. A restoration that has visibly broken or loosened.
Timeline: What to Expect From Diagnosis to Recovery
| Stage | Typical timing | What happens |
|---|---|---|
| Diagnosis and radiographs | Day 0 | Visual exam, probing, X-rays if indicated |
| Anesthesia onset | Minutes after injection | Numbness of tooth and surrounding tissue |
| Excavation and restoration | Same appointment | Decay removed, filling placed and cured |
| Immediate post-operative period | First 24 to 48 hours | Mild sensitivity, bite adjustment if needed |
| Early healing | 1 to 2 weeks | Sensitivity usually fades; gum tenderness resolves |
| Restoration maturation | Weeks to months | Bond strengthens; occlusion settles |
| Recall check | 6 to 12 months | Dentist verifies seal and checks for recurrent decay |
Limitations: What This Explainer Cannot Tell You
No general article can determine whether a specific tooth needs a filling, a crown, or a root canal. That judgment requires clinical examination, pulp vitality testing, and radiographs interpreted by a licensed dentist. The thresholds cited here—pH 5.5, subsurface lesion depth, material cost ranges—are orientation points, not decision rules for an individual case.
Evidence on long-term restoration longevity is also heterogeneous. Reported survival rates for composite and amalgam restorations vary by study design, operator skill, and patient factors, and converting those figures into a personal prognosis for one filling is not scientifically defensible. What can be said with confidence is directional: early lesions are cheaper and less invasive to treat than late ones, and maintenance—hygiene, fluoride, and regular exams—reliably extends the life of whatever restoration you receive.