Can a Tooth Filling Get Infected? Signs & Treatment

A tooth filling can absolutely become infected, and it happens more often than most people realize. The infection does not occur within the filling material itself but rather beneath or around it, where bacteria slip through microscopic gaps between the filling and the tooth. This process, called microleakage, allows bacteria, fluids, and other molecules to pass between the cavity wall and the restoration, and research has documented it across virtually every type of filling material in common use. What makes this particularly tricky is that some of these infections develop silently, without pain, sometimes for years before they become a problem.

How Bacteria Get Under a Filling

When a dentist places a filling, the goal is to create a tight seal between the restorative material and your tooth structure. In reality, a perfect seal is extremely difficult to achieve and even harder to maintain. Research going back decades has shown that freshly placed amalgam fillings leak, though the leakage tends to decrease as the filling ages and corrosion products fill in the gaps. Tooth-colored composite fillings also leak, and their behavior differs from amalgam over time.1Elsevier. Microleakage: a review

These microscopic gaps are the entry point. Bacteria from your mouth work their way into the space between the filling and the tooth wall, traveling through tiny channels in the tooth’s hard tissue called dentinal tubules. Studies have confirmed that bacteria isolated from inside the tooth match those found in the deeper layers of decay, meaning they physically migrated through these tubules to reach the inner part of the tooth.2PubMed. Bacterial invasion of non-exposed dental pulp

Filling margins also deteriorate over time. Chewing forces, temperature changes from hot and cold food, and general wear all stress the bond between filling and tooth. Lab studies simulating these forces show that marginal adaptation worsens in all types of composite restorations after repeated mechanical and thermal cycling.3PubMed Central. Marginal and internal adaptation of different flowable composite restorations in class V cavities after thermomechanical cyclic loading: in vitro study Over months and years of daily use, what started as a solid seal can develop gaps wide enough for bacteria to colonize.

Signs That Something Is Wrong

The symptoms of an infection developing under or around a filling can range from subtle to unmistakable. Here are the common warning signs:

  • Sensitivity: Increased sensitivity to hot, cold, or sweet foods and drinks, particularly if the tooth was previously comfortable after the filling was placed.
  • Spontaneous pain: A toothache that comes on without any trigger, especially one that wakes you up at night, often signals that bacteria have reached the pulp (the living tissue inside the tooth).
  • Pain when biting: Discomfort or sharp pain when chewing on the filled tooth can indicate the filling has cracked, loosened, or that decay has weakened the surrounding tooth structure.
  • Visible discoloration: Dark staining around the edges of a filling, or the tooth itself turning gray, may mean decay is progressing beneath the restoration.
  • Swelling or a bump on the gum: A small pimple-like bump (called a fistula or gum boil) near the affected tooth often means the infection has spread from the tooth into the surrounding bone and is draining through the gum tissue.
  • Bad taste: A persistent foul taste coming from a specific area of your mouth can signal pus draining from an infected tooth.

When bacteria reach the dental pulp, the result is inflammation known as pulpitis. If caught early, the inflammation can be localized and potentially reversible. If left untreated, it can progress to pulp death, at which point the tooth requires a root canal to be saved.4PubMed Central. Understanding dental pulp inflammation: from signaling to structure

The Problem of Silent Infections

Perhaps the most unsettling aspect of filling infections is that many produce no symptoms at all. A tooth can have active decay creeping under a filling, or a chronic infection simmering at the root tip, without any pain or obvious signs. Teeth that have already had root canal treatment are especially prone to this because the nerve has been removed, eliminating the tooth’s ability to signal pain.

Research on root-canal-treated teeth paints a telling picture. Teeth with poorly executed root canal fillings showed signs of infection at the root tip about two-thirds of the time, compared to roughly one in six teeth with adequate root canal fillings. The quality of the crown or filling on top mattered too: teeth with poor coronal restorations had root-tip infections about half the time, compared to about 30% of teeth with good restorations.5SciELO / Brazilian Dental Journal. Characterization of Successful Root Canal Treatment The seal at the top of the tooth is just as important as what happened inside the root canals.

This is one reason your dentist takes periodic X-rays even when nothing hurts. A dark shadow on a radiograph near the tip of a root or underneath a filling reveals problems that you would never feel until they became severe.

Does the Filling Material Matter?

It does, though probably not in the way you would expect. The two most common filling materials for back teeth are amalgam (the silver-colored fillings) and composite resin (tooth-colored fillings). For decades, the dental profession has debated which performs better, and the evidence consistently points in the same direction: composite resin restorations fail more often and develop new decay at higher rates than amalgam.

