Endocarditis
Endocarditis is inflammation of the inner lining of the heart and its valves, most often caused by an infection that needs urgent treatment.
Clinician view: includes diagnostic criteria, management and safety detail.

Overview
Endocarditis is inflammation of the endocardium, the thin, smooth layer that lines the inside of your heart's four chambers and covers your heart valves. Most of the time it is caused by an infection, usually bacteria, and doctors call this infective endocarditis. Less often, it is caused by something other than germs, such as an autoimmune disease or cancer. This is called non-infective endocarditis.
In infective endocarditis, germs that get into your bloodstream stick to a heart valve or another part of the heart lining. They grow into clumps called vegetations, which are made of germs, blood cells and clotting proteins. These clumps can damage the valve so it leaks or does not open properly. Pieces can also break off and travel to the brain, lungs, kidneys, spleen or other organs.
Endocarditis is not common, but it is serious. Without treatment it can be life-threatening. With early diagnosis and the right treatment, most people recover, although many need a long course of antibiotics and some need heart surgery.
Types
Infective endocarditis
This is the most common type. It is usually caused by bacteria, so it is often called bacterial endocarditis. Rarely, fungi such as yeast cause it. Doctors sometimes describe it as acute (comes on quickly over days and makes you very sick) or subacute (develops slowly over weeks or months with vague symptoms).
Non-infective endocarditis
Here, small clumps form on the valves without any infection. It can happen with conditions such as lupus, antiphospholipid syndrome, some cancers, or other illnesses that make blood clot more easily. These clumps can still break off and cause strokes or other blockages.
Symptoms
Symptoms can come on suddenly or slowly. They are often vague at first and can feel like the flu. Common symptoms include:
- Fever and chills, sometimes coming and going
- Feeling very tired or weak
- Night sweats
- Aching muscles and joints
- Loss of appetite and weight loss without trying
- Shortness of breath, cough or chest pain
- Swelling in your feet, legs or belly
- A new or changed heart murmur (an extra sound your doctor hears with a stethoscope)
Some people notice less common signs:
- Tiny red or purple spots on the skin, inside the mouth or on the whites of the eyes
- Thin dark lines under the fingernails or toenails that look like splinters
- Small, tender bumps on the fingers or toes
- Painless flat red spots on the palms or soles
- Blood in your urine
If a piece of a vegetation travels to the brain, it can cause a stroke, with sudden weakness, trouble speaking, face drooping or vision loss. This is an emergency.
Causes
Germs can enter your blood in many everyday ways, such as brushing your teeth, during dental work, through a skin wound, or from an infection somewhere else in your body. Usually your immune system clears them quickly. Endocarditis happens when germs settle on a part of the heart lining that is rough or damaged, or on artificial material such as a replacement valve or pacemaker wire.
The most common germs are:
- Staphylococcus aureus (staph), a skin bacterium. It is the leading cause in many countries and tends to cause fast, severe illness.
- Streptococci (strep), including types that normally live in the mouth.
- Enterococci, bacteria from the gut and urinary tract.
- Less often, other bacteria or fungi.
Risk factors
Anyone can get endocarditis, but your risk is higher if you have:
- An artificial (prosthetic) heart valve or a valve that has been repaired with artificial material
- Had endocarditis before
- Some types of heart problems you were born with (congenital heart disease)
- Damaged or scarred heart valves, for example from rheumatic fever or age-related valve disease
- A pacemaker, defibrillator or other device inside the heart
- A long-term intravenous (IV) line, or you are on dialysis
- Injected drugs, especially with shared or unclean equipment
- A heart transplant with valve problems
- Poor dental health or gum disease
- A weakened immune system, diabetes, or older age
Diagnosis
Endocarditis can be hard to spot because the early symptoms are so general. Your doctor will ask about your symptoms and health history, listen to your heart, and look for signs on your skin, eyes and nails. Important tests include:
- Blood cultures: several samples of blood are taken, ideally before antibiotics are started, to grow and identify the germ. This also helps choose the best antibiotic.
- Echocardiogram: an ultrasound of the heart that shows the valves and any vegetations or damage. A standard scan is done through the chest wall (transthoracic). A more detailed scan uses a thin probe passed down the throat while you are sedated (transesophageal echocardiogram, or TEE).
- Blood tests: to check for infection, inflammation, anemia and how your kidneys are working.
- Electrocardiogram (ECG): records your heart's electrical activity.
- Other scans: CT, MRI or PET-CT may be used to look for spread to the brain or other organs, or to check around an artificial valve.
Doctors put these results together using a set of standard criteria to decide whether endocarditis is definite or likely.
Treatment
Endocarditis is treated in hospital, usually by a team that may include heart specialists, infectious disease doctors and heart surgeons.
Antibiotics
The main treatment is high-dose antibiotics given through a vein (IV). Treatment usually lasts 4 to 6 weeks, sometimes longer. The exact medicine depends on the germ and on whether you have an artificial valve. Examples include:
- penicillin g or ampicillin, which kill many strep and enterococcus bacteria
- ceftriaxone, a cephalosporin antibiotic often used for strep
- vancomycin or daptomycin, used for staph that resists common antibiotics
- cefazolin or cloxacillin-type antibiotics, used for staph that responds to them
- gentamicin, an aminoglycoside sometimes added for certain germs; it needs blood level checks because it can affect the kidneys and hearing
- rifampin, sometimes added when an artificial valve is infected
Once you are stable, some people can finish IV treatment at home or in an outpatient clinic. In selected cases, doctors may switch to antibiotic pills for the last part of treatment. Always finish the full course, even if you feel better.
Surgery
About one in four to one in two people with infective endocarditis need heart surgery. Surgery may be needed to repair or replace a damaged valve, remove large vegetations, drain an abscess, or remove an infected device. Reasons include heart failure, an infection that antibiotics cannot control, or a high risk of clots breaking off.
Non-infective endocarditis
Treatment focuses on the underlying condition, and often includes blood thinners to prevent clots.
Complications
- Heart failure, when a damaged valve leaks badly. This is the most common serious complication.
- Stroke or other blockages from pieces that break off
- Abscesses (pockets of pus) in the heart, brain, spleen or other organs
- Heart rhythm problems
- Kidney damage
- Infection spreading to bones, joints or the spine
Living with endocarditis and recovery
Recovery can take weeks to months. You may feel tired for a while after leaving hospital. To help your recovery and lower the chance of it coming back:
- Go to all follow-up appointments. You may have repeat blood tests and heart scans.
- Tell your doctor right away if a fever comes back.
- See a dentist regularly, and brush and floss every day. Healthy gums mean fewer germs entering your blood.
- Look after your skin. Clean cuts well, and talk with your doctor before getting a tattoo or piercing.
- Tell every doctor and dentist you see that you have had endocarditis.
- If you use drugs, ask about support and treatment programs. Never share needles.
- Take your other heart medicines as prescribed and do not stop or change them without talking to your clinician.
It is normal to feel worried after a serious illness. Talk with your care team about cardiac rehabilitation and emotional support.
Outlook
Endocarditis is a serious illness, and it can be fatal, especially when caused by staph, when it affects an artificial valve, or when complications develop. The outlook is better when it is found early and treated quickly. Many people return to their normal lives, though some have lasting valve damage that needs monitoring. Having had endocarditis once raises the risk of getting it again.
Prevention
- Good mouth care: this is one of the most important steps for everyone, especially people at high risk.
- Antibiotics before dental work: for people at the highest risk, such as those with an artificial valve, previous endocarditis, or certain congenital heart conditions, doctors may advise a single dose of antibiotic before some dental procedures. Ask your heart doctor whether this applies to you. Most people with other heart conditions do not need it.
- Infection control: treat skin and other infections promptly, and care for IV lines carefully.
- Safer injection: if you inject drugs, use new sterile equipment each time and seek support services.
In the United States
In the US, home IV antibiotic coverage depends on your insurance plan, and Medicare coverage for home infusion has specific rules. Dental prophylaxis recommendations follow the American Heart Association guidance. Syringe services programs offering sterile supplies are available through many local health departments and community organizations.
Diagnosis
Suspect infective endocarditis (IE) in any patient with fever and predisposing cardiac conditions, injection drug use, intracardiac devices, new regurgitant murmur, unexplained embolic events, or S. aureus bacteremia. Diagnosis uses the modified Duke criteria (updated 2023 Duke-ISCVID criteria). Major criteria: typical organisms in at least two separate blood cultures (or persistent bacteremia), and imaging evidence of endocardial involvement (vegetation, abscess, pseudoaneurysm, new valvular dehiscence or regurgitation). Minor criteria include predisposition, fever, vascular and immunological phenomena, and microbiological evidence not meeting major criteria.
- Obtain at least three sets of blood cultures from separate venipunctures before antibiotics when the patient is stable.
- Transthoracic echo first; TEE when TTE is nondiagnostic and suspicion persists, with prosthetic valves or devices, and in S. aureus bacteremia.
- Cardiac CT and 18F-FDG PET/CT help in prosthetic valve and device IE; consider brain imaging for neurological signs.
- Blood-culture-negative IE: consider prior antibiotics, serology for Coxiella and Bartonella, and PCR of valve tissue.
Management
Manage with a multidisciplinary endocarditis team (AHA 2015 scientific statement; ESC 2023 guidelines). Empirical therapy should be started after cultures and tailored to the organism and susceptibilities. Typical durations are 4 to 6 weeks for native valve IE and at least 6 weeks for prosthetic valve IE. Examples: penicillin G or ceftriaxone for susceptible viridans group streptococci; cefazolin or an antistaphylococcal penicillin for MSSA; vancomycin or daptomycin for MRSA; ampicillin plus ceftriaxone or ampicillin plus gentamicin for E. faecalis; rifampin and gentamicin added for staphylococcal prosthetic valve IE. Gentamicin is no longer recommended for native valve staphylococcal IE because of nephrotoxicity. Monitor aminoglycoside and vancomycin levels, renal function and hearing. Partial oral step-down therapy (POET trial) is an option for selected stable patients.
Indications for early surgery: heart failure from valve dysfunction, uncontrolled infection (abscess, fistula, persistent bacteremia despite appropriate therapy, fungal or highly resistant organisms), and prevention of embolism with large vegetations (for example 10 mm or more with an embolic event). Remove infected cardiac devices completely. Avoid starting anticoagulation for embolism prevention; review existing anticoagulation after intracranial hemorrhage.
Red flags: new heart block (suggests perivalvular abscess), acute heart failure, neurological deficits. In-hospital mortality is roughly 15 to 30 percent. Antibiotic prophylaxis before high-risk dental procedures is limited to the highest-risk patients.
When to get medical help
See a doctor soon if you have a fever that lasts more than a few days or keeps coming back, along with tiredness, night sweats or aches, especially if you:
- Have an artificial heart valve, a heart device or a known valve problem
- Have had endocarditis before
- Inject drugs or have a long-term IV line
Tell the doctor about your heart history so they can check for endocarditis before giving antibiotics.
Go to the emergency department or call emergency services right away if you have:
- Signs of a stroke: sudden face drooping, arm or leg weakness, trouble speaking, confusion or vision loss
- Severe shortness of breath or chest pain
- Fainting or a very fast or irregular heartbeat
- A high fever with shaking chills and you feel very unwell
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Endocarditis. meshb.nlm.nih.gov
- MedlinePlus: Endocarditis. medlineplus.gov/endocarditis.html
- NHS: Endocarditis. nhs.uk/conditions/endocarditis/
- American Heart Association: Infective endocarditis. heart.org/en/health-topics/infective-endocarditis
- Baddour LM et al. Infective endocarditis in adults: diagnosis, antimicrobial therapy, and management of complications. Circulation 2015. doi.org/10.1161/CIR.0000000000000296
- Delgado V et al. 2023 ESC Guidelines for the management of endocarditis. Eur Heart J 2023. doi.org/10.1093/eurheartj/ehad193