Cavities are not holes that appear overnight, and they are not a sign that someone failed at brushing. They are the late, visible end of a slow chemical argument between your teeth, the bacteria living on them, and everything you eat and drink. For most of that argument there is no hole, no pain, and nothing you could see in a mirror. By the time there is a hole, the story has usually been running for months or years. This guide follows that story from the first loss of mineral to the point where a dentist has to rebuild part of the tooth. We will look at how decay starts, why it hurts late (or never), what dentists actually do when they find it, which cavities can be managed without a drill, and how to keep new ones from forming around the old ones. It is general education, not a diagnosis, and it cannot replace an exam by a dentist who can see and test your own teeth.

Quick orientation before the details

  • Decay is a process, not an event. Minerals leave the enamel and return many times a day; a cavity forms when the losses win for long enough.
  • Early lesions can be stopped. Holes cannot be regrown. A white or chalky spot with an intact surface is a very different problem from a broken-down surface.
  • Pain is a poor alarm. Deep cavities can be silent, and many painful teeth turn out not to have cavities at all.
  • Treatment is a ladder, not a single rung. Fluoride, sealants, silver diamine fluoride, fillings, crowns, root canals, and extraction each fit a different stage.
  • Filling a cavity does not fix the reason it formed. Without a plan for diet, fluoride, saliva, and cleaning, new decay tends to appear at the edges of old work.

How cavities form: a mineral budget that slowly goes into the red

If you remember one idea from this article, make it this one: a tooth is not a static object that suddenly “gets a cavity.” Enamel is a crystalline mineral called hydroxyapatite, and it is constantly trading calcium and phosphate with the saliva that bathes it. Several times a day the trade runs in your favor. Several times a day it runs against you. Cavities are what happens when the balance sheet stays negative for too long in one spot.

The chemistry behind a single cavity: acid in, minerals out

Every tooth surface is covered by a thin, sticky community of microorganisms known as dental plaque or biofilm. The community is not inherently harmful, and most of it is just there. The trouble starts when it is fed a steady supply of fermentable carbohydrates such as table sugar, sweetened drinks, refined starches, and even the sugars in dried fruit that cling to grooves. Certain bacteria in the film convert those sugars into acids, and the acid dissolves mineral from the enamel beneath it.

What happens in the first twenty minutes after a snack

The pH at the surface of plaque falls within minutes of sugar arriving, and it takes a good while to climb back. Researchers have described this up-and-down pattern for decades, and it is why dentists care less about how much sugar you eat in total and more about how often your teeth are bathed in it. Enamel starts to dissolve when the surrounding pH drops below roughly 5.5, and exposed root surfaces, which are less mineralized, are vulnerable at a somewhat higher pH. Think of it as a series of small withdrawals from a bank account. A single sweet dessert after dinner creates one dip. Sipping a sweetened coffee over three hours creates a long, shallow dip that never quite recovers. Neither person has eaten an unusual amount of sugar, yet the second pattern is usually harder on the teeth because the repair window keeps getting cut short.

How saliva and fluoride push the balance back

Saliva is the unsung defender here. It washes sugar away, buffers acid, and supplies the calcium and phosphate that rebuild weakened enamel. Fluoride, from toothpaste, water, or professional varnish, does something clever: it gets built into the crystal as it re-forms, and that fluoride-rich surface is more resistant to the next acid attack. This is why the American Dental Association and the National Institute of Dental and Craniofacial Research keep returning to the same advice about fluoride toothpaste twice a day, and why it shows up repeatedly in the sections below. If you want the detail on how it works at the surface, our explainer on how fluoride toothpaste prevents cavities and helps early enamel repair goes further than we can here. The practical point is that decay is reversible at the earliest stage, because the lesion is only a region of lost mineral, not a structural defect. The reversal depends on the surface staying intact, the acid exposure easing, and fluoride and saliva doing their jobs. Once the surface breaks into a physical hole, the biology changes, and so does the treatment.

A tour of the tooth: the layers that decide how fast decay moves

A cavity behaves differently depending on which layer it is in. A little anatomy makes everything later in this guide easier to follow.
Labeled tooth diagram showing five depths of cavities, from a chalky enamel spot to an abscess at the root tip
Five depths of one cavity: from early enamel mineral loss to infection at the root tip.

Enamel, dentin, and pulp: why the same decay feels different at each depth

Enamel is the hard, translucent outer shell. It has no nerve supply of its own, which is why an early cavity in enamel usually produces no symptoms at all. Underneath is dentin, a softer, living tissue threaded with microscopic tubules that connect toward the nerve. Dentin is considerably less mineralized than enamel, so once decay passes through the enamel it tends to spread faster and wider, often undermining the enamel from below. That is the reason a small hole on the chewing surface can hide a much larger area of damage underneath. At the center is the pulp, the soft tissue holding the nerve and blood vessels. When decay or its bacterial by-products approach the pulp, the nerve begins to react. That is the stage at which most people finally feel something. If you are curious about what happens when it goes beyond the point where a filling can help, our overview of root canal treatment and what happens inside the canal picks up where this guide leaves off.

Where cavities favor: grooves, contact points, and the gumline

Cavities do not appear randomly. They cluster in places where plaque is hard to remove and where saliva reaches poorly. The deep pits and fissures on the chewing surfaces of molars are a classic site, particularly in children and teenagers whose permanent molars have only recently come in. The contact points between neighboring teeth are another, and they are especially hard to spot because the lesion hides in the space where you cannot see it and a toothbrush cannot reach it. Then there is the gumline and exposed root surface, where recession has uncovered softer root material that decays faster than enamel does. This geography matters because it explains why a person can brush diligently and still get decay. A toothbrush bristle does not enter a groove narrower than the bristle, and it does not pass through a tight contact. Sealants, interdental cleaning, and targeted fluoride exist precisely because ordinary brushing leaves those spots behind. For what to do with the in-between spaces, see our piece on what flossing does that toothbrushing cannot.
Free toolAcid attack calculator

See how many minutes a day your teeth spend under acid attack.

Start with the decision: what cavities can and cannot solve at home

The first practical question a reader has is rarely “what is a cavity?” It is “do I need to do something about this, and how soon?” The honest answer depends on what is going on at the surface of the tooth, and a surprising number of dental decisions turn on one yes-or-no question: has the surface broken?

Define the problem before choosing an intervention for cavities

