ConditionHeart & circulation

Pericarditis

Pericarditis is inflammation of the pericardium, the thin two-layered sac around the heart. Its typical sign is sharp, stabbing chest pain that is worse when you lie flat or breathe in deeply and better when you sit up and lean forward. Most cases are caused by a virus or have no identified cause, and they settle within 1 to 3 weeks with anti-inflammatory medicine plus colchicine. About 1 in 4 people have a recurrence. Rarely, fluid builds up and squeezes the heart, which is an emergency.

Also called: Acute pericarditis, recurrent pericarditis, pericardial inflammation, viral pericarditis

At a glance

What it is
Inflammation of the sac around the heart.
Hallmark symptom
Sharp central chest pain, worse lying down or breathing in, better leaning forward.
Common causes
Viral infections and unknown (idiopathic) causes; also after heart attack or surgery, autoimmune disease, cancer, kidney failure and TB.
Diagnosis
Symptoms, a scratching sound through a stethoscope (friction rub), ECG, echocardiogram and blood tests.
Treatment
High-dose NSAIDs or aspirin plus colchicine for 3 months, rest from strenuous exercise.

When to get help

Call 911 or go to the ER

  • Chest pain with shortness of breath, fainting, dizziness or a racing heart: call 911 or your local emergency number
  • Crushing or pressure-like chest pain, or pain spreading to the arm, jaw or back, which may be a heart attack
  • Chest pain with low blood pressure, swollen neck veins, cold clammy skin or confusion (possible cardiac tamponade)

See a doctor within a day or two

  • New sharp chest pain that changes with breathing or position, even if you suspect pericarditis
  • Fever over 38 °C (100.4 °F) with chest pain
  • Chest pain that returns after a previous episode of pericarditis
  • Pericarditis symptoms while taking blood thinners

Book a routine appointment

  • Mild, steady symptoms that have not settled after 1 week of prescribed treatment
  • Ongoing tiredness or breathlessness weeks after pericarditis

What happens in pericarditis

The pericardium has two thin layers with a small amount of lubricating fluid between them, letting the heart beat smoothly. When the layers become inflamed, they rub against each other with each heartbeat, causing pain. Inflammation can also cause extra fluid to collect between the layers (pericardial effusion).

Doctors describe pericarditis by its course:

  • Acute: a first episode lasting less than 4 to 6 weeks
  • Incessant: lasting more than 4 to 6 weeks without remission
  • Recurrent: returning after a symptom-free gap of at least 4 to 6 weeks
  • Chronic: lasting more than 3 months

Symptoms

  • Chest pain: sharp, stabbing or pleuritic (worse with breathing), usually behind the breastbone or on the left side. It often spreads to the neck, shoulders or the ridge of the trapezius muscle on top of the shoulder.
  • Pain changes with position: worse lying flat, better sitting up and leaning forward.
  • Pain worse with deep breaths, coughing or swallowing.
  • Low-grade fever
  • Shortness of breath, especially lying down
  • Palpitations
  • Tiredness and feeling unwell
  • Cold or flu-like symptoms in the days or weeks before, in viral cases

Causes

In wealthy countries, 80% to 90% of cases are viral or idiopathic (no cause found, assumed viral). Other causes include:

GroupExamples
InfectionsViruses (coxsackievirus, echovirus, flu, COVID-19, EBV, CMV), bacteria, and tuberculosis, which is the leading cause in many low-income countries
After heart injuryDays after a heart attack, or weeks after heart surgery or a heart attack (Dressler syndrome) or procedures
Autoimmune and inflammatoryLupus, rheumatoid arthritis, scleroderma, familial Mediterranean fever
Kidney failureUremic pericarditis, from waste products in the blood
CancerSpread of lung or breast cancer, lymphoma, or after chest radiation
Medicines and vaccinesSome drugs such as hydralazine and isoniazid; rarely after mRNA COVID-19 vaccines, mainly in young men
TraumaChest injury

Pericarditis vs heart attack

Chest pain should always be taken seriously, and doctors will rule out a heart attack. These clues help tell them apart:

PericarditisHeart attack
Pain typeSharp, stabbingPressure, squeezing, heaviness
Effect of positionWorse lying flat, better leaning forwardNo change
Effect of breathingWorse with deep breathsUsually no change
AgeOften young and middle-aged adultsUsually older, with risk factors
ECGWidespread ST elevation, PR depressionST changes in one area of the heart
Preceding illnessOften a recent viral infectionOften none

Myocarditis, inflammation of the heart muscle, can occur together with pericarditis (myopericarditis). A raised troponin level suggests the muscle is involved.

How pericarditis is diagnosed

Doctors diagnose acute pericarditis when at least two of these four are present:

  1. typical chest pain
  2. a pericardial friction rub, a scratchy, squeaky sound heard with a stethoscope
  3. characteristic ECG changes
  4. new or worsening pericardial effusion on an echocardiogram

