India · United StatesDoctor-led care for India and the United StatesLimited placesMyDoctor Partner: zero upfront, limited placesFree appDownload the MyDoctor App on any deviceConciergeMedical Tourism Concierge of MyDoctor: written quotes before you travelDownload the MyDoctor App →
Heart care

Pericarditis: sharp chest pain, causes, tests and treatment explained

Pericarditis is swelling of the thin sac around the heart that often causes sharp chest pain. This article explains causes, symptoms, tests, treatment, recovery and when to seek urgent help.

5 min readUpdated 3 official sources

Dr. Ambed MishraScientist and Chief Medical OfficerDr. Ambed Mishra

Educational information only, not medical advice. Always ask a qualified doctor about your own health. In an emergency call 112 (India) or 911 (US). Read the full disclaimer.

Simple view: the same facts in everyday words, for readers with no medical background.

Abstract

Background. Pericarditis is inflammation of the pericardium, the thin fluid-filled sac that surrounds the heart. It often causes sharp chest pain and is usually not serious, although it can sometimes lead to serious problems.

Key points. This review describes the typical pain, which is worse on deep breathing, coughing or lying down and eases when leaning forward. It explains that many cases follow a viral infection, while other causes include heart attack, heart surgery, injury and some medicines. It outlines the tests doctors use, such as an ECG and echocardiogram, the treatment options and the usual recovery time.

Conclusion. Chest pain should always be taken seriously because it can be a sign of a heart attack. Get medical advice promptly, and call emergency services for severe or spreading pain. Your doctor decides the treatment.

Keywords: pericarditis; pericarditis symptoms; sharp chest pain; inflammation around the heart; pericarditis treatment; pericarditis causes

On this page
  1. 1. Introduction
  2. 2. Signs and symptoms
  3. 3. Causes and risk factors
  4. 4. Diagnosis and tests
  5. 5. Treatment and recovery
  6. 6. Prevention
  7. 7. When to see a doctor
  8. 8. Conclusion
  9. Common questions
  10. References
  11. Article information
  12. Cite this article
  13. About the author

Chest pain has many causes, and one of them is swelling around the heart. This article explains pericarditis, how it is recognised and treated, and why any new chest pain needs medical advice. It draws on the NHS and MedlinePlus.

1. Introduction

The pericardium is a thin sac, filled with a little fluid, that surrounds the heart. Pericarditis means this sac is inflamed, which is swelling and irritation [1, 2]. The NHS says it is usually not serious but can sometimes lead to serious health problems, and that blood or fluid can leak into the sac [1]. MedlinePlus describes two related problems: pericardial effusion, which is a build-up of fluid in the sac, and cardiac tamponade, a serious condition in which the fluid stops the heart from working properly [3].

2. Signs and symptoms

The main symptom is chest pain. The NHS describes it as usually sharp or stabbing, and it may spread to the shoulders, arms or tummy [1]. Typical features include [1, 2]:

  • Pain that gets worse with deep breaths, swallowing, coughing or lying down, especially on the left side
  • Pain that eases when you sit up and lean forward
  • A fever, or feeling hot, cold or shivery
  • A dry cough and painful joints

MedlinePlus also lists leg or ankle swelling, tiredness, anxiety and trouble breathing when lying down [2]. A fast heartbeat can occur too, and MedlinePlus says fever is a common symptom of acute pericarditis [3].

3. Causes and risk factors

The exact cause is often hard to confirm, but the NHS says it is usually a viral infection, such as a cold or flu [1]. MedlinePlus explains that other causes include bacterial infections, heart attack, heart surgery, chest injury, chest radiation therapy and some medicines [2, 3]. It is linked with conditions such as autoimmune diseases, an underactive thyroid, kidney failure and tuberculosis [2]. It is most often seen in men aged 20 to 50, and MedlinePlus says the cause is often unknown [2].

4. Diagnosis and tests

A doctor will listen to your heart, because pericarditis can change the sounds. MedlinePlus says a friction (rubbing) sound may be heard and heart sounds may seem muffled [2]. To confirm the diagnosis the NHS says a doctor may arrange [1]:

  • Blood tests
  • A chest X-ray
  • An electrocardiogram (ECG), which records the electrical activity of the heart. The NHS says an ECG is painless and some GP surgeries can do one [1]
  • An echocardiogram, which is an ultrasound scan of the heart

MedlinePlus adds that heart MRI or CT scans, and blood tests for heart muscle damage, inflammation or infection, may be used [2].

5. Treatment and recovery

Treatment depends on the cause [1, 3]. The NHS says anti-inflammatory painkillers are commonly used to relieve the pain, and that sitting up or leaning forward can ease the pain. If these do not work or the problem returns, a doctor may prescribe a medicine called colchicine, and steroids may be considered if that is not enough. Antibiotics are used if a bacterial infection is the cause [1]. MedlinePlus says antifungal medicines treat fungal causes [2].

