Aphthous stomatitis, commonly known as canker sores, has no single identifiable cause. Instead, these painful mouth ulcers arise from a collision of factors: immune dysregulation, genetic susceptibility, nutritional gaps, psychological stress, physical trauma to the mouth’s lining, and various environmental triggers. Researchers have spent decades trying to pin down one root cause and have consistently found that the condition is stubbornly multifactorial, which is part of why it remains so common and so difficult to prevent entirely.
How Common They Are and Who Gets Them
Canker sores are one of the most frequent oral complaints worldwide. Prevalence estimates vary depending on the population studied, but the numbers are consistently high. One study of over 3,200 patients at an Indian dental clinic found that about one in five had recurrent aphthous ulcers at the time of examination, with people in their twenties and thirties most commonly affected.1PubMed Central. Prevalence of recurrent aphthous ulceration in the Indian Population A separate survey of college students found nearly half reported at least one episode in the prior six months, with the inner lips and inner cheeks as the most common locations.2PubMed Central. Prevalence and risk factors of recurrent aphthous stomatitis among college students at Mangalore, India Women are affected more often than men across most studies, though the reasons for this remain debated.
An Immune System That Overreacts
At its core, an aphthous ulcer is an immune-mediated event. Something triggers the immune system to attack healthy oral mucosa, creating a localized inflammatory wound. The question researchers keep circling back to is what sets off that attack in the first place.
Biopsy studies of active canker sores reveal a telltale pattern: the ulcerated tissue contains sharply elevated levels of inflammatory signaling molecules, particularly tumor necrosis factor alpha (TNF-α) and interferon gamma (IFN-γ). A study comparing ulcerated tissue from canker-sore patients with healthy oral tissue from controls found significantly higher levels of these inflammatory markers in the lesions.3JAMA Dermatology. Elevated Levels of Interferon Gamma, Tumor Necrosis Factor α, Interleukins 2, 4, and 5, but Not Interleukin 10, Are Present in Recurrent Aphthous Stomatitis These same molecules show up repeatedly in the research on sleep deprivation and stress-related flare-ups, which helps explain why so many seemingly unrelated triggers all funnel toward the same outcome: the immune system floods a patch of oral tissue with inflammatory signals, and an ulcer forms.
This does not mean canker sores are an autoimmune disease in the traditional sense. They are better understood as an exaggerated inflammatory response to triggers that healthy mucosa would normally shrug off. Something lowers the threshold, and the immune system goes too far.
Genetics Set the Stage
If your parents got canker sores regularly, your odds go up. Family studies consistently show higher rates of recurrent aphthous stomatitis among relatives, and research into the genetic basis has pointed toward inherited variations in genes that control the inflammatory response. Certain gene polymorphisms affecting the production of the same pro-inflammatory cytokines found in active ulcers appear to run in families prone to the condition.4PubMed Central. Recurrent aphthous stomatitis: genetic aspects of etiology In other words, genetics do not directly cause canker sores; they calibrate how aggressively your immune system responds to the triggers that do. Some people inherit a hair-trigger inflammatory response in their oral mucosa, while others can endure the same provocations without forming ulcers.
Stress, Anxiety, and the Cortisol Connection
Ask anyone who gets recurring canker sores what triggers them, and stress will top the list. The research backs this up. In one large clinical study, stress was identified as the most common associated factor, reported by more than half of patients with recurrent ulcers.5PubMed Central. Prevalence of recurrent aphthous ulceration in the Indian Population
The link appears to work through the body’s stress-hormone system. Stressful periods raise cortisol levels temporarily, and cortisol modulates immune activity. Research on patients with recurrent canker sores found that those with higher anxiety and anger levels reported significantly more recent stress than healthy controls, and that the anger-anxiety profile mediated the relationship between stress and ulcer formation.6PubMed. Recurrent aphthous stomatitis: stress, trait anger and anxiety of patients A separate study found that higher anxiety was linked to recurrent ulcer episodes, possibly through transient spikes in salivary cortisol and increased immune-cell activity at mucosal sites.7PubMed Central. Psychometric analysis of stress, anxiety and depression in patients with recurrent aphthous Stomatitis-A cross-sectional survey based study
This is worth knowing because it makes the condition feel somewhat circular for sufferers: the pain and disruption of canker sores can itself be stressful, potentially setting up the next episode. Managing stress will not guarantee prevention, but it’s one of the few modifiable risk factors people can actually work on.
Nutritional Deficiencies
Vitamin B12, folate, and iron are the nutrients most consistently linked to recurrent canker sores. A controlled study comparing the daily dietary intake of people with recurrent aphthous stomatitis to a general population dataset found that those with the condition consumed significantly less vitamin B12 and folate.8PubMed Central. Reduced dietary intake of vitamin B12 and folate in patients with recurrent aphthous stomatitis And in the large clinical prevalence study mentioned earlier, nutritional deficiency ranked as the second most common factor associated with recurrent ulcers, reported in about a quarter of patients.9PubMed Central. Prevalence of recurrent aphthous ulceration in the Indian Population
That said, the relationship between B12 and canker sores is more tangled than it first appears. A review of the evidence noted that while B12 plays a role in maintaining healthy oral mucosa, there is conflicting evidence that B12 deficiency directly causes the ulcers.10PubMed. Role of vitamin B12 in treating recurrent aphthous stomatitis: A review It seems likely that nutrient shortfalls lower the mucosal barrier’s resilience rather than triggering ulcers on their own. If you are already genetically predisposed and running low on B12 or folate, your oral tissue may simply be less equipped to handle other provocations. Correcting deficiencies can help reduce episodes for some people, but it is not a universal fix.
Physical Trauma and Chemical Irritants
Biting the inside of your cheek, getting jabbed by a sharp tortilla chip, or having a rough orthodontic bracket scrape against your gums can all kick off a canker sore in someone who is susceptible. Local trauma to the mouth’s lining is one of the most recognized triggering factors.11PubMed Central. Management of oral aphthous ulcer: A review The injury breaks through the thin mucosal barrier, and in a person with an overactive inflammatory response, the wound can escalate into a full aphthous ulcer rather than healing cleanly.
Chemical irritation works along similar lines. Sodium lauryl sulfate (SLS), a foaming agent in most commercial toothpastes, has received particular scrutiny. A systematic review of clinical trials found that switching to an SLS-free toothpaste significantly reduced the number of ulcers, the duration of each episode, the number of episodes overall, and the pain reported by patients with recurrent canker sores.12PubMed. Effect of sodium lauryl sulfate on recurrent aphthous stomatitis: A systematic review SLS is a detergent that strips protective mucins from the oral surface, and for susceptible people, this constant low-level chemical assault appears to be enough to provoke an immune response. Switching toothpaste is one of the simplest interventions available, and it is one of the few with solid trial data behind it.
Food Sensitivities
Certain foods seem to trigger canker sores in some people, though the mechanism is not a classic food allergy in most cases. Citrus fruits, tomatoes, chocolate, nuts, and spicy foods are all commonly reported triggers. An early clinical study documented a patient whose recurrent canker sores reliably followed ingestion of foods and drinks containing citric acid; direct application of citric acid crystals to the oral mucosa reproduced the ulcer in the patient but not in healthy controls, and avoidance of the trigger brought substantial relief.13Journal of Allergy. Canker sores from allergy to weak organic acids (citric and acetic): Case report and clinical study
For most people, the issue is probably direct irritation of already-vulnerable mucosa rather than a true immune-mediated allergy. Acidic foods lower the local pH on the oral surface, weakening the mucosal barrier, and in someone whose immune system is primed to overreact, this can be enough. If you notice a pattern between specific foods and outbreaks, keeping a food diary for a few weeks is one of the more practical things you can do. The trigger foods vary widely from person to person, so there is no universal list to avoid.
The Oral Microbiome
The trillions of bacteria living in your mouth form a complex community, and shifts in that community appear to play a role in canker sore development. Research has shown that oral microbiota imbalances can damage the mucosal epithelial barrier and accelerate the development of oral ulcers.14PubMed Central. Oral microbiota dysbiosis accelerates the development and onset of mucositis and oral ulcers A study that analyzed the bacterial profiles on the cheek lining of canker-sore patients compared to healthy controls found measurable differences, with certain bacterial peaks more prevalent in patients and others less common. The differences were most pronounced in patients who had active lesions at the time of sampling, leaving an open question: does the microbial shift trigger the ulcer, or does the ulcer change the microbial environment?15PubMed Central. The oral microbiota of patients with recurrent aphthous stomatitis
This is an area where the science is still catching up to the clinical observation. Most researchers suspect the relationship runs in both directions: a disturbed microbiome may weaken mucosal defenses, making ulcers more likely, while the ulcer itself then further disrupts the local bacterial community. It is a feedback loop, and breaking into it therapeutically is harder than it sounds.
Sleep Deprivation
Poor sleep is an underappreciated contributor. Animal studies have shown that sleep deprivation worsens existing oral ulcers and delays healing, with measurable increases in inflammatory markers like TNF-α and interleukin-1β in the oral mucosa tissue of sleep-deprived rats.16PubMed. Sleep deprivation worsened oral ulcers and delayed healing process in an experimental rat model The proposed mechanism links back to the same inflammatory pathway seen in the biopsy studies of human ulcers: sleep loss ramps up systemic inflammation and oxidative stress, and the oral mucosa, as one of the body’s thinner and more exposed barrier tissues, takes the hit.17PubMed Central. Identification of the causal relationship between sleep quality, insomnia, and oral ulcers
This also helps explain why canker sores often cluster during periods of general physical depletion: exam weeks, stressful work deadlines, illness recovery. The stress, the poor sleep, and the nutritional shortcuts that tend to accompany those periods all converge on the same inflammatory machinery.
Why Quitting Smoking Can Trigger Canker Sores
Here is a genuinely counterintuitive finding: smoking appears to protect against canker sores, and quitting can bring them on. A study of people going through smoking cessation found that roughly two in five developed mouth ulcers after quitting, usually within the first two weeks.18PubMed. The relationship between smoking cessation and mouth ulcers The most widely cited explanation is that nicotine promotes keratinization of the oral mucosa, thickening the surface layer and making it more resistant to ulceration. When you stop smoking, that thickening reverses, and the thinner, more vulnerable mucosa becomes susceptible to the same triggers that bother non-smokers.
This is emphatically not a reason to keep smoking. The ulcers that appear after cessation are temporary for most people and far less dangerous than the risks of continued tobacco use. But if you have recently quit and are suddenly dealing with canker sores for the first time, it is worth knowing that this is a recognized and common phenomenon, not a side effect of nicotine replacement therapy or other cessation medications.
Medications as a Trigger
Several classes of drugs are associated with aphthous-like oral ulcers. Nonsteroidal anti-inflammatory drugs (NSAIDs), certain chemotherapy agents, and immunosuppressants are the most commonly cited, but the list extends into unexpected territory. A case report documented a patient who developed persistent recurrent canker sores while taking a beta-blocker for high blood pressure; the ulcers resolved after the medication was discontinued and returned when it was restarted, establishing a clear drug-triggered pattern.19PubMed Central. Beta Blocker-induced Recurrent Aphthous Stomatitis Other reported culprits include angiotensin-converting enzyme (ACE) inhibitors and nicorandil. If you develop new or worsening canker sores after starting a medication, it is worth flagging with your prescriber.
When Canker Sores Signal Something Else
For most people, canker sores are a nuisance rather than a sign of systemic disease. But recurrent oral ulcers can occasionally be a symptom of something broader. Behçet’s disease, a multi-system vasculitis, lists recurrent oral ulcers as one of its defining diagnostic criteria. Crohn’s disease and celiac disease both carry oral ulcers as a recognized extra-intestinal manifestation. Cyclical neutropenia, a rare blood disorder, can also present with recurring mouth ulcers during periods when white blood cell counts dip.20Oxford Academic (Clinical and Experimental Immunology). Clinical Immunology Review Series: An approach to the patient with recurrent orogenital ulceration, including Behçet’s syndrome
Red flags that should prompt a medical workup include ulcers that occur alongside genital ulcers, eye inflammation, persistent gastrointestinal symptoms, or ulcers that are unusually large, unusually slow to heal, or accompanied by fever. In the absence of those warning signs, most recurrent canker sores are idiopathic: the cumulative result of genetic susceptibility meeting everyday triggers.
The Hormonal Question
Many women report that their canker sores flare around menstruation, leading to a long-standing hypothesis that hormonal fluctuations play a role. The clinical observation is real, but the genetic evidence so far has not confirmed a straightforward hormonal mechanism. A Mendelian randomization study designed to test whether estradiol levels have a causal effect on mouth ulcers found no significant association in either men or women.21PubMed Central. Causal associations between estradiol and mouth ulcers: A Mendelian randomization study This does not necessarily mean hormones are irrelevant. It may mean that the cyclical flare-ups women experience are driven more by the stress, sleep disruption, and immune fluctuations that accompany the menstrual cycle than by estradiol itself. The question remains open.
A Missing Protective Protein
One of the more interesting recent findings involves saliva composition. A pilot proteomics study compared the salivary proteins of people with recurrent canker sores to healthy controls and found that healthy subjects had a noticeably richer protein profile overall. One protein in particular stood out: Cystatin SN, a protease inhibitor thought to help protect mucosal surfaces. In healthy subjects, Cystatin SN was consistently and robustly expressed; in the canker-sore group, it was absent or barely detectable in the vast majority of samples, with only about one in ten patients showing meaningful levels.22PubMed Central. Salivary Protein Profile in Patients with Recurrent Aphthous Stomatitis: A Pilot Proteomic Study
This is a small study and needs replication, but the finding is provocative. If certain people produce less of the proteins that normally shield the oral mucosa from enzymatic damage and microbial invasion, it could help explain why their mucosal barrier is so much easier to breach. It also opens a potential avenue for future diagnostics or even targeted therapies, though both are still far off.
Seasonal Patterns in Ulcer Flares
Some patients insist their canker sores are worse at certain times of year. This has been studied primarily in the context of Behçet’s disease, where a survey of patients found that roughly a third believed seasonal variation worsened their oral ulcers, with winter and autumn identified as the worst periods.23PubMed Central. Is there any relationship between season/weather and oral ulcer in Behçet’s disease? Whether this applies to ordinary recurrent canker sores is less clear, but it is plausible. Cold, dry air can dehydrate mucosal surfaces, and the winter months bring their own bundle of risk factors: reduced sunlight exposure (which affects vitamin D status and immune regulation), viral infections that tax the immune system, and the general stress of the holiday season. The seasonal effect, if it is real for the general population, is probably another case of multiple minor triggers stacking up rather than a single seasonal mechanism.

