Heart and blood vessel infections
Heart and blood vessel infections happen when germs such as bacteria, viruses or fungi infect the heart, its lining, its valves or the blood vessels.

Overview
Heart and blood vessel infections are a group of illnesses in which germs infect part of the cardiovascular system. Doctors call them cardiovascular infections. The cardiovascular system is your heart and the network of blood vessels (arteries and veins) that carry blood around your body.
The germs can be bacteria, viruses, fungi or, less often, parasites. They can settle in different places:
- The inner lining and valves of the heart (endocarditis)
- The heart muscle (myocarditis)
- The thin sac around the heart (pericarditis)
- The walls of blood vessels, such as the aorta, the large artery that leaves the heart
- Medical devices inside the body, such as artificial heart valves, pacemakers or vessel grafts
These infections are not common, but some can be serious. Many can be treated well, especially when they are found early. This page gives an overview of the group. You can read more about each type on its own page.
Main types
Bacterial endocarditis
This is an infection of the inner lining of the heart, usually on a heart valve. Bacteria get into the blood, for example from the mouth, the skin or a needle, and stick to the valve. They form clumps that can damage the valve and break off. It is more likely in people who already have a damaged or artificial valve, or who inject drugs.
Cardiovascular syphilis
Syphilis is a sexually transmitted infection. If it is not treated, it can, many years later, damage the aorta. The wall can weaken and bulge (an aneurysm), and the aortic valve can start to leak. This is now rare in places where syphilis is found and treated early.
Cardiovascular tuberculosis
Tuberculosis (TB) is a bacterial infection that most often affects the lungs. Rarely, it spreads to the sac around the heart and causes pericarditis. Over time this can make the sac thick and stiff, which stops the heart from filling properly. It is more common in parts of the world where TB is common and in people with weak immune systems.
Other infections in this group
- Viral myocarditis and pericarditis: common viruses, including those that cause colds, flu or COVID-19, can sometimes inflame the heart muscle or the sac around it.
- Infected aneurysm: an infection in the wall of an artery that makes it bulge. It is uncommon but serious.
- Device and graft infections: infections of pacemakers, defibrillators, artificial valves or vessel grafts.
- Chagas disease: a parasite infection spread by insects in parts of Latin America. It can damage the heart many years later.
Symptoms
Symptoms depend on which part is infected and how fast the illness develops. Some come on over a few days. Others build slowly over weeks or months. Common signs include:
- Fever, chills or night sweats
- Feeling very tired or weak
- Chest pain, which may be sharp and worse when you lie down or breathe in (common with pericarditis)
- Shortness of breath, especially when active or lying flat
- A fast, pounding or uneven heartbeat (palpitations)
- Swelling of the feet, ankles or legs
- Aching muscles and joints
- Losing weight without trying
With endocarditis, some people also notice small dark lines under the nails, tiny red or purple spots on the skin or inside the mouth, or painful lumps on the fingers or toes. A doctor may hear a new heart murmur, which is an extra sound made by blood flowing through a damaged valve.
Some infections, such as cardiovascular syphilis, may cause no symptoms for years until damage is advanced.
Causes and risk factors
These infections happen when germs reach the heart or blood vessels. This usually happens through the bloodstream. Germs can enter the blood through a break in the skin, from gum disease or dental work, from a urinary or bowel infection, through a needle or a medical line, or during surgery. Some viruses reach the heart after a general viral illness.
Your risk is higher if you:
- Have an artificial heart valve or have had endocarditis before
- Have a heart valve problem or certain heart defects you were born with
- Have a pacemaker, defibrillator or another device in your heart or blood vessels
- Inject drugs
- Have a long-term line or catheter in a vein, or receive dialysis for kidney failure
- Have a weakened immune system, for example from HIV, cancer treatment, diabetes or medicines that lower immunity
- Have untreated syphilis or TB
- Have poor dental health
- Are older, as valves wear with age
Diagnosis
Your doctor will ask about your symptoms, your health history and recent procedures, and will listen to your heart. Tests may include:
- Blood cultures: several blood samples are taken and checked to see whether bacteria or fungi are growing. This is one of the most important tests for endocarditis.
- Other blood tests: to look for signs of inflammation, infection and strain on the heart.
- Echocardiogram: an ultrasound scan of the heart. It shows the valves, the heart muscle and any fluid around the heart. Sometimes a closer view is needed, using a thin probe passed down the throat (a transesophageal echo). Your throat is numbed and you are usually given medicine to help you relax.
- Electrocardiogram (ECG): a quick, painless test that records the heart's electrical activity.
- Chest X-ray, CT or MRI scans: to look at the heart, the aorta and other blood vessels.
- PET-CT scan: sometimes used to find infection around artificial valves or devices.
- Specific tests for syphilis, TB or viruses when these are suspected.
Treatment
Treatment depends on the germ and the part of the heart or blood vessels involved. It is usually managed by a team that may include heart doctors, infection specialists and surgeons.
Medicines to fight the infection
- Antibiotics treat bacterial infections. For endocarditis, they are usually given into a vein (by IV) for several weeks, often starting in hospital. Examples include penicillin, ampicillin, ceftriaxone, vancomycin and gentamicin. The choice depends on which bacteria grow in the blood cultures.
- Penicillin is the main treatment for syphilis.
- TB medicines, such as isoniazid, rifampin, pyrazinamide and ethambutol, are taken together for many months.
- Antifungal medicines treat fungal infections, which are rare but hard to treat.
Most viral heart infections have no specific antiviral cure. Treatment focuses on rest, easing symptoms and protecting the heart while the body clears the virus.
Other treatments
- Anti-inflammatory medicines such as ibuprofen or colchicine are often used for pericarditis that is not caused by bacteria.
- Heart medicines to support the heart if it is weakened or not pumping well.
- Surgery may be needed to repair or replace a damaged valve, remove an infected device, drain fluid from around the heart, remove a stiff sac, or repair an infected artery.
Take every dose of your medicines for the full course, even if you feel better. Stopping early can let the infection come back.
Living with and recovering
Recovery can take weeks to months. These steps can help:
- Go to all follow-up visits and scans so your care team can check your heart.
- Rest as advised. After myocarditis, you may be told to avoid hard exercise and competitive sports for a period of time.
- Look after your teeth and gums. Brush twice a day, floss, and see a dentist regularly.
- Tell every doctor and dentist about your heart condition, especially if you have had endocarditis or have an artificial valve.
- If you inject drugs, ask about support and treatment services. Never share needles.
- Ask your doctor before starting any new medicine or supplement.
Complications
Without prompt treatment, some heart and blood vessel infections can lead to:
- Heart failure, when the heart cannot pump enough blood
- Permanent damage to heart valves
- Irregular heart rhythms
- Clumps of infected material travelling to the brain, lungs, kidneys or other organs, which can cause a stroke
- Pockets of pus (abscesses) in or near the heart
- A burst artery from an infected or weakened aneurysm
- Fluid building up around the heart and pressing on it (cardiac tamponade), which is an emergency
- Infection spreading through the body (sepsis)
Outlook
The outlook varies a lot. Many people with viral pericarditis or mild myocarditis recover fully. Endocarditis is a serious illness, but many people recover well with antibiotics and, when needed, surgery. Long-term problems are more likely when an infection is found late, when it involves an artificial valve, or when the person has other health problems. Your care team can tell you what to expect in your situation.
Prevention
- Keep your mouth healthy with good daily care and regular dental checkups.
- Clean and care for cuts and skin infections, and get them checked if they are not healing.
- Practise safer sex and get tested for sexually transmitted infections. Treating syphilis early prevents heart damage.
- Get tested and treated for TB if you have been exposed.
- Stay up to date with vaccines, including flu and COVID-19.
- Avoid injecting drugs, and never share needles or equipment.
- Avoid tattoos or piercings from places that do not follow clean practices.
- If you are at high risk of endocarditis, ask your doctor whether you need antibiotics before certain dental procedures. This is only advised for some people.
In Canada
In Canada, tuberculosis and syphilis are reportable diseases, and provincial and territorial public health units offer testing, contact tracing and treatment support. Rates of both are higher in some northern and Indigenous communities.
When to get medical help
See a doctor soon if you have:
- A fever that lasts more than a few days, especially if you have a heart valve problem, an artificial valve, a heart device or inject drugs
- Unusual tiredness, night sweats or weight loss
- New swelling in your legs or ankles
- Chest pain that is worse when lying down or breathing in
Call emergency services or go to the nearest emergency department if you have:
- Chest pain or pressure that is severe or does not go away
- Severe shortness of breath or trouble breathing
- Fainting, or a very fast or irregular heartbeat
- Signs of a stroke: sudden weakness or numbness in the face, arm or leg, trouble speaking, or sudden vision loss
- Sudden severe pain in the chest, back or belly
- High fever with confusion, cold or blotchy skin, or feeling very unwell
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Cardiovascular Infections. meshb.nlm.nih.gov
- MedlinePlus: Endocarditis. medlineplus.gov/endocarditis.html
- NHLBI: Heart Inflammation. nhlbi.nih.gov/health/heart-inflammation
- ESC 2023 Guidelines for the management of endocarditis. doi.org/10.1093/eurheartj/ehad193
- CDC: Syphilis. cdc.gov/syphilis/