A cavity hurts because decay has eaten through your tooth’s protective enamel and is irritating the sensitive layers underneath. You can reduce that pain at home with over-the-counter painkillers, topical numbing agents, and saltwater rinses, but these are temporary measures. The only way to permanently stop cavity pain is to have a dentist treat the decay itself.
Why a Cavity Hurts
Your teeth have a soft core called the pulp, which contains nerves, blood vessels, and connective tissue. Hard enamel on the outside protects it. When bacteria produce acid that eats through that enamel and creates a hole, the deeper layers of the tooth become exposed. Hot, cold, sweet, and acidic foods can then reach nerve endings that were never meant to be exposed, triggering sharp or throbbing pain.
If decay keeps advancing and reaches the pulp itself, the nerve tissue becomes inflamed, a condition called pulpitis. At this stage, pain often becomes more intense and persistent. It can wake you up at night or throb without any trigger at all. The longer decay sits untreated, the more likely it is to progress to this point.
Over-the-Counter Pain Relief
The most effective approach for dental pain is combining ibuprofen and acetaminophen. They work through different mechanisms, so taken together they provide stronger relief than either one alone. Combination tablets (250 mg acetaminophen and 125 mg ibuprofen per tablet) are available over the counter. The standard dose for adults is two tablets every eight hours, with a maximum of six tablets per day. You can also take them separately using the dosing instructions on each bottle.
Ibuprofen is particularly useful because it reduces both pain and inflammation. If you can only take one, it’s generally the better choice for a toothache. Acetaminophen is an alternative if you can’t tolerate ibuprofen due to stomach issues or other reasons.
Topical Numbing Options
For targeted relief right at the tooth, two options work well: benzocaine gel and clove oil. Benzocaine at 20% concentration is one of the most widely used topical dental anesthetics. You apply a small amount directly to the gum around the painful tooth, and it numbs the area within a few minutes. Products like Orajel and Anbesol contain benzocaine at this concentration and are available at most pharmacies.
Clove oil contains a natural anesthetic compound that performs comparably to benzocaine in studies. You can dab a small amount onto a cotton ball and hold it against the sore tooth and surrounding gum. The taste is strong and slightly medicinal, but the numbing effect kicks in quickly. Both options provide temporary relief, typically lasting 30 to 60 minutes before reapplication is needed.
Saltwater Rinses
A warm saltwater rinse is one of the simplest ways to ease cavity pain between other treatments. Mix one teaspoon of salt into eight ounces of warm water until it dissolves. Swish it gently around the painful area for 30 seconds, then spit it out. If it stings or feels too strong, cut the salt to half a teaspoon.
Salt water works as a mild antiseptic, pulling bacteria away from the infected area and reducing inflammation in the surrounding tissue. Research shows that concentrations between 0.9% and 1.8% salt promote gum health and tissue repair. Rinsing two to three times a day can help keep the area cleaner and slightly less painful while you wait for dental treatment.
What Not to Do
Avoid chewing on the side of the painful tooth. Skip very hot, very cold, and sugary foods and drinks, since these are the most common triggers for cavity pain. Don’t place aspirin directly on your gum tissue. This is a persistent home remedy that actually causes chemical burns to the soft tissue without providing meaningful pain relief to the tooth.
What Happens at the Dentist
Home remedies manage the symptom, but only a dentist can fix the cause. The treatment you’ll need depends on how deep the decay has gone.
If the cavity is limited to the outer layers of the tooth (enamel and the layer just beneath it called dentin), a filling is usually enough. The dentist removes the decayed material and fills the space with a composite or other material. This is a straightforward procedure, often done in a single visit with local anesthetic. Mild sensitivity or visible cavities with no deep pain typically point toward a filling.
If the decay has reached the pulp, a root canal becomes necessary. The dentist removes the infected pulp tissue, cleans the inside of the tooth, and seals it. A crown is usually placed on top afterward to protect the remaining structure. Deep, persistent pain, prolonged sensitivity to temperature, or swelling around the tooth are signs the decay has likely progressed to this stage. Root canals have a reputation for being painful, but with modern anesthesia, the procedure itself is comparable to getting a filling. Most of the pain you feel beforehand is from the infection the root canal is designed to resolve.
Signs You Need Emergency Care
Most cavity pain can wait for a scheduled dental appointment, but certain symptoms mean you should act faster. If you develop a fever along with facial swelling, go to an emergency room if you can’t reach a dentist the same day. Difficulty breathing or swallowing alongside tooth pain is a true emergency, as it can indicate an infection spreading to the airway. A dental abscess (a pocket of pus that forms at the root of the tooth) can develop when decay is left untreated for a long time, and the infection can spread to the jaw, head, or neck.
Intense, constant pain that doesn’t respond to over-the-counter painkillers at all also warrants an urgent call to your dentist’s office. Many dental practices reserve same-day slots for emergencies and can at least start treatment or prescribe stronger pain management to bridge you to a full appointment.