Doctors Note Logo

Published on: 3/11/2026

Mouth Pain Won’t Stop? Why Stomatitis Inflames Your Gums & Medical Next Steps

Stomatitis is treatable inflammation inside the mouth that can inflame your gums and cause painful sores, most often from viral, bacterial or fungal infections, nutritional deficiencies, irritation, autoimmune conditions, or medications.

There are several factors to consider; see below to understand how diagnosis and treatments differ by cause, which home care helps, and which red flags like fever, spreading sores, dehydration risk, or pain beyond two weeks mean you should seek medical care now.

answer background

Explanation

Mouth Pain Won't Stop? Why Stomatitis Inflames Your Gums & Medical Next Steps

If 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.


What Is Stomatitis?

Stomatitis is a general term for inflammation inside the mouth. It can affect:

  • The gums
  • The inside of the cheeks
  • The tongue
  • The lips
  • The roof or floor of the mouth

Depending on the cause, stomatitis may show up as redness, swelling, ulcers, blisters, white patches, or painful sores.

There are two common forms:

  • Aphthous stomatitis (canker sores)
  • Herpetic stomatitis (caused by the herpes simplex virus)

However, stomatitis can also be linked to infections, nutritional deficiencies, immune disorders, irritation, or systemic disease.


Why Does Stomatitis Inflame the Gums?

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:

  • Swollen, tender gums
  • Redness or patchy irritation
  • Pain when eating or brushing
  • Bleeding gums
  • Ulcers or raw areas

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.


Common Causes of Stomatitis

Understanding the cause is critical because treatment depends on it. Here are the most common reasons stomatitis develops:

1. Viral Infections

  • Herpes simplex virus (HSV-1)
  • Coxsackievirus (hand, foot, and mouth disease)

Viral stomatitis may cause:

  • Fever
  • Blisters
  • Widespread painful sores

2. Bacterial Infections

Poor oral hygiene or gum disease can trigger bacterial overgrowth and inflammation.

3. Fungal Infections

Oral thrush (caused by Candida yeast) can cause:

  • White patches
  • Redness
  • Burning sensation

More common in:

  • Infants
  • Older adults
  • People using inhaled steroids
  • Those with weakened immune systems

4. Nutritional Deficiencies

Low levels of:

  • Iron
  • Vitamin B12
  • Folate

These deficiencies can contribute to recurrent stomatitis.

5. Irritation or Trauma

  • Braces or dental appliances
  • Aggressive brushing
  • Sharp teeth edges
  • Tobacco use
  • Spicy or acidic foods

6. Allergic Reactions

Some toothpastes, mouthwashes, or foods may trigger irritation.

7. Autoimmune Conditions

Conditions like:

  • Behçet's disease
  • Lupus
  • Celiac disease

These may cause recurring or severe stomatitis.

8. Medical Treatments

  • Chemotherapy
  • Radiation therapy
  • Certain medications

These can damage the lining of the mouth and cause significant inflammation (oral mucositis).


Symptoms of Stomatitis

Symptoms vary depending on the cause, but may include:

  • Persistent mouth pain
  • Swollen or bleeding gums
  • Red or inflamed patches
  • White or yellow sores with red borders
  • Blisters
  • Burning sensation
  • Difficulty eating or swallowing
  • Fever (in some viral cases)

If symptoms last longer than two weeks, it's important to seek medical evaluation.


When Stomatitis Is More Than a Minor Problem

Most cases are mild and resolve within 7–14 days. However, stomatitis can become serious if:

  • You cannot eat or drink due to pain
  • You develop dehydration
  • Fever accompanies mouth sores
  • Sores spread rapidly
  • You have a weakened immune system
  • Symptoms persist beyond two weeks
  • Sores are unusually large or recurrent

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.


How Stomatitis Is Diagnosed

A healthcare provider will usually:

  • Examine your mouth
  • Ask about recent illnesses
  • Review medications
  • Ask about diet and stress
  • Possibly order blood tests (if deficiencies are suspected)

In rare cases, a biopsy may be needed if lesions appear unusual or do not heal.

If you're experiencing mouth pain and want to understand whether your symptoms align with stomatitis, you can use a free AI-powered Stomatitis symptom checker to get personalized insights before your doctor visit.


Treatment Options for Stomatitis

Treatment depends on the underlying cause. Common medical approaches include:

For Viral Stomatitis

  • Antiviral medications (if severe or early in infection)
  • Pain relief medication
  • Hydration support

For Bacterial Causes

  • Antibiotics (if infection is confirmed)
  • Improved oral hygiene practices

For Fungal Infections

  • Antifungal mouth rinses or lozenges

For Nutritional Deficiencies

  • Iron supplements
  • Vitamin B12 injections or oral supplements
  • Dietary adjustments

For Inflammation and Pain

  • Topical corticosteroid gels
  • Prescription mouth rinses
  • Numbing agents (lidocaine-based products)

What You Can Do at Home

While waiting for medical advice or during treatment, you can:

  • Rinse with warm salt water
  • Avoid spicy, acidic, or rough foods
  • Use a soft-bristled toothbrush
  • Stay hydrated
  • Avoid tobacco and alcohol
  • Choose mild, alcohol-free mouthwash

If pain is significant, over-the-counter pain relievers may help, but they do not treat the root cause.


Preventing Future Stomatitis Flare-Ups

Prevention depends on the trigger, but helpful steps include:

  • Maintaining good oral hygiene
  • Regular dental checkups
  • Managing stress
  • Eating a balanced diet rich in B vitamins and iron
  • Avoiding known food triggers
  • Replacing irritating dental products

If stomatitis keeps coming back, a deeper medical evaluation is warranted.


When to Speak to a Doctor

You should speak to a doctor or dentist promptly if:

  • Mouth pain lasts longer than two weeks
  • Sores are severe or spreading
  • You have trouble swallowing
  • You experience fever with mouth lesions
  • You have unexplained weight loss
  • You have a weakened immune system

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.


The Bottom Line

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:

  • Identify the cause
  • Treat the underlying issue
  • Protect your oral health
  • Seek medical guidance if symptoms don't improve

If you're concerned about your symptoms and want clarity on what might be causing your mouth pain, try using a free Stomatitis symptom checker to help you prepare for your conversation with a healthcare professional.

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/

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

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.

Learn more about diseases

Stomatitis

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.