Inflammation of the heart is a condition where one or more layers of the heart become inflamed, typically from an infection or an overactive immune response. It affects roughly 10 to 106 people per 100,000 worldwide depending on the region, and while many cases resolve on their own, severe forms can weaken the heart muscle and lead to lasting damage. The condition goes by different names depending on which part of the heart is involved.
Three Types Based on Heart Layer
The heart has three distinct layers, and inflammation in each one produces a different condition with different risks. Working from the outside in:
- Pericarditis affects the pericardium, the protective sac of connective tissue surrounding the heart. It tends to cause intense chest pain, especially with breathing.
- Myocarditis affects the myocardium, the muscular middle layer that pumps blood. Because this is the heart’s engine, inflammation here can weaken its pumping ability.
- Endocarditis affects the endocardium, the thin inner lining that coats the heart’s chambers and valves. When pathogens latch onto the valves, they can erode the tissue and cause valves to leak.
Globally, myocarditis had an age-standardized incidence rate of about 16 cases per 100,000 people in 2021, according to the Global Burden of Disease Study. It caused an estimated 46,486 deaths worldwide in 2017. Pericarditis is diagnosed less precisely because it is frequently asymptomatic and may go undetected until classic symptoms appear.
What Causes Heart Inflammation
Viral infections are the most common trigger for both pericarditis and myocarditis. A garden-variety respiratory or stomach virus can reach heart tissue and set off inflammation that outlasts the original illness. Endocarditis works differently: it usually starts when bacteria, fungi, or other germs circulating in the bloodstream attach to the heart’s inner lining or valves.
Beyond infections, the causes fall into two broad categories. The first is immune-mediated inflammation, where the body’s own defense system attacks the heart. This can happen with autoimmune conditions like lupus, rheumatoid arthritis, inflammatory bowel disease, celiac disease, and sarcoidosis, among others. Certain medications can also trigger an allergic-type reaction in the heart muscle, including some antibiotics and anticonvulsants.
The second category is toxic damage. Stimulants like cocaine and amphetamines are known culprits. Alcohol in large quantities, certain chemotherapy drugs, and heavy metal exposure (copper, iron, lead) can also inflame heart tissue directly. In these cases, the substance itself injures heart cells rather than triggering an immune overreaction.
How Each Type Feels
Pericarditis produces sharp chest pain that typically gets worse when you breathe in deeply or lie flat, and often improves when you sit up and lean forward. The pain can be severe enough to mimic a heart attack, which sends many people to the emergency room. A doctor may hear a distinctive scratching sound through a stethoscope, called a friction rub, as the inflamed layers of the pericardium rub against each other.
Myocarditis is harder to pin down. Symptoms can range from mild fatigue and shortness of breath to heart palpitations, chest pressure, and swelling in the legs. Some people feel like they have a lingering flu that never fully clears. In severe cases, the weakened heart muscle can’t pump efficiently, leading to fluid buildup and the classic signs of heart failure. Irregular heartbeats are common, from occasional skipped beats to more dangerous rhythms.
Endocarditis tends to develop more gradually, with fever, night sweats, unexplained weight loss, and fatigue that worsens over weeks. Because the infection is in the bloodstream, symptoms can seem vague and flu-like at first. As valve damage progresses, you may notice increasing shortness of breath or swelling, signs that the heart is struggling to move blood effectively.
How the Immune System Damages the Heart
The real danger with heart inflammation, particularly myocarditis, is that the immune response meant to fight an infection often ends up hurting the heart itself. When a virus enters a heart muscle cell, it hijacks the cell’s machinery to replicate. The immune system responds by sending waves of different defender cells, and each wave carries collateral risk.
The first responders release toxic granules designed to kill infected cells, but these chemicals don’t discriminate well. They damage healthy heart cells nearby. Certain immune cells punch holes in the walls of infected heart cells to destroy the virus inside, which inevitably kills those cells too. As infected heart cells die and break apart, they release proteins that the immune system can mistake for foreign invaders, potentially triggering an autoimmune loop where the body keeps attacking its own heart tissue even after the original virus is gone.
This cycle of immune activation, tissue damage, and further immune activation explains why some people develop chronic inflammation that persists long after the initial infection clears. Over time, damaged heart muscle gets replaced by scar tissue (fibrosis), which can’t contract like healthy muscle and disrupts the heart’s electrical signals.
Long-Term Risks of Chronic Inflammation
Most cases of acute heart inflammation resolve without lasting harm. The concern is when inflammation becomes chronic. Persistent immune activity in the heart muscle can trigger a condition called inflammatory dilated cardiomyopathy, where the heart gradually enlarges, weakens, and loses its ability to pump blood efficiently. This is essentially heart failure driven by ongoing inflammation.
Rhythm problems are the other major long-term risk. Scar tissue from inflammation creates electrical “short circuits” in the heart. This can manifest as frequent premature heartbeats, episodes of rapid heart rhythms originating in the lower chambers, or electrical blockages that slow the heart’s conduction system. In cardiac sarcoidosis, a specific form of inflammatory heart disease, sudden cardiac death from a dangerous rhythm occurs in roughly 14% of patients.
The degree of scarring is one of the strongest predictors of long-term outcomes. More fibrosis correlates with higher mortality and more frequent hospitalizations. This is why catching and treating inflammation early matters so much: limiting the initial damage reduces the scar burden the heart carries going forward.
How It’s Diagnosed
Diagnosis typically starts with blood tests looking for elevated markers of heart cell injury and inflammation. An electrocardiogram can reveal telltale patterns, though the changes are often nonspecific. An echocardiogram (ultrasound of the heart) checks whether the heart is pumping normally and whether fluid has collected around it.
Cardiac MRI has become the cornerstone of diagnosis, especially for myocarditis. It can detect three hallmarks of inflammation in the heart tissue: increased blood flow to the inflamed area, fluid accumulation (edema) in the heart muscle, and areas of cell death or scarring. Late gadolinium enhancement, a technique where a contrast agent highlights damaged tissue, is detected in nearly 90% of myocarditis patients and remains the most widely used MRI approach. The current diagnostic standard, known as the updated Lake Louise criteria, looks for evidence of both fluid accumulation and tissue damage on the scan. When both are present, the diagnosis is strongly suspected.
Treatment Approaches
Treatment depends on which layer is inflamed and how severely the heart is affected. For milder cases of pericarditis and low-risk myocarditis, where the heart’s pumping function is preserved, anti-inflammatory medications are the first line. These reduce pain and help calm the immune response. Colchicine, a medication that targets inflammatory pathways, may also help, though evidence is still limited.
When myocarditis is severe enough to impair the heart’s pumping ability, treatment shifts toward managing heart failure and suppressing the immune system more aggressively. High-dose corticosteroids, sometimes combined with other immune-suppressing agents, aim to halt the destructive cycle of inflammation before more scar tissue forms. Standard anti-inflammatory drugs can actually be harmful in this setting, so the treatment strategy changes significantly based on severity.
Endocarditis requires a fundamentally different approach since the root cause is an active bloodstream infection. Prolonged courses of targeted antimicrobial therapy are the backbone of treatment, and in cases where valves are severely damaged, surgical repair or replacement may be necessary.
Recovery and Returning to Activity
After an acute episode of myocarditis, the standard recommendation is to avoid exercise for 3 to 6 months. Physical exertion during active inflammation can stress an already vulnerable heart and increase the risk of dangerous rhythms. This applies to competitive athletes and casual exercisers alike.
Restrictions are typically lifted once follow-up testing shows the inflammation has resolved, the heart’s pumping function has returned to normal, and rhythm monitoring doesn’t reveal concerning patterns. The timeline varies considerably from person to person. Some people bounce back within a few months with no lasting effects, while others require ongoing monitoring and treatment for residual heart muscle weakness or persistent rhythm disturbances.