If a lot of fluid collects and affects the heart, doctors can drain it with a needle procedure. In persistent or repeated cases, surgery on the sac may be needed [2]. MedlinePlus says pericarditis is usually not life-threatening but can be dangerous without treatment [2]. Medicines should only be taken as your doctor advises.

The NHS says most people improve within a few weeks [1]. MedlinePlus gives a range of about 2 weeks to 3 months with prompt treatment. It warns that the condition can return and that severe cases may lead to scarring and thickening of the sac, called constrictive pericarditis, which can resemble heart failure [2].

6. Prevention

MedlinePlus says many cases cannot be prevented [2]. The NHS says anyone with chest pain should get medical advice [1].

Keeping a short record can help at your appointment. Note when the pain began, what makes it better or worse, and whether you had a cold, flu or other illness before it started, since the NHS says pericarditis often follows a viral infection [1]. Tell the doctor about every medicine you take, because MedlinePlus says some medicines can cause pericarditis [2]. Ask your doctor when it is safe to return to your usual activities. If the pain comes back after you have felt better, contact your doctor again, because MedlinePlus says pericarditis can recur [2]. Do not take extra painkillers beyond your doctor's instructions.

7. When to see a doctor

See a doctor urgently if you have sharp chest pain that gets worse when you breathe in deeply, swallow, cough or lie down [1]. The NHS advises calling emergency services for sudden chest pain that spreads to the arms, back, neck or jaw, feels tight or heavy, comes with breathlessness, sweating or sickness, or lasts more than 15 minutes, because it could be a heart attack. Do not drive yourself to hospital [1].

In an emergency, call your local emergency number (112 in India, 911 in the United States).

8. Conclusion

Pericarditis is swelling of the sac around the heart. It often follows a viral illness and most people improve within weeks to months with the right care. Because chest pain can be a sign of a heart attack, anyone with chest pain should get medical advice. Your doctor will decide which tests and treatment are right for you.

Common questions

How is pericarditis pain different from a heart attack?

The NHS says pericarditis pain is often sharp, worsens on deep breathing or lying down and eases when leaning forward. The NHS says anyone with chest pain should get medical advice (1).

What usually causes pericarditis?

The NHS says it is usually a viral infection such as a cold or flu, though the exact cause is often hard to confirm (1).

How long does recovery take?

The NHS says most people improve within a few weeks. MedlinePlus says recovery can take from 2 weeks to 3 months (1, 2).

Can pericarditis come back?

MedlinePlus says recurrence is possible, so follow-up with your doctor matters (2).

Important: please read

  • Educational information only. This article is general health education. It is not medical advice, diagnosis or treatment. Reading it does not create a doctor–patient relationship with MyDoctor or with anyone else.
  • Ask a qualified doctor. Always talk to a qualified, registered doctor about your own health. In India, that means a doctor registered with the National Medical Commission (NMC) or a State Medical Council. In the United States, a licensed physician. Elsewhere, a doctor licensed where you live.
  • Never ignore or delay professional advice because of something you read here. Do not start, stop or change any medicine or treatment without your doctor.
  • Emergencies: call 112 in India, 911 in the United States, or your local emergency number. Do not wait for an online answer.
  • No product is endorsed. MyDoctor does not recommend any brand, product or supplement in this article.
  • About the sources. This article summarises, in our own words, information from the public health bodies named under Sources. Health knowledge changes, and this summary may not reflect the latest research or your personal situation.
  • Liability. To the extent permitted by law, MyDoctor (MODERNUS HEALTH TECHNOLOGIES PRIVATE LIMITED) accepts no liability for any decision made on the basis of this content.

Full disclaimer · Privacy and terms

References

  1. NHS. Pericarditis - NHS [Internet]. 2023 [cited 2026 Oct 19]. Available from: https://www.nhs.uk/conditions/pericarditis/
  2. NIH MedlinePlus. Pericarditis - MedlinePlus Medical Encyclopedia [Internet]. 2026 [cited 2026 Oct 19]. Available from: https://medlineplus.gov/ency/article/000182.htm
  3. NIH MedlinePlus. Pericardial Disorders - MedlinePlus [Internet]. 2025 [cited 2026 Oct 19]. Available from: https://medlineplus.gov/pericardialdisorders.html

Article information

Article ID
MDG-ART-CARDIO-0002
Version
1
Author and corresponding author
Dr. Ambed Mishra, PharmD, PhD, Scientist and Chief Medical Officer, MyDoctor. Contact the author's office
Written
2026 Oct 15
Approved and published
2026 Oct 20
Last reviewed
2026 Oct 19
Next review due
2027 Oct 19
Conflict of interest
The author leads MyDoctor, which offers health services. No company paid for this article.
Funding
None.

