Acidic foods, rough or sharp-edged foods, and certain food sensitivities are the most common dietary triggers for canker sores. But the relationship between food and these painful mouth ulcers goes beyond just what irritates the surface. Nutritional gaps in your diet can also make you more prone to recurring outbreaks. Canker sores affect anywhere from 5% to 66% of the population depending on the group studied, and for many people, what they eat is the single most controllable factor.
Acidic Foods Are the Top Trigger
Citrus fruits, alcohol, and fizzy drinks top the list of foods that worsen or trigger canker sores. The acid in these foods irritates the thin, delicate lining of your mouth, which can spark a new sore or make an existing one significantly more painful. Oranges, lemons, grapefruits, and pineapple are well-known culprits, but two foods people often overlook are strawberries and tomatoes. Both are acidic enough to trigger outbreaks even though most people don’t think of them that way.
Vinegar-based dressings, pickled foods, and sour candies fall into the same category. If you notice sores appearing a day or two after eating something tart or tangy, acidity is likely the connection. The irritation doesn’t always cause a sore immediately. It can weaken the mucosal surface enough that a sore develops over the following 24 to 48 hours.
Sharp and Crunchy Foods That Damage Tissue
Hard, rough, or sharp-edged foods can cause tiny injuries to the inside of your mouth, and those micro-wounds sometimes develop into full canker sores. Tortilla chips, crusty bread, pretzels, raw vegetables with hard edges, and dry cereal are common offenders. The injury itself can be so minor you don’t notice it at the time, but the damaged tissue becomes a site where a sore takes hold.
This physical trauma is one of the most straightforward causes. It’s the same reason people get canker sores after accidentally biting their cheek or irritating their gums with a toothbrush. If you’re someone who gets canker sores frequently, paying attention to how aggressively you chew crunchy foods can make a real difference.
Gluten and Food Sensitivities
For some people, canker sores are a sign of an underlying food sensitivity, and gluten is the most well-documented example. People with celiac disease experience frequent and severe outbreaks of canker sores, and switching to a gluten-free diet has been shown to decrease both the frequency and severity of those outbreaks. If you get canker sores repeatedly and also have digestive symptoms like bloating, diarrhea, or unexplained fatigue, celiac disease is worth investigating.
Even without a formal celiac diagnosis, some people with non-celiac gluten sensitivity report fewer mouth sores after removing gluten. Other reported food sensitivities that seem to trigger canker sores in certain individuals include dairy, eggs, nuts, chocolate, coffee, and cinnamon. These connections are less well-established in research than the celiac link, but if you notice a pattern with a specific food, an elimination approach (removing it for a few weeks, then reintroducing it) can help you identify your personal triggers.
A Food Additive Worth Knowing About
Sodium lauryl sulfate, or SLS, is a foaming agent most commonly found in toothpaste, but it also shows up in certain processed foods. It’s used to make marshmallows fluffier, lighten dried egg products, and help mix acidic liquids with water in fruit drinks. SLS is a known irritant to skin and mucous membranes. While the amounts in food are small and FDA-approved, the European Union has banned it as a food additive entirely.
The bigger exposure for most people is toothpaste. If you’re prone to canker sores, switching to an SLS-free toothpaste is one of the simplest changes you can make, and many people report fewer outbreaks after doing so.
Nutritional Deficiencies That Increase Risk
Sometimes the issue isn’t a food you’re eating but a nutrient you’re not getting enough of. Deficiencies in B vitamins (especially B12), folic acid, iron, and vitamin D have all been linked to recurrent canker sores. These nutrients play essential roles in maintaining healthy oral tissue and supporting immune function. When levels drop too low, the mouth lining becomes more vulnerable to breakdown.
If you get canker sores repeatedly and can’t identify an obvious food trigger, a blood test checking these levels is a practical next step. Foods rich in B12 (meat, fish, eggs, fortified cereals), folate (leafy greens, beans, lentils), and iron (red meat, spinach, legumes) may help reduce outbreaks over time if a deficiency is part of the picture. Vitamin D from sunlight, fatty fish, or fortified milk also plays a role, with meta-analyses showing a meaningful connection between low vitamin D and recurrent canker sores.
How Long Sores Last Once Triggered
Most canker sores are minor, smaller than a pea, and heal within a few weeks without scarring. During that window, avoiding your known triggers can prevent the sore from worsening and help it resolve on the shorter end of that timeline. Major canker sores, which are larger than about one centimeter, are a different experience. They’re extremely painful and can take months to heal, sometimes leaving scars behind.
Continuing to eat acidic or abrasive foods while you have an active sore doesn’t just hurt. It can genuinely slow healing by re-irritating the tissue before it has a chance to close. Softer, cooler, bland foods are your best bet while a sore is present. Think yogurt, oatmeal, mashed potatoes, smoothies, and scrambled eggs. Avoid anything hot in temperature as well, since heat adds another layer of irritation to already damaged tissue.
Identifying Your Personal Triggers
The tricky part of canker sores is that triggers vary from person to person. One person might eat tomatoes daily with no issues while another gets a sore every time. Keeping a simple food diary when sores appear can help you spot patterns. Write down what you ate in the 24 to 48 hours before a sore showed up, and after a few outbreaks, common threads usually emerge.
Stress, hormonal changes, and genetics also play a role alongside diet, so food isn’t always the sole cause. But because it’s the factor you have the most direct control over, it’s the best place to start when trying to reduce how often canker sores disrupt your life.

