Requests

Restorative dentistry

Dark line around a filling: what it means

One of the most common things people notice in the mirror, or during a check-up, is a dark line where the filling meets the tooth.

Dentist wearing magnifying loupes, concentrating on treating a tooth

Reviewed by Dr. Fernando Alegre

Clinical Director · OMD, registration no. 9688

Written by the Clínica Alegre team10-minute read

In this article

It may be as fine as a pencil line or wider and brownish, and can appear around both white fillings (composite resin) and metal fillings (amalgam). The technical term is marginal staining, and the natural first question is: “Do I have decay underneath?”

This article explains what may lie behind this dark line, why it is often simply a stain rather than disease, how harmless cases are distinguished from those needing treatment, what research says about the reliability of diagnostic methods, and the treatment options, from simple monitoring to repair or replacement.

What is the edge of a filling?

The margin is the line where the filling material meets the enamel or dentine. It is a sensitive area because it joins two materials with different properties. Composite resins bond through chemical and micromechanical adhesion; amalgam is held mechanically in the cavity and does not bond to the tooth in the same way.

Over time, this interface is affected by wear, temperature changes, chewing forces and acid attacks. With resin, the bonding layer may slowly degrade and slight shrinkage of the material may leave microscopic spaces. With amalgam, corrosion may partly seal these spaces but can also produce dark pigments. Stains and plaque collect along this line, which is where the dark edge appears.

MaterialType of bond to the toothWhat usually happens at the edge
Composite resinAdhesiveStaining, gradual degradation of the bond
Amalgam fillingMechanical retentionCorrosion, darkening, small edge fractures
Glass ionomerChemical adhesion with fluoride releaseSurface wear, roughness
Ceramic or crownsCementation or bondingVisible or stained cement line

Stain, gap or decay: three different situations

Not all dark edges are alike. In practice, there are three main situations, and they may coexist.

The first is surface staining: pigments from coffee, tea, red wine, tobacco or certain mouthwashes settle in slight irregularities at the edge. The surface is hard and smooth, and the line remains stable over time. This is mainly a cosmetic issue.

The second is a defective margin, with a gap between the material and the tooth. The gap may be narrow and harmless, or wide enough to trap plaque and food. Larger gaps increase the risk of decay.

The third is secondary decay: a carious lesion next to the filling. Here, the dark area tends to be soft, may grow over time and can sometimes appear on X-rays as a shadow beneath the filling.

FeaturePigmentationDefective marginSecondary decay
SurfaceHard and smoothDetectable gapSoft
ProgressStableMay increaseTends to progress
Food retentionNoSometimesCommon
SymptomsNoneRarePossible sensitivity
X-rayNormalMay show a spaceMay show a lesion
Usual approachMonitor or polishMonitor, seal or repairTreat: repair or replace

What research says about diagnosis

A review published in 2020, which formed the basis of a European consensus on secondary decay, reached conclusions that help put this issue into perspective. The authors found that current methods of detecting secondary decay are poorly validated and tend to overdiagnose it. They recommended prioritising specific methods that avoid false positives, so that unnecessary invasive treatment is not carried out.

The same review highlights that, more than the filling material itself, the factors that appear to have the greatest bearing on the risk of secondary decay are the presence and size of gaps at the margin, the person’s own risk of decay and the experience of the person who placed the filling. It also notes that most data come from back teeth, and secondary decay appears to be less common in front teeth.

In practical terms, this means that a dark line alone should not automatically lead to a filling being replaced. A diagnosis should bring together several signs and take each person’s circumstances into account.

How it is assessed during the appointment

Examination begins with the tooth clean and dry and under good lighting. The dentist looks at the colour and width of the line, carefully checks for a gap that catches a fine instrument, and assesses the texture of the dark area. They will also ask about symptoms, such as sensitivity to sweet foods or cold, or food becoming trapped around that tooth.

If the filling is on a surface between teeth, or there is uncertainty about what is happening underneath, a bitewing X-ray may be useful. Comparison with previous observations and X-rays helps considerably: a line that has remained unchanged for years is reassuring, while one that has changed recently needs closer attention.

The person’s risk of decay is another important factor. Someone with several new cavities, frequent sugar intake, low saliva levels or difficulty cleaning their teeth is more likely to have active decay at a questionable margin. A 2014 analysis covering 2,816 composite fillings in back teeth identified decay and fractures as the main causes of failure, and linked a person’s risk of decay to a higher likelihood of failure.

Item assessedWhy it is important
Appearance of the line (width, colour)Wide, brownish lines need closer attention
Presence of a gapWide gaps retain plaque
TextureSoft tissue suggests decay
X-ray, when indicatedShows what cannot be seen on the surface
Comparison with previous recordsDistinguishes stability from progression
SymptomsSensitivity may indicate an active problem
Individual risk of decayChanges the likelihood of decay

Treatment options

When the dark edge is found to be staining alone, monitoring is the most conservative option. If it is a cosmetic concern, particularly on front teeth, it is often possible to polish the edge or remove a surface layer and add fresh resin without removing the whole filling.

