For most dental pain, dentists prescribe over-the-counter ibuprofen and acetaminophen, either alone or in combination. This two-drug approach is now the standard first-line treatment recommended by the American Dental Association, outperforming opioids for the majority of dental pain situations while carrying fewer risks. Opioids, steroids, topical anesthetics, and nerve pain medications round out the options for more complex cases.
Ibuprofen and Acetaminophen: The First Choice
NSAIDs like ibuprofen, taken alone or combined with acetaminophen, provide superior pain relief with a better safety profile compared to opioids for both toothaches and post-extraction pain. The two drugs work through different mechanisms: ibuprofen reduces inflammation at the source of pain, while acetaminophen acts on pain signaling in the brain. Together, they cover more ground than either one alone.
The ADA-recommended combination is 400 mg of ibuprofen (two standard 200 mg tablets) plus 500 mg of acetaminophen (one extra-strength tablet), taken together up to four times a day. Dentists often advise taking the first dose about an hour after the procedure, before the local anesthetic fully wears off, so the medication has time to kick in before pain peaks.
For ibuprofen, most adults can safely take up to 1,200 mg per day using over-the-counter strength. The daily ceiling for acetaminophen is 4,000 mg for adults, though staying under 3,000 mg is a common precaution for people who drink alcohol or have any liver concerns. Your dentist may write a prescription for higher-strength ibuprofen (600 or 800 mg tablets) when standard doses aren’t enough, but the active ingredient is the same one available on pharmacy shelves.
When NSAIDs Aren’t an Option
Not everyone can take ibuprofen or similar anti-inflammatory drugs. People with a history of stomach ulcers, kidney problems, or certain cardiovascular conditions need alternatives. In those cases, acetaminophen alone becomes the go-to, since it doesn’t irritate the stomach lining or affect blood clotting. COX-2 inhibitors, a more targeted type of anti-inflammatory, are another option that carries a lower risk of gastrointestinal side effects than standard NSAIDs.
Opioids: Reserved for Severe Cases
Opioids are no longer a routine part of dental pain management. Current guidelines recommend them only when first-line therapy with ibuprofen and acetaminophen proves insufficient or when a patient has contraindications to NSAIDs. The most commonly prescribed opioids in dentistry are hydrocodone, oxycodone, and acetaminophen with codeine.
When an opioid is necessary, the CDC recommends limiting the prescription to three days or fewer of immediate-release tablets at the lowest effective dose, capped at 50 morphine milligram equivalents per day. That’s a meaningful shift from past decades, when dentists routinely wrote for a week or more of opioid pills. Dental prescriptions have been a significant entry point for opioid misuse, and shorter courses dramatically reduce that risk while still covering the window of worst post-surgical pain.
Steroids for Swelling and Inflammation
After more invasive procedures like wisdom tooth removal, impacted tooth surgery, or dental implant placement, dentists sometimes prescribe a corticosteroid such as dexamethasone. Steroids don’t kill pain directly the way ibuprofen does. Instead, they suppress the inflammatory cascade that causes swelling, and less swelling typically means less pain. One study found that a single dose of dexamethasone given around the time of surgery reduced pain by 50% and cut post-operative painkiller use by 37%.
Steroids in dental settings are used for short bursts only, typically one to three days. Prolonged steroid use (beyond about five days) can begin suppressing the immune system, so dentists keep courses brief and targeted.
Topical and Local Anesthetics
For surface-level mouth pain, such as sore gums, canker sores, or irritation from dental appliances, dentists can prescribe topical numbing agents. Prescription-strength lidocaine comes in several forms: 2% or 5% gels, 5% ointment, and 10% spray. These provide localized relief by blocking nerve signals at the surface.
A product called “magic mouthwash,” a compounded rinse that typically contains lidocaine along with other ingredients, is sometimes prescribed for widespread mouth pain, particularly in patients dealing with oral sores from radiation or chemotherapy. For gum-specific procedures like deep cleanings, a gel containing a mix of lidocaine and prilocaine can be applied directly into the space between the tooth and gum to numb the area without a needle.
Medications for Chronic Nerve Pain
Not all dental pain comes from a cavity or a recent procedure. Some people develop persistent nerve pain in the face or jaw, sometimes after a dental procedure, sometimes with no clear trigger. This type of pain, called orofacial neuropathic pain, doesn’t respond well to standard painkillers because the problem isn’t inflammation. It’s misfiring nerves.
For these cases, dentists or pain specialists may prescribe gabapentin, an anti-seizure medication that also calms overactive nerve signals. Treatment typically starts at a low dose (200 to 600 mg per day) and is adjusted based on response. Gabapentin won’t help a toothache, but for patients with confirmed neuropathic pain, it can be the only medication that provides meaningful relief.
What to Expect After a Procedure
Pain after most dental work, including fillings, root canals, and simple extractions, peaks within the first 24 to 48 hours and tapers over the following days. The ibuprofen-acetaminophen combination is typically all you need during that window. Starting it before the numbness wears off gives the medication a head start, and staying on a consistent schedule for the first two days works better than waiting until pain becomes severe and trying to catch up.
After more complex surgeries like impacted wisdom tooth removal, pain may last longer and your dentist might layer in a short steroid course alongside the standard painkillers. If pain is still significant after three to four days, or gets worse instead of better, that’s a sign something else may be going on, such as a dry socket or infection, which needs a different treatment approach entirely.