It is tempting to jump straight to treatments, because that is where the cost and the anxiety live. Slow down. Before choosing a filling, a varnish, or a watch-and-wait plan, a dentist is sorting your tooth into a category, and the category decides what is even on the menu.

Separate true cavities from look-alike problems

Many things pass for cavities in the mirror and some real cavities pass for nothing at all. Dark brown or black grooves on a molar can be stain with perfectly hard enamel beneath, or they can be early decay. White patches near the gumline can be early mineral loss, fluorosis, or a developmental defect, and only the first of those is an active decay problem. Chips, worn spots, and cracks can all collect plaque and look like holes. Even the gray shadow you sometimes see through a back tooth may be an old filling, or decay underneath one. For this reason, self-diagnosis from a phone camera is unreliable, and that is true even for dentists, who confirm what they see with a probe, drying the tooth, good lighting, and often radiographs. If you are trying to sort what you are seeing, our guide to the early signs of a cavity, including white spots and food traps lists the patterns that deserve an appointment. The stage-by-stage companion piece on why cavity symptoms vary and why some deep cavities do not hurt explains why you cannot rely on pain as the signal.

The one clinical test that changes the pathway: is the surface intact?

Dentists often describe a lesion as non-cavitated or cavitated. A non-cavitated lesion has lost mineral, but the surface is still continuous. A cavitated lesion has a physical break in the surface that plaque can colonize and that a brush cannot clean. Many scoring systems used in research and in practice, such as the International Caries Detection and Assessment System, are built around that distinction. Why does it matter so much? Because a non-cavitated lesion can often be remineralized, sealed, or arrested without removing any tooth, while a cavitated one frequently needs the damaged tissue removed and the shape restored. The boundary is not perfectly sharp, and radiographs can mislead in both directions, since a lesion often looks smaller on an X-ray than it is in reality. That is why the decision of whether to treat or monitor sits with a clinician who can see both the picture and the tooth. Our deeper look at whether cavities can heal, including remineralization and arrested lesions takes up the evidence on both sides of that line.

Map the available pathways without declaring a universal winner

There is no single best treatment for cavities, in the same way that there is no single best way to get from your house to the airport. Distance, traffic, and what you are carrying all change the answer. The same logic applies to teeth.
Staircase graphic ranking cavities care from monitoring and fluoride to fillings, crowns, and root canals
A ladder of cavity care: choose the lowest rung that works for the stage of decay.

Compare monitoring, fluoride, sealants, silver diamine fluoride, fillings, and crowns

The American Dental Association has published an evidence-based guideline on non-restorative treatments for caries lesions, and it includes the association’s first recommendations about silver diamine fluoride. The broad idea behind those recommendations is that many lesions, especially in the early or arrested phase, can be managed without cutting into the tooth, and that treatment should match the stage and the person’s risk instead of defaulting to a drill. At the gentlest end of the ladder is monitoring with better home care, because some early lesions stop on their own when exposure to acid decreases. Next comes professionally applied fluoride varnish or high-concentration fluoride products, which support remineralization. Sealants are thin protective coatings placed over the grooves of molars, mostly used to prevent decay and sometimes to seal very early lesions. Silver diamine fluoride is a liquid painted onto a cavitated lesion that can arrest its progression, and it permanently stains the treated area dark, which is a real cosmetic trade-off. Fillings remove the damaged tissue and rebuild the tooth. Crowns are reserved for teeth where so much structure has been lost that a filling would not hold. Each rung costs more in time, tooth structure, and money, and each is a better fit at a different stage. See our full breakdown of how dentists remove decay and restore the tooth with fillings.

Which trade-offs matter to which reader

Someone with a rarely used molar and a tiny, slow-moving lesion has very different priorities than someone with a front tooth and a visible spot. An older adult with limited mobility and dry mouth may value a quick, low-burden treatment that stops decay, even if it is not pretty, over a perfect restoration they might not be able to keep clean. A parent managing a three-year-old who will not hold still for a drill may reasonably choose a less invasive option for now. A person who is anxious about dental visits will weigh the number of appointments heavily. Cosmetics, longevity, cost, appointments, anesthesia, and the likelihood that decay returns are all legitimate factors. A good dentist treats these as inputs, not as obstacles, and tells you what is gained and lost with each pathway. The table below turns that into a short, question-driven map. It is not a prescription; it is a way to know what to ask.
Table 1. Decision map for common cavity situations: what is usually considered, what it costs you, and what to ask
Situation Option the dentist may consider Benefit Trade-off Question worth asking
White or chalky spot, surface intact, low-to-moderate risk Fluoride, improved cleaning, reassessment No tooth removed; lesion may stall or reverse Needs consistent habits and recheck visits How will we know if it is stopping, and when should it be re-evaluated?
Deep grooves in a newly erupted permanent molar Sealant Blocks plaque from the groove; minimally invasive Needs to be monitored and sometimes repaired Is this groove clean enough to seal, and how will you check it?
Small cavity between two back teeth, visible on a bitewing Filling, sometimes a resin-based option or fluoride if very early Stops progression; restores the contact Removes some healthy structure; may need replacing eventually Is this lesion into dentin, and could it be watched instead?
Active cavity in a child who cannot tolerate a long visit Silver diamine fluoride, interim restoration, or a stainless steel crown Arrests decay with little or no drilling SDF leaves a dark stain; follow-up is needed What will it look like afterward, and what is the backup plan?
Large cavity near the nerve with lingering pain Deeper filling, pulp therapy, or root canal Preserves the tooth More steps; often a crown afterward Is the nerve healthy, and what are the chances this filling will be enough?
Decay on an exposed root surface in an older adult Glass ionomer or resin restoration plus high-fluoride toothpaste Fluoride release helps protect the margins Root surfaces are harder to bond to; recurrence is common How do we address the dry mouth or gum recession that caused this?

What happens in practice, and what changes the outcome for cavities

A lot of the anxiety around cavities comes from not knowing what the visit will involve. The actual sequence is much more routine and more controlled than most people expect, and the points where outcomes diverge are mostly decisions made before the first anesthetic is given.

From exam to restoration: the care pathway step by step

Not every cavity ends in a filling, but when it does, the steps are fairly standard. What differs is how deep the dentist goes, and why.
Six-frame filmstrip of a filling visit for a cavity: exam, X-ray, numbing, decay removal, bonding, bite check
One filling visit for a cavity, frame by frame, from first exam to bite check.

The sequence in plain English, without skipping the clinical logic