If there is a small localised defect, a repair may be carried out: only the defective area is removed and that part is restored. The 2020 European review lists repair and replacement as options for managing lesions next to fillings. Repair preserves more of the tooth, is quicker and avoids the cycle of repeated replacements that gradually weakens the tooth.

Complete replacement is justified when decay is extensive, the filling is loose, there are several defects or the tooth is fractured. In these cases, the new restoration may be made from resin or, if the tooth is very weak, may be a laboratory-made restoration.

DiagnosisMost common option
Stable staining, with no gapMonitor; polish if bothersome
Staining on a visible toothPolishing or surface repair
Small gap without decayMonitor, seal or repair
Localised decay at the edgeLocalised repair
Extensive decay or loose fillingReplacement
Very weak toothConsider a more protective restoration

Amalgam or resin: differences at the edge

Amalgam and resin behave differently at the edge. A Cochrane review updated in 2021 compared the two materials in back teeth and concluded that resin fillings may develop more secondary decay and fail more often, although confidence in the evidence is low and the studies are old, using materials that have since evolved.

This helps explain why some old amalgam fillings remain functional for many years despite being dark. However, that alone does not justify preferring amalgam, whose use is now restricted in the European Union. The useful message for patients is that the edge of any filling needs care, and resin may require close monitoring in people at high risk of decay.

When to seek an assessment sooner

Most dark edges can be assessed at a routine check-up. Bring your appointment forward if the dark line grows quickly, a visible gap appears, the filling chips, food repeatedly becomes trapped in the same place, or you develop new sensitivity to sweet foods, cold or chewing.

Severe, persistent pain, pain that wakes you at night or swelling of the gum may indicate that the pulp is affected or there is an infection, and requires prompt assessment. Swelling of the face or neck, fever, or difficulty swallowing or breathing is an emergency: call 112.

How to prevent problems at the edges

What you do at home has a major effect on the health of filling margins. Brushing twice a day with fluoride toothpaste, paying attention to the line between the filling and the tooth, and cleaning between the teeth every day with floss or an interdental brush reduces plaque in the highest-risk areas. Reducing how often you consume sugar is one of the most effective measures against decay.

If staining is a concern, cutting down on coffee, tea and red wine and stopping smoking will help. For people at high risk of decay, the dentist may recommend additional fluoride measures.

MeasureEffect
Brush with fluoride toothpaste 2 times a dayReduces plaque and strengthens enamel by the edge
Daily interdental cleaningProtects edges between teeth
Less sugar, particularly between mealsReduces acid attacks
Less coffee, tea, red wine and tobaccoLess staining
Regular reviewsAllows comparison and detection of changes

At Clínica Alegre in Setúbal and Seixal, we carefully assess dark edges around fillings and explain during your appointment whether it is a stain to monitor or a problem that warrants repair or replacement.

Frequently asked questions

Does a dark edge always mean decay?

No. It is often simply staining at the edge. Decay can only be confirmed by clinical assessment and, when necessary, X-rays.

Can I remove the stain by brushing?

Usually not, because it lies in an irregularity at the edge. Professional polishing may improve its appearance.

Does the filling need replacing?

Only if there is extensive decay, a fracture or several defects. Monitoring, polishing or repairing it is often enough.

Why does the dark line appear more often around white fillings?

Resin bonds to the tooth, and the slow degradation of this bond may leave a line where pigments settle.

Is repairing it as good as replacing it?

When the defect is localised, repair is a valid, more conservative option that preserves the tooth.

Can the dark edge cause pain?

Staining cannot. New pain or sensitivity should be assessed, as it may indicate decay or a gap.

Did you enjoy this article?

Scientific references3
  1. Askar H, Krois J, Göstemeyer G, Bottenberg P, Zero D, Banerjee A, et al. Secondary caries: what is it, and how it can be controlled, detected, and managed? Clin Oral Investig. 2020;24(5):1869-76.
  2. Worthington HV, Khangura S, Seal K, Mierzwinski-Urban M, Veitz-Keenan A, Sahrmann P, et al. Direct composite resin fillings compared with amalgam fillings for permanent back teeth. Cochrane Database Syst Rev. 2021;8(8):CD005620.
  3. Opdam NJM, van de Sande FH, Bronkhorst E, Cenci MS, Bottenberg P, Pallesen U, et al. Longevity of posterior composite restorations: a systematic review and meta-analysis. J Dent Res. 2014;93(10):943-9.
Article information
Written by
Clínica Alegre team
Clinical review
Dr Fernando Alegre, Clinical Director · OMD, registration no. 9688
Published
2 Dec 2026
Last updated
2 Dec 2026
Topic
Restorative dentistry
Reading time
10 min

See also

Related treatments

Want to know what is right for you?

Contact us on WhatsApp or book an assessment, in person or online.

Book an appointment

Book your assessment.

Choose Setúbal or Seixal. We reply within opening hours.

Newsletter

Get the latest news from the Clínica Alegre.

Blog articles and clinic news, delivered to your inbox. Unsubscribe at any time.