The Bottom Line

Myocarditis is inflammation of the heart muscle itself, most often triggered by a viral infection or an abnormal immune response. Most cases are mild and resolve on their own, but it can occasionally cause serious heart failure or dangerous arrhythmias, which is why any suspected case gets careful evaluation.

What Is Myocarditis?

Inflammation of the myocardium (heart muscle) itself, distinct from inflammation of the outer surrounding sac (pericarditis) or the heart's inner lining and valves (endocarditis) — though these can occasionally occur together, sometimes called myopericarditis.

What's Happening in Your Heart

The immune system's response to an infection or another trigger causes inflammation within the heart muscle tissue, which can temporarily impair the heart's ability to contract normally and can also disrupt the heart's electrical conduction system, raising arrhythmia risk. In most cases this inflammation resolves as the underlying trigger clears, though a minority of people go on to have lasting scarring or reduced heart function.

Types & Causes

  • Viral (most common) — coxsackievirus, adenovirus, parvovirus B19, COVID-19, influenza, and others
  • Immune-mediated / autoimmune — can occur with autoimmune conditions or as a reaction to certain medications
  • Immune checkpoint inhibitor-related — a specific, potentially serious cause linked to certain cancer immunotherapy drugs (see Cardio-Oncology)
  • Rarely, bacterial, fungal, or parasitic causes, including Chagas disease in endemic regions (see Tropical Cardiomyopathies & Chagas Disease)
  • Vaccine-associated — a rare, usually mild and self-limited association has been described with certain vaccines, notably mRNA COVID-19 vaccines in young men; this remains far less common and typically far milder than the myocarditis risk from COVID-19 infection itself

Common Symptoms

Chest pain, shortness of breath, fatigue, and palpitations — often preceded by a viral illness (fever, muscle aches, GI symptoms) days to weeks earlier. Can also present with no warning signs beyond a sudden arrhythmia or fainting, particularly concerning in young athletes.

How It's Diagnosed

An ECG (can show a range of abnormalities), blood troponin (often elevated, since heart muscle cells are being injured), an echocardiogram (assesses pumping function), and a cardiac MRI (the key test, showing characteristic patterns of inflammation and helping estimate prognosis) — in some cases a heart biopsy is needed if the diagnosis remains uncertain or a specific cause needs to be confirmed. (See Cardiac Testing & Imaging.)

Main Treatment Options

Supportive care is the mainstay for most people — rest, monitoring, and standard heart failure medications if pumping function is reduced. Treating the underlying trigger when identified (stopping a causative medication or immunotherapy, treating an underlying infection). Activity restriction, typically for a period of months, given the recognized link between exercise and worsening outcomes during active inflammation. Severe cases with significant heart failure or dangerous arrhythmias may need hospitalization, temporary mechanical support, or, rarely, advanced therapies.

Lifestyle Changes That Help

  • Following your care team's specific activity restriction — typically avoiding competitive or vigorous exercise for a period of months while the heart recovers, since exercise during active inflammation is linked to worse outcomes
  • Standard heart failure lifestyle principles if pumping function is reduced (see Heart Failure)
  • Follow-up cardiac MRI or echo to confirm recovery before resuming full activity

Living With It

Most people, especially with mild cases, recover completely within weeks to months. A minority have lasting reduced heart function or scarring found on follow-up imaging, which is followed similarly to other forms of cardiomyopathy. Follow-up imaging before returning to competitive sports is a standard, important step, not an overcautious formality.

When to Call Your Doctor vs. Go to the ER

Call your care team if:
  • New fatigue or mild shortness of breath during recovery
  • Questions about when it's safe to resume exercise
Go to the ER or call 911 if:
  • Chest pain, significant shortness of breath, fainting, or palpitations — especially in the weeks after a viral illness

Common Questions

Can I still exercise?

Not right away — most care teams recommend restricting vigorous and competitive exercise for a period of months while inflammation resolves, confirmed with follow-up imaging before clearing you to return.

Will this happen again?

Uncommon, but possible, especially if the same trigger recurs; most people have a single episode.

Is this the same as a heart attack?

No — a heart attack is caused by a blocked artery; myocarditis is inflammation from infection or an immune reaction, though both can cause chest pain and an elevated troponin.

Should I be worried about the vaccine-linked myocarditis I heard about?

The vaccine-associated cases identified, notably with mRNA COVID-19 vaccines in young men, have generally been mild and self-limited, and substantially less common and less severe than myocarditis linked to COVID-19 infection itself — a conversation worth having with your own doctor if you have specific concerns.