A cavity is a hole in a tooth caused by decay. This guide explains how cavities form, what they feel like and how they are treated and prevented.
Key points
- A cavity is a hole in a tooth caused by decay, which starts when bacteria feed on sugars and starches and make acid that wears away enamel.
- Early cavities rarely hurt, which is why regular check-ups matter. The dentist can see and X-ray decay before you feel it.
- A white or chalky spot can sometimes be reversed with fluoride and better cleaning. A true cavity needs a filling.
- Decay that reaches the nerve may need root canal treatment, and an abscess needs urgent dental treatment.45
- Brush twice a day with fluoride toothpaste, clean between the teeth and keep sugary snacks and drinks to mealtimes.3
Tooth decay is one of the most common health problems in the world, and cavities are its visible result. The good news is that decay is largely preventable, and when it is caught early it is easy to treat. Understanding how it works helps you stay ahead of it.
How a cavity forms
Your mouth contains bacteria that feed on sugars and starches from food and drink. As they feed, they make acid. Each acid attack removes minerals from the enamel, the hard outer layer of the tooth. Saliva and fluoride can put the minerals back, but if attacks come too often, or plaque stays on the tooth, the enamel breaks down. At first this looks like a chalky white spot. Over time, the surface collapses into a cavity, and the decay moves towards the softer dentine beneath and then towards the pulp, where the nerve is.
Causes and risk factors
- Frequent sugary food and drink. How often you have sugar matters as much as how much.
- Plaque left on the teeth, especially at night and between the teeth.
- Too little fluoride.
- A dry mouth, because saliva protects teeth.
- Deep grooves or crowded teeth, which trap plaque.
- Gum recession, which exposes root surfaces that decay more easily.
- Old fillings with worn or broken edges, where new decay can form.2
Symptoms by stage
| Stage | What you may notice |
|---|---|
| Early | A white or chalky spot; usually no pain |
| Enamel cavity | A small hole or rough patch; occasionally a twinge with sweet food |
| Into the dentine | Sensitivity to hot, cold or sweet food; food catching in a hole |
| Near the pulp | Toothache, often worse at night or when biting |
| Infection | Intense pain, swelling, a bad taste, sometimes a fever |
The NHS lists decay and a dental abscess among the common causes of toothache, along with a cracked or damaged tooth and a loose or broken filling.1
Why you may not feel a cavity
Early cavities rarely hurt. That is why regular check-ups matter, because the dentist can see and X-ray decay before you feel it. Treating it early means a smaller filling and less drilling.
Treatment
Early decay. A white spot can sometimes be reversed with fluoride and better cleaning, and the dentist will monitor it.
A cavity. The decayed part is removed and the tooth is restored with a filling. Common materials are resin composite, amalgam and glass ionomer.2 In a review of 62 trials, about 85 to 90 percent of resin composite fillings in back teeth were still in place at 10 years, and fillings are replaced mainly because they fracture or wear, or because new decay forms at their edge.2 See our page on dental fillings.
A large cavity. If a lot of tooth is lost, a crown may be needed. See dental crowns.
Decay that reaches the nerve. Root canal treatment removes the infected pulp, cleans and shapes the inside of the tooth and fills and seals it so that it does not become infected again.4 If it is not treated, the NHS says an infected tooth may need to be extracted.4 See root canal treatment.
An abscess. A dental abscess is a build-up of pus caused by infection, which needs urgent dental treatment and will not clear up on its own.5
Preventing cavities
- Brush twice a day with fluoride toothpaste. A Cochrane review found that fluoride toothpaste prevents decay, with a larger effect at higher fluoride concentrations.3
- Clean between your teeth every day, especially at the edge of fillings, where new decay tends to form.2
- Limit sugary snacks and drinks, and keep them to mealtimes where possible.
- Do not sip sweet drinks over long periods.
- Drink water, particularly after meals.
- Visit your dentist regularly.
- For children, ask about fluoride varnish and fissure sealants. A Cochrane review found that fluoride varnishes help to prevent decay in children and adolescents.6
Cavities in children
Baby teeth decay too, and it can be painful and affect the adult teeth coming through. Brush from the first tooth, use a smear of fluoride toothpaste for young children as advised, and avoid putting a child to bed with a sweet drink. Our page on pediatric dentistry explains how we care for children's teeth.
What to do if you have a toothache
The NHS advises booking a dentist if toothache lasts more than two days or does not ease with painkillers, or sooner if you have a fever, a swollen cheek or jaw, red gums or a bad taste.1 Painkillers ease pain but do not treat the cause.1 Read more on our page about tooth pain.
How a dentist finds a cavity
A dentist looks for decay in several ways. They examine each tooth under good light, dry the surface so that white or chalky spots show, and may use a thin probe to feel for soft or sticky areas. X-rays show decay between teeth and under old fillings, where it is hard to see. Some clinics also use a small camera or a light-based device to photograph the tooth.
Findings are explained and often shown to you on a screen. A small spot that is not yet a hole may be watched and treated with fluoride, while a cavity that has broken through the enamel needs treatment. Ask the dentist to show you where the decay is and how deep it goes.
What a filling appointment is like
Most fillings are done in a single visit under local anaesthetic.
- The area is numbed, so you should feel pressure and vibration but not pain.
- The decayed part of the tooth is removed with a drill or other instrument.
- The cavity is cleaned and, if it is deep, a protective lining may be placed.
- The filling material is placed, shaped and hardened, and your bite is checked.
Your lip and cheek stay numb for a few hours, so avoid chewing hot or hard food until the feeling returns, since it is easy to bite yourself. Mild sensitivity to hot, cold or biting can follow and usually settles within days or weeks. Tell your dentist if the filling feels high, if the pain is severe or if it does not settle.
A sugar-smart day for your teeth
How often you have sugar matters as much as how much. Each time you eat or drink something sugary or starchy, the bacteria in plaque make acid, and the enamel is under attack for a while afterwards. Saliva and fluoride then help it recover. Sipping sweet tea, juice or fizzy drinks over hours keeps the mouth in constant attack.
- Keep sweet foods and drinks to mealtimes where possible.
- Choose water between meals.
- If you take sugar in tea or coffee, finish it quickly instead of sipping for long.
- Brush before bed, and do not eat or drink anything but water afterwards.
- Consider sugar-free gum after meals, since it stimulates saliva.
These habits are simple, and they lower the chance of new cavities more than any single product.
Myths and facts
Myth: only sweets cause cavities. Any food or drink with sugars or starches can feed the bacteria, including biscuits, bread, juice and sweetened tea.
Myth: if it does not hurt, I do not have a cavity. Early cavities cause no pain.
Myth: a filling is the end of the matter. Fillings can fail over time, and new decay can form at their edge, so check-ups and cleaning continue.2
Myth: baby teeth do not matter because they fall out. Decay in baby teeth can hurt, spread and affect adult teeth.
Frequently asked questions
Can a cavity heal itself?
Very early decay, a white spot, can sometimes harden again with fluoride and good cleaning. Once the surface has broken, it needs a filling.
Do fillings hurt?
A local anaesthetic is used, so you should not feel pain. The tooth may be sensitive afterwards for a short time.
How often do I need check-ups?
Your dentist will advise, based on your risk of decay.
Can cavities cause bad breath?
Large cavities that trap food can contribute to a bad taste or smell.
Can a cavity be treated without a drill?
A very early spot can be managed with fluoride and cleaning. Once the enamel has broken, the decayed part must be removed and the tooth restored, usually with a drill or similar instrument.
Why does a cavity hurt more at night?
Pain that is worse at night often means decay is close to the nerve. Persistent or night-time toothache should be seen by a dentist, and the NHS advises booking one if toothache lasts more than two days.1
About the author
Sources
- NHS website. Toothache (patient information). Page review date 1 July 2024. https://www.nhs.uk/conditions/toothache/
- Heintze SD, Loguercio AD, Hanzen TA, Reis A, Rousson V. Clinical efficacy of resin-based direct posterior restorations and glass-ionomer restorations: an updated meta-analysis of clinical outcome parameters. Dental Materials, 2022;38(5):e109-e135. https://pubmed.ncbi.nlm.nih.gov/35221127/
- Walsh T, Worthington HV, Glenny AM, Marinho VC, Jeroncic A. Fluoride toothpastes of different concentrations for preventing dental caries. Cochrane Database of Systematic Reviews, 2019;3:CD007868. https://pubmed.ncbi.nlm.nih.gov/30829399/
- NHS website. Root canal treatment (patient information). Page review date 3 October 2025. https://www.nhs.uk/conditions/root-canal-treatment/
- NHS website. Dental abscess (patient information). Page review date 18 March 2026. https://www.nhs.uk/conditions/dental-abscess/
- Marinho VC, Worthington HV, Walsh T, Clarkson JE. Fluoride varnishes for preventing dental caries in children and adolescents. Cochrane Database of Systematic Reviews, 2013;7:CD002279. https://pubmed.ncbi.nlm.nih.gov/23846772/
Medically reviewed by Dr Anupam Sinha, BDS, MDS – Orthodontics, on . General information for patients from Orion Dental Clinic, last updated 23 October 2026. It is not advice for one person, so ask a dentist what suits you. To report an error, contact us.
