A hurting cavity usually responds to over-the-counter pain relievers, cold compresses, and a few positional tricks within 20 to 30 minutes. The fastest approach combines an anti-inflammatory painkiller with a topical numbing agent while you arrange to see a dentist. Nothing you do at home fixes the underlying decay, but you can significantly dial down the pain in the short term.
Why a Cavity Hurts in the First Place
Understanding what’s happening inside your tooth helps explain why certain remedies work and others don’t. A cavity starts in the hard outer enamel, where you usually feel nothing. The trouble begins when bacterial acids eat through enamel into the softer layer underneath called dentin. Dentin is threaded with microscopic tubes that connect directly to the living core of the tooth, the pulp, which is packed with nerves and blood vessels.
Even before bacteria physically reach the pulp, their chemical byproducts seep through those tiny tubes and trigger an immune response. Specialized cells lining the inner surface of the dentin detect the invaders and release defensive compounds into the tubes while also sending chemical signals that recruit immune cells to the area. The result is inflammation: blood vessels widen, fluid accumulates, and pressure builds. The critical problem is that the pulp sits inside a rigid chamber of hard tooth that cannot expand. So any swelling translates directly into pressure on nerve fibers, which is why cavity pain often throbs in sync with your heartbeat.
Inflamed nerve endings also release signaling molecules that widen blood vessels further and make them leaky, creating a feedback loop that can intensify pain over hours. This is why a cavity that “only hurts a little” in the morning can become agonizing by evening.
Over-the-Counter Pain Relievers
Ibuprofen is the single most effective first step because it tackles both pain and the inflammation driving it. The American Dental Association’s current guidelines for acute dental pain favor non-opioid approaches, and ibuprofen sits at the top of that list. A standard 400 mg dose every six to eight hours works well for most adults.
For stronger relief, you can alternate or combine ibuprofen with acetaminophen. The two drugs work through completely different pathways, so together they reduce pain more than either one alone. A combination tablet sold over the counter contains 125 mg ibuprofen and 250 mg acetaminophen per tablet, dosed at two tablets every eight hours (no more than six tablets per day). If you’re using separate bottles, stagger them: take ibuprofen, then acetaminophen three to four hours later, and repeat. Avoid exceeding the maximum daily dose listed on each label.
Topical Numbing Options
Benzocaine gels, sold under brand names like Orajel, can numb the area around a painful cavity within a minute or two. You dab a small amount directly on the tooth and surrounding gum. The relief is temporary, usually lasting 30 to 60 minutes, but it can bridge the gap while oral painkillers kick in.
One important safety note: the FDA warns that benzocaine can cause a rare but serious condition where the blood’s ability to carry oxygen drops dangerously low. This risk is highest in children under two, who should never use benzocaine oral products. For adults and older children, sticking to the labeled dose and not reapplying constantly keeps the risk very low.
Clove Oil
Clove oil contains a natural compound called eugenol that acts as a mild anesthetic and also fights inflammation and oral bacteria. To use it, dilute a drop or two in a small amount of carrier oil (olive or coconut oil works), soak a cotton ball, and hold it against the painful tooth for a few minutes. You should feel a warming, numbing sensation fairly quickly.
Avoid using clove oil on open wounds or severely infected gums, as it can irritate damaged tissue. Frequent or prolonged application at full strength can actually harm oral tissue, so treat it as an occasional rescue remedy rather than an all-day solution.
Salt Water Rinse
A warm salt water rinse is one of the simplest things you can do, and it genuinely helps. Mix about one teaspoon of table salt into four cups of warm water. Swish gently around the painful area for 30 seconds and spit. Adding a teaspoon of baking soda to the mix creates a mildly alkaline solution that may further soothe irritated tissue.
Salt water works by drawing fluid out of swollen gum tissue through osmosis, which temporarily reduces the pressure contributing to your pain. It also helps clean debris out of the cavity itself. You can repeat this several times a day without any downside.
Cold Compress
Pressing a cold pack or a bag of frozen vegetables wrapped in a cloth against the outside of your cheek constricts blood vessels in the area. Less blood flow means less pressure inside that rigid pulp chamber, and less pressure means less pain. Apply for 15 to 20 minutes at a time with breaks in between. This is especially useful alongside oral painkillers in the first hour, when you’re waiting for the medication to take effect.
Temporary Filling Kits
If your cavity has a visible hole and pain spikes every time air, food, or liquid touches the tooth, a temporary filling kit from the pharmacy can help. These kits typically contain a putty made from zinc oxide, eugenol, and other restorative materials. You press the putty into the cavity to create a physical barrier over exposed nerve endings.
The relief can be surprisingly effective because the seal blocks the stimuli that trigger pain. Some kits also contain eugenol, which adds a mild numbing effect. The filling is not a permanent fix. It will soften and break down over days to weeks, but it can make eating and drinking tolerable until your dental appointment.
Why Nighttime Pain Gets Worse
If you’ve noticed your cavity hurts more when you lie down to sleep, you’re not imagining it. When you’re flat, gravity allows more blood to pool in your head and neck. Inside an inflamed tooth, the pulp chamber’s rigid walls can’t expand to accommodate the extra fluid, so pressure spikes and pain intensifies into that characteristic throbbing.
The fix is simple: prop yourself up with an extra pillow or two so your head stays elevated above your heart. This forces the heart to work slightly harder against gravity to send blood upward, naturally reducing blood pressure in the head and neck. The effect on throbbing tooth pain can be noticeable within minutes. Combining this with a dose of ibuprofen taken 30 minutes before bed gives most people enough relief to fall asleep.
What Not to Do
Avoid putting aspirin directly on the gum tissue near the tooth. This is an old home remedy that can cause a chemical burn on your gums without providing meaningful pain relief. Also skip extremely hot or cold foods and drinks, which will trigger sharp pain through exposed dentin. Chewing on the affected side puts mechanical pressure on weakened tooth structure and can make things significantly worse, potentially cracking the tooth further.
Signs the Situation Is More Serious
A cavity that has been painful for days and is getting worse, not better, may have progressed to an abscess, which is a pocket of infection at the tooth’s root. The NHS identifies these warning signs of a dental abscess:
- Facial or jaw swelling that you can see or feel from the outside
- Fever or feeling generally unwell
- Swollen glands in your neck
- A bad taste in your mouth, which may signal draining pus
- Difficulty opening your mouth or chewing
If swelling makes it hard to breathe, swallow, or speak, or if your eye becomes swollen or painful, that’s a medical emergency. Dental infections can spread to the airway and surrounding tissues quickly, and these situations need immediate care at an emergency room, not a scheduled dental visit.
For pain that’s manageable but persistent, getting to a dentist within a few days matters. The strategies above buy you time, but decay doesn’t stop progressing on its own. A small filling now prevents a root canal or extraction later.

