Save big on your prescriptions
with the free SingleCare app.
4.8 average rating

Canker Sore Treatments and Medications

Medically reviewed by Karen BergerPharm.D.
Licensed Pharmacist
Updated Jun 8, 2026
Fact Checked

Key takeaways

  • The most common treatments for canker sores include topical anesthetics and mouthwashes.

  • Over-the-counter medicines for canker sores include topical anesthetics and OTC pain relievers. 

  • Home remedies for canker sores may include avoiding irritating foods, eating a healthy diet, and practicing good dental hygiene.

Canker sores (also known as aphthous ulcers or aphthous stomatitis) are small ulcers that develop on the inside of the cheeks, on the inside of the lips, on the tongue, or on the gums. They tend to be white or yellow and are often surrounded by bright red skin. Canker sores shouldn’t be confused with cold sores, which are sometimes called fever blisters. Cold sores appear on the outside of the mouth and are caused by the herpes simplex virus (HSV). Even though there’s no cure for canker sores, the pain that comes along with them can be self-treated. Minor canker sores will go away on their own within one or two weeks, but severe cases may need medical attention. If you think you have a canker sore, consult a healthcare provider for an evaluation and medical advice.   

How are canker sores diagnosed? 

Canker sores might be self-diagnosable for people who’ve had them before, but some people may need to visit a healthcare provider in order to get a proper diagnosis. Typically, mouth ulcers will appear on the gums, tongue, or inside of the lips and cheeks. They’ll be white, yellow, or gray in color and be surrounded by reddish skin.   

Although the exact cause of canker sores is unknown, many researchers believe they’re caused by one or more of the following:

  • Hormonal changes

  • Vitamin deficiencies  

  • Stress

  • Weakened immune system 

  • Food sensitivities or allergies 

  • Mouth injuries from dental work

  • Biting the tongue or cheek

  • Aggressive toothbrushing

Canker sores are very common, and women are more likely to experience them than men. A primary care physician or dentist will be able to diagnose and treat canker sores. If you go to a healthcare provider or dentist for your canker sore, here are some questions you might get asked:

  • Are you experiencing any pain, difficulty chewing, or difficulty talking?

  • Have you recently experienced any stressful life experiences? 

  • Do you have a family history of canker sores?

  • Are you taking any medications? 

Canker sore treatment options

Once you’ve self-diagnosed your canker sore or been told by a healthcare provider that you have one, the next step is proper treatment. Because there’s no cure for canker sores, treatment options typically focus on pain relief.   

Here are some of the most common treatment options for canker sores:

  • Mouthwashes/rinses

  • Topical anesthetic creams, pastes, or gels 

  • Lozenges

  • Over-the-counter (OTC) pain medications 

  • Corticosteroids 

To help keep canker sores from coming back, here are some things you can talk to your healthcare provider about, including:  

  • Reducing stress 

  • Eating a healthy diet with fresh fruits and vegetables 

  • Avoiding rough, spicy, and acidic foods 

  • Getting enough nutrients   

Types of canker sore medication

There are several different types of medications that can be used to treat canker sores. The type of medication you’ll need will depend on your individual symptoms and medical history. 

Topical anesthetics 

Anesthetics are medications that can help relieve symptoms that come from having a canker sore, like pain and difficulty chewing. They work by numbing the painful area. Two of the most popular anesthetics for canker sores include Cepacol and benzocaine. It’s possible for anesthetics to cause allergic reactions and other side effects like itching or hives.  

Mouth rinses

Healthcare providers may recommend prescription mouth rinses, such as chlorhexidine, which may reduce canker sore recurrence, or magic mouthwash to relieve discomfort. 

Steroids 

Steroid medications are sometimes used to treat canker sores if they’re becoming worse and not going away. Some healthcare providers will prescribe mouth rinses with steroids in them, or they’ll prescribe oral steroid medications like Decadron (dexamethasone) or prednisone. Steroids help reduce swelling and pain, but they can also cause side effects like stomach pain, vomiting, and allergic reactions.   

Over-the-counter canker sore medicine

Canker sores can be painful and even make it difficult to chew properly. Over-the-counter pain medications like Advil, Aleve, or Tylenol can help treat pain that comes with canker sores. You shouldn’t take medications like ibuprofen or naproxen if you’re allergic to nonsteroidal anti-inflammatory drugs (NSAIDs). Topical anesthetic products can also be found over the counter. 