Cite this article

NLM (PubMed style)

Mishra A. Pericarditis: sharp chest pain, causes, tests and treatment explained [Internet]. MyDoctor Health Library. 2026 [updated 2026 Oct 20; cited 2026 Oct 20]. Available from: https://mydoctor.social/app/blog/pericarditis-sharp-chest-pain-causes-treatment

AMA

Mishra A. Pericarditis: sharp chest pain, causes, tests and treatment explained. MyDoctor Health Library. Published October 20, 2026. Updated October 20, 2026. Accessed October 20, 2026. https://mydoctor.social/app/blog/pericarditis-sharp-chest-pain-causes-treatment

APA

Mishra, A. (2026, October 20). Pericarditis: sharp chest pain, causes, tests and treatment explained. MyDoctor Health Library. https://mydoctor.social/app/blog/pericarditis-sharp-chest-pain-causes-treatment

Dr. Ambed Mishra
Scientist and Chief Medical Officer

Dr. Ambed Mishra, PharmD, PhD

  • Clinical Research
  • Psychiatry
  • Community Medicine
  • Clinical Pharmacy
  • Electronic Health Records
  • Patient Outcomes Research
MyDoctormydoctor.social

MyDoctor by MODERN US HEALTH, Austin, Texas. Ahmedabad, Gujarat. Bangalore, India.

Dr. Ambed Mishra is a clinical (patient care) scientist, author and former professor. He is Group CEO and Chief Medical Officer of MODERN US HEALTH (MODERN US GROUP), Austin, Texas, the group behind MyDoctor, and a senior consultant who teaches and trains MD/DO physicians, PharmD and PhD professionals, nurses and other healthcare professionals in patient care in the United States and India.

More about Dr. Ambed Mishra
  • More than ten years of full-time leadership in United States healthcare, building patient care services that improve medication adherence and bring doctors, pharmacists and nurses together around each patient.
  • Leads the MD and engineering teams behind MyDoctor: clinic and hospital management software, electronic health records and telehealth for hospitals and physician groups in the United States and India.
  • Former Assistant Professor and Clinical Preceptor at Rajiv Gandhi University of Health Sciences, Bangalore, and senior researcher with hospitals, universities and patient care groups in India and the United States.
  • More than 30 published research and review articles and case reports, and more than 15 international conference presentations in India, Australia, Canada, the United States, Spain and other countries.
  • Chief Medical Officer and Global Program Head of a nonprofit mission that helps cover hospital and doctor visit bills for patients in need in India, Nepal, the United States and other countries.

The author's office answers questions about articles, research, speaking and collaboration. It cannot give personal medical advice.

Share:WhatsAppLinkedInX

More from Heart care

See all →
Heart care

Heart-healthy eating: what to eat, what to limit and the DASH plan

What you eat affects blood pressure, cholesterol and heart disease risk. This article explains the DASH eating plan and advice from the WHO and CDC on fruit, vegetables, fats, sal…

5 min read · 20 Oct 2026
Heart care

Coronary artery bypass surgery (CABG): who needs it and recovery

Coronary artery bypass grafting (CABG) is heart surgery that reroutes blood around blocked arteries. This article explains who may need it, how it works, recovery, risks and follo…

5 min read · 20 Oct 2026
Heart care

Congenital heart defects: types, causes, diagnosis and lifelong care

Congenital heart defects are structural heart problems present at birth. This article explains the types, possible causes, how they are found, treatment options and why regular fo…

5 min read · 20 Oct 2026
Heart care

Heart murmur: types, causes, tests and when to see a doctor

A heart murmur is an extra sound heard between heartbeats. Many are harmless, but some point to a valve problem or a heart defect. This article explains types, causes, tests and w…

5 min read · 20 Oct 2026
Heart care

Low blood pressure (hypotension): causes, symptoms and self-care

Low blood pressure is a reading below 90/60 mmHg. For some people it is normal, for others it causes dizziness or fainting. This article explains causes, tests, self-care and when…

4 min read · 20 Oct 2026
Heart care

Rheumatic Heart Disease: Causes, Symptoms and Prevention

Rheumatic heart disease is lasting damage to the heart valves after rheumatic fever. This article explains how it starts, the symptoms, how it can be prevented and treated.

3 min read · 19 Oct 2026
Register freeGet the app
One question

Who are you?

Tap one to continue. We show the right plans, prices and wording for you. Change it any time from the top of the page.

For me and my family
Healthcare professionals
Organisations
Saved on this device only. One tap is enough.

We use essential cookies to run MyDoctor and keep your free checks. With your agreement we also count how our website is used (pages, time, where visits come from, city) to improve it. We never sell your data. Privacy policy