Other tests:

  • Blood tests: CRP and white cell count to measure inflammation, troponin to check heart muscle, kidney function, and sometimes autoimmune and TB tests
  • Chest X-ray: to look for an enlarged heart shadow or lung problems
  • Echocardiogram: ultrasound of the heart to check for fluid and heart function
  • Cardiac MRI: shows pericardial inflammation and myocarditis in unclear or recurrent cases

Treatment

Most people with uncomplicated pericarditis are treated at home. Hospital admission is advised for high fever over 38 °C (100.4 °F), a large effusion, tamponade, a slow start of symptoms over weeks, failure to improve after a week of NSAIDs, raised troponin, a weak immune system, or use of blood thinners.

Medicines

  • NSAIDs or aspirin: high doses (prescribed by your doctor) for 1 to 2 weeks, then tapered. Aspirin is preferred after a heart attack. Doctors usually add a stomach-protecting medicine.
  • Colchicine: taken for 3 months (6 months for recurrences). It speeds recovery and roughly halves the risk of recurrence. Side effects are mainly diarrhea and stomach upset.
  • Corticosteroids: used only when NSAIDs and colchicine cannot be taken or do not work, or for autoimmune causes. They increase the chance of recurrence if used first-line.
  • IL-1 blockers (such as anakinra or rilonacept): for recurrent pericarditis that keeps returning despite standard treatment.
  • Treating the cause: antibiotics for bacterial infection, TB treatment, dialysis for kidney failure, cancer therapy.

Rest and activity

Avoid strenuous exercise until symptoms are gone and CRP has normalized. Athletes are usually advised to wait at least 3 months before returning to competitive sport, longer if myocarditis was present.

Procedures

  • Pericardiocentesis: draining fluid with a needle guided by ultrasound, for tamponade or a large effusion
  • Pericardiectomy: surgical removal of the pericardium, for constrictive pericarditis or frequent recurrences that do not respond to medicines

Complications

  • Recurrence: in about 15% to 30% of people, mostly within 18 months, more often without colchicine
  • Cardiac tamponade: fluid builds up fast enough to compress the heart, causing low blood pressure and shock; needs urgent drainage
  • Constrictive pericarditis: the pericardium thickens and stiffens, restricting the heart's filling and causing swelling of the legs and belly. It is uncommon after viral pericarditis but more frequent after TB, bacterial infection or radiation.

Recovery and outlook

Most people with viral or idiopathic pericarditis recover completely. Pain usually eases within a few days of starting treatment, and most people feel back to normal within 1 to 3 weeks. Some tiredness can last longer. Taking colchicine for the full course and avoiding strenuous exercise until inflammation has settled lowers the chance of it coming back. Recurrent pericarditis can be frustrating but rarely damages the heart.

Frequently asked questions

What does pericarditis pain feel like?

Usually a sharp, stabbing pain behind the breastbone or on the left side of the chest. It typically gets worse when you breathe in deeply, cough or lie flat, and improves when you sit up and lean forward. It may spread to the neck or top of the shoulders.

How long does pericarditis last?

Most acute episodes settle within 1 to 3 weeks with treatment. Colchicine is usually continued for 3 months to prevent recurrence. About 1 in 4 people have a recurrence, which may need longer treatment. Chronic pericarditis lasts more than 3 months.

Is pericarditis serious?

Usually not. Most cases are mild and resolve fully with anti-inflammatory medicine. Serious complications, such as fluid compressing the heart (tamponade) or a stiff, constricting pericardium, are uncommon. Chest pain with breathlessness, fainting or dizziness needs emergency care.

Can stress cause pericarditis?

Stress does not directly cause pericarditis. Most cases follow a viral infection or have no clear cause. Some people notice flares of recurrent pericarditis during stressful or run-down periods, possibly because of infections or overexertion, but the link is not proven.

Can I exercise with pericarditis?

Avoid strenuous exercise until your symptoms have gone and blood tests show inflammation has settled, usually at least several weeks. Competitive athletes are generally advised to wait 3 months. Gentle walking is usually fine once pain allows. Check with your doctor before restarting training.

What is the difference between pericarditis and myocarditis?

Pericarditis affects the sac around the heart, while myocarditis affects the heart muscle itself. They can occur together. Myocarditis is suspected when troponin, a marker of muscle damage, is raised, and it needs longer rest from exercise and closer heart monitoring.

Sources

This guide was written from current patient and clinical guidance, including:

  • European Society of Cardiology (ESC): Guidelines for the diagnosis and management of pericardial diseases
  • American College of Cardiology: Management of acute and recurrent pericarditis (JACC state-of-the-art review)
  • American Heart Association: Pericarditis
  • MedlinePlus: Pericarditis
  • NHS: Pericarditis