How to Stop Cavity Pain: From Home Remedies to Dental Fixes

Cavity pain responds well to over-the-counter pain relievers, and combining two types works better than taking either alone. For immediate relief, take ibuprofen (400 mg) alongside acetaminophen (500 mg), which studies show is as effective as or superior to prescription opioid painkillers for dental pain. Beyond medication, several home strategies can cut the intensity while you arrange a dental visit.

Why Cavities Hurt

Tooth enamel has no nerve endings, so early cavities are painless. The trouble starts when decay eats through the enamel and reaches the dentin underneath. Dentin is far less dense than enamel and contains thousands of microscopic tubes that connect directly to the nerve-rich pulp at the center of your tooth. Once those tubes are exposed, hot coffee, cold water, sugar, acidic drinks, and even cold air can send signals straight to the nerve.

The pulp chamber is packed with nerve fibers, roughly 70 to 90 percent of which are the slow, unmyelinated type responsible for deep, aching pain. The remaining fibers carry sharp, immediate pain. That’s why cavity pain often shows up as two distinct feelings: a quick zing when you bite into something sweet or cold, followed by a deeper ache that lingers.

Pain Relievers That Work Best

Anti-inflammatory painkillers like ibuprofen outperform opioids for dental pain because they target the inflammation driving the pressure inside your tooth. Multiple studies confirm that common over-the-counter options are at least as effective as, and often superior to, prescription painkillers for acute dental pain.

For mild cavity pain, 400 mg of ibuprofen every six hours is a solid starting point. For moderate pain, combining ibuprofen (400 to 800 mg every six hours) with acetaminophen (500 to 650 mg every six hours) creates a synergistic effect, meaning the two drugs amplify each other rather than simply adding up. Keep your total acetaminophen from all sources under 3,000 mg per day. If you can’t take ibuprofen due to stomach issues or other conditions, acetaminophen alone at 325 to 500 mg every six hours still provides meaningful relief.

Home Remedies for Temporary Relief

Clove oil is the most evidence-backed home remedy for tooth pain. Its active compound, eugenol, works as a mild local anesthetic, numbing the area on contact while also reducing inflammation and fighting oral bacteria. The World Health Organization classifies eugenol as generally recognized as safe. To use it, dilute a drop or two in a carrier oil like olive oil, dip a cotton ball in the mixture, and hold it against the painful tooth for a few minutes. Avoid applying undiluted clove oil directly, as it can irritate your gums.

A saltwater rinse (half a teaspoon of salt in warm water, swished gently for 30 seconds) helps reduce bacterial load around the cavity and can ease mild inflammation. Cold compresses held against the outside of your cheek for 15 to 20 minutes can also dull pain by constricting blood vessels and reducing swelling.

Avoid What Makes It Worse

Once dentin is exposed, certain foods and drinks act as direct triggers. Sugar is one of the worst offenders, not only because it irritates exposed nerve pathways, but because mouth bacteria feed on it and produce acid that accelerates enamel breakdown. Very hot or very cold foods cause fluid movement inside those microscopic dentin tubes, which the nerve reads as pain. Acidic foods and beverages, including citrus, tomato sauce, and soda, erode enamel further and amplify sensitivity.

Try chewing on the opposite side of your mouth and sticking to lukewarm, low-sugar, non-acidic foods until you can get treatment. Even cold air drawn in through your mouth on a winter day can trigger a flare.

Sleeping With a Toothache

Cavity pain frequently worsens at night, and there’s a straightforward reason. When you lie flat, gravity pulls more blood into your head and neck. The pulp chamber is a confined space surrounded by hard tooth structure, so any increase in blood flow raises pressure inside it, intensifying the throb. Elevating your head 30 to 45 degrees above horizontal reduces that gravitational effect. Two or three pillows, or sleeping in a recliner, can achieve this angle comfortably. Taking your pain reliever about 30 minutes before bed also helps you fall asleep before the next wave hits.

How Dentists Fix the Problem

The treatment you’ll need depends on how deep the decay has gone, and your dentist can usually tell with a quick exam and an X-ray. There are two broad categories.

If your pain only occurs when something touches the tooth (cold drink, sweet food) and disappears within a couple of seconds after you remove the trigger, that’s called reversible pulpitis. The nerve is irritated but not permanently damaged. Treatment is straightforward: the dentist removes the decayed material and places a filling. Once the source of irritation is gone, the nerve typically calms down and returns to normal.

If your pain lingers for 30 seconds or longer after the trigger is removed, strikes spontaneously without any trigger at all, or gets worse when you lie down or bend over, the pulp is likely damaged beyond recovery. Over-the-counter painkillers often can’t fully control this type of pain. A root canal, where the inflamed nerve tissue is removed and the inside of the tooth is sealed, is the standard treatment. After a root canal, the tooth is usually covered with a crown for long-term protection.

Signs You Need Emergency Care

Most cavity pain is manageable at home for a few days while you wait for a dental appointment. But a cavity can progress into an abscess, a pocket of infection at the tooth’s root, which changes the situation. Watch for these warning signs:

  • Facial or jaw swelling that’s visibly noticeable or spreading
  • Fever along with tooth pain
  • Swollen glands on either side of your neck
  • Difficulty breathing, swallowing, or opening your mouth
  • Swelling near your eye or sudden vision changes

Difficulty breathing or swallowing alongside dental swelling is a medical emergency. Infection from a tooth can spread into the airway or deeper tissues of the head and neck rapidly, and that warrants an emergency room visit, not just a dental appointment.