Are Canker Sores Viral? What Actually Causes Them

Canker sores are not viral. They are not caused by any virus, bacteria, or other infectious agent, and they are not contagious. This is one of the most common points of confusion in oral health, largely because canker sores are frequently mixed up with cold sores, which are caused by the herpes simplex virus (HSV-1). The two conditions look different, behave differently, and have completely different origins.

Why People Confuse Canker Sores With Cold Sores

Cold sores (also called fever blisters) are caused by HSV-1 and appear as clusters of fluid-filled blisters, almost always on the outside of the lips or around the mouth. They’re highly contagious and spread through direct contact. Canker sores, by contrast, form inside the mouth as round, whitish ulcers on the inner cheeks, lips, gums, tongue, or roof of the mouth. They never appear on the outer lip, and you cannot pass them to another person.

Adding to the confusion, one type of canker sore is actually called “herpetiform,” because the pattern of many tiny, pinhead-sized ulcers can visually resemble a herpes outbreak. Despite the name, herpetiform canker sores have no connection to the herpes virus whatsoever.

What Actually Causes Canker Sores

The honest answer is that no one has identified a single definitive cause. What researchers do know is that canker sores involve an overreaction of the immune system. The process is driven primarily by T-cells, a type of white blood cell, which flood the area and trigger inflammation. This immune response also produces elevated levels of a signaling molecule called TNF-alpha, which amplifies tissue damage and creates the painful open ulcer. Studies have also found a threefold increase in mast cells (another immune cell involved in inflammation) in canker sore tissue compared to other types of mouth ulcers.

So rather than an outside invader like a virus, canker sores are your own immune system attacking the soft tissue lining of your mouth. The question researchers are still working to answer is what sets off that immune response in the first place.

Known Triggers

While the root cause remains unclear, several factors reliably trigger outbreaks in people who are prone to them:

  • Mouth injuries: Biting your cheek, aggressive brushing, dental work, or even sharp-edged foods like chips can trigger an ulcer at the site of the damage.
  • Toothpaste containing SLS: Sodium lauryl sulfate, the foaming agent in most toothpastes, is a well-studied trigger. A meta-analysis of randomized controlled trials found that people who switched to SLS-free toothpaste experienced fewer ulcers, shorter healing times, fewer recurring episodes, and less pain.
  • Nutritional deficiencies: Low blood levels of iron, vitamin B12, vitamin B9 (folate), and vitamin D have all been linked to recurrent canker sores. Some of these deficiencies can also lead to anemia, which compounds the problem.
  • Stress and hormonal changes: Many people notice outbreaks during periods of emotional stress or around their menstrual cycle.
  • Certain foods: Acidic or spicy foods, including citrus fruits, tomatoes, and chocolate, are common triggers for some people.

Canker sores are remarkably common. Prevalence estimates range from 5% to 66% of the population depending on the group studied, and they tend to be most frequent in young adults.

The Three Types and How They Heal

Most canker sores are the minor type: just a few millimeters wide, slightly sunken with reddish raised edges. Pain typically peaks in the first few days and fades, with the sore disappearing completely in about a week. These are the ones most people experience.

Major canker sores are significantly larger, ranging from one to three centimeters. They hurt more, last up to four weeks, and often leave a scar on the inner mouth tissue. Herpetiform canker sores appear as clusters of many tiny ulcers that can merge into larger, irregular sores, also potentially causing scarring. Both of these types are less common than minor canker sores.

When Canker Sores Signal Something Else

Occasional canker sores are normal and not a sign of any underlying problem. Frequent or severe outbreaks, however, can sometimes be associated with systemic conditions like celiac disease, inflammatory bowel disease (Crohn’s or ulcerative colitis), or immune disorders like Behçet’s disease. If you’re getting large or persistent sores regularly, especially alongside other symptoms like digestive problems, joint pain, or unexplained fatigue, it’s worth mentioning to your doctor. A simple blood test can also check for the nutritional deficiencies most commonly linked to recurrent ulcers.

Managing the Pain and Speeding Healing

Since canker sores aren’t caused by an infection, antiviral medications won’t help. Treatment focuses on reducing pain and creating conditions for faster healing.

A salt water rinse is one of the simplest and most effective home options. Salt acts as a natural disinfectant and helps reduce the swelling around the ulcer. A baking soda rinse (one teaspoon dissolved in half a cup of warm water) works similarly by neutralizing acids in the mouth that can irritate the sore. Over-the-counter numbing gels containing benzocaine can temporarily dull the pain, especially before eating.

For more severe or frequent sores, prescription steroid pastes can be applied directly to the ulcer. These work by calming the overactive immune response at the site. The paste is pressed onto the sore with a cotton swab to form a thin protective film, rather than rubbed in. It’s typically applied after meals and before bed.

Switching to an SLS-free toothpaste is one of the easiest long-term changes you can make if you get canker sores regularly. Several brands are widely available, and the research supporting this switch is strong enough that many dental professionals recommend it as a first step for people with recurring outbreaks.