The Bottom Line

Endocarditis is an infection of the heart's inner lining, most often on a heart valve. It is uncommon but serious: it requires weeks of IV antibiotics and sometimes surgery. People with artificial valves, a previous episode, certain congenital heart conditions, or implanted devices are at higher risk — and good dental care is the most practical prevention.

What Is Endocarditis?

Bacteria — or rarely fungi — enter the bloodstream and settle on a heart valve or an implanted device, forming clumps called vegetations. These can damage the valve so that it leaks, and pieces can break off and travel to the brain, lungs, or other organs.

Who Is at Higher Risk

  • An artificial heart valve, or a valve repaired with artificial material
  • A previous episode of endocarditis
  • Certain congenital heart conditions (see Adult Congenital Heart Disease)
  • Existing valve disease (see Valvular Heart Disease)
  • A pacemaker, defibrillator, or long-term IV line
  • Injection drug use
  • Dialysis
  • Poor dental health

Common Symptoms

  • Fever and chills, often lasting days to weeks
  • Night sweats
  • Fatigue, aching muscles and joints
  • Unexplained weight loss
  • A new or changed heart murmur (see Cardiac Murmurs)
  • Shortness of breath or swelling, if a valve is damaged
  • Small painful spots on the fingers or toes, or tiny red spots on the skin
  • Stroke symptoms, if a fragment travels to the brain (see Stroke & TIA)

In someone with an artificial valve or a prior episode, a fever that lasts more than a few days without a clear cause should be checked — before taking antibiotics, which can hide the infection on blood tests.

How It's Diagnosed

Blood cultures — several samples drawn at different times — identify the organism. An echocardiogram looks for vegetations and valve damage; a transesophageal echocardiogram, done with a probe passed down the throat, shows the valves in much greater detail and is often needed. (See Cardiac Testing & Imaging.)

How It's Treated

  • IV antibiotics for several weeks, commonly four to six. After the first phase in the hospital, many people finish at home or in a facility through a long-term IV line
  • Surgery to repair or replace the valve, when the valve is badly damaged and causing heart failure, when the infection isn't clearing, or when there's a high risk of fragments breaking off (see Open Heart Surgery: What to Expect)
  • Removing an infected pacemaker or defibrillator, when the device is involved
  • Addiction treatment, when injection drug use is the source — it is part of treating the infection, not separate from it

Preventing It

  • Brush twice a day, floss, and see a dentist regularly. Everyday bacteria from unhealthy gums cause far more trouble than dental procedures do
  • Take antibiotics before dental procedures only if you're in the highest-risk group — this includes people with artificial valves, a previous episode of endocarditis, certain congenital heart conditions, and heart transplant recipients who develop valve problems. Most people with murmurs or mild valve disease do not need them
  • Tell every dentist and doctor about your valve or device
  • Look after skin wounds, and think carefully about piercings and tattoos if you're high risk
  • Never inject with shared or non-sterile equipment

Living With It

After treatment, follow-up includes repeat echocardiograms to watch the valve, and a dental evaluation. Having had endocarditis once raises the risk of having it again, so the prevention steps above matter for life.

Questions to Ask at Your Next Visit

  • Am I in the group that needs antibiotics before dental work?
  • What should I do if I get a fever that doesn't go away?
  • How often should my valve be checked?
  • Should I carry a card listing my heart condition?

Common Questions

I have a murmur. Do I need antibiotics before the dentist?

Usually not. Current guidance limits them to the highest-risk conditions — ask your cardiologist which group you're in.

Can endocarditis be cured?

Yes, in most cases, with a full course of antibiotics and surgery when needed. Early diagnosis improves the outcome.

Is it contagious?

No. It can't be passed from person to person.

Can it come back?

Yes — a previous episode is one of the strongest risk factors, which is why dental care and prompt attention to fevers matter.