A Cochrane review, which pooled evidence from multiple clinical trials, found that composite fillings had roughly double the risk of failure compared to amalgam and were at even higher risk of developing secondary decay around the edges.6PubMed Central. Direct composite resin fillings versus amalgam fillings for permanent posterior teeth – Section: MAIN RESULTS A separate systematic review reached a similar conclusion, finding that composite restorations in back teeth had lower longevity and a higher rate of secondary decay compared to amalgam, though fracture rates were similar between the two materials.7Journal of Dentistry. Amalgam and resin composite longevity of posterior restorations: A systematic review and meta-analysis Studies evaluating why fillings get replaced have reinforced this finding, with amalgam showing a lower risk of secondary decay and greater longevity overall.8The Saudi Dental Journal. Clinical evaluation of reasons for replacement of amalgam vs composite posterior restorations

Why the difference? Amalgam corrodes slightly over time, and the corrosion products actually seal the margins of the filling, reducing leakage as the filling ages. Composite relies on an adhesive bond to the tooth, and that bond is more susceptible to breaking down from moisture, chewing forces, and the natural flexing of tooth structure. That said, composite technology has improved substantially, and a well-placed composite by a skilled dentist in a dry field can last many years. The gap between the two materials narrows when technique is excellent and the filling is not in a high-stress location.

None of this means you should demand amalgam. Most dental offices now use composite as the default because of aesthetics and mercury concerns, and for small to moderate fillings in favorable conditions, composite performs well. But for large fillings on back teeth that take heavy biting forces, the material choice can influence how likely the filling is to develop problems down the road.

Cracked Fillings, Cracked Teeth

A filling does not need to fall out for bacteria to get in. Cracks, whether in the filling or in the surrounding tooth structure, create another pathway. Histological studies of cracked teeth have found that cracks in all examined teeth were colonized by bacterial biofilms. When cracks extended into the hard inner layer of the tooth, bacteria invaded the tubules and triggered intense inflammation in the underlying pulp. In many cases, the crack reached the pulp directly, producing reactions ranging from acute inflammation to complete pulp death.9PubMed. The cracked tooth: histopathologic and histobacteriologic aspects – Section: RESULTS

Cracks can be invisible to the naked eye and sometimes do not show up on X-rays. You might notice a sharp pain when biting down that disappears when you release, or sensitivity that seems to come and go unpredictably. Teeth with large fillings are more vulnerable to cracking because more of the natural tooth structure has been removed, leaving thinner walls that flex under chewing forces. This is one reason your dentist may recommend a crown rather than another filling when replacing a large, failing restoration.

Treatment When Infection Takes Hold

How an infected filling is treated depends on how far the bacteria have advanced. The options form a loose ladder of escalation.

If decay has formed around or beneath a filling but has not reached the pulp, the standard treatment is removing the old filling, cleaning out the new decay, and placing a new, larger restoration. Interestingly, research suggests that it is not always necessary to remove every last trace of infected tooth material before sealing the tooth. One review concluded there is little evidence that leaving some infected material behind leads to further decay, pulp inflammation, or pulp death, as long as the tooth is properly sealed.10Karger (Caries Research). How ‘Clean’ Must a Cavity Be before Restoration? The key factor is the quality of the seal, not the sterility of what is underneath it. This finding has shifted how many dentists approach deep decay, choosing to leave a thin layer of affected tissue near the pulp rather than risk exposing it.

If bacteria have already reached the pulp and caused irreversible damage, a root canal becomes necessary. The goal of root canal therapy is to remove the infected pulp tissue, disinfect the canals, and seal them to prevent reinfection. Achieving a bacteria-free canal before sealing makes a significant difference in outcomes: teeth that tested negative for bacteria before root filling healed completely about 94% of the time, compared to just 68% when bacteria were still present.11PubMed. Influence of infection at the time of root filling on the outcome of endodontic treatment of teeth with apical periodontitis

Antibiotics play a more limited role than many patients expect. Dental procedures like root canals and drainage of abscesses are the primary treatment; antibiotics support that work rather than replace it.12PubMed Central. Antibiotic Therapy in Dentistry For a localized infection with contained swelling, the primary aim is to achieve drainage, and antibiotics are often unnecessary. They become more important when the infection shows signs of spreading, when there is systemic involvement like fever or difficulty swallowing, when the infection persists after drainage, or when the patient has immune or health conditions that make them more vulnerable to complications.13PubMed. Antibiotics in Endodontics: a review

