Endocarditis at a glance
- Endocarditis is inflammation of the heart’s inner lining, usually caused by an infection involving a heart valve or implanted cardiac material.
- Symptoms can begin suddenly or build over days or weeks. Fever, chills, unusual fatigue, shortness of breath, night sweats, weight loss, or a new heart murmur can be clues.
- Blood cultures and heart imaging are central to evaluation. Treatment often requires prolonged medicine given through a vein, and some people need heart surgery.
- Possible endocarditis is not a condition to diagnose or manage at home. Chest pain, severe breathlessness, fainting, stroke signs, confusion, or rapid deterioration needs emergency care.

When symptoms need urgent care
Seek emergency help for chest pain, severe or rapidly worsening shortness of breath, fainting, new confusion, blue or gray lips, or signs of a stroke such as sudden face drooping, arm weakness, speech trouble, loss of balance, or a severe new headache. Endocarditis can damage a valve, interfere with the heart’s ability to pump, or send infected material through the bloodstream. A fragment can block blood flow to the brain, lungs, kidneys, spleen, or another organ.
Prompt medical assessment is also important for persistent fever or chills in someone with a prosthetic heart valve, certain congenital heart conditions, a previous episode of endocarditis, an implanted cardiac device, injection drug use, or a recent bloodstream infection. Pain, redness, drainage, or tenderness around a pacemaker or other cardiac device can signal infection. These findings do not prove endocarditis, but waiting for a routine visit can be unsafe when the illness is progressing.
What endocarditis is
The endocardium is the smooth inner lining of the heart chambers and valves. Endocarditis means this lining is inflamed. The term most often refers to infective endocarditis, in which bacteria or, less commonly, fungi enter the bloodstream and settle on damaged heart tissue, a valve, prosthetic material, or an implanted device. Clumps of organisms, blood components, and inflammatory material can form on the affected surface.
Endocarditis is uncommon, but it is life-threatening. It is different from myocarditis, which involves heart muscle, and pericarditis, which involves the sac around the heart. Those conditions can share symptoms such as chest discomfort, fever, or breathlessness, so the location and cause cannot be identified from symptoms alone.
Infection may develop quickly with severe illness or more gradually with vague symptoms. A slower course can still cause major valve damage or complications. Feeling only mildly unwell does not reliably show that the infection is harmless.
Symptoms and possible complications
Fever is common, but it may be absent, especially in older adults, people with weakened immune systems, or people who have already taken antibiotics. Other possible features include chills, sweating at night, fatigue, reduced appetite, unintended weight loss, muscle or joint aches, back pain, cough, shortness of breath, swelling in the legs, or reduced exercise tolerance. A clinician may hear a new murmur or a change in an existing murmur.
Small skin or nail findings can occur, but they are not reliable self-diagnostic signs. Some people develop tiny red or purple spots, tender bumps, painless spots on the palms or soles, or narrow lines beneath the nails. Blood in the urine, abdominal discomfort, or pain over the spleen may reflect effects outside the heart. Many other illnesses can cause these findings.
Complications can include severe valve leakage, heart failure, abnormal heart rhythms, abscesses around a valve, kidney injury, stroke, infection in another organ, or a clot in a lung artery. The illness can also recur. Follow-up after treatment is important even when fever and energy improve.
How infection reaches the heart
Everyday activities and medical events can allow small numbers of organisms into the bloodstream. Healthy tissue usually resists attachment, and the immune system often clears the organisms. Risk rises when a heart surface is abnormal or artificial, when bacteria remain in the blood, or when immune defenses are reduced.
Important risk contexts include a prosthetic heart valve, prior valve repair using prosthetic material, a history of endocarditis, selected congenital heart conditions, valve disease, an implanted pacemaker or defibrillator, hemodialysis access, injection drug use, and some prolonged intravenous lines. Poor oral health, skin infection, an infected wound, urinary infection, or another source can contribute to bloodstream infection. Having a risk factor does not mean endocarditis is inevitable, and some affected people have no previously recognized heart problem.
Dental health matters because inflamed gums can bleed and allow oral bacteria into the bloodstream. This does not mean ordinary brushing is dangerous. Regular brushing, flossing, dental care, skin care, and prompt treatment of infection help reduce risk. Antibiotics before a dental procedure are reserved for selected people at highest risk of a severe outcome, not everyone with a murmur or valve condition. A cardiology or dental clinician should determine whether prophylaxis applies.
How clinicians evaluate possible endocarditis
Evaluation begins with the timing of fever and other symptoms, heart history, previous endocarditis, valve or device procedures, recent infections, dental work, skin wounds, intravenous lines, medicines, and any antibiotics already taken. The examination may include temperature, heart and lung sounds, skin, nails, eyes, neurologic function, abdomen, and signs of heart failure.
Blood cultures are a key test. Several samples are commonly collected from separate draws so a laboratory can identify an organism and test which medicines are likely to work. Whenever the person is stable enough, cultures are ideally obtained before antibiotics begin. In an emergency, treatment should not be delayed solely to complete every planned test.
Echocardiography uses ultrasound to examine valves, heart function, and possible infected material. A standard study through the chest may be followed by a transesophageal echocardiogram, which obtains closer images from the esophagus when more detail is needed. Other imaging may help look for complications or device infection. Blood tests can assess inflammation, blood counts, kidney or liver function, and treatment safety. Diagnosis uses the whole pattern rather than one symptom, one culture, or one image.
Treatment and hospital care
Treatment depends on the organism, the valve or device involved, the extent of damage, allergies, kidney function, and complications. Bacterial endocarditis is usually treated with targeted antibiotics, often through a vein for several weeks. Fungal endocarditis requires antifungal treatment and commonly specialist input. This page does not select an antimicrobial medicine, dose, route, or duration.
Specialists may include infectious disease physicians, cardiologists, cardiac surgeons, microbiologists, pharmacists, and teams managing stroke, kidney injury, or addiction care. Blood cultures may be repeated to confirm that organisms have cleared. Kidney function, blood counts, medicine levels, hearing, or liver tests may need monitoring depending on the treatment.
Surgery may be considered when infection causes severe valve dysfunction or heart failure, does not clear with appropriate medicine, produces an abscess, involves difficult organisms, repeatedly sends material into the circulation, or affects prosthetic material. Surgery can remove infected tissue and repair or replace a valve. The timing is individualized and may be urgent. An infected cardiac device or intravenous line may need removal.
People who inject drugs deserve evidence-based infection treatment and voluntary, nonjudgmental help for substance use. Stigma can delay care and worsen outcomes. Harm-reduction services, sterile equipment access, medications for opioid use disorder, wound care, and follow-up can be part of prevention and recovery.
Recovery, recurrence, and prevention
Improvement in fever does not mean treatment is complete. Taking every dose as directed, keeping laboratory and imaging appointments, and reporting adverse effects are important. New fever, chills, breathlessness, swelling, weakness, or device-site changes during or after treatment should be reported promptly. Some people need rehabilitation or follow-up for valve disease, heart failure, stroke, or kidney problems.
Prevention focuses on reducing sources of bloodstream infection and recognizing high-risk settings. Maintain oral hygiene and regular dental care. Clean cuts and skin wounds and seek care when an infection is spreading. Do not share needles or injection equipment. Follow line and device-care instructions. Tell dentists and other clinicians about prior endocarditis, artificial valves, repaired congenital heart disease, and implanted cardiac material.
Do not start leftover antibiotics or take antibiotics solely to prevent endocarditis without clinical advice. Unnecessary antibiotics can cause harm and may make cultures harder to interpret. People who qualify for procedure-related prophylaxis need the correct medicine and timing based on current guidance.
Preparing for care
Bring a list of symptoms and when they began, recent temperatures, all medicines and supplements, allergies, heart procedures, device cards, recent infections, dental work, wounds, injections, intravenous lines, and any antibiotics taken. If available, bring prior echocardiogram reports, valve details, culture results, and the name of the cardiology team.
Useful questions include: Which findings support or argue against endocarditis? Were cultures collected before antibiotics? What organism was found? Which valve, device, or tissue is involved? How will treatment response and medicine toxicity be monitored? Is surgery or device removal being considered? Which symptoms require immediate return? Does this heart history require dental prophylaxis in the future?