Evidence-Based Guide

Cold Sores Inside the Mouth

A physician's guide to herpes simplex sores inside the mouth, primary herpetic gingivostomatitis in children, and how to distinguish intraoral cold sores from canker sores and injury.

What causes cold sores inside the mouth, and how are they different from canker sores?

Sores inside the mouth caused by herpes simplex virus (usually HSV-1, and rarely the strains better known for cold sores on the lip) most often occur in two settings: a first, or primary, infection in a child, which produces painful sores across the gums and mouth called herpetic gingivostomatitis, and occasional recurrent intraoral outbreaks in adults, which tend to appear on the firmly attached tissues such as the gums and the roof of the mouth rather than the inner lip. This is distinct from a canker sore (aphthous ulcer), which is not caused by a virus, is not contagious, and typically appears as a single round, pale ulcer on the loose tissues such as the inner cheek or inner lip. These distinctions are laid out in the reviews of recurrent oral herpes and the case series of intraoral HSV-1. Because the causes differ, the treatment differs: intraoral herpes responds to antiviral medication, while canker sores are managed symptomatically.
Medically reviewed by Parth Bhavsar, MD. Updated September 8, 2026.

Key Takeaways

  • Recurrent intraoral herpes sores typically appear on the gums and hard palate (firmly attached tissue), unlike canker sores, which favor the inner lip and cheek.[1][2]
  • Primary infection in children, herpetic gingivostomatitis, causes fever and painful sores throughout the mouth, gums, and lips and usually lasts 10 to 14 days.[1][5]
  • Canker sores (aphthous ulcers) are not caused by HSV, are not contagious, and do not respond to antiviral medication.[1][4]
  • Sores on the inner lip or cheek that are single, round, and pale are far more likely canker sores than herpes.[1]
  • Intraoral herpes is contagious, especially during the blistering and weeping phases, so avoid kissing and sharing utensils during an active outbreak.[7][8]
  • A first, severe, or persistent mouth infection, or one in an infant or immunocompromised person, warrants a clinician evaluation.[7][1]
Editorial medical illustration representing herpes sores inside the mouth
Herpes simplex can cause sores inside the mouth too, especially in a first infection. It is important to distinguish these from canker sores.

Cold Sores vs Intraoral Herpes

People commonly equate "cold sore" with the lip, but the same virus can also cause sores inside the mouth. The classic cold sore appears on the outer lip and surrounding skin, while an intraoral herpes sore occurs on the lining of the mouth itself. Both are caused by herpes simplex virus, almost always HSV-1.[1][8]

There is a useful anatomical pattern that helps clinicians tell intraoral herpes from other mouth sores. Herpes simplex has a predilection for firmly attached mucosa, the gums (gingiva) and the roof of the mouth (hard palate). Canker sores, by contrast, favor the loose, non-keratinized lining, most often the inner cheek and inner lip. A recurrent sore on the gum or hard palate is therefore more suggestive of herpes, while a sore on the inner lip or cheek points toward aphthous (canker) ulcer.[1][2]

Cold sore vs canker sore vs trauma Different causes and appearances help tell an intraoral herpes sore from a canker sore or an injury.0.01.83.65.47.29.0herpes: yesBlisters before ulcercanker soreRound pale ulcer, no blisterstraumaFollows a bite/injurySource: Woo & Challacombe 2007; Tovaru 2011; de Paiva 2025.

Intraoral herpes blisters are small and fragile, and inside the moist mouth they typically rupture quickly, leaving shallow, painful ulcers that may merge. Because the blisters break so fast in the mouth, patients and clinicians often see the ulcer stage rather than intact blisters, which is one reason the diagnosis can be missed.[1][3]

Primary Gingivostomatitis in Children

When a child is first infected with HSV-1, usually in the toddler through early school-age years, the result is often a distinctive and uncomfortable syndrome called primary herpetic gingivostomatitis. Rather than a single lip sore, the first infection can cause widespread inflammation of the gums and lining of the mouth with numerous painful sores.[1][5]

The typical picture includes fever, irritability, swollen and bleeding gums, drooling, and refusal to eat or drink because the mouth hurts. The illness generally runs about 10 to 14 days. Dehydration from not drinking is the most common serious concern, so encouraging fluids is a priority.[1][5]

Primary gingivostomatitis: first infection A first HSV infection in a child can cause painful sores on gums and lips lasting about 10 to 14 days, with fever.Fever2 daysSores on gums/lips4 daysPain/difficulty eating4 daysHealing5 daysSource: Woo & Challacombe 2007; Opstelten 2008.

Because this is a first infection, the child has no prior immunity, which is why it is more dramatic than a routine recurrence. Older children, teens, and adults who were never infected in childhood can also develop primary gingivostomatitis, though it is most common in young children.[1] Later, after the initial infection resolves, any future outbreaks are the more limited, recurrent form.[1][8]

Herpes Sore vs Canker Sore

