The fastest way to make a cavity stop hurting at home is to take 400 mg of ibuprofen (two standard pills) together with 500 mg of acetaminophen (one extra-strength pill). This combination is what the American Dental Association recommends for acute dental pain, and research shows it works as well as prescription painkillers for most dental problems. While that kicks in, you can apply a cold compress and use a topical numbing agent to take the edge off. But these are temporary measures. A cavity that hurts needs professional treatment to actually resolve the pain.
Why a Cavity Hurts
Your tooth has layers. The hard outer enamel protects a porous layer called dentin, and deep inside sits the pulp, a soft core packed with blood vessels and a dense network of nerve fibers. These nerves originate from a major nerve cluster at the base of your skull and are wired specifically to detect threats like heat, cold, pressure, and the chemical signals of infection.
When a cavity eats through enamel and reaches dentin, those nerve endings become exposed to temperature changes, sugary foods, and bacteria. The deeper the decay goes, the more intense the pain. If bacteria reach the pulp itself, the tissue becomes inflamed, and the nerves fire constantly rather than only in response to a trigger. That’s why a mild cavity might only sting when you eat ice cream, while a deep one can throb on its own for hours.
Over-the-Counter Pain Relief
The most effective approach is combining two different types of pain relievers. Take two 200 mg ibuprofen tablets with one 500 mg acetaminophen tablet. They work through different mechanisms: ibuprofen reduces inflammation at the tooth itself, while acetaminophen acts on pain signaling in the brain. Together, they cover more ground than either one alone. You can repeat the ibuprofen every six hours and the acetaminophen every six hours, staggering them so you’re taking something every three hours if needed.
Ibuprofen is generally the better single option for tooth pain because cavity pain is driven by inflammation. If you can only take one, choose ibuprofen over acetaminophen. But if you have stomach issues or other reasons you can’t take ibuprofen, acetaminophen alone still helps.
Topical Numbing Options
While you wait for oral painkillers to work (usually 20 to 30 minutes), topical agents can provide faster, more localized relief. You have two good options:
- Benzocaine gel (20%): Available over the counter as Orajel or similar products. Dab a small amount directly on the gum tissue around the painful tooth. It numbs the area within a few minutes.
- Clove oil: Contains eugenol, a natural anesthetic. In clinical testing, a clove-based gel reduced pain from needle sticks just as effectively as 20% benzocaine, with no significant difference between the two. Soak a small cotton ball in clove oil and hold it against the sore spot.
Neither of these penetrates deep into the tooth. They numb the surface tissue, which helps most when the pain is radiating into the surrounding gum.
Salt Water Rinse and Cold Compress
A warm salt water rinse helps in two ways: it draws fluid out of inflamed tissue (reducing swelling) and creates an environment that’s hostile to bacteria. Mix a couple teaspoons of table salt into a glass of warm water and swish gently for 30 seconds, focusing on the painful side. Repeat a few times a day, especially after eating.
A cold compress works by slowing nerve signaling in the area and constricting blood vessels, which reduces both pain and swelling. Wrap ice or a cold pack in a towel and hold it against your cheek near the painful tooth for 15 to 20 minutes at a time. Never put ice directly on the tooth, as this can make the pain dramatically worse by shocking exposed nerve endings in the dentin.
What to Avoid
Certain things will reliably make cavity pain flare. Very hot or very cold foods and drinks hit exposed dentin hard. Sugary or acidic foods feed bacteria and irritate inflamed tissue. Chewing on the painful side puts pressure on a weakened tooth structure. Try to eat lukewarm, soft foods on the opposite side of your mouth until you can get treatment.
Aspirin placed directly on the gum is an old home remedy that actually burns the tissue and makes things worse. Avoid it.
Why the Pain Sometimes Stops on Its Own
If a cavity has been hurting for a while and suddenly stops, that’s not necessarily good news. When decay reaches the pulp and goes untreated, the inflamed tissue eventually dies, a condition called pulp necrosis. A dead nerve can’t send pain signals, so the tooth goes quiet. But the infection hasn’t gone anywhere. Bacteria are still present and can spread into the jawbone, forming an abscess.
The silence is temporary. An abscess brings its own pain, often worse than the original cavity, along with swelling, a foul taste, and sometimes fever. The infection can also spread beyond the jaw into the neck and chest if left untreated. A tooth that was painful and then mysteriously stopped hurting still needs treatment, possibly more urgently than before.
What a Dentist Will Actually Do
The treatment depends entirely on how deep the decay has gone. If the cavity is limited to the enamel and dentin, which are the outer layers, a standard filling is enough. The dentist removes the decayed material and fills the space. This is straightforward, typically done in one visit, and the pain resolves almost immediately.
If decay has reached or come close to the pulp, a root canal becomes necessary. This involves removing the infected pulp tissue, cleaning out the interior of the tooth, and sealing it. Because a tooth without living pulp becomes more brittle over time (it’s lost its blood supply), a crown is placed over it afterward for long-term protection. Root canals have a reputation for being painful, but modern anesthesia makes the procedure itself comfortable. Most people say the pain of the infected tooth beforehand was far worse than the treatment.
If too much tooth structure has been destroyed to support either a filling or a crown, extraction is the remaining option.
Signs the Pain Is an Emergency
Most cavity pain, while miserable, can wait a few days for a dental appointment. But certain symptoms mean the infection may be spreading and you need care right away. Fever combined with facial swelling suggests the infection has moved beyond the tooth. Difficulty breathing or swallowing can indicate spread into the throat or neck, and that’s an emergency room situation, not a “call the dentist Monday” situation. Pus draining from the gum near the tooth, intense throbbing that doesn’t respond to painkillers, or swelling that’s visibly distorting your face all warrant urgent care.