Why Am I Getting Canker Sores? Causes and Triggers

Canker sores form when your immune system overreacts to a local trigger, attacking the soft tissue inside your mouth and creating a shallow, painful ulcer. The frustrating truth is that there’s rarely one single cause. Most people who get recurring canker sores have a combination of factors working together: genetics, nutritional gaps, stress, and everyday irritants like certain toothpaste ingredients or rough foods.

Your Immune System Is Overreacting

Canker sores aren’t infections. They’re the result of your own immune cells mistakenly targeting the thin lining of your mouth. Something triggers a localized inflammatory response, and the tissue breaks down into an open ulcer, typically with a white or yellowish center surrounded by a red halo. Unlike cold sores, which are caused by the herpes virus and appear on the lips or hard palate, canker sores show up on the softer, non-keratinized tissue inside your mouth: the inner cheeks, the floor of the mouth, the sides of the tongue, and the back of the throat.

This distinction matters because the two are often confused. Cold sores start as clusters of tiny blisters that rupture and crust over. Canker sores skip the blister stage entirely, appearing as a single round or oval ulcer (or sometimes a few at once). They’re not contagious, and you can’t spread them by sharing a glass or kissing someone.

Nutritional Deficiencies Are a Common Culprit

If you’re getting canker sores repeatedly, your body may be low on one or more key nutrients. The three most strongly linked to recurrent mouth ulcers are vitamin B12, folate, and iron. Low B12 (below roughly 220 pg/mL), low folate (below about 280 ng/mL), or low iron stores can all independently increase your risk. These deficiencies impair the rapid cell turnover that keeps your mouth lining healthy, leaving it more vulnerable to breakdown.

You don’t need to be severely deficient to notice the effect. Even borderline-low levels can contribute, especially if other triggers are present at the same time. A simple blood test can check all three. People who follow restrictive diets, eat very little red meat, or have absorption issues are more likely to fall short.

Stress and Anxiety Play a Real Role

The link between stress and canker sores is one of those things people notice anecdotally, and research backs it up. People with recurrent canker sores consistently show higher levels of anxiety and depression compared to people who don’t get them. Stressful life events are associated with new outbreaks, though stress doesn’t appear to affect how long each sore lasts once it forms.

Interestingly, the connection doesn’t seem to work through cortisol the way you might expect. One study measuring salivary cortisol in canker sore patients found no meaningful difference in cortisol levels between active outbreaks and healed periods. The mechanism likely involves other parts of the stress response, including changes in immune function and inflammatory signaling that make the mouth lining more reactive to everyday irritation.

Your Toothpaste Might Be Making It Worse

Sodium lauryl sulfate, the foaming agent in most toothpastes, is a well-documented trigger. It’s a detergent that can irritate and dry out the delicate tissue inside your mouth. In a clinical study, patients who switched to an SLS-free toothpaste experienced about a 70% reduction in canker sore frequency compared to their baseline. When the same patients used toothpaste containing 1.2% SLS, their outbreak rate jumped back up, with the SLS-free period showing a 60% reduction compared to the SLS period.

This is one of the easiest changes you can make. SLS-free toothpastes are widely available (brands like Sensodyne, Biotene, and Verve all make versions without it). If you’re someone who gets canker sores every few weeks, switching toothpaste is worth trying before anything else.

Physical Trauma and Food Triggers

Biting the inside of your cheek, scraping your gums with a tortilla chip, or getting poked by a sharp piece of orthodontic wire can all set off a canker sore in someone who’s prone to them. The injury itself isn’t the cause; it’s that the damaged tissue triggers the same overactive immune response. People who don’t have this predisposition can bite their cheek and heal without forming an ulcer.

Certain foods are also common triggers, though the specific ones vary from person to person. Acidic fruits like oranges, pineapple, and tomatoes are frequent offenders. So are spicy foods, chocolate, coffee, and nuts. If you notice a pattern between a specific food and an outbreak a day or two later, that’s worth paying attention to. Keeping a simple food diary for a few weeks can help identify your personal triggers.

Underlying Health Conditions

Recurring canker sores can sometimes be a sign of something deeper. Celiac disease is one of the most important to rule out, because the intestinal damage it causes leads to poor absorption of the exact nutrients (B12, folate, iron) that protect against mouth ulcers. Some people with celiac disease have no digestive symptoms at all, with mouth sores being their most noticeable complaint.

Other conditions linked to frequent canker sore-like ulcers include Crohn’s disease, Behçet syndrome (an inflammatory disorder that also causes genital ulcers and eye inflammation), HIV/AIDS, and cyclic neutropenia, a condition where white blood cell counts dip on a regular cycle. If your canker sores are unusually large, heal very slowly, or come with other symptoms like joint pain, skin rashes, or chronic diarrhea, these possibilities are worth exploring with a doctor.

Genetics and Family History

If your parents got canker sores, your chances go up significantly. The tendency to develop recurrent mouth ulcers runs strongly in families, though researchers haven’t pinpointed a single gene responsible. The hereditary component likely involves the way your immune system is calibrated, specifically how aggressively it responds to minor tissue damage or irritants inside the mouth. This genetic predisposition explains why some people can eat pineapple and use any toothpaste they want without issue, while others seem to develop sores from almost nothing.

Three Types, Different Timelines

Not all canker sores are the same, and knowing which type you’re dealing with helps set expectations for healing.

  • Minor canker sores are the most common. They’re small (typically under 1 cm), shallow, and heal on their own in about 10 to 14 days without scarring.
  • Major canker sores are larger, deeper, and more painful. They can take up to a month to heal and sometimes leave scars.
  • Herpetiform canker sores are the least common but most disruptive. They appear as clusters of tiny ulcers that can merge into larger sores, persisting anywhere from 10 to 100 days.

The vast majority of people deal with the minor type. If you’re developing sores that last longer than three weeks, grow larger than a centimeter, or leave visible scarring, that suggests major aphthous ulcers and warrants a closer look at potential systemic causes.

What Actually Helps Them Heal

Most minor canker sores heal on their own, but you can speed things up and reduce pain. Topical corticosteroid pastes applied directly to the sore can decrease pain and shorten healing time, especially when started early, ideally as soon as you feel that telltale tingling or spot of soreness before the ulcer fully forms. These pastes also create a protective barrier over the ulcer that shields it from further irritation while you eat and talk.

Over-the-counter options include protective pastes and numbing gels containing benzocaine. Rinsing with warm salt water several times a day can also help keep the area clean and reduce inflammation. Avoiding acidic, spicy, or crunchy foods while you have an active sore prevents additional irritation that can slow healing.

For people with frequent outbreaks, the more effective long-term strategy is identifying and addressing the underlying triggers: correcting nutritional deficiencies, switching to SLS-free toothpaste, managing stress, and tracking food triggers. Tackling these factors together tends to reduce outbreak frequency more than any single change alone.