This is the most common diagnostic question for mouth sores, and the distinction matters because the treatment is different.

  • Herpes sore: caused by HSV-1; contagious; often preceded by a tingling or burning; forms fragile blisters that ulcerate; typically on the gums or hard palate; responds to antiviral medication.[1][2]
  • Canker sore (aphthous ulcer): not caused by a virus; not contagious; appears as a single, round or oval, shallow, pale ulcer with a red rim; usually on the inner lip, inner cheek, or under the tongue; managed symptomatically, since antivirals do not help.[1][4]

Canker sores are extremely common, and the majority of white, painful ulcers on the inner lip or cheek are canker sores rather than herpes. They can be triggered by minor injury, stress, certain foods, or appear without an obvious cause. Because they are not infections, they do not spread to others and do not need antiviral treatment.[1][4]

A third category is trauma, a bite to the inside of the cheek or a burn, which produces a sore at the exact site of injury. And there are less common causes of mouth ulcers that a clinician may need to consider, especially for ulcers that persist beyond two weeks without healing.[3][1]

FeatureHerpes soreCanker soreTraumatic ulcer
CauseHSV virus[2]Not viral; immune/injury related[1]Bite or burn[3]
Typical siteGums, hard palate[1]Inner lip, inner cheek[1]Exact site of injury
Early feelingTingling or burning[2]Usually noneSudden pain at injury
ContagiousYes[7]No[4]No
TreatmentAntiviral, early[6]Symptom care[4]Protect and heal

Recurrent Intraoral Herpes in Adults

In adults, recurrent herpes can occasionally appear inside the mouth rather than on the lip. A case series of 58 otherwise healthy adults with recurrent intraoral HSV-1 documented the typical features: painful sores, often on the gums and palate, usually self-limiting, and frequently preceded by prodromal tingling.[2] These episodes are usually shorter and less dramatic than a primary infection.

How long an inside-mouth outbreak lasts Intraoral herpes sores typically heal within about 7 to 14 days, somewhat longer if the area is irritated.Tingling1 dayBlisters/ulcers3 daysWeeping2.5 daysCrust/heal5 daysSource: Woo & Challacombe 2007; Tovaru 2011.

Recurrent intraoral herpes tends to run a course measured in about a week to two weeks, with the worst pain during the ulceration phase. The same triggers that provoke lip cold sores, sun, stress, illness, and trauma, can provoke intraoral recurrences, and the same early-treatment principle applies.[1][9]

Some people with recurrent intraoral herpes mistake their outbreaks for recurring canker sores. If sores recur frequently in the same attachment-site location, are preceded by tingling, or are accompanied by a lip cold sore at the same time, herpes is more likely, and antiviral treatment may be worth discussing with a clinician.[2][1]

FeaturePrimary infection (gingivostomatitis)Recurrent intraoral herpes
WhoUsually young children at first exposure[1]Adults with dormant virus[2]
SymptomsFever, widespread mouth and gum sores[5]Localized, painful, often on gums/palate[2]
DurationAbout 10 to 14 days[1]About one to two weeks[2]
RecursOne-time first event, then recurrences possible[1]Yes, in response to triggers[1]

Treatment for Inside-the-Mouth Sores

Treatment depends on which kind of sore you have.

For intraoral herpes, oral antiviral medication (acyclovir, valacyclovir, or famciclovir) is the evidence-based treatment, and it is most effective when started early. In primary gingivostomatitis, oral acyclovir is commonly prescribed, particularly for children, to reduce the severity and duration of the illness when given early enough.[1][6] Pain relief with acetaminophen or ibuprofen and maintaining fluids are important supportive measures, especially in children.[1][5]

For canker sores, antivirals do not help, because there is no virus to treat. Management is symptomatic: avoiding irritating or acidic foods, using a topical numbing or protective product, and in more bothersome or recurrent cases, prescription options that a clinician can discuss.[1][4]

ConditionCauseContagious?Treatment
Intraoral herpesHSV-1 virus[2]Yes[7]Oral antiviral, early[6]
Herpetic gingivostomatitisPrimary HSV-1 infection[1]Yes[7]Antiviral, fluids, pain relief[1]
Canker soreNot viral; immune/injury related[1]No[4]Symptom care, no antivirals[4]
Traumatic ulcerBite or burn[3]NoProtect the area; allow healing

Contagiousness and Spread

Intraoral herpes, like lip cold sores, is contagious, especially during the blistering and weeping phases when the sores and saliva carry live virus. HSV-1 spreads through saliva and direct contact, so during an active outbreak it is important to avoid kissing, sharing cups, utensils, and toothbrushes, and to wash hands after touching the mouth.[7][8]

This matters most for infants and people with weakened immune systems. Newborns can develop serious, sometimes life-threatening HSV infection, so anyone with an active cold sore, whether on the lip or in the mouth, should avoid close contact with a baby.[7][8]

Canker sores and traumatic ulcers are not contagious and require no special precautions to protect others.[4][1]

When to See a Clinician

