MedChunk
Medically reviewed

Can a Bacterial Infection Cause Pericarditis?

Learn how bacteria can cause pericarditis, which symptoms may occur, how it is diagnosed, and why prompt antibiotic treatment or fluid drainage may be needed.

By Caleb Bennett Reviewed by Dr. Irene Medical review dateSep 17, 2025 8 min read

Yes, a bacterial infection can cause pericarditis, which is swelling and irritation of the thin sac around the heart. However, bacterial causes are less common than viral or unexplained cases in many places. Tuberculosis and certain other bacteria can affect the pericardium. When bacteria are responsible, treatment may require antibiotics and sometimes drainage of fluid around the heart, so prompt medical assessment is important.

The pericardium is the protective sac surrounding the heart. When it becomes inflamed because of a bacterial infection, the condition is called bacterial pericarditis. Identifying the cause is important because infection-related inflammation may require specific treatment, rather than the approach used for noninfectious or viral pericarditis.

Which bacterial infections can cause pericarditis?

According to the Merck Manual, infectious pericarditis is more often viral or unexplained in North America and Western Europe, while purulent bacterial pericarditis is uncommon. Several bacterial infections are recognized causes, and the condition may occur in association with other infections, chest injuries, or heart surgery.

  • Tuberculosis: This bacterial infection can affect the pericardium. Tuberculous pericarditis is particularly important in regions where tuberculosis is common, including parts of India and Africa.
  • Staphylococcal and streptococcal infections: These bacteria are among the organisms that can cause pericardial infection.
  • Other bacterial infections: Certain other bacteria, including some gram-negative bacteria, can cause pericarditis.
  • Infections or complications involving other areas: Bacterial pericarditis may occur after pneumonia, infective endocarditis (an infection involving the heart's inner lining or valves), or sepsis, a serious response to infection.
  • Chest injury or heart surgery: Bacterial pericarditis can also occur in these settings.

These are possible causes and circumstances, not a checklist for identifying the condition. Having a bacterial infection elsewhere in the body does not automatically mean that the pericardium is infected.

What symptoms can occur with bacterial pericarditis?

The Cleveland Clinic describes chest pain as a common feature of pericarditis, although other symptoms may occur. The experiences below can be associated with inflammation around the heart, but they do not establish whether bacteria are responsible.

  • Chest pain: The pain may feel sharp or stabbing and can become more noticeable during deep breathing, coughing, swallowing, or lying flat. Sitting up and leaning forward may ease it.
  • Fever or chills: These may occur when an infection is involved.
  • Shortness of breath: Breathing may feel more difficult, particularly if fluid accumulates around the heart.
  • Fatigue or weakness: A person may feel unusually tired or generally unwell.
  • Cough or a racing heartbeat: These can also occur in people with pericarditis.

The symptoms and their timing depend on the underlying cause and the effects of inflammation. Bacterial pericarditis may occur alongside symptoms of another infection, but the presence or absence of any single symptom cannot reliably establish the cause.

When does chest pain need urgent medical attention?

The NHS advises prompt medical assessment for chest pain that is sharp or stabbing or becomes worse with deep breathing, coughing, swallowing, or lying down. Chest pain can also be caused by conditions that require immediate treatment, including a heart attack. Do not assume that new chest pain is caused by pericarditis or an infection.

Call your local emergency number if chest pain is sudden and spreads to the arms, back, neck, or jaw; feels tight or heavy; lasts more than 15 minutes; or occurs with shortness of breath, sweating, or nausea. These symptoms require emergency assessment regardless of whether an infection is suspected.

How do doctors determine whether bacteria are involved?

Healthcare professionals consider the person's symptoms, medical history, recent infections, physical examination, and test results. Johns Hopkins Medicine explains that tests for pericarditis may include an electrocardiogram (ECG), an echocardiogram, chest imaging, and blood tests. An echocardiogram uses ultrasound to show the heart and can help identify fluid accumulating around it.

When a bacterial cause is suspected, further testing may be needed to identify the infection. Depending on the clinical circumstances, this can include blood cultures or laboratory examination and culture of fluid collected from around the heart. Testing for tuberculosis may require specific investigations, because the appropriate tests depend on the suspected organism and the clinical context.

Not everyone with pericarditis needs every test. The healthcare team selects investigations according to the person's condition, the findings from initial tests, and whether there is evidence of a significant fluid collection or another complication.

How is bacterial pericarditis treated?

Treatment focuses on eliminating the infection and managing any fluid accumulation or effects on heart function. According to Mayo Clinic, pericarditis caused by a bacterial infection may require antibiotics, and excess fluid between the layers of the pericardium may need to be drained.

Antibiotics to treat the infection

When bacteria are responsible, antibiotics are used to treat the underlying infection. The choice of medicine depends on the suspected or identified organism and the person's clinical circumstances. Tuberculous pericarditis requires a treatment approach specifically directed at tuberculosis rather than the antibiotic regimen used for other bacterial infections.

Antibiotics do not treat viral or noninfectious pericarditis. This is why determining the likely cause matters before choosing treatment. People should not use leftover antibiotics or start a course of antibiotics without medical guidance.

Drainage of fluid around the heart

Inflammation can lead to a buildup of fluid in the space between the layers of the pericardium. When bacterial infection causes an infected or pus-filled collection, drainage may be necessary as part of treatment. A procedure called pericardiocentesis uses a needle or catheter to remove fluid from around the heart. In some situations, surgical drainage is needed instead.

The need for drainage depends on the amount and nature of the fluid, its effects on heart function, and the underlying infection. Treatment decisions are made by the clinical team, particularly when the infection is causing significant fluid accumulation or affecting circulation.

What complications can bacterial pericarditis cause?

One important concern is cardiac tamponade, a condition in which fluid around the heart builds up and puts pressure on it, preventing the heart chambers from filling normally. Johns Hopkins Medicine identifies cardiac tamponade as a life-threatening complication of pericardial fluid accumulation. Rapid fluid buildup can interfere with the heart's ability to pump blood and requires emergency treatment.

Pericardial inflammation can also lead to scarring and stiffening of the sac, sometimes causing a condition called constrictive pericarditis that interferes with normal heart filling. The risk and nature of complications depend on the cause and course of the illness. Recognizing bacterial infection and treating it appropriately are important steps in managing these risks.

What should you remember about bacterial pericarditis?

A bacterial infection can cause pericarditis, but bacterial causes are less common than viral or unexplained cases in many regions. Tuberculosis is an important bacterial cause in areas where it is prevalent, and other bacteria may cause pericardial infection in particular circumstances. Because chest pain and fluid accumulation can have serious consequences, suspected pericarditis needs appropriate medical assessment. When a bacterial cause is identified, treatment may involve antibiotics and drainage of fluid around the heart.

Frequently Asked Questions

Common questions about bacterial infections and inflammation around the heart.

Is bacterial pericarditis common?

Bacterial pericarditis is uncommon compared with viral or unexplained pericarditis in many regions. However, tuberculosis is an important cause in areas where the infection is prevalent, and other bacteria can cause the condition in certain circumstances.

Can pneumonia cause bacterial pericarditis?

Pericarditis may occur after pneumonia. Bacterial pericarditis is one possible explanation in some cases, but the association alone does not prove that bacteria have infected the pericardium. Medical assessment and appropriate testing help clarify the cause.

Does bacterial pericarditis require antibiotics?

Yes, antibiotics are used when bacteria are responsible for pericarditis. The medicine depends on the organism and clinical situation. Some people also need fluid drainage if infected fluid accumulates around the heart.

Can bacterial pericarditis cause fluid around the heart?

Yes. Pericardial inflammation can cause fluid to accumulate between the layers surrounding the heart. If the fluid builds up rapidly or puts pressure on the heart, it can become a medical emergency and may need to be drained.

Citations

  1. Merck Manual Professional Edition: Pericarditis
  2. Cleveland Clinic: Pericarditis — Symptoms, Causes and Treatment
  3. NHS: Pericarditis
  4. Johns Hopkins Medicine: Pericarditis
  5. Mayo Clinic: Pericarditis — Diagnosis and Treatment
Share this article