Canker sores arise from a collision of factors rather than any single cause, which is why they frustrate people who just want a clear explanation. Genetics, nutritional shortfalls, stress, mechanical injury to the mouth’s lining, and even the ingredients in your toothpaste all play documented roles. These small, painful ulcers affect roughly one in ten people in a given year, tend to peak in young adulthood, and gradually become less frequent with age.
Canker Sores Are Not Cold Sores
The single most common misconception is that canker sores are a form of herpes. They are not. Cold sores (fever blisters) appear on the outside of the lips and are caused by herpes simplex virus. Canker sores form inside the mouth on soft tissue and have no viral cause. Researchers tested specimens from over a hundred canker sore lesions in cell cultures designed to detect herpes simplex and other viruses and found zero viral activity, while lesions from cold sore patients reliably produced herpes simplex virus.1Archives of Oral Biology. Recurrent “fever blister” and “canker sore” tests for herpes simplex and other viruses with mammalian cell cultures This distinction matters because canker sores are not contagious. You cannot pass them to someone by sharing a drink or kissing, and antiviral medication will do nothing for them.
Genetics Set the Stage
If your parents got canker sores regularly, your odds of getting them go up. The genetic component is strong enough that researchers have tracked it through family clusters and specific gene variations. People who inherit certain versions of genes that regulate inflammatory signaling in the immune system appear more prone to developing these ulcers.2PubMed Central. Recurrent aphthous stomatitis: genetic aspects of etiology The condition also typically first shows up in childhood or adolescence, which fits a genetic predisposition that gets activated early and then modulated by environmental triggers throughout life.3PubMed. Oral mucosal disease: recurrent aphthous stomatitis
This genetic foundation is why some people can eat all the acidic food they want, sleep poorly, and never see a single ulcer, while others seem to develop one at the slightest provocation. You cannot change the genetic hand you were dealt, but understanding that you carry a higher baseline risk makes it easier to focus on the modifiable triggers that push you over the threshold.
Nutritional Gaps That Raise Your Risk
Two nutrients stand out in the research on canker sores: vitamin B12 and folate. A study comparing the diets of people with recurrent canker sores against national dietary survey data found that the canker sore group consumed meaningfully less of both. Their average daily B12 intake was lower by about 7% of the recommended daily amount, and their folate intake was lower by about 20% of the recommended amount.4PubMed Central. Reduced dietary intake of vitamin B12 and folate in patients with recurrent aphthous stomatitis Iron deficiency is also frequently mentioned in clinical discussions of canker sores, particularly when patients show signs of anemia alongside their oral ulcers.
The practical takeaway is straightforward: if you get canker sores often, it is worth looking at whether your diet is low in leafy greens, legumes, fortified grains (good folate sources), or animal products and fortified foods (good B12 sources). This is especially relevant for vegetarians and vegans, who may fall short on B12 without supplementation. Correcting a genuine deficiency does not guarantee your canker sores will stop, but the research suggests it can reduce how often they appear and how long they last.4PubMed Central. Reduced dietary intake of vitamin B12 and folate in patients with recurrent aphthous stomatitis
Stress and Anxiety
Ask anyone who gets canker sores regularly and they will usually tell you stress is a trigger. The scientific picture here is real but somewhat messy. One study found that people with recurrent canker sores had significantly higher salivary cortisol (the body’s main stress hormone) and higher anxiety scores compared to a control group, with a strong statistical link between the two.5PubMed Central. Relationship of salivary cortisol and anxiety in recurrent aphthous stomatitis But a separate pilot study from a different population measured salivary cortisol in canker sore patients during active flare-ups and did not find significantly higher levels compared to healthy controls.6PubMed Central. Salivary cortisol determination in patients from the Basque Country with recurrent aphthous stomatitis. A pilot study
The inconsistency probably reflects the difficulty of measuring stress biologically. Cortisol fluctuates throughout the day, and a single measurement during an active ulcer may or may not capture the stress that triggered the episode days earlier. The patient-reported association between stressful periods and canker sore outbreaks remains consistent enough across studies and clinical experience that most specialists consider psychological stress a legitimate contributing trigger, even if the hormonal mechanism is not neatly pinned down. Exam periods, job changes, family conflicts: these are the kinds of events that people commonly report preceding an outbreak.
Hormonal Changes
Some women notice their canker sores appear on a monthly cycle, typically in the days just before menstruation. The hormonal shifts during the luteal phase of the menstrual cycle are thought to make the oral mucosa more vulnerable. Clinical case reports document patients whose canker sores recur with this pattern, appearing reliably before each period.7Journal Health of Indonesian. Management of Recurrent Aphthous Stomatitis (RAS) Cases Through a Communication, Information, and Education Approach If you notice this timing pattern, it is worth mentioning to your doctor or dentist, because recognizing the hormonal link can help with planning preventive measures during the higher-risk window.
Physical and Chemical Triggers in Your Mouth
Biting the inside of your cheek, getting poked by a sharp chip, or having braces scrape against your gums can all set off a canker sore in someone who is prone to them. Local trauma is one of the most commonly reported triggers, and it underscores how canker sores are not purely a systemic problem. The lining of the mouth is delicate, and in people with the right genetic and immunological background, even minor damage can spiral into a full ulcer rather than healing quietly.8PubMed Central. Oral Aphthous: Pathophysiology, Clinical Aspects and Medical Treatment
Then there is sodium lauryl sulfate (SLS), the foaming agent found in most commercial toothpastes. A systematic review pooling data from multiple trials found that switching to an SLS-free toothpaste significantly reduced the number of canker sores, the duration of each episode, and the level of pain.9PubMed. Effect of sodium lauryl sulfate on recurrent aphthous stomatitis: A systematic review SLS is a detergent that strips the protective mucus layer from the inside of your mouth, potentially leaving the tissue more exposed to irritation and immune overreaction. If you get canker sores frequently, switching toothpaste is one of the cheapest and simplest interventions you can try. SLS-free toothpastes are widely available, and the switch carries no downside for dental health.
Dietary Irritants
Acidic foods are a well-known trigger for many canker sore sufferers. Citrus fruits, tomatoes, vinegar-heavy dressings, and carbonated drinks come up repeatedly in patient reports. Research going back decades has documented that some people develop canker sores after ingesting foods and beverages containing citric acid, with direct application of citric acid crystals to the oral mucosa reliably reproducing ulcers in susceptible individuals but not in controls.10Journal of Allergy. Canker sores from allergy to weak organic acids (citric and acetic): Case report and clinical study Acetic acid (the acid in vinegar) triggered similar reactions in some patients.
This does not mean everyone who gets canker sores needs to avoid orange juice forever. It means that if you have noticed a pattern between certain acidic foods and outbreaks, the connection is likely real for you, and selectively reducing those foods during vulnerable periods can help. Some people find that rinsing their mouth with water immediately after eating acidic foods makes a difference, though this has not been formally studied.
The Oral Microbiome Connection
The community of bacteria living in your mouth plays a role in maintaining the integrity of the oral mucosa. When that community falls out of balance, the mucosal barrier can weaken, making ulcers more likely to develop and persist.11PubMed Central. Oral microbiota dysbiosis accelerates the development and onset of mucositis and oral ulcers This is still an emerging area of research, and no one is prescribing a specific probiotic for canker sore prevention yet. But it adds another layer to why factors like diet quality, antibiotic use, and overall health habits may influence who gets canker sores and how often.
Why Quitting Smoking Can Temporarily Cause Canker Sores
Here is a strange twist that catches many people off guard: quitting smoking often triggers a wave of canker sores. One study found that roughly 40% of people who stopped smoking developed mouth ulcers, mostly within the first two weeks. The problem was mild for most, though about 8% reported severe ulceration. In about 60% of those affected, the ulcers resolved within four weeks.12PubMed. The relationship between smoking cessation and mouth ulcers A separate study tracking ulcer rates over time after quitting found that the point prevalence of canker sores jumped from about 3% on the first day to roughly 19-21% in the first few weeks, then gradually declined.13PubMed. The recurrent aphthous stomatitis frequency in the smoking cessation people
The likely explanation is that nicotine has immunosuppressive effects on the oral mucosa. Smoking actually dampens certain local immune responses in the mouth, which paradoxically protects against canker sores. When you quit, the immune system ramps back up, and in people genetically prone to these ulcers, the reactivated immune response can produce a flurry of them. This is absolutely not a reason to keep smoking. The ulcers are temporary, and patients should be reassured that the sores are a side effect of quitting, not of any cessation medication they may be using.12PubMed. The relationship between smoking cessation and mouth ulcers
When Canker Sores Signal Something More Serious
Most canker sores are garden-variety nuisances that heal on their own in one to two weeks. But frequent, severe, or unusually large ulcers can sometimes be a sign of an underlying condition. Behçet’s disease, a chronic inflammatory disorder, features recurrent oral ulcers as one of its hallmark symptoms. Celiac disease and inflammatory bowel diseases like Crohn’s disease are also associated with recurrent oral ulcers. One large prevalence study in Turkey, where Behçet’s disease rates are among the highest in the world, found that the annual prevalence of recurrent canker sores in their surveyed population was about 11%, with rates higher in women and peaking in the third decade of life before declining in later decades.14PubMed Central. Investigation of Behçet’s Disease and Recurrent Aphthous Stomatitis Frequency: The Highest Prevalence in Turkey
If you are dealing with canker sores that are unusually large (over a centimeter), that take more than three weeks to heal, that come with fever or other systemic symptoms, or that appear alongside genital ulcers or eye inflammation, a medical workup is warranted. These can be screened for with blood tests and, if needed, referral to a specialist. For the vast majority of people, though, canker sores remain a frustrating but medically benign condition.
Treatment Options That Work
No treatment cures canker sores permanently. The goal is always to shorten healing time, reduce pain, and ideally decrease how often they come back. Topical corticosteroid preparations, applied directly to the ulcer, remain the most studied treatment. A systematic review of trials found that topical corticosteroids consistently shortened healing time and reduced pain compared to placebo, though results on preventing recurrence were not conclusive.15Acta Otorrinolaringologica (English Edition). Topical Corticosteroids in Recurrent Aphthous Stomatitis. Systematic Review These are available in various forms: prescription pastes, mouthwashes, and gels. Over-the-counter options with lower-strength steroids exist in some countries.
Hyaluronic acid products are a newer option. A study comparing a hyaluronic acid mouth rinse and a gel formulation found that both produced significant reductions in lesion size and pain. After seven days, lesions had shrunk by roughly 77-81% on average, with complete closure in over half of cases. The gel form showed faster early improvement, with about 72% of lesions improving in size within three days compared to 40% with the rinse.16PubMed Central. Treatment of recurrent aphthous stomatitis (RAS; aphthae; canker sores) with a barrier forming mouth rinse or topical gel formulation containing hyaluronic acid: a retrospective clinical study Hyaluronic acid works by forming a protective barrier over the ulcer, shielding it from further irritation while promoting tissue repair.
For pain management while waiting for an ulcer to heal, simple salt-water rinses and over-the-counter topical numbing agents containing benzocaine can help bridge the gap. Avoiding spicy and acidic foods during an active outbreak is standard advice, and using a soft-bristled toothbrush reduces mechanical irritation.
Low-Level Laser Therapy
One of the more interesting developments in canker sore treatment is low-level laser therapy. A systematic review and meta-analysis covering 14 trials and over 660 patients found that laser therapy reduced both pain scores and healing time.17PubMed Central. Effectiveness of low-level laser therapy in reducing pain score and healing time of recurrent aphthous stomatitis: a systematic review and meta-analysis In one sham-controlled trial, ulcers in the laser-treated group healed in about 3 days on average, compared to roughly 9 days in the control group, and almost all patients experienced complete pain relief immediately after the laser application.18PubMed Central. Efficacy of Low-Level Laser Therapy in Treatment of Recurrent Aphthous Ulcers – A Sham Controlled, Split Mouth Follow Up Study
The catch is access. Low-level laser therapy requires a dental or medical office visit and specialized equipment, so it is not something you can do at home. It also tends to be more available at university dental clinics and specialty practices than at a typical general dentist’s office. For people with severe, frequent outbreaks that significantly affect their quality of life, it may be worth seeking out. But for occasional, mild canker sores, simpler approaches are more practical.
A Practical Prevention Checklist
Because canker sores arise from multiple overlapping triggers, prevention works best as a layered strategy rather than a single fix. The interventions with the strongest evidence behind them include:
- Switch toothpaste: Use an SLS-free toothpaste. This is the single easiest change with consistent evidence supporting it.
- Check your diet: Make sure you are getting enough B12, folate, and iron. If you eat a restricted diet, consider targeted supplementation after discussing it with your doctor.
- Reduce oral trauma: If braces, a rough tooth edge, or a dental appliance is repeatedly injuring your mouth, have it adjusted. Use dental wax on braces during flare-prone periods.
- Identify your food triggers: Keep a rough mental note of whether outbreaks follow specific acidic or spicy foods, and limit those during high-risk times.
- Manage stress: Easier said than done, but if you notice a clear link between stressful periods and outbreaks, any stress-reduction strategy that works for you may have a secondary benefit for your mouth.
None of these measures guarantee you will never get another canker sore, particularly if you carry a strong genetic predisposition. But stacking several of them together tends to reduce the frequency and severity over time. If you have recently quit smoking and are experiencing a new crop of ulcers, the reassuring news is that this is a recognized, temporary phenomenon that typically resolves within weeks as your body adjusts.