A visit usually starts with a history and a look. The dentist reviews your medical history, medications, symptoms, and your habits around diet and cleaning, then examines the teeth and gums. Radiographs, typically small bitewing images, show the spaces between teeth and the bone, and their frequency should follow your risk level rather than a fixed calendar. For people at low risk, guidance from the ADA and the FDA allows intervals of a couple of years, while people at higher risk are usually imaged more often. If a cavity needs a restoration, numbing is next, using a local anesthetic. The area is isolated, often with a small rubber sheet called a rubber dam or with cotton rolls, so that saliva does not contaminate the work. The dentist removes the softened, infected tissue and shapes the cavity. For a composite (tooth-colored) filling, a bonding agent is applied, the material is placed in small layers and hardened with a blue light, and the final shape is polished. The bite is checked with thin colored paper, which is why you will be asked to bite and slide your teeth. Sensitivity afterward is common and usually mild; our article on tooth sensitivity after a filling and when to recheck covers it.

The decision points where anatomy, risk, or cooperation change the plan

There are a few moments in the sequence where the plan can legitimately change. First is how much decay to remove. Research summarized in Cochrane reviews has favored selective removal in deep lesions, where the hardest layer is left over the pulp to avoid exposing the nerve, over removing every bit of softened dentin, because the aggressive approach raises the risk of pulp exposure. This is an area where the guidance has shifted over time, and your dentist’s reasoning should be explained to you. Second is the moisture and access problem. A cavity below the gumline or in a patient who cannot keep still may not bond reliably, and the dentist may choose a different material, such as glass ionomer, instead of composite. Third is the presence of symptoms that suggest the pulp is already compromised, which moves the plan toward pulp therapy or a root canal. And last is how likely the person is to keep up with home care; a restoration placed in a mouth with ongoing acid exposure and little fluoride is likely to fail at its edges, and honest dentists say so.

Separating expected effects from complications

After treatment, your tooth and your mouth will tell you things. Some of what they say is normal noise. Some of it is a request to call.

Normal short-term findings that should not alarm you

A numb lip and cheek that lasts for a couple of hours, a bit of soreness where the needle went, mild gum tenderness where the clamp or rubber dam sat, and a tooth that reacts to cold for a few days after a deep filling are all common. A high spot that makes the filled tooth feel “taller” than its neighbors is also common, and it is fixed in a few minutes by a bite adjustment, not by waiting it out. Mild, brief sensitivity to cold or sweets after a filling often fades over days to a few weeks, though the exact timeline varies with how deep the cavity was. It is worth knowing what is *not* normal for the first week as well. Pain that keeps climbing, throbbing at night, sensitivity that lingers long after a trigger is removed, or a bite that still feels off after several days are all reasons to call, not to endure.

Warning signs that need professional review or urgent care

Some situations need a same-day call or visit. These include a bad toothache that wakes you at night, a pimple-like bump on the gum, a bad taste with pus, and swelling in the gum or face. A fever alongside dental pain or swelling means infection may be spreading. Swelling that extends toward the eye, under the jaw, or into the neck, trouble swallowing, trouble opening the mouth, or trouble breathing is an emergency; call 911 or go to the nearest emergency department. Our piece on dental abscess, swelling, drainage, and fever covers why antibiotics alone do not solve an infected tooth.
When it is urgent. Facial swelling that is spreading, fever with a toothache, difficulty swallowing or breathing, or swelling near the eye or under the jaw should be treated as an emergency. Do not wait for a routine appointment, and do not rely on leftover medication.

How dentists actually find cavities, and where each method falls short

Finding a cavity sounds like it should be simple. Look at the tooth, see the hole. In reality, the earliest and most consequential lesions are the ones you cannot see, and the tools used to find them each have strengths and blind spots. Understanding those limits explains a lot of what happens in the exam room, including why your dentist may say “let’s watch this one” or “I want an X-ray before I decide.”

The clinical exam: eyes, light, air, and a gentle explorer

A careful exam is more than a quick glance. The surfaces are cleaned and dried, because wet enamel hides early lesions that become obvious as a chalky patch once air dries them. Good lighting and magnification help, and the dentist moves around the mouth methodically, tooth by tooth and surface by surface.

What the visual and tactile check can and cannot tell

Visual examination looks at color, texture, and shape: opaque white or brown areas, a rough surface, a shadow beneath enamel, a visible break. Many modern approaches score what they see on a scale, using systems such as the International Caries Detection and Assessment System, because lesions at different stages call for different management. A thin, blunt-tipped instrument can be used to feel for a soft, sticky, or broken surface, but forceful probing of an early lesion can break the delicate surface layer and turn a reversible spot into a cavity, so contemporary practice favors gentle touch. The visual method is quite good for the chewing surfaces, the cheek side, and the tongue side. It is weaker between teeth and underneath existing restorations, which is where imaging earns its place.

Why a normal-looking tooth can still hold decay

Enamel can stay intact on the surface while the lesion spreads beneath it, particularly in deep grooves where the outer layer looks sound but the dentin underneath is soft. This is sometimes called hidden or occult decay. It is also why a dentist may note that a groove “catches” or looks stained and may recommend a sealant, a conservative restoration, or imaging to know more. A cavity can also hide in the narrow space between two teeth, behind a tight contact, where only a radiograph or a trans-illumination device has any chance of showing it.

Imaging and adjunct tests

No single test proves everything. Dentists combine information from several sources and weigh it against your risk level.

Bitewing radiographs: the workhorse for the spaces between teeth

Bitewing X-rays are small images taken while you bite on a tab, showing the crowns of upper and lower back teeth and the bone crests together. They are the standard way to detect lesions between teeth and under the margins of existing fillings, and they expose the patient to a very small dose of radiation, especially with modern digital sensors. The American Dental Association and the Food and Drug Administration have published recommendations on selecting radiographs based on an individual’s risk and clinical findings instead of a fixed schedule, with longer intervals for lower-risk adults and shorter ones for higher-risk patients. If you want to know what you are paying for, our overview of dental X-ray costs and why the image type matters is a useful companion. Radiographs have real limitations. A lesion usually appears smaller on the image than it is in the tooth, because a good deal of mineral must be lost before it shows up. Overlapping teeth can obscure lesions, and tiny early lesions on the chewing surface are often not visible at all. This is why imaging is paired with the clinical exam rather than replacing it.

Light-based devices, laser fluorescence, and 3D imaging

