You got a canker sore because the thin lining inside your mouth broke down locally, and your immune system answered with a small, self-limited inflammatory ulcer. That breakdown usually follows one of several triggers: minor trauma, a switch in toothpaste or diet, stress, hormonal shifts, or a run of poor sleep. The sore is not an infection you caught from someone else, and it is not a sign of poor hygiene. It is a localized immune reaction in tissue that heals on its own.
Canker sores, formally called recurrent aphthous stomatitis, affect roughly 1 in 5 people at some point, with most cases beginning before age 30. Understanding why they form requires looking at the oral mucosa as a barrier under constant mechanical, chemical, and immune pressure.
The mucosal barrier breakdown
The inside of your mouth is lined by non-keratinized stratified squamous epithelium, a thin, wet layer designed for rapid turnover. Cells there replace themselves every 5 to 14 days. That speed is protective, but it also means the barrier is metabolically busy and vulnerable to small insults.
When the surface layer is breached, proteins from the damaged cells and from normal mouth bacteria leak into the underlying connective tissue. Immune cells recognize these signals and release inflammatory mediators, including tumor necrosis factor and interleukins. That cascade recruits neutrophils and lymphocytes, which produce the redness, swelling, and pain you feel.
The ulcer itself is a shallow crater with a yellow-white center and a red halo. The white material is fibrin and dead cells, not pus. It forms within 24 to 48 hours of the initial trigger, which is why people often cannot name the exact cause.
Aphthous ulcers stop at the mucosal surface. They do not bore into muscle or bone, and they do not scar unless they are the rare major type. This shallow depth is why most heal without treatment.
In plain terms: your mouth lining gets a small breach, and your immune system overreacts locally before calming down.
How common they are, and who gets them
Recurrent aphthous stomatitis is one of the most common oral mucosal conditions worldwide. Prevalence estimates cluster around 5 to 25 percent of the general population, depending on the study population and case definition. The first episode typically appears between ages 10 and 19. The condition often becomes less frequent after age 40.
About 80 percent of cases are minor aphthous ulcers: lesions under 1 centimeter that heal within 7 to 10 days without scarring. Major aphthous ulcers, roughly 10 to 15 percent of cases, exceed 1 centimeter, last 2 to 6 weeks, and can leave scars. Herpetiform ulcers make up the remainder and appear as clusters of tiny lesions.
Several risk factors are well documented in the dental literature. These include a family history of aphthous ulcers, which raises risk substantially, and a personal history of atopy such as eczema or allergic rhinitis. Nutritional deficiencies in vitamin B12, folate, iron, and zinc are also associated, particularly in people with frequent or persistent sores.
Sex distribution is roughly equal, though some studies report higher frequency in women during reproductive years. The condition is not contagious, and it is not caused by the herpes simplex virus, a point that causes frequent confusion.
Triggers, edge cases, and look-alike conditions
The trigger list for canker sores is long because the final pathway, mucosal breakdown with immune activation, is shared. Mechanical trauma from a sharp tooth, a dental filling, a toothbrush slip, or a hard food edge is the most direct cause. Chemical triggers include acidic foods, cinnamon flavoring, and some preservatives.
Sodium lauryl sulfate, a foaming agent in many toothpastes, is linked in some trials to more frequent and more painful aphthous ulcers. Switching to an SLS-free toothpaste reduces recurrence in some people, though the evidence is not uniform.
Stress and sleep disruption are commonly reported triggers, likely through cortisol effects on mucosal immunity. Hormonal shifts around menstruation correlate with outbreaks in some women. Quitting smoking can trigger a temporary increase in ulcers, because nicotine and smoke exposure appear to thicken the oral lining.
A counterintuitive detail: most people blame a single food or a "run-down" week, but the ulcer usually starts before they notice anything. The perceived trigger is often coincidental, which is why food-elimination diets rarely prevent recurrence unless a true deficiency or allergy exists.
Some conditions mimic canker sores and matter clinically:
Sores lasting longer than 3 weeks, or growing instead of shrinking Lesions on the gums, palate, or top of the tongue, which are unusual sites for aphthous ulcers Sores accompanied by fever, weight loss, or genital ulcers White patches that cannot be wiped off Sores that bleed easily or feel hard at the base
Those features warrant evaluation by a dentist or physician rather than self-treatment, because they can signal infection, nutritional disease, or oral cancer.
Why popular explanations fall short
Misconceptions about canker sores are common. They are not cold sores, and they are not caused by the herpes virus. Cold sores appear on the outside of the lips and are contagious; canker sores appear inside the mouth and are not.
They are not a sign of poor oral hygiene. In fact, aggressive brushing can cause them. They are not caused by "acid in the blood" or by eating too much sugar in any direct, established way. They are not sexually transmitted.
Another misconception is that canker sores are always harmless. Most are, but recurrent or persistent ulcers can be the first visible sign of celiac disease, inflammatory bowel disease, or a nutritional deficiency. A doctor or dentist should evaluate recurrent cases that do not fit the typical minor pattern.
The claim that vitamin supplements cure canker sores is also oversimplified. Supplementation helps only when a deficiency is present. In people with normal levels, evidence for benefit is weak.
Care, prevention, and when to seek help
Most canker sores heal without treatment in 7 to 14 days. Practical steps focus on reducing pain and avoiding further trauma.
Use a soft-bristled toothbrush and brush gently. Avoid hard foods and sharp edges. Try an SLS-free toothpaste if outbreaks are frequent. Rinse with warm salt water several times daily to keep the area clean. Ask a pharmacist about over-the-counter topical gels or rinses that coat the ulcer and reduce pain. Track outbreaks in a simple log with dates, foods, sleep, and stress to identify patterns. Review diet for adequate B12, folate, iron, and zinc intake, especially with frequent or persistent sores.
Over-the-counter options vary in price; topical protective gels and rinses commonly cost USD 10 to 20, while prescription-strength topical corticosteroids cost more and require a clinician's input.
Seek professional evaluation if any of the following apply: a sore lasts more than 3 weeks, is larger than 1 centimeter, appears in an unusual location, recurs very frequently, or comes with fever, weight loss, or other systemic symptoms. A dentist or physician can rule out other causes and, when needed, check nutrient levels.
Comparison of common mouth sores
| Feature | Canker sore | Cold sore | Traumatic ulcer | Oral cancer |
|---|---|---|---|---|
| Location | Inside mouth, movable tissue | Outside lips, edge of mouth | Where trauma occurred | Any site, often lateral tongue or floor of mouth |
| Contagious | No | Yes | No | No |
| Typical duration | 7 to 14 days | 7 to 10 days | Days to weeks | Does not heal |
| Appearance | Yellow-white center, red halo | Fluid-filled blisters that crust | Irregular, may match a sharp edge | Firm, often painless, may bleed |
| Recurrence | Common | Common | Uncommon | Not applicable; persistent |
Typical timeline of a minor canker sore
| Stage | Time after trigger | What happens |
|---|---|---|
| Trigger | Hour 0 | Minor trauma, chemical exposure, or immune shift |
| Prodrome | 6 to 24 hours | Tingling or burning at the site |
| Ulcer formation | 24 to 48 hours | Shallow crater with white center and red halo |
| Peak pain | Days 2 to 4 | Most discomfort; eating and speaking affected |
| Healing begins | Days 5 to 7 | Fibrin layer stabilizes; pain declines |
| Resolution | Days 7 to 14 | Mucosa restored, usually without scarring |
Major aphthous ulcers follow a longer course, often 2 to 6 weeks, and may scar. If a lesion does not fit this pattern, the diagnosis should be reconsidered.
Limits of what is known
The exact cause of recurrent aphthous stomatitis remains uncertain. Most research points to a combination of genetic susceptibility, local trauma, and immune dysregulation, but no single mechanism explains every case. Studies on triggers rely heavily on patient recall, which is imperfect. Evidence for SLS-free toothpaste and for individual nutrient supplements is mixed and depends on whether a deficiency exists.
What is well established: canker sores are common, usually minor, not contagious, and self-healing. What is not well established: why some people get them repeatedly and others never do, and which specific interventions reliably prevent them across populations. Anyone with frequent, severe, or persistent sores should be evaluated rather than relying on general explanations alone.