For most types of mouth pain, an anti-inflammatory like ibuprofen is the single best starting point. Both the CDC and the American Dental Association recommend non-opioid pain relievers as first-line treatment for acute dental and oral pain, and for moderate to severe cases, combining ibuprofen with acetaminophen works better than either one alone. Beyond pills, topical numbing gels, salt water rinses, and medicated mouthwashes can all layer on additional relief depending on what’s causing your pain.
Ibuprofen and Acetaminophen: The First-Line Combo
For mild mouth pain, ibuprofen (200 to 400 mg every six hours) or acetaminophen (500 to 650 mg every six hours) on its own is usually enough. Ibuprofen has an edge because it reduces both pain and inflammation, which matters when swollen gums or an infected tooth are involved.
For moderate to severe pain, the recommended approach is to take both together. Because they work through completely different mechanisms, they don’t compete with each other. Ibuprofen tamps down inflammation at the source, while acetaminophen acts on pain signaling in the brain. You can take them at the same time or stagger them. A combination tablet is also available over the counter, containing 125 mg of ibuprofen and 250 mg of acetaminophen per tablet, taken as two tablets every eight hours.
If you have kidney disease, a history of stomach ulcers, or you’re on blood thinners, ibuprofen and other anti-inflammatories may not be safe for you. In that case, acetaminophen alone is the safer choice. Just stay under the daily maximum (typically 3,000 mg for most adults) to protect your liver.
Topical Numbing Gels and Pastes
When you need fast, targeted relief, especially for a sore on your gum, lip, or inner cheek, a topical numbing agent can work within minutes. Most over-the-counter oral pain gels contain benzocaine, which temporarily blocks nerve signals right where you apply it. You’ll find it in products like Orajel and Anbesol.
Apply a small amount directly to the painful area with a clean finger or cotton swab. The relief typically lasts 30 to 60 minutes, and you can reapply as directed on the package. One caution: benzocaine carries a rare but serious risk of a blood condition called methemoglobinemia, particularly in older adults and young children under two. For teething babies, the FDA recommends avoiding benzocaine entirely.
Protective pastes like Orabase or Zilactin-B take a different approach. Rather than numbing, they coat the sore and form a barrier against food, drinks, and friction. These work well for canker sores or any open ulcer inside the mouth where contact with everything you eat makes the pain worse.
Salt Water Rinses
A warm salt water rinse is one of the simplest and most effective home remedies for mouth pain, and it costs almost nothing. Mix one teaspoon of salt into eight ounces of warm water, swish gently for 30 seconds, and spit. If that stings too much, cut the salt to half a teaspoon for the first day or two.
Salt water works through osmosis: it draws excess fluid out of swollen, infected tissue and pulls water out of bacteria, killing many of them in the process. This makes it useful after a tooth extraction, during a gum infection, or alongside any other treatment on this list. You can repeat the rinse several times a day.
Prescription Mouthwashes for Mouth Sores
If you’re dealing with widespread mouth sores, from chemotherapy, an autoimmune condition, or recurring canker sores that don’t respond to over-the-counter products, your dentist or doctor can prescribe what’s commonly called “magic mouthwash.” This is a custom-mixed rinse that may include a numbing agent like lidocaine, a corticosteroid to reduce inflammation, an antibiotic or antifungal depending on the cause, an antihistamine for pain relief, and an antacid to coat and soothe the tissue.
You swish a prescribed amount, hold it in your mouth for a set time, then spit it out. The lidocaine component provides quick numbing, while the other ingredients treat the underlying problem. Because the formula varies based on your situation, there’s no single over-the-counter equivalent.
Canker Sores
Canker sores (aphthous ulcers) are the small, shallow craters that form on the inside of your lips, cheeks, or under your tongue. Most heal on their own within one to two weeks, but the pain can be disproportionate to their size.
For relief while they heal, over-the-counter protective pastes create a physical barrier over the ulcer. If sores are large, frequent, or slow to heal, a dentist can prescribe a steroid paste that you apply directly to the sore two to four times a day. This both protects the ulcer and actively reduces inflammation. For more extensive outbreaks affecting multiple areas, a prescription steroid rinse that you swish and spit can cover more territory than a paste.
Pain After a Tooth Extraction
Post-extraction soreness is normal and typically managed with the ibuprofen-acetaminophen combination described above. The more serious concern is dry socket, which develops when the blood clot in the extraction site dissolves or dislodges, exposing the bone underneath. This usually shows up two to four days after the procedure as a sudden, intense, throbbing pain that may radiate to your ear.
Dry socket requires a visit back to your dentist. Treatment involves flushing the socket to clear out any food debris, then packing it with a medicated dressing that provides relatively quick pain relief. You may need a prescription pain reliever for the first few days. After the dressing is removed, you’ll likely be given a curved-tip syringe to gently rinse the socket at home with warm salt water or a prescription rinse as it finishes healing.
When Mouth Pain Is Nerve-Related
Not all mouth pain comes from teeth, gums, or sores. Trigeminal neuralgia causes sudden, electric-shock-like jolts of pain in the face and mouth, often triggered by chewing, talking, or even a light breeze. Standard pain relievers do very little for this type of pain because the problem is a misfiring nerve, not inflammation.
The primary treatment is anti-seizure medication, which calms the overactive nerve signals. These are prescription-only and require monitoring for side effects like dizziness, drowsiness, and nausea. If you’re experiencing sharp, shooting pain in your mouth that doesn’t match up with any visible dental problem, this is a possibility worth raising with your doctor.
Signs You Need Urgent Care
Most mouth pain is manageable at home, at least temporarily. But certain symptoms mean the problem is escalating beyond what over-the-counter remedies can handle. Swelling in the face or jaw, especially if it’s getting worse, can signal an abscess or spreading infection. Fever, swollen lymph nodes, or earaches alongside mouth pain point in the same direction.
If pain prevents you from sleeping, eating, or functioning normally, that’s reason enough to seek urgent dental care. And if facial swelling ever reaches the point where it makes it hard to breathe or swallow, that’s a hospital emergency, not a dental office visit.

