Canker sores form when your immune system launches an inflammatory attack against the tissue lining your mouth. Unlike cold sores, which are caused by a virus and appear on the outside of your lips, canker sores are not infections. They show up as painful white or yellow ulcers on the inside of your cheeks, lips, or tongue. The reasons you keep getting them usually come down to some combination of immune dysfunction, nutritional gaps, physical irritation, and specific food triggers.
What’s Happening Inside Your Mouth
A canker sore is essentially friendly fire from your immune system. White blood cells flood into a small area of your oral lining and release inflammatory signaling molecules that destroy the surface tissue, leaving behind an open ulcer. People who get recurrent canker sores show a clear pattern: their blood produces elevated levels of pro-inflammatory signals while producing fewer of the anti-inflammatory signals that normally keep the immune response in check.
One striking finding is that people with recurrent canker sores have roughly half the number of regulatory immune cells (the ones that tell the rest of the immune system to stand down) compared to people who rarely get them. This imbalance means your mouth’s immune environment is primed to overreact to minor provocations, whether that’s a scratch from a chip, a splash of acidic juice, or emotional stress.
Nutritional Deficiencies That Fuel Outbreaks
Low levels of certain vitamins and minerals are remarkably common in people with recurring canker sores. In one study of patients with recurrent oral ulcers, about half were deficient in vitamin B12, nearly 46% had low folate levels, and roughly 10% had low iron stores. These nutrients play direct roles in maintaining the health of your oral lining and supporting normal immune function. When they’re depleted, the tissue inside your mouth becomes more fragile and slower to repair itself.
B12 and folate are both essential for producing new cells. Your mouth lining replaces itself every one to two weeks, which makes it one of the fastest-turnover tissues in your body. If your supply of these nutrients runs short, the replacement process falters, and your mouth becomes more vulnerable to ulceration. A simple blood test can identify these deficiencies, and correcting them often reduces how frequently sores appear.
Foods That Trigger Canker Sores
Certain foods are well-known provocateurs, and they work through two different routes: chemical irritation and physical damage.
Acidic foods top the list. Citrus fruits, tomatoes, tomato sauces, strawberries, and coffee all lower the pH inside your mouth and can erode the delicate mucosal lining. For someone already prone to canker sores, eating a grapefruit or drinking orange juice can be enough to kick off an outbreak. Spicy foods, particularly hot peppers and curry, inflame sensitive tissue in a similar way.
Physical irritation is the other route. Chips, pretzels, nuts, and seeds have sharp or rough textures that create tiny abrasions on the inside of your cheeks and gums. Those micro-cuts become entry points for a canker sore to develop. Carbonated drinks can also irritate the lining, and some people find that chocolate or dairy triggers inflammation, likely through individual sensitivities rather than a universal mechanism.
Keeping a food diary for a few weeks can help you identify your personal triggers. Not everyone reacts to the same foods, so your pattern matters more than any general list.
Your Toothpaste Might Be Part of the Problem
Sodium lauryl sulfate (SLS), the foaming agent in most toothpastes, has a well-documented connection to canker sores. A systematic review of clinical trials found that switching to an SLS-free toothpaste significantly reduced the number of ulcers, the number of outbreaks, how long each ulcer lasted, and how much pain people experienced. On average, participants using SLS-free toothpaste had about one fewer ulcer per episode and sores that healed nearly two days faster.
SLS strips away the protective mucous layer inside your mouth, leaving the tissue more exposed to irritation. If you’re getting canker sores regularly, switching toothpaste is one of the simplest changes you can make. Most health food stores carry SLS-free options, and many major brands now offer them as well.
Stress, Hormones, and Other Common Triggers
Emotional stress is one of the most frequently reported triggers, and the immune data backs this up. Stress hormones suppress the regulatory immune cells that are already low in canker-sore-prone individuals, tipping the balance further toward inflammation. Many people notice outbreaks during exam periods, work deadlines, or emotionally difficult stretches.
Hormonal shifts also play a role for some women, with sores appearing at predictable points in the menstrual cycle. Physical trauma to the mouth, like biting your cheek, getting poked by a toothbrush bristle, or irritation from braces or dental work, is another reliable trigger. Sleep deprivation and illness can both lower immune tolerance enough to set off an episode.
Three Types and How They Differ
Not all canker sores are the same. Minor canker sores are the most common type, measuring less than one centimeter across (smaller than a pea). They heal within a few weeks and don’t leave scars. Most people who get canker sores only ever experience this type.
Major canker sores are larger than one centimeter, extremely painful, and can take months to heal. They often leave scars. Herpetiform canker sores are a third, less common variety: clusters of tiny pinpoint ulcers that can merge together. Despite the name, they have nothing to do with the herpes virus. They typically heal within about two weeks.
When Canker Sores Signal Something Else
Occasional canker sores are extremely common and usually not a sign of anything serious. But sores that never fully resolve, come in frequent waves, or appear alongside other symptoms can sometimes point to an underlying condition. Celiac disease, inflammatory bowel disease (Crohn’s and ulcerative colitis), and Behçet’s syndrome all list mouth ulcers as a recognized symptom. HIV/AIDS and other conditions that weaken the immune system can also cause persistent oral ulceration.
If your canker sores are unusually large, last longer than three weeks, occur alongside digestive problems, joint pain, or skin lesions, or come back so frequently that you’re rarely without one, it’s worth having bloodwork done. Testing for nutritional deficiencies, celiac antibodies, and inflammatory markers can help rule out or identify a systemic cause.
Practical Steps to Reduce Outbreaks
Since canker sores result from an overactive local immune response meeting a vulnerable mouth lining, the most effective prevention strategy addresses both sides. On the immune side, managing stress, sleeping adequately, and correcting any B12, folate, or iron deficiencies can reduce how often your body mounts an attack. On the vulnerability side, switching to SLS-free toothpaste, avoiding your personal food triggers, and being careful with sharp or crunchy foods helps keep your oral lining intact.
For sores that have already formed, over-the-counter topical treatments containing numbing agents can reduce pain. Rinsing with a simple saltwater solution (half a teaspoon of salt in a cup of warm water) helps keep the area clean and can speed healing. Avoiding acidic and spicy foods while a sore is active prevents the sharp pain that comes from irritating an open ulcer.
Most people find that a combination of these changes, rather than any single fix, brings the biggest improvement. The goal isn’t necessarily to eliminate canker sores entirely but to make them less frequent, smaller, and shorter-lived.