Some practices use a laser fluorescence device that reads how much a tooth’s surface fluoresces, which differs between sound and demineralized tissue, or a transillumination system that shines light through the tooth to reveal shadowed areas. These tools can be useful adjuncts, particularly in grooves, but they can give false alarms from stain, plaque, or developmental defects, so they are best viewed as a second opinion and not a verdict. Three-dimensional imaging (cone-beam CT) is not a routine tool for finding cavities because of its higher radiation dose and cost; it is reserved for problems where its extra information changes management, such as complex root anatomy or suspected infection around the root tip.

From findings to a decision: risk, activity, and extent

Detecting a lesion is only the first half of the work. The second half is deciding what the finding means for this particular person.

Lesion activity: is it progressing or has it stalled?

An active lesion is one that is currently losing mineral; an arrested lesion has stopped, often turning a darker, harder, shinier surface. The difference matters, because an arrested lesion in a person with good control of the underlying factors may need nothing more than monitoring, while an active one with a surface break may need treatment. Activity is judged from the lesion’s appearance, texture, location, plaque on it, and how it has changed over time. Photographs and repeated measurements can help document the trend.

Risk level and its effect on timing

Two identical-looking lesions can call for different plans. In a low-risk mouth, with good saliva, regular fluoride, and few sugar exposures, a small early lesion can often be watched with preventive care. In a high-risk mouth, where several new lesions have appeared in recent visits, the same lesion may warrant more active intervention, closer recalls, and extra fluoride, because the odds that it will progress are higher. A dentist who explains their reasoning in terms of your risk, not a general rule, is giving you the kind of information that lets you participate in the decision.

From drill-and-fill to staged care: how thinking about cavities has changed

If your parents or grandparents remember dentistry as a series of drills and fillings, they are not wrong. For much of the twentieth century, finding a cavity meant removing it and restoring the tooth, full stop. Over the last few decades, research on how decay behaves has nudged the profession toward something more graded, usually called minimally invasive or medical management of caries. Knowing that shift helps you interpret what your dentist says when they use phrases like “let’s keep an eye on it” or “we can try to arrest this.”

What changed in the science

Three findings did most of the work. First, researchers showed that early lesions can remineralize under the right conditions. Second, long-term follow-up studies showed that many small lesions take years to progress, and some never do. Third, it became clear that every filling has a lifespan, and that each replacement tends to remove a little more healthy tooth, a pattern sometimes called the restorative cycle.

The restorative cycle and why dentists try not to start it early

When a small cavity is filled, the tooth loses some structure, and the filling has margins that will be exposed to plaque and chewing forces for years. When that filling eventually fails, it is usually replaced with a slightly larger one, because the failure area has to be cleaned out and the shape reworked. Repeated cycles can turn a modest lesion into a large restoration and, eventually, a crown. None of this means fillings are bad, since they are the right answer for many cavities. It means timing matters, and a dentist who delays a filling on a small, stable lesion is often following the evidence, not neglecting your tooth.

Why “watching” a lesion is a plan, not neglect

Monitoring is only reasonable when it is active. It involves a documented baseline, usually a photograph or radiograph, a clear description of the lesion, a risk assessment, a prevention plan, and a specific time to reassess. A dentist who says “we’ll watch it” without any of that is not giving you what the approach requires, and it is fair to ask what you are watching for and when you will know it is time to act. If the answer is concrete, you are probably in good hands. If it is vague, ask for specifics.

What this means for you as a patient

The practical effect is that you are more likely than previous generations to be offered a choice, and more likely to be asked to take part in the plan.

Shared decisions and honest uncertainty

Many decisions about cavities sit in gray zones. Is a radiolucency halfway through enamel a candidate for fluoride and monitoring, or a lesion that should be restored? Reasonable clinicians can differ, and the answer often depends on your risk, your preferences, and your capacity to follow through. A good appointment feels like a conversation where the dentist explains what they see, what they are unsure about, and what would change their mind. It does not have to feel like a verdict.

When “wait and see” is the wrong call

Monitoring is inappropriate when a lesion is clearly progressing, when there is pain, swelling, or a draining bump, when the person is at very high risk and cannot return for follow-up, or when the lesion is in a location where food impaction and plaque make it impossible to keep clean. In those situations, active treatment, even if it is minimal, protects the tooth better than delay. If you are told to wait and you cannot return, say so, because that changes what the safest plan is.

Who gets cavities more often: risk factors and the signs worth noticing

Two people can eat similar food, brush for the same two minutes, and end up with very different dental records. That is not unfair luck so much as it is differences in risk, and risk is more knowable than most people assume. Dentists use structured risk assessments, which pull together history, clinical findings, saliva, diet, and fluoride exposure, because the same lesion deserves a different plan in a low-risk mouth than in a high-risk one.
Balance scale showing acid challenge outweighing defenses as the main risk factor behind cavities
The balance behind cavities: acid challenge on one side, defenses on the other.

The factors that tilt the mineral balance toward cavities

Risk factors for cavities fall into two broad buckets: things that increase the acid challenge and things that reduce your defenses. Many people have a mix of both, and one problem often makes the other worse.

Diet pattern, frequency, and liquids that bathe the teeth

Frequency beats quantity. A person who has a soda with lunch has a very different exposure than someone who sips one for four hours at a desk. Slowly dissolving candies, mints with sugar, sweetened coffee, juice, sports drinks, energy drinks, and sticky snacks such as dried fruit or crackers that mash into the grooves all keep the surface acidic for longer. Starches count too, because the enzymes in saliva break them into sugars right there in the mouth. The World Health Organization recommends keeping free sugars below ten percent of total energy intake, with a further reduction toward five percent suggested for additional benefit. Free sugars include those added to foods and drinks and those naturally present in honey, syrups, and fruit juices. You do not need a perfect diet to protect your teeth, but you do benefit from giving them recovery time. Finishing a sweet drink in one sitting, rinsing with water afterward, and moving sweets to mealtimes are easy, realistic adjustments.

Saliva, medications, and the quiet damage of a dry mouth

Saliva is a quiet hero, and when it fails, cavities can show up fast and in unusual places. A dry mouth can come from a long list of prescription and over-the-counter medicines, including some antidepressants, antihistamines, blood pressure medicines, and drugs for overactive bladder. It also accompanies conditions such as Sjögren’s disease and diabetes, and it follows radiation treatment to the head and neck. Without enough saliva, acids linger, minerals are not replaced, and cavities can form near the gumline and on the smoother surfaces that usually stay clean. If you notice that your mouth is persistently dry, that food sticks, or that you wake at night needing water, mention it to both your dentist and the clinician who prescribes your medicines. Do not stop a prescribed drug on your own. There are ways to lower risk, such as more fluoride, sugar-free saliva stimulants, and a closer recall schedule. Our article on dry mouth and why saliva controls plaque and odor goes into the mechanics.

