A hurting cavity usually responds to a combination of over-the-counter pain relievers, topical numbing, and avoiding the foods and drinks that trigger the pain. These steps can buy you meaningful relief for hours or even days, but they’re temporary measures. The underlying decay won’t heal on its own, and pain that lingers or worsens signals that the problem is getting deeper.
Take the Right Pain Relievers
The most effective approach for dental pain is combining ibuprofen and acetaminophen. These two drugs work through different pathways, and together they outperform either one alone or even some prescription painkillers for tooth-related pain. You can take them as a combination tablet (125 mg ibuprofen plus 250 mg acetaminophen per tablet, two tablets every eight hours) or buy them separately and alternate. If you take them separately, a standard dose of ibuprofen (200 to 400 mg) every six to eight hours paired with acetaminophen (500 mg) every six hours gives consistent coverage. Don’t exceed the daily limits on either drug.
Ibuprofen is especially useful here because cavity pain involves inflammation inside the tooth. It reduces both the swelling and the pain signals. Acetaminophen alone won’t address the inflammation but adds a second layer of pain control through the central nervous system.
Numb the Area Directly
Benzocaine gel at 20% concentration is the standard over-the-counter topical anesthetic for tooth pain. Apply a pea-sized amount directly to the tooth and surrounding gum tissue up to four times a day. The numbness kicks in within a minute or two and lasts anywhere from 20 minutes to an hour depending on how much saliva washes it away. Don’t use it for more than seven days without seeing a dentist, and don’t use it on children under two. In rare cases, benzocaine can cause a condition called methemoglobinemia, which reduces the oxygen your blood can carry. If you notice grayish or blue skin, rapid heartbeat, or unusual dizziness after applying it, stop using it and get medical attention immediately.
Use a Saltwater Rinse
Dissolve about one teaspoon (5 grams) of table salt in a cup (250 ml) of warm water and swish gently around the painful area for 30 seconds before spitting. This concentration, roughly 1.8%, creates an environment that draws fluid out of swollen tissue through osmotic pressure, which temporarily reduces inflammation around the tooth. Research published in PLOS ONE found that saline at this concentration also promotes the migration of gum tissue cells and stimulates collagen production, both of which support healing of irritated soft tissue around a cavity. Repeat this two to three times a day, especially after meals.
Try Clove Oil for Temporary Relief
Clove oil contains eugenol, a compound that acts as a local anesthetic by stabilizing nerve cell membranes and raising the threshold needed for pain signals to fire. It also blocks the production of prostaglandins, the same inflammation-driving molecules that ibuprofen targets, through two separate biochemical pathways. The FDA has approved eugenol for use as a dental painkiller, and dentists have used it in professional settings for decades.
To use it at home, put one or two drops of clove oil on a small cotton ball and hold it against the tooth for a few minutes. You’ll feel a warming or tingling sensation followed by numbness. The taste is strong and slightly medicinal. Avoid swallowing large amounts, and don’t apply undiluted clove oil to healthy gum tissue repeatedly, as it can cause irritation.
Avoid Foods That Make It Worse
An open cavity exposes the softer layers of your tooth to everything you eat and drink, so certain foods will trigger sharp pain almost instantly. The main categories to avoid:
- Sugar and sticky sweets. Bacteria in the cavity feed on sugar and produce acid as a byproduct. That acid attacks the already-damaged tooth surface and can continue for 20 minutes or more after you finish eating. Sticky candies like caramels and lollipops are the worst offenders because they cling to the tooth.
- Very hot or cold foods. Temperature extremes reach the nerve faster when the protective enamel is compromised. If cold water sends a jolt through the tooth, stick to room-temperature drinks.
- Acidic drinks. Carbonated soft drinks, citrus juices, and sports drinks contain phosphoric or citric acid that erodes enamel directly. On a tooth that already has a hole in it, this accelerates damage.
- Starchy foods that pack into crevices. Soft bread, chips, and crackers break down into sugars and can lodge inside the cavity itself, feeding bacteria right at the site of decay.
Try to chew on the opposite side of your mouth, and rinse with water after every meal to flush debris out of the cavity.
How to Tell If It’s Getting Worse
Not all cavity pain is the same, and the type of pain you’re experiencing reveals how deep the damage has gone. This distinction matters because it determines whether you need a straightforward filling or something more involved.
If pain only hits when you eat something cold, sweet, or hot and disappears within a few seconds of removing the trigger, the nerve inside your tooth is irritated but likely not permanently damaged. This is called reversible pulpitis, and a filling can usually resolve it completely. You also might notice a small dark spot or hole on the tooth, and mild discomfort when chewing.
If the pain lingers for 30 seconds or more after the trigger is gone, comes on spontaneously without any trigger, or gets worse when you lie down or bend over, the nerve is likely inflamed beyond recovery. At this stage, over-the-counter painkillers often stop working well. This type of damage typically requires a root canal, where the inflamed nerve tissue is removed and the tooth is sealed. Other signs that point in this direction include persistent throbbing pain, sensitivity to hot or cold that won’t quit, swelling or tenderness in the gum around the tooth, or a small pimple-like bump on your gum near the painful tooth (which indicates an active infection draining through a channel in the bone).
When Tooth Pain Becomes an Emergency
A cavity that progresses to an abscess can spread infection beyond the tooth into the jaw, neck, or throat. If you develop a fever along with facial swelling, have difficulty breathing or swallowing, or notice swollen lymph nodes under your jaw, the infection may be spreading into deeper tissues. This situation requires emergency care, not a dental appointment next week. Swelling in the face, cheek, or neck that’s visibly progressing is the clearest signal to go to an emergency room, especially if your dentist isn’t available.

