How to Stop a Cavity from Hurting: Fast Relief

A hurting cavity usually responds to a combination of over-the-counter pain relievers, a salt water rinse, and avoiding the foods that trigger the pain. These steps can buy you hours or days of relief, but they won’t fix the underlying decay. The pain is a signal that the cavity has reached deep enough into your tooth to irritate the nerve, and only a dentist can stop that process for good.

Why a Cavity Hurts

Your tooth has a hard outer shell of enamel protecting a softer layer called dentin. Dentin is full of microscopic tubes that lead straight to the nerve at the center of your tooth. When a cavity eats through the enamel and exposes that dentin, temperature changes, sugar, and acids can travel through those tubes and reach the nerve directly. That’s where the sharp, throbbing, or stabbing pain comes from.

The deeper the decay, the worse the pain. A shallow cavity might only sting when you bite into something sweet. A deep one can throb constantly because the nerve itself is inflamed. If you’re dealing with persistent, unprovoked pain (meaning it hurts even when you’re not eating or drinking), the decay has likely reached or is very close to the nerve center of the tooth.

Pain Relievers That Work Best

For dental pain specifically, combining ibuprofen and acetaminophen is more effective than using either one alone. The American Dental Association’s 2024 guidelines recommend this combination as a first-line approach for acute dental pain in adults and adolescents. A combination tablet contains 125 mg of ibuprofen and 250 mg of acetaminophen, taken as two tablets every eight hours, with a maximum of six tablets per day. If you’re taking them separately from your medicine cabinet, stay under 4,000 mg of acetaminophen total in 24 hours and follow the ibuprofen package directions.

Ibuprofen does double duty here: it reduces both pain and the inflammation inside the tooth that’s pressing on the nerve. Acetaminophen works through a different pathway, so the two together cover more ground than either alone. Take them on a schedule rather than waiting for the pain to return, especially in the first day or two.

Home Remedies for Quick Relief

Salt Water Rinse

Dissolve one teaspoon of salt in eight ounces of warm water and swish gently for 30 seconds. Salt water kills bacteria by pulling water out of their cells through osmosis and shifts the pH of your mouth to a more alkaline environment where bacteria struggle to survive. It also draws excess fluid out of swollen gum tissue around the tooth, which can reduce pressure and pain. You can repeat this several times a day.

Clove Oil

Clove oil contains eugenol, a natural anesthetic that numbs the nerve on contact. Mix a few drops with a teaspoon of olive oil (pure clove oil can irritate your gums), soak a cotton ball in the mixture, and hold it against the painful tooth. You can reapply every two to three hours. The relief is temporary, usually lasting 30 minutes to an hour, but it can be a lifesaver when pain spikes between doses of medication.

Numbing Gels

Over-the-counter oral gels containing benzocaine can numb the area around a painful tooth. Apply a small amount directly to the gum near the cavity. These products should not be used on children under two years old. The FDA has flagged benzocaine for a rare but serious side effect that reduces the blood’s ability to carry oxygen, so use it sparingly and follow the label directions. For most adults, short-term use while waiting for a dental appointment is reasonable.

Triggers That Make the Pain Worse

Once dentin is exposed, certain foods and drinks become direct irritants. The main culprits are hot and cold temperatures, sugar, and acidic foods. Citrus fruits, tomatoes, pickles, and tea can all wear down enamel further and send pain signals firing through those exposed dentin tubes. Even some mouthwashes contain acids that worsen sensitivity.

Try to chew on the opposite side of your mouth and stick to room-temperature, bland foods. Avoid crunching anything hard near the affected tooth, since biting pressure on a weakened tooth can crack it further or drive food debris deeper into the cavity. If cold air triggers the pain (common in winter), breathing through your nose rather than your mouth can help.

Sleeping With a Toothache

Cavity pain often feels worse at night, and there’s a physical reason for that. When you lie flat, blood pools in your head, increasing pressure around the inflamed nerve. Propping your head up with an extra pillow keeps blood from rushing to the area and can noticeably reduce the throbbing. Take your pain reliever about 30 minutes before bed so it’s at full effect when you’re trying to fall asleep, and keep a salt water rinse on your nightstand in case you wake up.

What a Dentist Will Actually Do

The treatment depends entirely on how deep the decay goes. If the cavity hasn’t reached the nerve center of the tooth, a filling is usually all you need. The dentist removes the decayed material and fills the space with a composite or amalgam material. This is a straightforward appointment, often done in under an hour with local anesthesia. You’ll feel normal again the same day or the next.

If the decay has reached the nerve and caused infection or significant inflammation, you’ll likely need a root canal. The signs that point toward a root canal rather than a simple filling include severe pain (not just sensitivity), swollen gums around the tooth, pain that lingers long after a hot or cold trigger is removed, or a dark discoloration on the tooth. During a root canal, the infected nerve tissue is removed, the inside of the tooth is cleaned, and it’s sealed. A crown typically goes on top afterward to protect the weakened tooth. Recovery takes a few days, and most people say the procedure itself is less painful than the toothache that brought them in.

A filling is always preferable when it’s still an option. The longer you wait, the deeper the decay spreads, and what could have been a simple filling can turn into a root canal or even an extraction. If you’re managing pain at home right now, treat it as a bridge to getting professional treatment, not a long-term solution.

Signs the Pain Is an Emergency

Most cavity pain is manageable at home for a few days. But certain symptoms mean the infection has spread beyond the tooth and needs immediate attention. If you develop a fever along with facial swelling, that combination warrants an emergency room visit if you can’t reach a dentist. Difficulty breathing or swallowing is especially urgent, as it can indicate the infection has spread into your jaw, throat, or neck. A visible pus-filled bump on your gum near the painful tooth is a sign of an abscess, which needs to be drained and treated with antibiotics before it spreads further.