There’s no one universal canker sore medication that will work best for everyone. Individual symptoms and responses to treatment vary. A healthcare provider can determine the best medication for canker sores based on an individual’s symptoms, medical history, and response to treatments. 

Save big on your prescriptions
with the free SingleCare app.
4.8 average rating

Best medication for canker sores

Drug nameSee SingleCare price
Peridex
Get free coupon
Chlorhexidine Diacetate
Get free coupon
Tylenol
Get free coupon
Motrin IB Ibuprofen
Get free coupon
Advil
Get free coupon
Ibuprofen
Get free coupon
Aleve
Get free coupon
Decadron
Get free coupon
Abreva
Get free coupon
Dexamethasone
Get free coupon
Prednisone
Get free coupon

This is not an exhaustive list of canker sore medications. Always ask your healthcare provider for the best treatment for canker sores based on your health condition and medical history.

Common side effects of canker sore medicine

Topical canker sore medicines, such as rinses and anesthetics, may cause local side effects such as burning or stinging. Tylenol (acetaminophen) may cause nausea and stomach discomfort. NSAIDs like ibuprofen or naproxen may cause stomach upset and dizziness. If you experience symptoms of an allergic reaction, such as hives, trouble breathing, or swelling, get emergency medical help right away.          

This list of side effects is not comprehensive. The best way to learn more about side effects that could happen from taking canker sore medications is to talk with your healthcare provider. 

Home remedies for canker sores

Many people rely on home remedies and lifestyle changes to help treat their canker sores. Here are some popular home remedies for canker sores:  

Avoiding certain foods  

Eating rough, spicy, and acidic foods while you have a canker sore can make it worse. Rough foods like nuts, spicy foods, and acidic foods like orange juice can irritate canker sores and cause them to become more painful. 

Getting enough nutrients

One of the things that can cause canker sores is a weakened immune system. Making sure you’re getting enough vitamin B12, folic acid, and iron can help reduce the risk of canker sores. Eating a healthy diet with lots of fresh fruits and vegetables can also help strengthen your immune system.  

Swabbing with hydrogen peroxide 

Apply a mixture of equal parts hydrogen peroxide and water to your canker sore with a cotton swab, then dab on a small amount of Milk of Magnesia. Repeat up to four times daily. 

Practicing good dental hygiene

Experts recommend brushing twice daily, flossing once a day, and keeping up with regular dental appointments. 

Expert takeaway 

"It can be difficult to self-diagnose a canker sore, especially the first time. Consult your healthcare provider or dentist for evaluation and medical advice," says Karen Berger, Pharm.D., member of the SingleCare Medical Review Board. 

FAQs about canker sores

How long do canker sores last?

Most canker sores will go away on their own within two or three weeks, but more serious ones can last longer. The amount of time it takes your canker sore to go away will depend on your general health and what types of medications you’re treating it with.  

What causes canker sores? Can stress cause canker sores?

Although the exact cause of canker sores is unknown, there are multiple things that can trigger them. Certain medical conditions that suppress the immune system can increase the risk of canker sores. Other triggers may include stress, vitamin deficiency, hormonal changes, and food sensitivities. 

Is it good to put salt on canker sores?

Rinsing or gargling with salt water can help canker sores feel less painful. Salt should be dissolved in water before it’s applied to a canker sore. 

Can you use valacyclovir for canker sores?

Valtrex (valacyclovir) is commonly prescribed for cold sores, which are caused by the herpes simplex virus. Valacyclovir is not used for canker sores. 

Sources

Medically reviewed by Karen BergerPharm.D.
Licensed Pharmacist

After receiving her doctorate from the University of Pittsburgh School of Pharmacy, Karen Berger, Pharm.D., has worked in both chain and independent community pharmacies. She currently works at an independent pharmacy in New Jersey. Dr. Berger enjoys helping patients understand medical conditions and medications—both in person as a pharmacist, and online as a medical writer and reviewer.

... 

Subscribe to our savings newsletter

Health education, drug info, wellness & more

By clicking 'Subscribe', I agree to SingleCare's Terms & Conditions.