Overprescribing antibiotics for tooth infections is a real concern. Dentists sometimes prescribe broad-spectrum antibiotics for conditions like a painful but contained pulpitis, where antibiotics do not address the underlying problem and only delay definitive treatment. This contributes to antibiotic resistance without helping the patient.

Repair Versus Replacement

When a filling shows early signs of breakdown but the tooth underneath is still sound, you and your dentist face a choice: repair the existing filling or replace it entirely. Repair means adding new material to patch a defective margin or small area of the old filling, while replacement means removing the entire restoration and starting over.

A study tracking long-term costs and outcomes of both approaches found that while replacements cost more upfront, the annual costs over time were similar between repairs and full replacements. Complication rates, including the risk of eventually losing the tooth, were also similar between the two groups.14Dental Materials. Long-term treatment costs and cost-effectiveness of restoration repair versus replacement This is worth knowing because every time a filling is fully replaced, the dentist removes a little more healthy tooth structure. Over a lifetime, a tooth that goes through multiple cycles of replacement may eventually not have enough structure left to hold a filling, requiring a crown or, in the worst case, extraction. Repair can sometimes break that cycle by preserving more of the tooth.

If a root canal becomes necessary, the cost and treatment commitment increase substantially. But root canal therapy remains highly cost-effective as a first-line treatment compared to extracting the tooth and placing an implant. If a root canal later fails, retreatment through the top of the tooth is also cost-effective, though surgical retreatment is not. Implants may make sense as a last resort after other options have been exhausted.15PubMed. Evaluation of the cost-effectiveness of root canal treatment using conventional approaches versus replacement with an implant

Why Some Infections Come Back After Root Canals

A root canal does not guarantee the end of infection. Some bacteria are remarkably good at surviving inside root-canal-treated teeth. Studies examining persistent infections in these teeth have identified specific bacteria that are prolific biofilm producers, including species like Enterococcus faecalis, which is notorious for surviving the harsh environment inside treated canals. Several of these persistent species also show resistance to commonly used antibiotics.16Elsevier. Antibiotic Resistance and Capacity for Biofilm Formation of Different Bacteria Isolated from Endodontic Infections Associated with Root-filled Teeth

Biofilm is the key word here. Bacteria do not float around individually inside a tooth canal. They organize into structured communities coated in a protective matrix that makes them far harder to kill than isolated bacteria. This is why antibiotics alone cannot resolve a tooth infection: the drug cannot penetrate a biofilm embedded deep within root canal anatomy. The mechanical cleaning and shaping performed during a root canal physically disrupts these biofilms, which is what makes the procedure effective and why it cannot be replaced by a pill.

Newer Filling Materials That Fight Bacteria

Researchers are working to develop filling materials that actively resist bacterial invasion rather than passively sitting in the tooth. One promising approach involves incorporating bioactive glass particles into composite fillings. In lab testing, composite restorations containing bioactive glass reduced the depth of bacterial penetration into marginal gaps by roughly 60% compared to standard composites, where bacteria penetrated all the way through the gap and sometimes extended underneath the filling entirely.17PubMed Central. Bioactive glass fillers reduce bacterial penetration into marginal gaps for composite restorations – Section: Discussion

The mechanism behind these bioactive materials involves the release of ions into the gap between the filling and the tooth, creating a local chemical environment that slows bacterial growth and biofilm development. Other approaches under development include composites and bonding agents that can release minerals to repair early tooth damage, neutralize acids produced by bacteria, and actively suppress biofilm formation.18PubMed Central. Bioactive Dental Composites and Bonding Agents Having Remineralizing and Antibacterial Characteristics A comprehensive review of these bioactive restorative materials notes that glass ionomer cements, modified resin composites, and various ion-releasing materials all show varying degrees of this bioactive behavior.19PubMed Central. Bioactive restorative materials in dentistry: a comprehensive review of mechanisms, clinical applications, and future directions

Most of these materials are still in early clinical use or remain in the lab testing phase, and long-term clinical data is thin. But the direction is clear: the next generation of fillings is being designed not just to fill a hole but to actively defend the tooth against the bacteria that cause fillings to fail in the first place. For now, the best defense against filling infection remains the unglamorous combination of good oral hygiene, regular dental visits, and catching problems early before bacteria have had time to do serious damage.

Benjamin Iverson

Benjamin Iverson, RDH, is an oral health writer at Biology Insights covering dental infections and emergency care. A former dental hygienist with 10 years in clinical care, he also works per-diem shifts providing restorative treatment at a rural community clinic.