Canker sores affect roughly 20% of the population, and for many people they come back again and again. The good news is that most outbreaks have identifiable triggers, and adjusting a few everyday habits can dramatically cut their frequency. Prevention comes down to five areas: what you eat, how you care for your mouth, what nutrients you may be missing, how you manage stress, and whether you’re protecting your mouth from physical irritation.
Switch to an SLS-Free Toothpaste
Sodium lauryl sulfate, the ingredient that makes toothpaste foam up, is one of the most overlooked canker sore triggers. It strips away the protective mucus layer inside your mouth, leaving the tissue more vulnerable to irritation. In a clinical trial of 90 participants, those who used SLS-free toothpaste for eight weeks reported that their canker sores didn’t last as long and caused less pain compared to periods when they used standard toothpaste. Other studies have found that people who make the switch experience fewer sores overall.
Most major toothpaste brands contain SLS, so you’ll need to check the ingredients list. Brands marketed as “natural” or “sensitive” are more likely to leave it out, but always verify on the label. This single change is often the first thing dentists recommend for people with recurring sores.
Know Your Food Triggers
Certain foods irritate the mouth lining in ways that directly invite canker sores. The main categories to watch are acidic foods, spicy foods, hard or abrasive foods, and a few surprising culprits.
- Acidic fruits: Pineapples, oranges, lemons, limes, and strawberries are common offenders. Strawberries in particular tend to cause mouth irritation even in people who tolerate other fruits.
- Spicy foods: Curries, hot sauce, jalapeƱos, and spicy chips disrupt the mouth lining with their high acidity.
- Nuts: Walnuts, peanuts, cashews, and almonds contain the amino acid L-arginine, which contributes to canker sore formation. Salted nuts are worse because sodium dries out the mouth and inflames the lining.
- Hard, crunchy foods: Toast, potato chips, pretzels, and raw vegetables can scrape and cut the tissue inside your mouth, creating entry points for sores.
- Chocolate: An alkaloid called theobromine in chocolate is linked to mouth ulcers.
- Coffee and alcohol: Both are highly acidic and can irritate vulnerable tissue.
- Dairy: Milk, cheese, and yogurt contribute to canker sores in some people, possibly due to a protein in cow’s milk.
You don’t necessarily need to eliminate all of these permanently. The practical approach is to keep a simple log when you get a sore: note what you ate in the previous 24 to 48 hours. After a few outbreaks, patterns usually become obvious, and you can selectively cut the foods that matter for you.
Fill Nutritional Gaps
Recurring canker sores are sometimes a signal that your body is low on specific nutrients. The three most commonly linked deficiencies are vitamin B12, folate (vitamin B9), and zinc. Each of these plays a role in immune function and tissue repair inside the mouth. When levels drop, the mucosal lining becomes more fragile and slower to heal.
You can address this through diet or supplements. Foods rich in B12 include meat, fish, eggs, and fortified cereals. Leafy greens, beans, and citrus provide folate (though if citrus triggers your sores, get folate from greens and legumes instead). Zinc is found in shellfish, seeds, and whole grains. If dietary changes aren’t enough, a daily B12 supplement is a common starting point that some people find effective at reducing outbreaks.
L-lysine, an amino acid available as a supplement, is sometimes recommended as well. Early research suggests that 500 mg daily may help prevent canker sores, though the evidence is still limited. It’s worth noting that L-lysine has stronger support for cold sores (which are a completely different condition caused by a virus) than for canker sores, so results vary.
Reduce Stress Where You Can
If your canker sores tend to appear during exams, deadlines, or emotionally difficult stretches, that’s not a coincidence. Stress triggers your body to release cortisol through a hormonal chain reaction that starts in the brain. Elevated cortisol suppresses key parts of the immune system, including the T cells and natural killer cells that help keep your oral tissue healthy. Stress also shifts the balance of your nervous system in ways that change saliva composition, further weakening the mouth’s natural defenses.
The connection is strong enough that some people notice canker sores as one of their earliest stress symptoms. Managing stress won’t eliminate every sore, but for stress-driven outbreaks, it’s the most effective prevention available. Regular exercise, consistent sleep, and any stress-reduction practice you’ll actually stick with (meditation, walks, breathing exercises) all help lower baseline cortisol.
Protect Your Mouth From Physical Trauma
Tiny injuries inside your mouth, the kind you barely notice, are one of the most common triggers. Biting your cheek, brushing too aggressively, or getting poked by a sharp chip can all set off a sore within a day or two.
Use a soft-bristled toothbrush and brush gently, especially along the gums and the inside of your cheeks. If you wear braces, orthodontic wax is essential. Applying it over brackets and wires creates a barrier between the metal and your soft tissue, and regular use significantly reduces irritation. Ill-fitting dentures or retainers should be adjusted promptly rather than tolerated, since ongoing friction almost guarantees recurring sores in the same spot.
Even habits like chewing on pens or biting your nails can introduce enough mechanical trauma to trigger an outbreak in people who are prone to them.
When Recurring Sores Signal Something Else
For most people, canker sores are annoying but harmless. However, sores that keep coming back despite prevention efforts, or that don’t heal within two to three weeks, can occasionally point to an underlying condition. Crohn’s disease is one example. Some people develop mouth ulcers years before they experience any intestinal symptoms. These sores tend to appear in clusters around the base of the gums, are round or oval with a yellow or gray center and red border, and often flare in sync with gut symptoms.
Celiac disease is another condition associated with frequent mouth ulcers, since the immune response to gluten can damage oral tissue along with the intestinal lining. If your canker sores are unusually frequent (more than three or four episodes a year), unusually large, or resistant to the prevention strategies above, it’s worth getting screened for nutritional deficiencies and autoimmune conditions that could be driving the cycle.

