Mouth ulcers affect anywhere from 5% to 25% of the population, and for many people they come back repeatedly. The good news is that most recurrent ulcers have identifiable triggers, and addressing those triggers can significantly reduce how often they appear. Prevention comes down to minimizing physical trauma to your mouth, managing a handful of dietary and lifestyle factors, and catching nutritional gaps that make your oral lining more vulnerable.
Reduce Physical Trauma to Your Mouth
The most straightforward cause of mouth ulcers is mechanical injury. Biting the inside of your cheek, jabbing yourself with a toothbrush, or irritation from braces or a rough dental filling can all kick off an ulcer in someone who’s prone to them. Small changes to how you care for your mouth make a real difference.
Use a soft-bristled toothbrush and brush gently. The American Dental Association recommends holding the brush at a 45-degree angle to your gums and using short, tooth-wide strokes rather than aggressive scrubbing. Hard bristles and forceful brushing damage the delicate tissue of your gums and inner cheeks, creating the kind of minor wound that turns into a full ulcer within a day or two.
If you wear braces or a retainer, orthodontic wax is your best friend. Pressing a small piece of wax over a bracket or wire that’s rubbing against your cheek creates a smooth barrier and prevents the repeated friction that leads to ulcers. Keep wax on hand at all times rather than waiting until an ulcer has already formed. For dentures or other dental work with a rough edge, ask your dentist to smooth or adjust the appliance. Chronic irritation from an ill-fitting prosthetic is one of the most preventable causes of recurring sores.
Rethink Your Toothpaste
Most commercial toothpastes contain sodium lauryl sulfate (SLS), a foaming agent that can irritate oral tissue. A review published in the American Journal of Dentistry found that several studies linked SLS-containing toothpaste to a higher frequency of ulcers, greater pain intensity, and longer healing times. In one double-blind crossover study, people who brushed with SLS-containing toothpaste developed significantly more ulcers than those using an SLS-free alternative.
The evidence isn’t unanimous. A couple of studies found no meaningful difference. But if you’re getting ulcers regularly and haven’t tried switching toothpaste, it’s a low-risk experiment. Look for toothpastes labeled “SLS-free.” They clean just as well but use gentler surfactants. Give it at least a month or two to judge the effect, since ulcer cycles vary.
Watch for Food Triggers
Certain foods are well-documented triggers. Chocolate, peanuts, and eggs are among the most commonly reported culprits. Highly acidic foods like citrus fruits, tomatoes, and vinegar-based dressings can also irritate the mouth lining enough to provoke an ulcer in susceptible people. Spicy foods have a similar effect.
The tricky part is that triggers are personal. What causes ulcers for one person may be harmless for another. If you suspect a food connection, try keeping a simple log. Write down what you eat and when ulcers appear. After a few cycles, patterns usually become obvious. Eliminating your specific triggers is more effective than following a generic avoidance list.
Address Nutritional Deficiencies
Deficiencies in iron, folate, and vitamin B12 show up more often in people with recurrent ulcers than in the general population. Studies have found these deficiencies in roughly 18% to 28% of people with recurring mouth ulcers, compared to about 8% of healthy controls. When the deficiency is corrected through diet or supplements, ulcer frequency often improves.
Good dietary sources of these nutrients include leafy greens and legumes for folate, red meat and shellfish for iron and B12, and fortified cereals for all three. If you follow a vegetarian or vegan diet, B12 supplementation is especially worth considering since plant foods contain almost none. A simple blood test from your doctor can confirm whether a deficiency is contributing to your ulcers, and it’s worth checking if you get them frequently without an obvious cause.
Manage Stress
Stress is one of the most consistently reported triggers for mouth ulcers. The classic example in medical literature is the college student who gets canker sores during finals week. The connection is biological: psychological stress increases cortisol secretion, and elevated cortisol can alter immune function in ways that make the oral lining more vulnerable to breakdown.
You can’t always eliminate stress, but you can buffer its physical effects. Regular exercise, adequate sleep, and any consistent relaxation practice (deep breathing, meditation, even a daily walk) help keep cortisol levels from spiking as dramatically. If you notice that your ulcers reliably appear during high-pressure periods, that pattern itself is useful information. It tells you the ulcers are likely stress-driven and that investing in stress management will probably reduce them.
Rule Out Underlying Conditions
For most people, mouth ulcers are a nuisance with no deeper cause. But frequent or severe outbreaks can sometimes signal a systemic condition worth investigating. Celiac disease is one of the most important to consider. People with celiac disease experience frequent and severe canker sore outbreaks, and switching to a gluten-free diet has been shown to decrease both the frequency and severity of these episodes. Many people discover their celiac disease only after years of unexplained mouth ulcers.
Crohn’s disease and other inflammatory bowel conditions can also produce recurring oral ulcers as one of their earliest symptoms. Iron deficiency anemia, immune disorders, and certain viral infections are additional possibilities. If you’re getting ulcers more than a few times a year, they’re unusually large or painful, or they come with other symptoms like digestive issues, fatigue, or unexplained weight loss, it’s worth getting screened for these conditions.
When an Ulcer Needs Attention
Most mouth ulcers heal on their own within one to two weeks. The NHS advises that any mouth ulcer lasting longer than three weeks should be evaluated by a doctor, because a non-healing ulcer is one of the recognized warning signs of oral cancer. This doesn’t mean every slow-healing sore is cancer. It means three weeks is the threshold where the risk shifts from “probably nothing” to “worth checking.” An ulcer that’s painless, unusually firm, or growing rather than shrinking deserves earlier attention.
A Practical Prevention Checklist
- Switch to a soft-bristled toothbrush and brush with gentle, short strokes
- Try SLS-free toothpaste for at least one to two months
- Use orthodontic wax on any braces or appliances that rub
- Track your food triggers and eliminate the ones that correlate with outbreaks
- Eat enough iron, folate, and B12 or supplement if blood work shows a deficiency
- Build a stress buffer through exercise, sleep, or a consistent relaxation habit
- Get screened for celiac disease if ulcers are frequent and you have digestive symptoms
No single change will eliminate mouth ulcers for everyone, but most people who get them regularly have two or three overlapping triggers. Addressing even one of those, whether it’s swapping toothpaste or correcting a vitamin deficiency, can noticeably reduce how often ulcers show up and how long they stick around.

