A canker sore forms when the thin lining inside your mouth breaks down and the tissue beneath it becomes exposed to irritation and immune activity. The result is a small, shallow open sore with a red edge and a white or yellowish center. Unlike cold sores, canker sores appear only on the soft tissues inside the mouth — the inner lips, cheeks, tongue, and floor of the mouth — and they are not contagious.
What Exactly Is a Canker Sore?
A canker sore is a break in the mucous membrane that lines the inside of your mouth. The medical term is aphthous ulcer or aphthous stomatitis. The word “aphthous” comes from a Greek word meaning “to set on fire,” which describes the burning sensation many people feel before the sore is even visible.
That lining — the oral mucosa — is a protective barrier. It is thinner and more delicate than the skin on the outside of your body. When that barrier is breached, the tissue underneath is exposed. Your immune system responds by sending inflammatory cells to the area, which is what produces the redness, swelling, and pain.
The white or yellow covering at the center is not pus. It is a layer of fibrin, a protein involved in clotting and wound repair, mixed with dead cells. It sits on top of the ulcer like a temporary bandage while the tissue underneath tries to heal.
Most canker sores are small — under about one centimeter — and heal on their own within one to two weeks. Larger ones, called major aphthous ulcers, can be more than a centimeter across, last longer, and sometimes leave a scar. A third type, herpetiform ulcers, are tiny and appear in clusters, despite the name having nothing to do with the herpes virus.
How Does a Canker Sore Actually Develop Inside Your Mouth?
The process starts with an injury or trigger that damages the surface cells of the oral lining. That damage can come from something as simple as biting your lip or from something as invisible as an immune reaction.
Once the surface cells are damaged, the underlying connective tissue — called the lamina propria — becomes exposed. Immune cells, particularly T lymphocytes, move into the area. These are the same type of immune cells involved in many inflammatory conditions. Their job is to clean up damaged tissue and fight potential infection, but their activity also causes the pain and swelling you feel.
As the inflammatory response continues, small blood vessels in the area widen and become more permeable. This brings more immune cells to the site but also causes fluid to leak into the surrounding tissue, which is why the sore looks red and raised at the edges.
Then the ulcer itself forms. The surface cells in the center die off and slough away, leaving a crater. The fibrin layer covers the crater. Over the next several days, new epithelial cells migrate across the wound from the edges, gradually closing the ulcer. This is the healing phase, and it is why most canker sores resolve without treatment.
What triggers that initial damage varies from person to person. In many cases, no single cause can be identified.
What Triggers Canker Sores to Form?
Several factors are consistently associated with canker sore outbreaks, though the evidence for each varies. Some are well established; others are based on smaller studies or clinical observation.
Local trauma is one of the most common triggers. Accidentally biting your lip or cheek, brushing too hard, dental work, or sharp edges on teeth or fillings can all start the process. This is why canker sores often appear right after a dental appointment or a slip of the teeth.
Certain foods are frequently reported as triggers. Acidic foods like citrus fruits, tomatoes, and pineapple are common culprits. So are spicy foods, chocolate, coffee, and nuts. The evidence here is mostly anecdotal — people notice a pattern — but the mechanism is plausible: these foods can irritate or damage the oral lining directly.
Stress and fatigue are often mentioned by people who get canker sores. The link is not fully understood. Some researchers believe stress affects immune function in a way that makes the oral lining more vulnerable. Others think stress-related habits like lip biting or teeth grinding play a role.
Nutritional deficiencies have a clearer connection. Low levels of vitamin B12, folate, iron, and zinc have been associated with recurrent canker sores in some studies. Correcting a deficiency may reduce outbreaks in people who have one, but taking these nutrients when you are not deficient has not been shown to prevent canker sores.
Hormonal changes may play a role for some women, particularly around menstruation. The evidence is not strong, but the timing is often reported.
Immune system factors are involved in a more direct way. Conditions that affect immune function — including some autoimmune diseases, HIV, and inflammatory bowel diseases like Crohn’s disease and ulcerative colitis — are associated with more frequent or more severe canker sores. In these cases, the sores are a symptom of a broader condition, not a standalone problem.
Medications can sometimes trigger canker sores. Nonsteroidal anti-inflammatory drugs (NSAIDs), beta-blockers, and certain chemotherapy agents have been linked to oral ulcers. If you suspect a medication is causing sores, talk to your doctor rather than stopping it on your own.
Why Do Some People Get Canker Sores More Often Than Others?
Recurrent canker sores — sometimes called recurrent aphthous stomatitis — affect a subset of people who get them repeatedly. The pattern varies. Some people get one or two a year; others get them almost constantly.
Genetics appear to play a role. People with a family history of canker sores are more likely to get them themselves. Some research suggests that certain gene variants involved in immune regulation are more common in people who get recurrent sores.
There is also a difference between simple canker sores and those that are a sign of something else. Simple canker sores are not a disease on their own. They are a local reaction. Recurrent or severe sores, especially if they come with other symptoms like fever, weight loss, or digestive problems, may point to an underlying condition that needs medical evaluation.
Age matters too. Canker sores often start in childhood or adolescence and become less frequent over time. Many people who had frequent sores as teenagers find they become rare by their 30s or 40s. This pattern is not universal, but it is common enough to be noted in clinical practice.
What Does a Canker Sore Look Like at Each Stage?
Canker sores follow a fairly predictable course, though the timeline varies.
Prodrome: Many people feel a tingling or burning sensation in the spot where the sore will appear, usually a day before it becomes visible. There is nothing to see yet.
Ulceration: A small red bump or spot appears. It quickly opens into a shallow ulcer with a white or yellow center and a red halo. This is when it is most painful.
Healing: Over several days, the pain decreases, the white covering fades, and the edges of the ulcer close in. The tissue underneath rebuilds. Most small sores are fully healed within one to two weeks.
Major aphthous ulcers can take several weeks to heal and may leave a scar. Herpetiform ulcers often heal faster but can be more widespread.
When Should You Be Concerned About a Canker Sore?
Most canker sores are harmless and go away on their own. But some situations warrant a medical visit.
See a doctor or dentist if a sore lasts more than two weeks, if it is unusually large or spreading, if you have trouble eating or drinking, or if you get sores frequently enough that they interfere with your daily life. Also seek care if you have a sore along with fever, swollen lymph nodes, or other symptoms that seem unrelated to your mouth.
In rare cases, a persistent oral ulcer can be a sign of oral cancer. Oral cancer is not common, but it is more likely to be treated successfully when found early. Any sore that does not heal within two weeks should be evaluated by a professional. This is not a reason to panic — most non-healing sores are still benign — but it is a reason to get it checked.
Some clinicians recommend a biopsy for any oral ulcer that persists beyond two weeks, especially in people who smoke or drink heavily. The evidence for this practice is based on the principle that early detection improves outcomes, though the exact threshold for biopsy varies by clinician.
Can You Prevent Canker Sores From Forming?
Prevention depends on what is triggering them for you. If you can identify a pattern, you may be able to reduce outbreaks.
If trauma is a trigger, try to avoid biting your lips or cheeks. Use a soft-bristled toothbrush. Ask your dentist to smooth any sharp edges on teeth or fillings. If stress seems to play a role, stress management techniques may help, though the evidence for this specifically reducing canker sores is limited.
If you suspect a nutritional deficiency, talk to your doctor about testing. Correcting a confirmed deficiency may reduce outbreaks. Taking supplements without a known deficiency has not been shown to help.
If certain foods seem to trigger sores, avoiding them is reasonable. Keep track of what you eat and when sores appear. This is not a proven method, but it is a low-risk way to identify personal triggers.
For people with frequent, severe outbreaks, a doctor may recommend prescription treatments. These can include topical corticosteroids, antimicrobial mouth rinses, or other medications. These treatments are aimed at reducing inflammation and pain, not at curing the underlying tendency to get sores. They are not a guaranteed solution, and what works for one person may not work for another.
Frequently Asked Questions
Are canker sores contagious?
No, canker sores are not contagious. They are not caused by a virus or bacteria that can spread to others.
How long do canker sores usually last?
Most small canker sores heal within one to two weeks. Larger sores may take several weeks and can leave a scar.
What is the difference between a canker sore and a cold sore?
Canker sores appear inside the mouth on soft tissues and are not contagious, while cold sores are caused by the herpes simplex virus and usually appear on or around the lips. Cold sores are contagious.
When should I see a doctor for a canker sore?
See a doctor or dentist if a sore lasts more than two weeks, is unusually large, or comes with fever or other symptoms. A persistent sore should be evaluated to rule out other conditions.