The warning signs, and why they are late and unreliable

A natural question is “how will I know?” The uncomfortable answer is that, for cavities, you often will not, at least not early.

What you might see or feel before a cavity announces itself

Early on, the signs are subtle. A white, matte, chalky patch near the gumline or around braces; a brown or gray shadow in a groove; food that keeps catching in the same place; floss that shreds or snags between two teeth; a rough spot you keep finding with your tongue; a brief twinge when something cold or sweet touches one tooth. None of these proves a cavity, and none guarantees there is not one. The most important point is that the absence of symptoms is not reassurance. A cavity must usually reach dentin, and sometimes come close to the pulp, before the nerve begins to complain. That is why regular examinations and, when indicated, radiographs are the main way cavities get caught while they are still small. Our guide to early cavity signs, what X-rays show, and the limits of looking in a mirror lays out how to match what you notice with what a dentist can confirm.

Why a deep cavity can be painless, and a painful tooth may not have one

The pulp responds to irritation, but it can also adapt, laying down protective layers of dentin in response to slow-moving decay and, in some cases, quietly dying without ever causing a big flare of pain. A tooth with advanced decay and a nonvital nerve may feel fine until an abscess forms. Meanwhile, a tooth with a crack, a worn area with exposed dentin, a high filling, gum recession, or a sinus problem can hurt a great deal without a single cavity. This mismatch between symptoms and disease is the reason pain patterns are described as clues, not diagnoses. A short, sharp reaction to cold that resolves in seconds points in a different direction than pain that lingers for a minute or more, or pain that wakes you at night. The distinctions are worth knowing, but they are for conversation with a dentist, not for deciding whether you can skip the appointment. For more on how patterns narrow the possibilities, see our overview of toothache and how pain pattern, duration, and triggers narrow the cause.

Cavities at different ages and in different situations

The same disease shows up differently depending on who has it. A toddler, a teenager with braces, a pregnant adult, and an older adult on several medications are all at risk, for different reasons and with different best responses.

Children and teenagers: baby teeth, new molars, and braces

Cavities are common in childhood. The Centers for Disease Control and Prevention reports, using national survey data from 2017 through early 2020, that about half of children aged 6 to 9 have had a cavity in baby or permanent teeth, and that untreated decay is more common among children in lower-income households. Those numbers are a reminder that access, diet, and fluoride exposure, not effort alone, shape risk.

Why baby teeth matter even though they fall out

It is easy to shrug at decay in baby teeth. Resist that. Primary teeth hold space for the permanent teeth that follow, they carry children through years of chewing and speaking, and infection or pain in a primary tooth can disrupt eating, sleep, and learning. Their enamel and dentin are thinner than in adult teeth, so decay can move through them faster. Early childhood caries often begins on the upper front teeth and spreads backward, and frequent bottle or sippy-cup exposure to sweetened liquids is a common contributor. Our dedicated piece on cavities in baby teeth and how decay progresses in primary teeth goes into the details, and the guide to first dental visits for babies covers when to start.

New permanent molars, sealants, and the braces effect

The first permanent molars typically erupt around age six, and the second molars around twelve. They arrive with deep grooves, and the newly erupted tooth is not yet fully mature, which makes the first couple of years a particularly vulnerable window. Sealants help by covering the grooves; the American Dental Association describes them as an effective way to prevent decay in the chewing surfaces of back teeth. Our article on sealants for kids and how long they last explains what to expect. Orthodontic brackets create a different problem. Plaque collects around them, and if cleaning is not thorough, white spot lesions can form in a ring around where each bracket was. They are early decay, not a cosmetic quirk, and they are far easier to prevent than to correct. We discuss what they look like and what to do in white spots after braces.

Adults, older adults, and special circumstances

Cavities do not stop at eighteen. In the United States, the same CDC surveillance report found that roughly one in five adults aged 20 to 64 has at least one untreated cavity. Adult risk comes from different places than childhood risk.

Root surface decay, recession, and dry mouth in later life

As gums recede, with age, gum disease, or aggressive brushing, root surfaces become exposed. Root surfaces are covered by cementum, which is softer and less mineralized than enamel, so they are vulnerable to decay at less severe acid conditions. Older adults who take multiple medications, have reduced saliva, or find it harder to brush because of arthritis or cognitive changes can develop root cavities rapidly. Treatment may include higher-concentration fluoride toothpaste, fluoride varnish, glass ionomer restorations that release fluoride, and practical adjustments such as electric toothbrushes or caregiver support. There is also a quality-of-life angle. A cavity that is rapidly worsening in someone who is frail may call for a simple, quick treatment that stops the disease, instead of an ideal and lengthy restoration. Dentists and families weigh this together.

Pregnancy, reflux, and other situations people ask about

Dental care during pregnancy is generally considered safe and encouraged, and untreated decay and gum disease do not become less of a problem because of pregnancy. Frequent vomiting from morning sickness or acid reflux can add stomach acid to the mix, which attacks enamel through erosion and makes decay more likely. A rinse of water mixed with a little baking soda after vomiting, then waiting a while before brushing, is the sort of low-risk habit dentists often suggest. If you are pregnant and need treatment, tell your dental team so they can plan timing and materials, and let your obstetric provider know about significant dental problems. Our explainer on enamel erosion and why enamel does not grow back covers what acid does to the surface. Other situations that change cavity risk include radiation to the head and neck, eating disorders, frequent snacking from managing low blood sugar, and use of sweetened liquid medications over long periods. None of these is a cause for blame. They are reasons for a tailored plan.

Prevention that is actually supported by evidence

Prevention advice about teeth can sound like a list of obvious chores, and some of it is exactly that. But within the obvious, there are a few steps with unusually strong evidence behind them, and a few popular practices that deserve less of your effort.

The core habits that lower the odds of new cavities

If you could do only a few things, these would deliver most of the benefit, according to the guidance of the ADA, the CDC, and the NIDCR.

Fluoride, applied the right way and often enough

