Doctify logo
For providers
Provider Login

Pericarditis

Last reviewed: 07/06/26
Medically reviewed by
avatar-image
Dr Matthew Kahn
Cardiologist
4.98

Snapshot summary

Pericarditis is inflammation of the protective sac around the heart, often causing sharp chest pain that can feel worse when lying down or breathing deeply. Most cases are mild and improve with rest and anti-inflammatory treatment, but monitoring is important to prevent complications.

  • Commonly caused by viral infections, but the cause is sometimes unknown
  • Chest pain often improves when sitting up and leaning forward
  • Usually treated with anti-inflammatory medicines and rest
  • Most people recover fully within a few weeks with the right care

Overview

Pericarditis is a condition where the protective sac around the heart, called the pericardium, becomes inflamed. This sac has two thin layers with a small amount of fluid between them, allowing the heart to move smoothly as it beats.

When the pericardium becomes inflamed, the layers can rub against each other. This often causes sharp chest pain, which can feel alarming and may be mistaken for a heart attack. Although the symptoms can be frightening, most cases of pericarditis are mild and improve with rest and simple treatment.

In some people, extra fluid can build up between the layers of the sac, or the tissue can become stiff over time. Recognising symptoms early and following medical advice helps prevent complications and supports a full recovery.

Symptoms & causes

What causes pericarditis?

In many cases, no clear cause is found. Doctors may describe this as idiopathic, which simply means “the cause is unknown”.

When a cause is identified, it is most often related to infection or the immune system.

Common causes include:

  • Viral infections - the most common cause, often after a cold, flu, or COVID-19
  • Bacterial or fungal infections - less common, but can cause more severe illness
  • Autoimmune conditions - such as lupus or rheumatoid arthritis, where the immune system attacks healthy tissue
  • Heart injury - including a heart attack, heart surgery, or injury to the chest
  • Other conditions - such as kidney failure, some cancers, or reactions to certain medicines

Who is at risk of pericarditis?

Pericarditis can affect people of any age, but it is more commonly diagnosed in men.

People at higher risk include:

  • Men aged 20 to 50
  • People with autoimmune conditions
  • Those who have recently had a viral illness
  • People who have recently had heart surgery or a heart attack

Pericarditis is estimated to account for around 5% of emergency department visits for chest pain that are not caused by a heart attack.

What are the symptoms of pericarditis?

The main symptom is sharp chest pain, usually behind the breastbone or on the left side of the chest. The pain often starts suddenly.

Typical features of pericarditis pain include:

  • Worse when lying flat or breathing in deeply
  • Improves when sitting up and leaning forward
  • May spread to the shoulder, neck, or upper back

Other symptoms can include:

  • Shortness of breath, especially when lying down
  • A dry cough
  • Fever and flu-like symptoms
  • Fatigue or feeling generally unwell
  • Palpitations (a fast or irregular heartbeat)
  • Swelling in the legs or abdomen (usually in longer-lasting cases)

Diagnosis & tests

How is pericarditis diagnosed?

Because chest pain can have many causes, doctors first rule out serious conditions such as a heart attack or blood clot in the lungs.

Diagnosis usually involves a combination of examination and tests.

Common tests include:

  • Physical examination - a doctor may hear a characteristic scratching sound through a stethoscope, caused by the inflamed layers rubbing together
  • Electrocardiogram (ECG) - records the heart’s electrical activity and shows patterns typical of pericarditis
  • Blood tests - to look for inflammation and signs of infection or heart strain
  • Chest X-ray - to check for heart enlargement or fluid build-up
  • Echocardiogram - an ultrasound scan to look for fluid around the heart
  • CT or MRI scans - used in complex or recurring cases to assess inflammation and thickening

Treatment

How is pericarditis treated?

Treatment aims to reduce inflammation, relieve pain, and lower the risk of recurrence. Most people can be treated at home. Medicines include:

  • Anti-inflammatory medicines (NSAIDs) - such as ibuprofen, to reduce pain and swelling
  • Colchicine - commonly used alongside NSAIDs to reduce inflammation and prevent relapse
  • Steroids (corticosteroids) - used only when other treatments are unsuitable or if the cause is autoimmune

In rare circumstances, surgery might be required:

  • Pericardiocentesis - draining excess fluid if it puts pressure on the heart
  • Pericardiectomy - surgical removal of the pericardium in rare cases where it becomes permanently stiff

Management

How can pericarditis be managed?

Recovery depends on rest, patience, and following medical advice closely.

Key management steps include:

  • Rest - avoid strenuous activity until symptoms and inflammation have fully settled
  • Complete treatment - take all prescribed medicines for the full course
  • Monitor symptoms - report worsening pain, fever, or breathlessness
  • Healthy habits - eat a balanced diet and avoid smoking to support recovery

Returning to exercise should be gradual and guided by your healthcare team.

Possible complications

Most people recover fully, but complications can occur if inflammation persists or returns.

These include:

  • Recurrent pericarditis - symptoms return after initial recovery
  • Cardiac tamponade - dangerous fluid build-up that restricts heart movement (medical emergency)
  • Constrictive pericarditis - long-term scarring that makes the sac stiff and affects heart function

Outlook

The outlook for pericarditis is generally very good. Most cases are short-term and resolve within a few weeks with treatment and rest.

Even in people who experience recurrent episodes, modern treatments are effective. With proper follow-up and care, most people return to normal activities and lead full, active lives.

When to seek medical help

Seek medical advice promptly if you develop new or unexplained chest pain.

Call 999 or go to A&E immediately if you have:

  • Severe or crushing chest pain
  • Sudden shortness of breath
  • Fainting or collapse
  • Chest pain spreading to the jaw, arms, or back
  • High fever with sweating or severe illness

Find a provider

FAQs

Can pericarditis come back?

Yes. Around 15-30% of people may have a recurrence. Taking medications exactly as prescribed reduces this risk.

How long does pericarditis last?

Most cases improve within 2-4 weeks, but recovery time can vary depending on the cause.

Is pericarditis contagious?

No. Even when caused by a virus, pericarditis itself cannot be passed to others.

Can I work while recovering?

This depends on your symptoms and job. Many people need time off, especially if work is physically demanding.

Does pericarditis cause permanent heart damage?

In most cases, no. Serious long-term damage is uncommon when the condition is treated properly.

Can stress cause pericarditis?

Stress does not directly cause pericarditis, but it can weaken the immune system, making infections more likely.

Can I drink alcohol with pericarditis?

Alcohol is usually best avoided during recovery, as it can worsen inflammation and interact with medication.

References

https://www.nhs.uk/conditions/pericarditis/

https://www.bhf.org.uk/informationsupport/conditions/pericarditis

https://academic.oup.com/eurheartj/article/36/42/2921/2293375

https://www.google.com/search?q=https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8371307/

Find a provider