A cavity hurts because decay has reached the sensitive inner layers of your tooth, and the pain will keep coming back until a dentist treats the underlying damage. But you can reduce or temporarily eliminate that pain at home while you arrange an appointment. The approach depends on how deep the decay has gone and whether the nerve inside your tooth is still healthy.
Why a Cavity Hurts
Your tooth has a hard outer shell of enamel, a softer layer of dentin underneath, and a core of living tissue called the pulp that contains nerves and blood vessels. When a cavity is small and only affects enamel, you typically feel nothing. Once decay reaches the dentin, you start getting short bursts of sensitivity to cold, sweets, or pressure. This stage is called reversible pulpitis: the nerve is irritated but not permanently damaged, and a filling can resolve everything.
If the decay keeps advancing into the pulp, the situation changes. Sensitivity to heat or cold starts lingering for more than a few seconds after the trigger is gone. You may feel a throbbing or aching pain that comes on without any trigger at all. This is irreversible pulpitis, meaning the nerve is too damaged to recover on its own. At this stage, a simple filling won’t be enough, and a root canal or extraction is typically needed. If the nerve dies entirely, the pain may temporarily vanish, but the infection doesn’t. It can spread into the jawbone and form an abscess.
Immediate Pain Relief With OTC Medication
The fastest way to bring cavity pain down is with over-the-counter pain relievers you likely already have. Ibuprofen is the strongest single option because it reduces both pain and the inflammation that’s pressing on your tooth’s nerve. Acetaminophen works through a different mechanism, targeting pain signals in the brain rather than inflammation at the site. Taking both together is more effective than either one alone, and combination tablets containing 125 mg ibuprofen and 250 mg acetaminophen are available. The standard dose is two tablets every eight hours, with a maximum of six tablets in 24 hours.
If you’re using separate bottles, stagger them: take ibuprofen, then acetaminophen a few hours later, alternating so you always have something active in your system. Never exceed 4,000 mg of acetaminophen in a single day.
Numbing the Tooth Directly
Benzocaine gels (sold as Orajel and similar brands) can numb the area around a painful tooth on contact. Apply a small amount directly to the gum tissue next to the cavity. Relief usually kicks in within a minute or two but fades relatively quickly, so this works best as a bridge while you wait for oral pain medication to take effect. The FDA warns against using benzocaine products on children under two years old because of a rare but serious reaction that reduces the blood’s ability to carry oxygen. For older children and adults, follow the label directions and avoid reapplying excessively.
Clove oil is a natural alternative with genuine numbing power. The active compound, eugenol, makes up 70 to 90 percent of clove essential oil and works as both an anesthetic and an anti-inflammatory. To use it safely, dilute a few drops into a carrier oil like coconut or olive oil. Dip a cotton swab or small piece of cotton into the mixture, press it against the painful spot on your gum, hold it there for 30 to 60 seconds, then rinse your mouth out. Don’t swallow the oil. Do a patch test on the inside of your wrist first if you’ve never used it before, since some people have skin sensitivity to eugenol.
Salt Water and Cold Compresses
A warm salt water rinse won’t numb the tooth, but it pulls fluid out of inflamed gum tissue through osmosis, which can ease the swelling that contributes to pain. Dissolve one teaspoon of salt in eight ounces of warm water. Swish it around the painful area for 15 to 20 seconds, then spit it out. You can repeat this several times a day.
A cold compress on the outside of your cheek (20 minutes on, 20 minutes off) constricts blood vessels and reduces inflammation. This is especially helpful if you notice visible swelling along your jaw or cheek.
Getting Through the Night
Tooth pain almost always feels worse at night, and there’s a straightforward physical reason. When you lie flat, gravity pulls more blood into your head, increasing pressure inside the rigid pulp chamber of your tooth. That chamber can’t expand, so even a small increase in blood volume amplifies throbbing pain considerably.
Sleeping with your head elevated about 30 to 45 degrees above horizontal reduces blood flow to the area and can noticeably bring the pain down. Stack an extra pillow or two, or use a wedge pillow. Many people with dental pain report this makes the difference between a miserable night and a tolerable one. Take your pain medication about 30 minutes before you plan to fall asleep so it’s at full strength when you’re trying to drift off.
What Not to Do
Avoid chewing on the painful side. Don’t eat or drink anything very hot or very cold, since temperature extremes trigger the exposed nerve. Skip sugary foods and acidic drinks like juice or soda, which can intensify sensitivity. Don’t pack aspirin directly against your gum tissue, a common folk remedy that actually burns the soft tissue and makes things worse.
If you’re getting temporary relief from home remedies and your pain goes away on its own after a few days, don’t assume the problem is solved. A tooth that suddenly stops hurting after days of intense pain may have a nerve that has died, which means the infection is still advancing even though you can no longer feel it.
What a Dentist Will Actually Do
The treatment depends entirely on how far the decay has progressed. If the cavity hasn’t reached the pulp, a standard filling is all that’s needed. The dentist removes the decayed portion, fills the space, and the pain resolves completely. This is a single appointment lasting 30 to 60 minutes, and you’ll be numb during the procedure.
When decay has penetrated into the pulp chamber, a root canal is the standard treatment. The dentist removes the infected nerve tissue, cleans and seals the inner chamber, and places a crown over the tooth. This sounds intimidating, but modern root canals are done under local anesthesia and the procedure itself is no more painful than getting a filling. The relief is usually immediate because the source of the pain, the inflamed or dying nerve, is gone.
If the tooth is too damaged to save, extraction is the remaining option. Your dentist will discuss replacement options like an implant or bridge afterward.
Signs You Need Emergency Care
Most cavity pain is manageable at home for a few days while you wait for a dental appointment. But certain symptoms mean the infection has spread beyond the tooth and requires urgent attention. If you develop a fever along with facial swelling, go to an emergency room if you can’t reach your dentist. Difficulty breathing or swallowing is especially serious, as it can indicate the infection has spread into the throat, jaw, or neck. A dental abscess that goes untreated can become a systemic infection, so don’t wait these symptoms out.

