Infective endocarditis is a rare but serious infection of the inner lining of the heart, usually involving a heart valve. It develops when bacteria or, less often, fungi enter the bloodstream and attach to damaged heart tissue or an implanted cardiac device. Early hospital treatment is important because the infection can damage valves and spread to other organs.
Symptoms
Symptoms may develop over days or gradually over several weeks. They can include:
- fever, chills or night sweats
- unusual tiredness and weakness
- shortness of breath
- loss of appetite or unexplained weight loss
- muscle, joint, chest or back pain
- small skin spots, painful finger or toe lumps, or dark lines beneath the nails
These symptoms have many possible causes, but endocarditis should be considered promptly in someone at increased risk.
Who is at higher risk?
Risk is higher in people with a previous episode of endocarditis, a prosthetic heart valve, certain congenital heart conditions, significant valve disease, some implanted heart devices or a heart transplant with valve problems. Injecting drugs also increases risk, particularly when non-sterile equipment is used.
Diagnosis
Endocarditis is usually investigated in hospital. Blood cultures help identify the organism, while an echocardiogram looks for infection or damage inside the heart. Other tests may include an electrocardiogram, blood tests and CT, MRI or nuclear imaging when complications are suspected. Blood cultures are ideally collected before antibiotics are started when the person’s condition allows.
Treatment
Treatment usually involves several weeks of antibiotics or antifungal medicine, often given into a vein. Surgery may be needed to repair or replace a damaged valve, control infection that is not responding to medicine, or treat complications. Care is often coordinated by specialists in cardiology, infectious diseases, microbiology and cardiac surgery.
Prevention for people at increased risk
Good dental hygiene, regular dental care and prompt treatment of skin or dental infections reduce opportunities for bacteria to enter the bloodstream. Antibiotics before certain procedures are recommended only for selected high-risk patients and practices differ between countries. Follow advice from your cardiologist and dentist rather than taking antibiotics without assessment.
When to seek urgent help
Seek urgent medical assessment for persistent fever or unexplained illness if you have a prosthetic valve, previous endocarditis or another high-risk heart condition. Call emergency services immediately for signs of stroke, severe breathing difficulty, collapse or sudden severe chest pain.
Sources
Reviewed: 28 August 2026