What Causes Myocarditis: Viruses, Vaccines, and More

Myocarditis, or inflammation of the heart muscle, is most often triggered by viral infections. But viruses are only part of the picture. Autoimmune diseases, certain medications, and even the body’s own overactive immune response can damage the heart in the same way. In 50% to 80% of cases, no specific cause is ever identified, which makes myocarditis one of the more frustrating cardiac conditions to pin down. It affects roughly 4 to 14 people per 100,000 each year, with men under 50 at highest risk.

Viral Infections Are the Leading Cause

In North America and Europe, the viruses most frequently linked to myocarditis are parvovirus B19 and human herpesvirus 6 (HHV-6), followed by Epstein-Barr virus, enteroviruses, cytomegalovirus, and adenovirus. These are common viruses that most people encounter at some point in their lives. The vast majority of infected people never develop heart inflammation. In the small number who do, the virus either directly damages heart muscle cells or, more commonly, sets off an immune response that spirals out of control.

What makes viral myocarditis tricky is that by the time you feel heart symptoms, the virus itself may already be gone. The damage at that point is being done by your immune system, not the original infection. This is why many cases appear days or weeks after a routine cold or stomach bug, when the initial illness seemed to have passed.

How the Immune System Damages the Heart

The real culprit in most myocarditis cases isn’t the infection itself. It’s your body’s inflammatory response. When a virus reaches the heart, the immune system sends waves of defensive cells to fight it. First come macrophages, a type of immune cell that acts as a first responder. Then lymphocytes (a category that includes T cells) arrive in force, with their infiltration peaking at 7 to 14 days. This window corresponds with the most severe phase of the disease.

Research using animal models has revealed something counterintuitive: mice that lacked functional T cells actually survived viral heart infections better than normal mice. This confirms that the T cell response, while intended to protect you, can cause more harm than the virus it’s fighting. Different types of T cells play different roles. Some subtypes worsen damage while others may help limit it, creating a complex tug-of-war inside the heart muscle. Even after the virus is fully cleared, this immune-driven injury can continue, potentially progressing to chronic inflammation or weakened heart function if it doesn’t resolve on its own.

COVID-19 Infection and Vaccination

SARS-CoV-2 brought myocarditis into public conversation, partly because of concerns about both the infection and the vaccines developed to prevent it. A large meta-analysis put the relative risk into perspective: COVID-19 infection increases the risk of myocarditis by a factor of about 15 compared to the general population, while mRNA vaccination increases it by a factor of about 2. That translates to more than a sevenfold higher risk from the infection itself compared to the vaccine.

Vaccine-associated myocarditis appears to involve a different mechanism than infection-driven cases. Rather than a virus directly invading heart tissue, the inflammation seems to stem from abnormal immune cell activity and an exaggerated inflammatory signaling response. Most vaccine-related cases have been mild and self-resolving, occurring primarily in young men within a few days of their second dose.

Autoimmune Diseases

Several systemic autoimmune conditions can cause myocarditis as a secondary complication. Lupus, Sjögren’s disease, and various forms of vasculitis (including Wegener’s granulomatosis, giant cell arteritis, and Takayasu’s arteritis) have all been linked to heart muscle inflammation. In these cases, the immune system is already in a state of chronic overactivation, and the heart becomes one of many organs caught in the crossfire.

Sarcoidosis deserves special mention. This inflammatory disease causes clusters of immune cells called granulomas to form in organs throughout the body, including the heart. Sarcoidotic myocarditis involves extensive infiltration by activated macrophages, leading to chronic inflammation and tissue damage that can significantly affect heart rhythm and pumping ability. It sits in an unusual space between autoimmune and autoinflammatory disease, and it can be particularly aggressive when it targets the heart.

Medications and Cancer Immunotherapy

Certain medications can directly inflame the heart muscle. Some psychiatric medications, including specific antipsychotics, have been associated with toxic myocarditis. The antipsychotic clozapine carries a well-documented risk, and monitoring for heart inflammation is part of standard care for patients taking it.

A newer and increasingly recognized cause is immune checkpoint inhibitor therapy, a class of cancer treatment that works by unleashing the immune system against tumors. The problem is that this unleashed immune response sometimes attacks healthy tissue, including the heart. Evidence from both animal and human studies points to a specific mechanism: immune cells become reactive against proteins found naturally in heart muscle, essentially treating the heart as a foreign invader. This form of myocarditis can be severe and requires careful monitoring during treatment.

Non-Viral Infections

While viruses dominate the list of infectious causes, bacteria, parasites, and fungi can also inflame the heart. The parasite Trypanosoma cruzi, spread by triatomid bugs in Central and South America, causes Chagas disease, which is one of the most common infectious causes of myocarditis worldwide. In its chronic phase, Chagas can cause progressive heart damage over decades.

Lyme disease, caused by the bacterium Borrelia burgdorferi from tick bites, can affect the heart’s electrical conduction system and cause inflammation. Fungal myocarditis is rare but can occur in people with severely weakened immune systems.

Environmental and Toxic Exposures

Heavy metals including lead, cadmium, mercury, arsenic, and chromium are found in air, water, soil, food, and industrial products. These substances promote the production of damaging molecules called reactive oxygen species, which trigger inflammation and disrupt normal cell function throughout the cardiovascular system. While the strongest evidence links chronic heavy metal exposure to conditions like high blood pressure and atherosclerosis, the same inflammatory pathways can contribute to direct heart muscle damage. Alcohol in excessive quantities is another well-established cardiac toxin that can cause inflammatory changes in the heart over time.

How Myocarditis Gets Diagnosed

Because so many different triggers produce similar symptoms (chest pain, shortness of breath, fatigue, irregular heartbeat), identifying myocarditis requires specific testing. Blood tests measuring a protein called troponin, which leaks from damaged heart cells, are a key first step. A high-sensitivity troponin test performs well as a screening tool. In one study, levels at or below 18 picograms per milliliter were able to rule out myocarditis with 92% sensitivity and a 96% chance that a negative result was truly negative.

Troponin alone can’t confirm the diagnosis, though, because it rises with any type of heart damage, not just inflammation. Cardiac MRI has become the gold standard for identifying active inflammation in the heart muscle without requiring an invasive procedure. In cases where the cause and severity remain unclear, a small tissue sample (biopsy) from the heart can reveal the specific type of immune cells involved, which helps distinguish between viral, autoimmune, and drug-related forms of the condition.