Canker sores develop when your immune system attacks the cells lining the inside of your mouth, creating small, painful ulcers. About 20% of the global population gets them, and once you’ve had one, the chance of recurrence exceeds 50%. The triggers range from something as simple as biting your cheek to deeper issues like nutritional deficiencies or chronic stress. Understanding your personal triggers is the key to getting fewer of them.
What Happens Inside Your Mouth
A canker sore isn’t an infection. It’s your own immune system turning on the tissue inside your mouth. In people prone to these ulcers, a signaling molecule called TNF-alpha kicks off an inflammatory chain reaction. This leads to a specific type of immune cell targeting and destroying the surface cells of your oral lining, leaving behind a shallow, painful crater.
Most canker sores are the minor type, less than 1 cm across, and heal on their own within one to two weeks. Major canker sores are deeper and larger, sometimes taking weeks or even months to resolve. A third type, called herpetiform, shows up as clusters of tiny sores. Despite the name, these have nothing to do with the herpes virus.
Physical Trauma and Irritation
The most immediate trigger is mechanical damage to the soft tissue inside your mouth. Accidentally biting your cheek or lip, jabbing yourself with a toothbrush, or eating something with a sharp edge (like a tortilla chip) can all set one off. Dental work is another common culprit. Braces, retainers, and ill-fitting dentures create repeated friction against the inner cheeks and gums, which gives ulcers a foothold.
Canker sores almost always appear on the softer, non-keratinized surfaces: the inside of the lips, the sides of the tongue, the floor of the mouth, and the inner cheeks. They rarely form on the hard palate or gums, which have a tougher protective layer.
Stress and the Cortisol Connection
Stress is one of the most frequently reported triggers, and there’s a clear biological mechanism behind it. When you’re under psychological stress, your brain signals your adrenal glands to pump out cortisol. This stress hormone alters the balance of your immune system, changing how your T cells, B cells, and natural killer cells function. At the same time, your sympathetic nervous system ramps up activity, releasing additional stress-related enzymes in your saliva.
The combination of elevated cortisol and disrupted immune defenses appears to create the conditions for ulcers to take hold. Even a modest shift in these systems can be enough to trigger an outbreak in someone who’s already susceptible. This explains why canker sores tend to cluster around exams, deadlines, major life changes, or periods of poor sleep.
Nutritional Deficiencies
If you get canker sores frequently, a nutritional gap may be part of the problem. Vitamin B12 deficiency stands out as the strongest link. In one study comparing people with recurrent canker sores to healthy controls, over 50% of the canker sore group was deficient in B12, while none of the controls were.
Iron and folate deficiencies also show up in people with recurring ulcers, though the association is weaker than with B12. These nutrients all play roles in maintaining healthy mucous membranes and supporting normal immune function. If you’re getting canker sores regularly and can’t identify an obvious trigger, a blood test checking these levels is a reasonable step. Correcting a deficiency often reduces how frequently sores appear.
Genetics Play a Major Role
Some people get canker sores constantly while others never get a single one, and genetics is the biggest reason for the difference. If both of your parents get recurrent canker sores, your chance of getting them is roughly 90%. If neither parent is affected, your risk drops to about 20%. This strong hereditary pattern means that for many people, the tendency toward canker sores is something they’re born with, not something they’re doing wrong.
Hormonal Shifts
Some women notice canker sores appearing in the days before their period. Hormonal fluctuations during the menstrual cycle can trigger swollen gums, changes in salivary glands, and oral ulcers. These hormone-related sores typically resolve once menstruation ends. If they persist beyond your period, something else is likely contributing.
Food Sensitivities and Irritants
Certain foods provoke canker sores in susceptible people without being true allergies. The most common offenders are acidic fruits (citrus, tomatoes, strawberries), spicy foods, and rough or abrasive snacks. Sodium lauryl sulfate, a foaming agent in many toothpastes, is another well-known irritant. Switching to an SLS-free toothpaste reduces outbreaks for some people.
Chocolate, coffee, nuts, and cheese also appear on trigger lists, though these vary widely from person to person. Keeping a simple food diary when sores appear can help you identify your personal triggers over time.
When Canker Sores Signal Something Deeper
Occasional canker sores are normal. But frequent or severe outbreaks sometimes point to an underlying condition. Celiac disease has a well-documented association with recurrent mouth ulcers, and researchers have suggested that persistent canker sores should be considered a risk indicator for undiagnosed celiac disease. In people with celiac, following a gluten-free diet leads to improvement in these ulcers.
Inflammatory bowel diseases like Crohn’s disease can also produce sores that look identical to ordinary canker sores. In clinical terms, these are distinguished as “aphthous-like ulcers” because they share the same appearance but stem from a systemic condition rather than a local trigger. If you’re experiencing recurrent mouth ulcers alongside digestive symptoms like chronic diarrhea, bloating, or unexplained weight loss, these conditions are worth investigating.
Reducing Your Outbreaks
Since canker sores arise from a combination of genetic susceptibility and environmental triggers, management is about minimizing the triggers you can control. Practical steps that make a measurable difference include switching to a soft-bristled toothbrush and an SLS-free toothpaste, managing stress through whatever works for you (exercise, sleep hygiene, cutting back commitments), and ensuring adequate intake of B12, iron, and folate through diet or supplements.
If dental appliances are causing repeated irritation, orthodontic wax can create a buffer between metal and soft tissue. Avoiding your specific food triggers, once you’ve identified them, cuts down on outbreaks. For sores that do appear, over-the-counter topical treatments containing numbing agents can manage pain while the ulcer heals on its own. Just be careful not to accidentally bite anesthetized tissue while eating, which can create new damage and start the cycle again.

