Endocarditis

This is an infection of the inner lining of the heart, called the endocardium. It's like a bacterial or fungal infection on the heart's surface. It can be serious and can damage the heart valves, potentially leading to heart failure if not treated properly.

Condition

What people with Endocarditis report

Every report comes from a Lived member, sent anonymously.

Have you had Heart Valve Replacement for Endocarditis?

NameHow it went

About Endocarditis

What It Is

Endocarditis is an infection of the endocardium, the thin inner lining of the heart's chambers and valves. It usually starts when bacteria, or less often fungi, get into the bloodstream and settle on a heart valve. There they can form clumps of germs, blood cells and clotting material called vegetations, which keep growing and can damage the valve. Doctors often call it infective endocarditis. Endocarditis is uncommon, but it is a serious illness that needs prompt treatment. A damaged valve may leak, which strains the heart and can lead to heart failure. Pieces of a vegetation can also break off and travel in the blood, blocking vessels or spreading infection to the brain, lungs, kidneys or spleen. Symptoms can appear suddenly over a few days or build slowly over weeks. Common signs include fever, chills, night sweats, tiredness, aching muscles or joints and shortness of breath. Because these overlap with many everyday infections, endocarditis can be missed at first.

Causes & Risk Factors

Bacteria enter the bloodstream more often than people realize: through the gums, skin breaks, medical procedures, long-term IV lines or needles. A healthy immune system usually clears them. Endocarditis develops when germs find a place to stick, which is far more likely on heart tissue that is damaged, abnormal or artificial. The people at highest risk have an artificial (prosthetic) heart valve, including valves placed by catheter, or have had endocarditis before. Risk is also raised by other valve disease, some congenital heart defects, a pacemaker or implanted defibrillator, and age-related valve changes, which help explain why most people with endocarditis today are older adults. Outside the heart, injecting drugs is one of the strongest risk factors, because needles and nonsterile equipment carry skin bacteria straight into the blood. Hemodialysis (kidney dialysis through a blood access line), long-term IV lines placed in a large vein (central venous catheters), a weakened immune system, poorly controlled diabetes and poor dental health also contribute. The germ involved often reflects how it got in. Staphylococcus aureus, a skin bacterium, is now the most common cause and is linked to health care exposure and drug injection. Streptococci from the mouth are typical when the infection starts from the teeth and gums.

How It's Diagnosed

No single test confirms endocarditis. Clinicians combine symptoms, a physical exam, blood tests and heart imaging, and weigh them using a standard set of diagnostic criteria (the Duke criteria) that classify the illness as definite, possible or ruled out. Blood cultures are central. Several samples are drawn, ideally before antibiotics are started, to see whether the same germ grows repeatedly and to show which antibiotics will work against it. A doctor may also hear a new or changed heart murmur, an unusual sound made by blood flowing through a damaged valve. An echocardiogram, an ultrasound of the heart, looks for vegetations, valve damage and abscesses (walled-off pockets of infection near the valve). It usually starts with a probe on the chest (transthoracic echocardiogram). If the result is unclear or the person has an artificial valve or a heart device, a transesophageal echocardiogram is often next: a thin probe is passed down the throat, usually with sedation, giving a much closer view of the valves. When ultrasound is still inconclusive, particularly with artificial valves or devices, a cardiac CT (computed tomography, a detailed X-ray scan) or a PET/CT scan (positron emission tomography combined with CT, which highlights areas of active inflammation) may help. Sometimes no germ grows in the blood, often because antibiotics were taken first, and specialized blood or tissue tests are then used to identify it.

Treatment Options

Treatment aims to clear the infection completely and to protect the heart and other organs from lasting damage. It usually starts in the hospital and is often guided by an endocarditis team that includes infectious disease specialists, cardiologists and heart surgeons. The foundation is a long course of high-dose antibiotics, chosen according to the germ found in the blood cultures. Because germs inside vegetations are hard to reach, treatment lasts much longer than for most infections: commonly about 4 weeks for some streptococcal infections and 6 weeks or more for staphylococcal infections or an infected artificial valve. Antibiotics are given through a vein (intravenously), and many people finish the course at home or as outpatients through a long-term IV line. For some people whose infection is responding well, doctors may switch to oral antibiotics partway through. A large trial in stable adults found this worked as well as staying on IV treatment, but it suits only selected situations. Fungal endocarditis is treated with antifungal medicine, sometimes taken long term to keep the infection from returning. Surgery to repair or replace the infected valve is needed in roughly a quarter to a half of people during their first hospital stay. The main reasons are heart failure caused by a badly leaking valve, infection that antibiotics are not controlling (such as an abscess around the valve or blood cultures that stay positive), and large vegetations that have caused or are likely to cause emboli (fragments that break off and block blood vessels). Timing is an individual decision: early surgery can prevent further damage, while a recent stroke or bleeding in the brain may make waiting safer. Care also includes looking for the entry point, such as a dental problem, an infected line or another infection, so it can be treated. When a pacemaker or implanted defibrillator is infected, the whole device and its wires (leads) are usually removed. For people who inject drugs, treatment of substance use is an important part of preventing a repeat infection.

What to Expect

Endocarditis is a major illness, and recovery takes time. Most people spend at least part of their treatment in the hospital, followed by several weeks of antibiotics. Fatigue and weakness can linger for weeks after the infection is controlled, especially after heart surgery. Even with modern care, endocarditis remains a serious, potentially life-threatening illness, and outcomes depend on the germ, the valve involved, whether complications such as heart failure or stroke occur, and how quickly treatment begins. Care guided by a specialist endocarditis team has been linked to better survival and fewer delays in needed surgery. Follow-up continues after the antibiotics end. Repeat echocardiograms check how the valve is working, and some people later need valve surgery even after the infection has cleared. Having had endocarditis raises the chance of getting it again, so prevention becomes part of everyday life. Brushing, flossing and regular dental checkups matter because bleeding gums are a frequent way for mouth bacteria to reach the blood. Under US guidance, people at the highest risk, including anyone with an artificial valve or a past episode of endocarditis, are advised to take a single dose of antibiotics before dental work that involves the gums or the root area of a tooth. It helps to tell every dentist and clinician about the history. For people who inject drugs, support to stop or to use sterile equipment also lowers the risk.

When to Seek Help

If you have an artificial valve, other valve disease, a heart device or a past episode of endocarditis, or you inject drugs, contact your care team right away about a fever, chills, night sweats or unusual tiredness that you cannot explain, especially if it lasts more than a few days. Tell them about your heart history so blood cultures can be considered before any antibiotics are given. During or after treatment, contact your care team if a fever returns or does not go away, or you notice blood in your urine, new chest pain, increasing shortness of breath, swelling in your legs or unexplained weight loss. Call 911 for sudden signs of a stroke, such as numbness or weakness on one side of the body, a drooping face, trouble speaking or seeing, or a sudden severe headache, and for breathing difficulty that comes on suddenly or makes it hard to talk. Get emergency care, too, if a fever comes with confusion, fainting or suddenly feeling very ill, which can signal sepsis, a dangerous body-wide reaction to infection.

Questions to Ask Your Doctor

  1. 1.Which germ caused my infection, and how does that shape the length and type of my treatment?
  2. 2.Is my valve damaged enough that surgery might be needed now or later, and what would we watch for?
  3. 3.Could I finish treatment at home or switch to oral antibiotics, and what would make that safe for me?
  4. 4.Am I in the group that should take antibiotics before dental work, and what should I tell my dentist?
  5. 5.How often will I need echocardiograms or checkups after treatment ends?

Last reviewed • Oct 2026

Educational content, not medical advice.