Pericarditis
Pericarditis is swelling and irritation of the thin, two-layered sac around the heart, usually causing sharp chest pain that feels worse when lying down or breathing in.

Overview
Your heart sits inside a thin, two-layered sac called the pericardium. A small amount of fluid between the layers lets the heart move smoothly as it beats. Pericarditis is when this sac becomes inflamed (swollen and irritated). The rough, inflamed layers can rub against each other, which causes chest pain.
Pericarditis is one of the more common reasons for chest pain that is not a heart attack. It can affect people of any age, but it is most common in adults between about 20 and 50, and slightly more common in men. Most cases are mild, start suddenly, and get better within a few weeks with rest and anti-inflammatory medicine. This is called acute pericarditis.
In some people, the pain comes back after it has settled. This is called recurrent pericarditis. Less often, pericarditis leads to fluid build-up around the heart or, rarely, long-term scarring of the sac. Because chest pain can also be a sign of a heart attack, it is important to get checked by a doctor rather than guess.
Symptoms
The main symptom is chest pain. It is often:
- Sharp or stabbing, usually in the centre or left side of the chest
- Worse when you lie flat, breathe in deeply, cough or swallow
- Better when you sit up and lean forward
- Sometimes felt in the neck, shoulders, back or along the top of the left shoulder blade
Other symptoms can include:
- Fever or feeling generally unwell
- A dry cough
- Feeling short of breath, especially when lying down
- Tiredness and weakness
- A fast heartbeat or a feeling of skipped beats (palpitations)
- Swelling of the legs or belly, if fluid builds up around the heart (less common)
Some people had a cold, sore throat or stomach bug in the weeks before the chest pain started.
Causes
In many people, doctors cannot find a clear cause. This is called idiopathic pericarditis. Most of these cases are thought to be caused by a virus. Known causes include:
- Viral infections, such as common cold and stomach viruses, flu and COVID-19
- Bacterial infections, including tuberculosis (TB). TB is a common cause in parts of the world where TB is widespread and in people with a weak immune system
- Heart attack or heart surgery. Pericarditis can appear days to weeks after a heart attack, heart surgery or some heart procedures
- Autoimmune and inflammatory diseases, where the immune system attacks the body's own tissues, such as lupus, rheumatoid arthritis and some other rheumatic diseases
- Kidney failure, when waste products build up in the blood
- Cancer that has spread to the pericardium, or radiation treatment to the chest
- Chest injury
- Certain medicines (rare)
- Vaccines (very rare). Mild pericarditis has rarely been reported after mRNA COVID-19 vaccines, mostly in young men. It usually settles quickly, and for most people the benefits of vaccination are much greater than this small risk.
Risk factors
Things that can make pericarditis more likely include:
- A recent viral infection
- A recent heart attack, heart surgery or heart procedure
- Autoimmune diseases such as lupus
- Kidney failure
- Cancer or past radiation treatment to the chest
- A weakened immune system, or living in or travelling from an area where TB is common
- Having had pericarditis before
Diagnosis
Your doctor will ask about your symptoms and listen to your chest with a stethoscope. Inflamed layers of the pericardium can make a scratchy sound called a pericardial rub. Tests help confirm pericarditis and rule out other problems, especially a heart attack or a blood clot in the lung.
Common tests
- Electrocardiogram (ECG or EKG): a quick, painless recording of your heart's electrical activity. Pericarditis often causes typical changes across many of the leads.
- Blood tests: to look for inflammation (such as C-reactive protein, or CRP), signs of heart muscle damage (troponin), infection, kidney function and other causes.
- Echocardiogram: an ultrasound scan of the heart that shows whether fluid has built up around it and how well the heart is pumping.
- Chest X-ray: to check the lungs and the size of the heart shadow.
Other tests sometimes needed
- Cardiac MRI or CT scan: to look closely at the pericardium and heart muscle, often if symptoms come back or the diagnosis is unclear.
- Pericardiocentesis: removing fluid from around the heart with a thin needle. This may be done to relieve pressure on the heart or to test the fluid for infection or cancer.
Treatment
Treatment aims to ease pain, calm the inflammation and prevent the pain from coming back. Most people with mild pericarditis can be treated at home after they have been checked. You may need a hospital stay if you have a high fever, a large amount of fluid around the heart, signs that the heart muscle is involved, or if you do not improve with treatment.
Medicines
- Anti-inflammatory pain relievers (non-steroidal anti-inflammatory drugs, or NSAIDs) such as ibuprofen or high-dose aspirin are usually the first treatment. They reduce pain and inflammation. Your doctor will tell you how much to take, for how long, and how to slowly lower the dose. A stomach-protecting medicine such as omeprazole is often given at the same time.
- Colchicine is usually added. It is an anti-inflammatory medicine that helps symptoms settle faster and greatly lowers the chance of the pain coming back. It is often taken for several months.
- Corticosteroids such as prednisone may be used if you cannot take NSAIDs, or for certain causes such as autoimmune disease. They are usually not the first choice because they can make it more likely that pericarditis comes back.
- For pericarditis that keeps coming back despite these treatments, a specialist may suggest newer medicines that block a part of the immune system called interleukin-1, such as anakinra or rilonacept.
- If a specific cause is found, it is treated too, for example antibiotics for a bacterial infection, or several medicines taken together for TB.
Take your medicines exactly as prescribed, and do not stop them early, even if you feel better, unless your doctor tells you to.
Procedures
If a lot of fluid builds up and presses on the heart, it may need to be drained with a needle. In rare cases of long-term scarring, surgery to remove part of the pericardium may be needed.
Living with pericarditis
- Rest and avoid hard exercise until your symptoms are gone and your blood tests are back to normal. Strenuous activity too early can bring the inflammation back. Athletes are usually advised to wait at least three months before returning to competitive sport, and to get clearance from their doctor first.
- Ease the pain by sitting up and leaning forward, and using extra pillows at night.
- Keep follow-up appointments so your doctor can check your progress and adjust your medicines.
- Tell your doctor about other medicines you take, including blood thinners and over-the-counter products, because some can interact with your pericarditis treatment.
- Look after your mood. Recurrent pericarditis can be tiring and stressful. Talk to your care team if you feel anxious or low.
Complications
Most people recover fully. Possible complications include:
- Recurrence: the pain comes back weeks or months later. This happens in a fair number of people, but taking colchicine lowers the risk.
- Pericardial effusion: extra fluid collects in the sac around the heart.
- Cardiac tamponade: a large or fast build-up of fluid squeezes the heart so it cannot fill properly. This is a medical emergency.
- Constrictive pericarditis: long-term scarring makes the sac stiff, so the heart cannot fill well. This is rare after common viral pericarditis but more likely after TB or bacterial infection, radiation or heart surgery.
- Myopericarditis: the inflammation also affects the heart muscle.
Outlook
The outlook for most people with acute pericarditis is very good. Symptoms usually improve within days of starting treatment, and most people are back to normal within a few weeks. Recurrent pericarditis can be frustrating and may last months or longer, but it rarely damages the heart, and effective treatments are available. The outlook is more serious when pericarditis is caused by a bacterial infection, TB or cancer, so finding the cause matters.
Prevention
Most pericarditis cannot be prevented. You can lower your risk of some causes and of it coming back by:
- Staying up to date with vaccines, including flu and COVID-19
- Washing your hands often to reduce the spread of infections
- Getting tested and treated for TB if you have been exposed
- Managing long-term conditions such as lupus or kidney disease with your care team
- Finishing the full course of treatment and slowly returning to exercise as advised
In Canada
In Canada, pericarditis is usually managed by family physicians, emergency physicians and cardiologists. Coverage of newer treatments for recurrent pericarditis, such as interleukin-1 blockers, varies by province and drug plan; ask your care team about access.
When to get medical help
See a doctor soon if:
- You have new chest pain, even if it feels mild or sharp rather than crushing
- Your pericarditis symptoms are not improving after a week of treatment, or they come back
- You have a fever that does not go away
- You have side effects from your medicines, such as stomach pain, black stools or ongoing diarrhea
Call emergency services or go to the nearest emergency department right away if:
- You have chest pain that feels heavy, tight or crushing, or spreads to your arm, jaw or back, as it could be a heart attack
- You are very short of breath or struggling to breathe
- You feel faint, dizzy, confused or pass out
- Your heart is racing or beating irregularly and you feel unwell
- Your skin is pale, cold or clammy
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Pericarditis. meshb.nlm.nih.gov
- MedlinePlus: Pericarditis. medlineplus.gov/ency/article/000182.htm
- NHLBI: Pericarditis. nhlbi.nih.gov/health/pericarditis
- NHS: Pericarditis. nhs.uk/conditions/pericarditis/
- ESC: 2015 Guidelines for the diagnosis and management of pericardial diseases. doi.org/10.1093/eurheartj/ehv318