Cavity pain can often be reduced at home with over-the-counter pain relievers, cold compresses, and a few simple techniques while you arrange to see a dentist. The most effective immediate option is combining ibuprofen with acetaminophen, which outperforms even prescription painkillers in clinical data. But several other approaches, from clove oil to saltwater rinses to how you position your head at night, can make a real difference in the meantime.
Why Cavities Hurt
Understanding the pain helps you target it. Your tooth’s outer layer, the enamel, has no nerve endings. But beneath it sits a layer called dentin, which is full of tiny fluid-filled tubes that connect directly to the nerve-rich pulp at the center of the tooth. When a cavity eats through the enamel, those tubes become exposed. Hot coffee, cold water, sugar, or even a breath of cold air can shift the fluid inside those tubes, triggering the nerve endings and sending a sharp jolt of pain to your brain. This is known as the hydrodynamic theory of tooth pain, and it explains why cavity discomfort tends to be reactive: you feel it most when something touches or reaches the exposed area.
As decay deepens and gets closer to the pulp, pain can shift from occasional sensitivity to a steady, throbbing ache. That throbbing often reflects inflammation building inside the tooth, where there’s very little room for tissue to swell.
Over-the-Counter Pain Relief
Anti-inflammatory pain relievers like ibuprofen are the most effective first-line option for dental pain. The American Dental Association recommends them over opioid-based painkillers, based on data from over 58,000 patients. For mild cavity pain, 200 to 400 mg of ibuprofen every four to six hours as needed is typically sufficient. For moderate to severe pain, combining 400 mg of ibuprofen with 500 mg of acetaminophen every six hours provides stronger relief than either one alone. This combination was found to be more effective than any opioid-containing regimen, with fewer side effects.
A few things to keep in mind: take ibuprofen with food to protect your stomach, don’t exceed the daily limits on the packaging, and avoid ibuprofen if you have kidney problems or stomach ulcers. Acetaminophen should be avoided if you drink alcohol heavily. These medications manage the pain, but they don’t stop the decay from progressing.
Clove Oil as a Topical Numbing Agent
Clove oil contains a compound called eugenol, which makes up 70% to 90% of the oil and works as a natural anesthetic. In a clinical trial of 73 adults, clove oil performed as well as benzocaine, the active ingredient in most over-the-counter dental numbing gels. Both were significantly more effective than a placebo.
To use it safely, dilute a few drops of clove essential oil into a carrier oil like coconut or olive oil. Dip a clean cotton swab or small piece of cotton into the mixture and press it gently against the gum near the painful tooth. Let it sit for a few minutes, then rinse your mouth. Don’t swallow it. Clove oil is safe for occasional use, but repeated application can irritate gum tissue and even damage the tooth’s pulp, so treat it as a short-term bridge to a dental appointment rather than an ongoing solution.
Saltwater Rinses
A warm saltwater rinse is one of the simplest ways to calm inflammation around a painful tooth. Dissolve half a teaspoon of salt in a cup of warm water, swish it gently around the affected area for 30 seconds, and spit it out. The salt draws fluid out of swollen tissue through osmosis, reducing inflammation and helping clear bacteria from the area. You can repeat this several times a day. It won’t eliminate the pain entirely, but it often takes the edge off, especially when the surrounding gum tissue is irritated.
Avoid Foods That Make It Worse
Once dentin is exposed, certain foods and drinks will reliably trigger or intensify pain. The main culprits are hot and cold temperatures, sugar, and acidity. Ice cream, hot soup, citrus fruits, soda, candy, and fruit juice all tend to provoke a reaction. Even cold air can cause a sharp sting if you breathe through your mouth in winter.
While you’re managing the pain, try to chew on the opposite side of your mouth and stick to lukewarm, soft, neutral foods. This won’t heal anything, but it dramatically reduces how often the pain flares.
Desensitizing Toothpaste
Toothpastes labeled for sensitive teeth typically contain potassium nitrate, a salt compound that calms nerve activity inside the tooth. It works by blocking pain signals from traveling through the nerve to your brain. The effect builds over several days of regular use, so don’t expect instant results from a single brushing. Apply it twice daily with a soft-bristled toothbrush, and you can even rub a small amount directly onto the sensitive area and leave it for a few minutes before rinsing. This approach is most helpful for mild to moderate cavity sensitivity rather than deep, throbbing pain.
Why the Pain Gets Worse at Night
If you’ve noticed cavity pain intensifying at bedtime, you’re not imagining it. When you lie flat, blood flow to your head increases slightly due to gravity, putting more pressure on the inflamed nerves inside your tooth. During the day, you’re upright, distracted, and the blood distributes more evenly. At night, the combination of increased pressure and fewer distractions makes the pain harder to ignore.
Sleeping with your head elevated on an extra pillow reduces that blood pressure effect and can noticeably dial down the throbbing. Applying a cold compress to your cheek for 15 to 20 minutes before bed can also help by constricting blood vessels and numbing the area. Wrap ice in a cloth rather than placing it directly on your skin.
What Happens at the Dentist
Home remedies manage pain, but only a dentist can stop the decay and fix the underlying problem. What they recommend depends on how deep the cavity has gone. If the decay hasn’t reached the pulp, a filling is the standard treatment. The dentist removes the decayed portion and fills it with composite resin or another material. Average costs for a filling typically fall between $150 and $300, with composite resin averaging around $191 per tooth. Uninsured patients may pay $135 to $370 for a single-surface composite filling.
If the decay has penetrated into the pulp, the inner chamber of the tooth, a filling alone won’t solve the problem. At that point, a root canal is needed to remove the infected tissue and seal the tooth. The key indicators that a cavity has progressed to this stage include constant pain that doesn’t go away between meals, lingering sensitivity that continues long after the triggering food or drink is gone, and pain that wakes you up at night without any obvious trigger.
Signs the Pain May Be Something More Serious
Most cavity pain is uncomfortable but not dangerous. An abscess, however, is a bacterial infection that has spread beyond the tooth and requires prompt treatment. The warning signs include severe, constant throbbing that radiates into your jaw, neck, or ear, along with fever, facial swelling, swollen lymph nodes under your jaw, or a foul taste in your mouth. If an abscess ruptures, you may notice a sudden rush of salty, bad-tasting fluid followed by temporary pain relief.
Fever combined with facial swelling, difficulty breathing, or trouble swallowing signals that the infection may be spreading into deeper tissues. That situation warrants an emergency room visit if you can’t reach a dentist immediately.

