A hole in a tooth hurts because the protective enamel is gone, exposing the sensitive inner layers to temperature, pressure, and bacteria. The fastest way to reduce that pain at home is to combine ibuprofen and acetaminophen, cover the exposed cavity, and keep it clean until you can get to a dentist. Here’s how to do each of those effectively.
Why a Cavity Causes Pain
Teeth have a hard outer shell of enamel, a softer middle layer called dentin, and a nerve-rich core called the pulp. When decay eats through the enamel and into the dentin, hot, cold, and sweet foods can trigger sharp, quick jolts of pain that fade within a second or two. At this stage the nerve is irritated but not permanently damaged, and a filling can solve the problem.
If the decay reaches the pulp, the pain changes. You may notice sharp pain that lingers for 30 seconds or more after a sip of something hot or cold, pain that wakes you up at night, or aching that seems to spread across your jaw and becomes hard to pinpoint. These are signs of irreversible damage to the nerve, meaning the tooth will eventually need a root canal or extraction. The distinction matters because it tells you how urgently you need professional care and what kind of treatment to expect.
Best Over-the-Counter Pain Relief
Anti-inflammatory painkillers are the first-line treatment for tooth pain, outperforming even prescription opioids in clinical guidelines. Ibuprofen works especially well for dental pain because it targets the inflammation driving the ache, not just the sensation of pain itself.
For moderate pain, take two 200 mg ibuprofen tablets every four to six hours, preferably with food. If that isn’t enough, increase to three 200 mg tablets (600 mg) up to four times daily. You can also take 1,000 mg of acetaminophen alongside each ibuprofen dose. This combination attacks pain through two different pathways and provides stronger relief than either drug alone. Don’t exceed 1,200 mg of ibuprofen or 4,000 mg of acetaminophen in a 24-hour period, and don’t continue this regimen for more than five days without seeing a dentist.
Numbing the Tooth Directly
Benzocaine gels (sold as Orajel, Anbesol, and store brands) can numb the area around the cavity. Both 10% and 20% concentrations provide relief that lasts roughly two hours per application. Dry the area around the tooth with a tissue first, then apply a small amount of gel directly to the gum near the painful tooth and the cavity itself. Reapply as needed, following the package directions.
Clove oil is a traditional remedy that contains eugenol, a natural numbing compound. If you want to try it, dilute a few drops into a carrier oil like coconut or olive oil, dip a cotton ball or swab into the mixture, and hold it against the tooth for a minute or two. Don’t swallow it. Be aware that undiluted clove oil can irritate or damage gum tissue and the pulp inside the tooth, so use it sparingly. Pregnant or breastfeeding women should avoid it entirely.
Covering the Hole
An exposed cavity acts like an open wound in your mouth. Every time food, air, or liquid hits the raw dentin or pulp, pain flares. Sealing the hole, even temporarily, can make a dramatic difference.
Temporary filling kits (Dentemp is the most widely available brand) are sold at most pharmacies. To use one, rinse the cavity with warm water and leave it slightly moist. Pull a small amount of the material from the container, roll it into a ball with wet fingers, and press it firmly into the hole. Scrape your finger along the edge of the tooth rather than pulling straight up, which could dislodge the material. Bite down a few times to check that it feels comfortable, remove any excess, and rinse your mouth. Wait at least two hours before eating. These kits contain zinc oxide and eugenol, which both soothe the nerve and physically block irritants from reaching it.
Don’t use a temporary filling if the area around the tooth is throbbing or swollen. That suggests an active infection, and sealing it over could trap bacteria inside.
Keeping the Area Clean
Bacteria in a cavity produce acid that worsens the decay and the pain. A simple salt water rinse helps reduce that bacterial load, lowers acidity in the mouth, and promotes healing of irritated tissue. Mix one teaspoon of table salt and one teaspoon of baking soda into four cups of warm water. Swish gently for 30 seconds and spit. You can do this several times a day, especially after meals. The solution keeps for up to two weeks in a sealed container at room temperature.
Brush gently around the affected tooth with a soft-bristled toothbrush. Avoiding the area entirely allows more plaque and bacteria to accumulate, which makes things worse. If brushing near the cavity is too painful, at minimum keep rinsing.
What to Avoid
Very hot and very cold foods and drinks will trigger the exposed nerve. Stick to lukewarm temperatures when you can. Sugary and acidic foods (citrus, soda, candy) feed bacteria and increase acid production directly on the raw surface. Chewing on the side of the affected tooth puts pressure on weakened enamel and can crack the tooth further or push debris deeper into the cavity.
Placing aspirin directly against the gum is an old home remedy that actually causes chemical burns to the soft tissue. Swallow aspirin or ibuprofen normally instead.
Signs You Need Emergency Care
Most cavity pain is miserable but not dangerous. It becomes an emergency when infection spreads beyond the tooth. Get to an emergency room if you develop a fever along with facial swelling, if swelling in your face, cheek, or neck makes it hard to breathe or swallow, or if pain becomes completely unresponsive to over-the-counter medication. These symptoms suggest a dental abscess is spreading into surrounding tissue, which can become life-threatening without treatment.
Short of those red flags, call a dentist as soon as possible. Temporary measures buy you days, not months. The longer a cavity goes untreated, the more likely the decay will reach the nerve and turn a straightforward filling into a root canal or an extraction.

