Our Services
Medical Information
Helpful Resources
Published on: 3/12/2026
Stomatitis is a treatable inflammation inside the mouth that irritates the gums and causes painful sores. Common causes include viral, bacterial, or fungal infections, nutritional deficiencies, irritation, autoimmune conditions, and certain medications.
Diagnosis and treatment vary by cause, so identifying the trigger matters. Mild cases often respond to home care, but red flags—such as fever, spreading sores, signs of dehydration, or pain lasting more than two weeks—require prompt medical attention.
Because stomatitis has so many possible causes, guessing can delay relief and risk complications. A fast, free symptom check can help you pinpoint likely causes, understand urgency, and decide your next steps with confidence—all in just a few minutes, online, and with no signup required.
Reviewed for medical accuracy: 07/09/2026
Not seeing your question? No worries.
Submit your own QuestionIf you're dealing with ongoing mouth pain, swollen gums, or sores that won't heal, you may be experiencing stomatitis. While many people assume it's "just a canker sore," stomatitis can involve broader inflammation of the mouth and may signal an underlying issue that needs attention.
The good news: most cases of stomatitis are treatable. The key is understanding what's causing the inflammation and knowing when to seek medical care.
Below, we'll explain what stomatitis is, why it inflames your gums, common causes, symptoms to watch for, and what medical steps to take next.
Stomatitis is a general term for inflammation inside the mouth. It can affect:
Depending on the cause, stomatitis may show up as redness, swelling, ulcers, blisters, white patches, or painful sores.
There are two common forms:
However, stomatitis can also be linked to infections, nutritional deficiencies, immune disorders, irritation, or systemic disease.
Your mouth is lined with delicate tissue that reacts quickly to irritation, infection, or immune system changes. When stomatitis develops, your immune system triggers inflammation in response to a perceived threat.
This inflammation can lead to:
In some cases, gum inflammation may overlap with gingivitis, but stomatitis typically involves a broader area of the mouth.
Inflammation is your body's defense mechanism. However, when it persists, it becomes painful and disruptive.
Understanding the cause is critical because treatment depends on it. Here are the most common reasons stomatitis develops:
Viral stomatitis may cause:
Poor oral hygiene or gum disease can trigger bacterial overgrowth and inflammation.
Oral thrush (caused by Candida yeast) can cause:
More common in:
Low levels of:
These deficiencies can contribute to recurrent stomatitis.
Some toothpastes, mouthwashes, or foods may trigger irritation.
Conditions like:
These may cause recurring or severe stomatitis.
These can damage the lining of the mouth and cause significant inflammation (oral mucositis).
Symptoms vary depending on the cause, but may include:
If symptoms last longer than two weeks, it's important to seek medical evaluation.
Most cases are mild and resolve within 7–14 days. However, stomatitis can become serious if:
Rarely, chronic mouth sores can signal more serious conditions, including immune disorders or, in very rare cases, oral cancer. This is why persistent symptoms should never be ignored.
A healthcare provider will usually:
In rare cases, a biopsy may be needed if lesions appear unusual or do not heal.
If you're unsure whether your symptoms match stomatitis or want to better understand what might be causing your mouth pain, you can check your symptoms using Ubie's free AI-powered Stomatitis symptom checker to receive personalized insights in just a few minutes.
Treatment depends on the underlying cause. Common medical approaches include:
While waiting for medical advice or during treatment, you can:
If pain is significant, over-the-counter pain relievers may help, but they do not treat the root cause.
Prevention depends on the trigger, but helpful steps include:
If stomatitis keeps coming back, a deeper medical evaluation is warranted.
You should speak to a doctor or dentist promptly if:
While most stomatitis cases are not life-threatening, untreated infections, severe dehydration, or underlying diseases can become serious.
If symptoms feel intense, unusual, or are worsening, do not delay medical care.
Stomatitis is inflammation of the mouth that can cause painful gums, sores, and irritation. While many cases are mild and temporary, persistent or severe symptoms deserve medical attention.
The most important steps are:
If you're experiencing persistent mouth pain and want to understand what might be behind your symptoms before your doctor visit, Ubie's free Stomatitis symptom checker can help you identify possible causes and determine the right next steps for care.
Your mouth should not hurt constantly. With the right diagnosis and care, stomatitis is usually manageable — and relief is possible.
(References)
* Kumar P, Singh N, Gupta A, Agrawal A. Stomatitis: A Comprehensive Review. J Clin Exp Dent. 2021 May;13(5):e505-e513. pubmed.ncbi.nlm.nih.gov/34035882/
* Akintoye SO, Abed H, Adunolu B, Igunnu A, Olawepo O. Recurrent Aphthous Stomatitis: A Systematic Review of Treatment. J Pharm Bioallied Sci. 2023 Apr-Jun;15(2):98-105. pubmed.ncbi.nlm.nih.gov/37409279/
* Feinberg A, Perednia D, Schaffer S. Herpetic gingivostomatitis: clinical features, diagnosis, and management. Pediatr Ann. 2020 May 1;49(5):e216-e221. pubmed.ncbi.nlm.nih.gov/32396656/
* Scully C, Scully P, Scully S. Common Oral Mucosal Lesions: A Review. J Clin Exp Dent. 2020 Feb 28;12(2):e178-e187. pubmed.ncbi.nlm.nih.gov/32179854/
* Luo C, Wang M, Jiang S, Jin G, Zhao S, Chen J. Diagnosis and Treatment of Oral Ulcers. Front Pharmacol. 2022 Nov 25;13:1040375. pubmed.ncbi.nlm.nih.gov/36506992/
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.