Brush twice a day with a fluoride toothpaste. The ADA advises a smear of toothpaste about the size of a grain of rice for children under three, and a pea-sized amount for children three to six, and for older children and adults, a pea-sized amount as well. Spitting out the foam afterward, instead of rinsing it away with a lot of water, leaves a bit more fluoride on the teeth. Community water fluoridation is another pillar. The U.S. Public Health Service recommends a fluoride concentration of 0.7 milligrams per liter in drinking water as the optimal level for preventing decay while limiting fluorosis. People at higher risk may be advised to use a fluoride rinse, a higher-strength prescription toothpaste, or professionally applied varnish at more frequent visits. The fluoride question that causes the most worry for parents, the risk of mottling in young children, is real but very manageable with small toothpaste amounts. Our piece on fluoride for kids, including toothpaste amounts, varnish, and fluorosis risk walks through the numbers.

Cleaning between teeth and rethinking snack timing

The surfaces between teeth account for a large share of cavities and are the least accessible to a toothbrush. Daily interdental cleaning, whether with string floss, interdental brushes, or a water flosser, addresses the territory that brushing leaves behind. We cover technique and the pros and cons of different tools in how to floss properly and water flossers. On the diet side, you do not have to give up sugar. You do have to give your teeth time to recover. Moving sweets to meals, drinking sweetened beverages in a defined window instead of sipping, using water as your default between meals, and avoiding bedtime snacks or drinks after brushing give saliva and fluoride a fair chance.

Professional prevention and the tools with less certain value

The preventive toolkit also includes things that only a dental professional can provide, and others that are marketed to you but have weaker evidence.

Sealants, varnish, silver diamine fluoride, and risk-based recalls

Sealants, as noted above, are among the most reliable tools for preventing decay in molar grooves. Fluoride varnish is a quick painted-on application often used for children and adults at elevated risk. Silver diamine fluoride has become a significant tool for arresting active cavities in children and in adults who have difficulty tolerating restorations, with the stain trade-off already mentioned. And a risk-based recall schedule, instead of the same six-month interval for everyone, lets the dental team see higher-risk patients more often and low-risk patients less often. Radiographs are part of this too. Bitewings help detect cavities between teeth before they become obvious, though they have known limits and are not a reason to take images on a fixed calendar for everyone. If cost is a factor in your planning, the overview of what drives dental X-ray cost, from bitewings to panoramic images can help you understand what you are being charged for.

Where the evidence is thinner: xylitol, probiotics, oil pulling, and “natural remineralizers”

Xylitol gum and mints are sugar-free and can stimulate saliva, which has real value, but the evidence that xylitol itself prevents cavities beyond that is mixed. Chewing sugar-free gum after meals is a reasonable low-cost habit, not a replacement for fluoride. Probiotics, oil pulling, and a long list of “natural” pastes and powders marketed as remineralizers generally have limited or low-quality evidence for preventing cavities. Some, such as hydroxyapatite toothpaste, have promising laboratory and early clinical results that are still being compared against fluoride in longer studies. We discuss that comparison in hydroxyapatite versus fluoride toothpaste. A useful rule: if a product claims to heal an existing cavity and replace the need for a dentist, be skeptical. If it complements fluoride and good cleaning, it may be a harmless extra, but check the evidence and the cost before you commit.

When a cavity becomes an infection: the path from decay to emergency

Most cavities never become emergencies, because they are found and treated in time. But the way a cavity can progress from a nuisance to a serious infection is worth understanding, because it explains why dentists push back against waiting indefinitely, and why certain symptoms should never be sat on.

The route from the pulp to the jaw

Dentin is a porous tissue, and bacteria and their toxins can travel through its tubules long before a cavity reaches the nerve. Once the pulp is inflamed, its capacity to recover depends on how severe and prolonged the insult is.

Reversible versus irreversible pulp inflammation

Dentists distinguish between a pulp that is irritated but can recover, which is called reversible pulpitis, and one that is not likely to heal, called irreversible pulpitis. Reversible inflammation often produces a short, sharp pain with cold or sweet that fades within seconds of removing the trigger. Irreversible inflammation tends to produce pain that lingers after the trigger is gone, pain that arises on its own, or pain that wakes a person at night. These are patterns, not a self-test, and some people with irreversible damage have mild symptoms while others with a reversible problem feel significant pain. The treatment for the second situation is usually a root canal or an extraction, as described in our overview of root canal treatment.

How an abscess forms

If bacteria and inflammation spread past the tip of the root, the body forms a pocket of infection at the end of the root, called a periapical abscess. It may cause throbbing pain, tenderness to biting, a gum boil that drains with a salty or foul taste, and sometimes swelling. A tooth with a dead nerve can also have a “silent” abscess that drains through the gum and relieves pressure, which can fool a person into thinking the problem has resolved. It has not. The infection needs definitive treatment of the source, and antibiotics alone usually do not accomplish that, a point we explain in our article on dental abscess, swelling, and why antibiotics alone may not fix it.

Red flags, and what to do while you wait for care

Infections from teeth can spread through the soft tissue spaces of the face and neck. This is uncommon but serious, and the signs are specific.

Signs that mean emergency care, not a routine appointment

Seek emergency care without delay for swelling that is rapidly enlarging; swelling of the floor of the mouth or under the jaw; swelling spreading toward the eye or neck; trouble swallowing, opening the mouth, or breathing; a high fever with a toothache; or confusion or extreme fatigue with dental infection signs. These can be signs that infection is moving beyond the tooth. Call 911 or go to an emergency department. Children, older adults, and people with weakened immune systems or diabetes deserve an even lower threshold to seek help.

Sensible steps while you arrange a dental visit

For a toothache without red flags, call a dentist promptly and describe your symptoms; many practices reserve time for urgent problems. In the meantime, over-the-counter pain relievers taken exactly as labeled, a soft diet, avoiding chewing on the sore tooth, and gentle cleaning around it are reasonable. Avoid placing aspirin or other tablets against the gum, avoid unproven chemical remedies, and avoid applying heat to a swollen face. If a filling has come out or a piece has broken, protect the tooth as described in our guide to a lost filling, and do not assume that the absence of pain means the problem is over.

Cavities, gum disease, and the rest of your health

The mouth is not a separate country. Conditions elsewhere in the body shape cavity risk, and cavity treatment decisions are sometimes shaped by what else is going on with your health. None of this needs to be alarming, but knowing the connections helps you give your dentist better information and ask better questions.

Gum disease and cavities share ground, but they are different diseases

People often use “cavities” and “gum problems” interchangeably, and it is easy to see why: both involve plaque, and both can cause sensitivity, bad breath, and eventually tooth loss. They are distinct diseases with different targets, however. Cavities attack the tooth’s hard tissue. Gum disease attacks the supporting tissues, namely the gums and bone around the teeth.