Many mouth sores are self-limiting, but several situations warrant evaluation:

  • A first HSV infection with high fever, refusal to drink, or signs of dehydration, especially in a young child.[1][5]
  • An ulcer that has not healed within about two weeks, or that keeps recurring.[1]
  • Sores in someone who is immunocompromised, which can be larger, deeper, and more persistent.[7][1]
  • Very large, very painful, or multiple sores, or an accompanying lip cold sore with eye symptoms.[4]
  • Uncertainty about the diagnosis, since some uncommon but important conditions can present as a mouth ulcer.[3][1]

A clinician can distinguish these patterns on examination and prescribe the appropriate treatment, including antivirals for confirmed or likely herpes and symptomatic care otherwise.[6][1]

Frequently Asked Questions

Yes. The herpes simplex virus can cause sores inside the mouth, particularly on the gums and roof of the mouth, in addition to the more familiar lip cold sore.[1][2]

Yes. Intraoral herpes is contagious, especially while sores are present, and spreads through saliva and direct contact.[7][8]

It is the primary, or first, HSV infection in a child, causing fever and painful sores across the gums, mouth, and lips over about 10 to 14 days.[1][5]

A canker sore is a single round, pale ulcer with a red rim on the inner lip or cheek, is not contagious, and is not caused by a virus. Herpes favors the gums and palate, may be preceded by tingling, and is contagious.[1][2]

No. Canker sores are not caused by a virus, so antivirals do not help. They are managed with symptomatic care and usually heal on their own.[4][1]

Recurrent intraoral herpes usually lasts about one to two weeks, while primary gingivostomatitis in a child runs roughly 10 to 14 days.[2][1]

No. Canker sores and cold sores are separate conditions with different causes and one does not transform into the other.[1][4]

Pain from widespread mouth sores, as in primary herpetic gingivostomatitis, makes eating and drinking painful. Encourage fluids and soft foods, and seek care if the child is not drinking or shows signs of dehydration.[1][5]

Worry warrants evaluation if an ulcer lasts more than about two weeks, keeps recurring, is very large or painful, occurs with high fever, or you are immunocompromised.[1][7]

Yes, HSV can be serious in newborns, so avoid kissing a baby and sharing items while you have an active cold sore on the lip or in the mouth.[7][8]

References

  1. Woo SB, Challacombe SJ. Management of recurrent oral herpes simplex infections Oral Surgery, Oral Medicine, Oral Pathology, Oral Radiology, and Endodontology. 2007;103(Suppl):S12.e1-18.. doi:10.1016/j.tripleo.2006.11.004
  2. Tovaru S, Parlatescu I, Tovaru M, Cionca L, Arduino PG. Recurrent intraoral HSV-1 infection: a retrospective study of 58 immunocompetent patients from Eastern Europe Medicina Oral, Patología Oral y Cirugía Bucal. 2011;16(2):e163-169.. doi:10.4317/medoral.16.e163
  3. de Paiva JPG, Sousa-Neto SS, Humberto MAC, Magalhães MAO, Bubola J, Assunção Júnior JNR, et al. Unusual oral presentations of herpes simplex virus-1: a series of eight cases and literature review Special Care in Dentistry. 2025;45(2):e70129.. doi:10.1111/scd.70129
  4. Opstelten W, Neven AK, Eekhof J. Treatment and prevention of herpes labialis Canadian Family Physician. 2008;54(12):1683-1687.. PMID 19074705
  5. Leung AKC, Barankin B. Herpes labialis: an update Recent Patents on Inflammation & Allergy Drug Discovery. 2017;11(2):107-113.. doi:10.2174/1872213X11666171003151717
  6. Cernik C, Gallina K, Brodell RT. The treatment of herpes simplex infections: an evidence-based review Archives of Internal Medicine. 2008;168(11):1137-1144.. doi:10.1001/archinte.168.11.1137
  7. Centers for Disease Control and Prevention. Herpes: STI treatment guidelines, 2021 CDC Division of STD Prevention.. cdc.gov herpes treatment guidelines
  8. World Health Organization. Herpes simplex virus fact sheet WHO. Updated May 30, 2025.. who.int herpes fact sheet
  9. Spruance SL, Jones TM, Blatter MM, Vargas-Cortes M, Barber J, Hill J, et al. High-dose, short-duration, early valacyclovir therapy for episodic treatment of cold sores: results of two randomized, placebo-controlled, multicenter studies Antimicrobial Agents and Chemotherapy. 2003;47(3):1072-1080.. doi:10.1128/AAC.47.3.1072-1080.2003

About the Author

Parth Bhavsar, MD

Dr. Bhavsar is a board-certified family medicine physician and founder of TeleDirectMD. He evaluates cold sores with a focus on prompt antiviral timing, accurate self-diagnosis, and prevention of recurrence and transmission. He practices telemedicine across 44 U.S. states plus DC and is fluent in English, Hindi, Gujarati, and Urdu.

Medically reviewed by Parth Bhavsar, MD. Last reviewed and fully updated September 8, 2026.