Why Do I Have a Canker Sore on My Gum?

A canker sore on your gum is almost always caused by a combination of local irritation and an overreaction from your immune system. These small, painful ulcers (called aphthous ulcers in medical terms) are extremely common, and about 80% of people who get them develop the minor type: sores smaller than 1 cm that heal on their own within 5 to 14 days without scarring. They’re not contagious, and they’re not cold sores. But understanding what triggered yours can help you prevent the next one.

What’s Actually Happening Inside the Sore

A canker sore isn’t an infection. It’s your own immune system attacking the lining of your mouth. Certain immune cells (a type of white blood cell) get activated and begin destroying the surface tissue of your gums or inner cheeks. This process is driven by an inflammatory signal called TNF-alpha, which recruits even more immune cells to the area and creates a cycle of inflammation. The result is that shallow, crater-like ulcer you’re feeling with your tongue: white or yellow in the center with an angry red border.

The question is what triggered that immune overreaction in the first place. For most people, it’s one or more of the triggers below working together.

Physical Injury to the Gum

The most common reason for a canker sore on the gum specifically is mechanical trauma. Brushing too hard, scraping the gum with a sharp piece of food, biting your cheek, or getting a small injury during dental work can all break the surface tissue just enough to set off the immune response described above. Ill-fitting dental appliances, braces, and sharp tooth edges are repeat offenders, especially along the gumline.

If you recently had dental work done, switched to a new toothbrush, or remember catching your gum with something, that’s likely your answer. Switching to a soft-bristled toothbrush and using waxed floss can reduce the kind of micro-injuries that start the process.

Your Toothpaste May Be a Factor

Many popular toothpastes contain sodium lauryl sulfate (SLS), a foaming agent that can irritate the delicate tissue inside your mouth. A systematic review of clinical trials found that people who switched to SLS-free toothpaste had significantly fewer ulcers, shorter episodes, and less pain compared to those using standard toothpaste. If you’re getting canker sores repeatedly, checking your toothpaste ingredients is one of the simplest changes you can make.

Nutritional Deficiencies

Low levels of certain vitamins and minerals make your mouth lining more vulnerable to ulceration. Research published in the Journal of Oral Pathology found that people with recurring canker sores had significantly lower daily intake of vitamin B12 and folate compared to people who didn’t get them. Both nutrients play key roles in building and maintaining the cells that line your mouth. Iron deficiency has also been linked to recurrent sores.

What’s notable is that mouth ulcers can be the only visible sign of an early B12 or folate deficiency, appearing before other symptoms like fatigue or numbness. Some patients who start supplementing see their sores resolve quickly, which suggests the deficiency may be directly weakening the oral tissue rather than just being a background factor. If your canker sores keep coming back, it’s worth having your levels checked through a simple blood test.

Stress and Hormonal Shifts

Stress is one of the most frequently reported triggers, though the exact mechanism is still being refined. The connection likely involves stress hormones suppressing parts of the immune system while amplifying the kind of inflammatory response that produces ulcers.

Hormonal fluctuations can also play a role. Some people notice canker sores appearing in a predictable pattern tied to their menstrual cycle, typically in the days just before or during menstruation when progesterone levels shift. In these cases, a feeling of fullness or tingling in the lips or gums precedes the sore by a day or two, and the pain builds through menstruation before subsiding on its own. This pattern points to a sensitivity to the body’s own progesterone. If your sores follow your cycle, tracking the timing can help confirm the connection.

Other Known Triggers

  • Acidic or spicy foods: Citrus fruits, tomatoes, and hot peppers can irritate the gum tissue and provoke sores in people who are susceptible.
  • Food sensitivities: Gluten, dairy, and certain preservatives have been associated with recurrent canker sores in some individuals.
  • Immune-related conditions: Recurring canker sores can sometimes accompany celiac disease, inflammatory bowel disease, or other conditions that involve immune dysfunction.

Canker Sore vs. Cold Sore

Because your sore is on the gum, inside your mouth, it’s almost certainly a canker sore rather than a cold sore. The National Institute of Dental and Craniofacial Research identifies three key differences. Cold sores (fever blisters) appear outside the mouth, usually around the border of the lips, and look like clusters of small fluid-filled blisters. Canker sores appear inside the mouth as single round sores with a white or yellow center and red border. Cold sores are caused by herpes simplex virus and are very contagious. Canker sores are not caused by a virus and cannot be spread to anyone else.

How to Help It Heal

Most minor canker sores heal completely within 5 to 14 days without any treatment. But you can speed the process and reduce pain in the meantime.

Salt water rinses are one of the most effective home remedies, and the science backs this up. Research has shown that rinsing with a mild salt solution (about half a teaspoon of salt in a cup of warm water) promotes the migration of fibroblasts, the cells responsible for rebuilding tissue. The chloride ions in the salt water stimulate these cells to reorganize and move toward the wound, effectively accelerating the repair process. The salt also creates a mildly inhospitable environment for bacteria, helping keep the open sore clean. Rinse gently a few times a day, especially after eating.

Over-the-counter oral gels that contain a numbing agent can provide temporary pain relief, particularly before meals. Avoiding acidic, spicy, or crunchy foods until the sore heals will prevent additional irritation. If you suspect your toothpaste is contributing, switch to an SLS-free formula.

When a Canker Sore Needs Attention

A single small canker sore that heals within two weeks is normal and not a cause for concern. But certain patterns warrant a closer look. Sores larger than 1 cm, sores that last longer than two weeks without healing, sores that keep coming back in clusters, or sores accompanied by fever or difficulty swallowing are all reasons to see a dentist or doctor. Persistent or unusually large ulcers sometimes need to be biopsied to rule out other conditions. If you notice that your sores always seem to appear near a sharp tooth edge or dental appliance, your dentist can smooth or adjust the source of irritation.