Where the two overlap

Plaque is the common thread, which is why the same habits help with both. Gum recession, which can follow periodontal disease or heavy-handed brushing, exposes root surfaces that decay more readily, so someone with a history of gum disease may be at higher risk for root cavities. Crowded or overlapping teeth are harder to clean and can set up both problems. Deep periodontal pockets, in turn, can be hard to keep clean, and decay can occur at the exposed root. If you want to understand how gum problems progress and what the stages look like, our overview of the stages of gum disease, from gingivitis to advanced periodontitis is a good place to start. Dentists treating both conditions usually address the gum health first or in parallel, because inflamed, bleeding gums make restorative work harder and less predictable.

Why treating one can change the plan for the other

A person who has just had a deep cleaning will often have recession and sensitivity on root surfaces where tartar was removed, which changes how a dentist approaches nearby fillings and fluoride. In the other direction, a large cavity at the gumline can make it difficult to keep the area clean, which feeds inflammation. A dentist who sees both will often sequence treatment: stabilize the gums, control active decay, then restore. This is part of why a “just fill the cavity” plan occasionally gets replaced with something more staged once the full picture emerges.

Medical conditions and medicines that shift cavity risk

Several health conditions and treatments matter enough to mention at every dental visit.

Diabetes, reflux, and eating patterns

Diabetes is linked to gum disease in both directions, and uncontrolled blood sugar can increase dry mouth and infection risk. Our overview of gum disease and diabetes and why control matters explains the two-way relationship. Frequent acid reflux exposes teeth to stomach acid, which erodes enamel and can make the teeth more vulnerable to decay. Eating disorders involving vomiting do the same and deserve a supportive, non-judgmental conversation with your dental and medical team. Eating patterns that involve frequent small meals or sweet drinks for managing low blood sugar, nausea, or appetite also affect the acid challenge and may call for extra fluoride and rinsing.

Medicines, cancer treatment, and the questions to ask

Hundreds of medicines reduce saliva as a side effect. Some liquid medicines for children contain sugar, and long-term use can contribute to decay if teeth are not cleaned afterward. Radiation therapy to the head and neck can damage salivary glands and sharply increase cavity risk for years. If you are about to begin cancer treatment, ask whether a dental evaluation beforehand is recommended; many cancer centers do exactly that. Whatever your situation, bring an up-to-date medication list to the dentist, mention any new diagnosis, and ask whether it changes your recall interval, your fluoride routine, or your choice of restorative material.

Build a long-term plan for cavities instead of stopping at the first treatment

A filling is a repair, not a cure. It restores the shape of one tooth, but the conditions that made the cavity, the biofilm, the diet pattern, the saliva, the fluoride exposure, the anatomy, are all still there. Long-term success depends mostly on what happens after you leave the chair.
Timeline of milestones after cavity treatment from the first weeks to year eight and beyond
Maintenance timeline after cavity treatment, with illustrative wear risk rising over the years.

Maintenance, recurrence, and eventual replacement

Dental restorations are not permanent in the way a bolt is permanent. They are closer to a roof patch: good work can last for many years, but it ages, and the surrounding structure still has to be kept dry and sound.

What you have to keep doing after treatment

Most of the work is dull and repeatable. Twice-daily brushing with fluoride toothpaste, daily cleaning between teeth, a sensible rhythm of snacks and sweet drinks, and regular dental visits form the baseline. If your dentist has labeled you higher risk, they may add a fluoride rinse or prescription-strength toothpaste, more frequent varnish applications, and a shorter recall interval. It is also worth asking what changed. If a new medication dried your mouth or a late-night routine involves sweetened drinks, that is the habit worth addressing, more than the individual tooth. The first few weeks matter in a practical way, too. New restorations can feel a little different; if the bite feels high or the tooth stays sensitive, a quick adjustment is better than adapting to it. Keep notes about what bothers you so the visit is productive. Our article on what happens when sensitivity follows a filling and when to get it rechecked can help you tell routine settling from a reason to call.

Why restorations fail: recurrent decay, fractures, and lost fillings

Large reviews of why dentists replace restorations keep landing on the same two reasons: new decay at the edge of the existing filling, and fracture of the filling or the tooth. Plaque collects along the margin where tooth meets material, and gaps, rough edges, or overhangs make cleaning harder. That is often how a “cavity under a filling” starts, and it can hide on a radiograph beneath the metal or dense material. We explain how it forms and how it is found in recurrent decay under an existing filling. Fractures follow a different logic. Teeth that have lost a lot of structure to decay and large fillings, especially molars under heavy chewing loads or with grinding habits, can crack. That is one reason a dentist may recommend a crown instead of a bigger filling; our overview of dental crowns and when a tooth needs full coverage describes how that decision is made. And occasionally a filling just comes out, from a bond failure or a new break. If that happens, a temporary approach is described in what to do about a lost filling until you can be seen.
Table 2. What affects how long cavity treatment lasts: the factor, its effect, how to guard against it, and the warning sign
Factor Effect on outcome Prevention Warning sign
Ongoing high sugar-acid exposure Decay returns at filling edges and on untreated surfaces Fewer sipping and snacking episodes; fluoride; water between meals New white spots, rough or sticky areas near fillings
Dry mouth Less buffering and rinsing; rapid new decay, often at the gumline Review medications with prescriber; saliva substitutes; high-fluoride products Sticky mouth, trouble swallowing dry food, cavities appearing in new places
Large restoration with little remaining tooth Higher risk of fracture or leakage Discuss a crown or onlay; avoid chewing ice and hard items Sharp pain on release of bite; a chip; a shifted filling edge
Clenching or grinding Chipping, cracked cusps, loose restorations Night guard when advised; stress and sleep management Flat, shiny wear spots; jaw soreness; morning headaches
Gaps, overhangs, or open contacts at the margin Food trapping and plaque buildup lead to recurrent decay Flossing or interdental brushes; ask the dentist to evaluate the margin Floss that shreds or catches; food that always packs in the same place
Skipped checkups and imaging Problems found later and treated more invasively Risk-based recall; ask what the interval is based on New pain, a bump on the gum, a bad taste, or a filling that feels different

A concrete decision framework for the cavities you have now

By this point you have the vocabulary. The next question is what to do with it. The frameworks below are meant to turn a confusing situation into a few questions, not to replace your dentist’s judgment.

Who should talk to which kind of professional

Most cavities are managed by a general dentist, and that is the right first stop. Pediatric dentists focus on children and can be especially helpful with anxious kids and with baby-tooth decay. An endodontist handles root canals and complex pulp problems; if your general dentist refers you, it usually means the tooth needs care that goes beyond a filling. A periodontist treats gum and bone problems, which often travel alongside decay. And an oral surgeon is involved when a tooth cannot be saved. If you are unsure, a general dentist can usually explain which of those paths applies. See our article on root canals and the decision between saving a tooth and extraction if a tooth has already moved into that territory.

The questions to ask before you agree to treatment

When a dentist recommends treatment for cavities, you do not need to argue or second-guess. You do need to understand. These questions get you most of the way there:
  • Is the cavity into dentin, and how do you know (clinical exam, radiograph, or both)?
  • Is the surface broken, or is this an early lesion that could be monitored or treated with fluoride?
  • What are my options, including doing nothing for now, and what are the pros and cons of each?
  • What material do you suggest and why, and how long might it last in my situation?
  • Is there a risk that the nerve is involved, and what happens if it is?
  • What is likely to cause the next cavity, and what would you change in my routine?
  • When do you want to see me again, and what would make you want to see me sooner?
  • What will this cost, including the follow-up, and what does my plan cover?
If a recommendation is large, such as multiple crowns or a full-mouth plan, it is entirely reasonable to ask for a written treatment plan and to seek a second opinion. That is ordinary practice in medicine and dentistry, not an insult.

The cost side of cavities: drivers, not price tags

Readers often arrive at this subject because they are worried about money, and the worry is justified. Dental coverage in the United States is limited for many adults, and a cavity found early can cost much less to manage than one that has spread. We do not publish price figures here, because they vary widely by region, by the practice, and by insurance contract, and any single number would mislead you.

What actually drives the price of treating decay

The differences between a modest bill and a large one usually come down to a handful of factors, most of which you can ask about directly.

Size, surfaces, location, and material

A filling is priced by how many surfaces of the tooth it covers and by the material used. A small cavity on the chewing surface of a tooth is typically a simpler procedure than one that spans two or three surfaces and rebuilds a contact. Back teeth are more difficult to reach and to isolate. Tooth-colored composite fillings generally require more steps and more technique than traditional materials, and some insurance plans pay according to the least expensive suitable option and leave the difference to the patient. For more on those trade-offs, our guide to filling materials, including composite, amalgam, and glass ionomer explains the choices, and the article on what shapes the cost of a dental filling goes through the drivers in detail.

Why waiting often changes the category of treatment

A small cavity treated early is generally a filling. The same cavity left alone may reach the nerve and require a root canal and a crown, or, in the worst case, an extraction and a replacement. Each step costs more in money, time, and tooth structure. That is not a scare tactic; it is the biological direction decay tends to travel. It is also why an honest conversation about priorities, budget, and timing is worth having. A dentist can often phase treatment, address the most urgent problems first, and stabilize others with interim measures such as fluoride or a temporary restoration while you plan. For exam-related costs, such as the visit that finds the problem, see our summary of what a dental exam typically involves in terms of cost drivers.

Practical ways to keep treatment affordable without cutting corners

If cost is a barrier, there are options that are legitimate and widely used. They are worth knowing before you postpone care.

Questions about insurance, fees, and alternatives

Ask for an itemized estimate before treatment and ask which services your plan covers and at what percentage. Ask about annual maximums, waiting periods for restorative services, and whether a pre-treatment estimate is available. Ask if there are alternatives that are clinically acceptable for your situation, and what the long-term trade-offs are, because the cheapest option is not always the most economical over a decade. Some practices offer in-house membership plans or payment arrangements.

Community and school-based options

Dental schools often offer lower-cost care supervised by faculty. Community health centers and local health departments sometimes provide sliding-scale dental services. School-based sealant programs exist in many communities and can protect children’s molars at little or no cost to families. These routes may involve longer appointments or waits, but the care is real care, and they can be a sensible bridge when budgets are tight.

Myths about cavities, checked against what dentists actually know

Some ideas about cavities stick around because they are partly true. Sorting the true part from the stretch is useful, because bad assumptions steer people toward the wrong product, the wrong worry, or the wrong delay.

Myths about what causes cavities

Cause-and-effect is where the folklore is thickest. Three stand out.

“Sugar is the only cause, so cutting sugar solves it”

Sugar is a necessary ingredient, since the acid-producing bacteria need fermentable carbohydrates, but it is not the only factor. Saliva flow, fluoride exposure, tooth anatomy, plaque control, medications, and how often the teeth are exposed all weigh in. That is why one person with a very sweet diet can have few cavities and another with a modest diet can have many. Reducing sugar helps, but it is one lever among several, and cutting it alone while skipping fluoride will not give you the protection you may expect.

“Brushing harder cleans better”

Heavy-handed brushing does not improve plaque removal meaningfully, and it can wear gums and expose root surfaces, which are more decay-prone. A soft brush, gentle pressure, and attention to technique and coverage matter more than force. An electric brush with a pressure sensor can help people who tend to press too hard.

Myths about treatment

The second group of beliefs affects decisions at the point of care, which makes them more consequential.

“If it does not hurt, it can wait”

Silent cavities are common, and by the time pain begins, the nerve is often involved. Waiting can convert a small, inexpensive procedure into a bigger one. That does not mean every small lesion needs to be drilled; some can be watched or managed with fluoride. It means the decision should be made with examination and imaging, not with symptoms alone.

“A filling means the tooth is fixed forever”

Fillings are a repair with a lifespan that depends on the material, the size, the location, the bite, and the care the tooth gets afterward. Many last for years or decades, but they are not guaranteed to, and the margins around them need to be kept clean. This is also why dentists keep an eye on restorations at checkups.
A note on cavities and “toothache cures.” Home remedies such as clove oil, aspirin placed against the gum, or other do-it-yourself pastes do not fix a cavity, and some can burn the gum. Over-the-counter pain medicine taken as directed on the label can ease discomfort while you arrange an appointment, but it is not a treatment for the underlying problem.
Sources and further reading

This article is general education and is not a diagnosis or a treatment plan. WhitenDental does not examine patients or test products, and individual decisions about cavities depend on your history, your teeth, and the judgment of a licensed dentist who has examined you. If you have severe pain, facial swelling, fever, or trouble swallowing or breathing, seek urgent care.