Do Pacemakers and Artificial Valves Affect Endocarditis?
At a Glance
Artificial heart valves, pacemakers, and ICDs can make infective endocarditis harder to diagnose because implanted materials may hide infection on echocardiograms. Blood cultures and advanced imaging help guide treatment, which may require prolonged IV antibiotics and removal of infected hardware.
In this answer
3 sections
Having a pacemaker, implantable cardioverter-defibrillator (ICD), or artificial heart valve can make infective endocarditis more complex to diagnose and treat. Because bacteria can stick to artificial materials and form protective layers, doctors often need to use a combination of blood cultures and advanced imaging to find the infection. Treatment frequently involves longer courses of intravenous antibiotics and, in specific situations, surgical removal of the infected device or valve to fully clear the infection.
When to Seek Immediate Care: Contact your care team or go to the emergency room immediately if you experience persistent fever or chills, new or worsening shortness of breath, chest pain, fainting, confusion, stroke-like symptoms (such as facial droop or weakness), or any new redness, swelling, drainage, or pain over your pacemaker or ICD pocket. Do not wait for outpatient imaging if you have these severe symptoms.
How Heart Devices Can Complicate Infection
It is important to distinguish between having a heart device and the device itself being infected. Just because you have a pacemaker and develop endocarditis does not automatically mean your pacemaker is the source or is infected. However, your care team will investigate carefully.
When an infection involves a replacement heart valve, it is called prosthetic valve endocarditis (PVE) [1]. When an infection involves a pacemaker or ICD, it is categorized broadly as a cardiac implantable electronic device (CIED) infection [2]. This can range from an infection just in the “pocket” under the skin where the generator sits, to a deeper infection involving the wire leads inside the heart (CIED-related infective endocarditis) [2].
Artificial materials provide a surface where bacteria can easily attach. Once attached, bacteria secrete a slimy, protective matrix called a biofilm [1][3]. This biofilm acts as a physical shield against your body’s immune cells and antibiotics [3]. Because of this biofilm, infections on artificial materials can be harder to eradicate with medication alone and have a higher risk of relapsing if infected hardware is left in place [4][5].
Diagnosing Infection: Blood Cultures and Imaging
Diagnosing endocarditis relies heavily on matching the bacteria in your blood with images of your heart.
Blood Cultures: Your doctors will draw multiple sets of blood to identify the specific bacteria or fungus causing the infection. Knowing the exact organism is essential for choosing the right antibiotics and determining how long you need them.
Echocardiograms (Ultrasounds of the heart): The standard first imaging test is a transthoracic echocardiogram (TTE) performed on the chest, often followed by a more detailed transesophageal echocardiogram (TEE) performed from inside the esophagus. However, metal and plastic components reflect ultrasound waves, creating visual artifacts—often called “acoustic shadowing” or reverberations [6][7]. This shadowing can obscure clumps of bacteria (vegetations) or pockets of infection. In up to 30% of cases involving artificial valves, echocardiograms may appear normal or inconclusive [7]. Therefore, a “negative” echocardiogram does not completely rule out endocarditis if clinical suspicion remains high [8].
Advanced Imaging: If ultrasounds are unclear, your team may use multimodality imaging:
- FDG-PET/CT scans: This test uses a small amount of radioactive sugar (FDG) to detect areas of high metabolic activity, which can indicate inflammation and active infection [9]. It is particularly useful for spotting infections around prosthetic valves [10]. However, it is not perfect; recent surgeries or surgical adhesives can cause false positives, and the scan has a harder time accurately detecting infections on thin pacemaker leads [11][12].
- Cardiac CT scans: This highly detailed 3D scan is excellent for identifying structural complications around artificial valves, such as a perivalvular abscess (a pocket of pus) or a valve that is starting to detach [13][14].
Treatment: Antibiotics and Surgical Decisions
Treating endocarditis involves a multidisciplinary team (often called an Endocarditis Team) consisting of infectious disease specialists, cardiologists, and cardiac surgeons.
Intravenous Antibiotic Therapy
Because antibiotics must penetrate the bacterial biofilm, treatment courses are typically long. For prosthetic valve endocarditis, standard treatment often involves six or more weeks of targeted intravenous (IV) antibiotics [15][16]. The exact drug, dose, and duration depend on the specific bacteria found in your blood cultures, your kidney function, and whether surgery is performed.
Many patients receive this medication at home through a PICC line (Peripherally Inserted Central Catheter), which is a secure, long-term IV placed in the arm. Your care team will monitor your blood counts and kidney function regularly during home therapy.
When is Surgery or Extraction Considered?
While antibiotics are crucial, they are sometimes not enough to sterilize a piece of hardware coated in a biofilm [4]. The decision to perform surgery is highly individualized:
- For pacemakers and ICDs: If it is confirmed that the CIED system is infected (definite CIED infection or lead endocarditis), medical guidelines strongly recommend complete extraction of the entire system—both the generator device and the wire leads [2][17]. Leaving infected hardware behind is associated with higher rates of relapse and mortality [18]. Extraction is a specialized procedure performed at experienced centers [19]. Once the infection is cleared from the bloodstream, a new device is often reimplanted at a different site [20]. During the waiting period, temporary pacing may be used to support your heart rhythm.
- For artificial heart valves: Prosthetic valve endocarditis does not always require surgery; some patients are successfully treated with antibiotics alone [21]. However, open-heart surgery to replace the infected valve is frequently considered if there are complications. Surgery may be needed during the active infection if the patient develops heart failure, if an abscess forms, if the valve begins to detach, if the bacteria do not respond to antibiotics, or if the risk of a stroke is high [1][14].
Common questions in this guide
If I have a pacemaker or artificial valve, does that mean it is infected?
Can an echocardiogram miss endocarditis around an artificial valve or pacemaker?
What tests are used to diagnose endocarditis with implanted heart devices?
Does an infected pacemaker or ICD have to be removed?
How long do antibiotics last for prosthetic valve endocarditis?
When might an artificial heart valve infection require surgery?
Which symptoms need immediate medical attention with a pacemaker or artificial valve?
Questions to Ask Your Doctor
Curated prompts to bring to your next appointment.
- 1.If my echocardiogram is inconclusive, do you recommend a transesophageal echo (TEE) or advanced imaging like a PET/CT scan?
- 2.Are my blood cultures showing that the infection is in my bloodstream, and what specific bacteria is causing it?
- 3.Is my pacemaker, ICD, or artificial valve directly involved in the infection?
- 4.If my heart device needs to be removed, how will my heart rhythm be supported during the extraction and before a new device is implanted?
- 5.What is my specific antibiotic plan, how many weeks will it last, and will I need a PICC line for home therapy?
- 6.What are the signs that my artificial valve might be failing or developing an abscess?
Questions For You
Tap a prompt to share your answer — we'll use it plus this page's context to start a tailored conversation.
Related questions
References
References (21)
- 1
Patients with Artificial Heart Valves.
Weber C, Hohmann C, Lindner O, et al.
Deutsches Arzteblatt international 2023; (120(41)):692-702.
PMID: 37427994 - 2
Therapy and outcomes of cardiac implantable electronic devices infections.
Perrin T, Deharo JC
Europace : European pacing, arrhythmias, and cardiac electrophysiology : journal of the working groups on cardiac pacing, arrhythmias, and cardiac cellular electrophysiology of the European Society of Cardiology 2021; (23(23 Suppl 4)):iv20-iv27 doi:10.1093/europace/euab016.
PMID: 34160599 - 3
Strategies to prevent infections associated with cardiovascular implantable electronic devices.
Palraj BR, Farid S, Sohail MR
Expert review of medical devices 2017; (14(5)):371-381 doi:10.1080/17434440.2017.1322506.
PMID: 28434261 - 4
Cardiac implantable electronic device infections: Emerging paradigms in precision prevention and personalized management.
Da Costa A, Groussin P, Barengo A, et al.
Trends in cardiovascular medicine 2026; doi:10.1016/j.tcm.2026.08.002.
PMID: 42551498 - 5
Attempted salvage of infected cardiovascular implantable electronic devices: Are there clinical factors that predict success?
Peacock JE, Stafford JM, Le K, et al.
Pacing and clinical electrophysiology : PACE 2018; (41(5)):524-531 doi:10.1111/pace.13319.
PMID: 29518265 - 6
Multimodality Imaging Diagnosis in Infective Endocarditis.
Babes EE, Bustea C, Ilias TI, et al.
Life (Basel, Switzerland) 2023; (14(1)) doi:10.3390/life14010054.
PMID: 38255669 - 7
The pivotal role of cardiac computed tomography angiogram and 18F-fluorodeoxyglucose positron emission tomography-computed tomography in the diagnosis of right sided endocarditis: a case report.
El Barzouhi A, Tanis W, van Gelder RE, Vriend JWJ
European heart journal. Case reports 2019; (3(1)):yty165 doi:10.1093/ehjcr/yty165.
PMID: 31020241 - 8
Multimodality imaging in the diagnosis and management of prosthetic valve endocarditis: A contemporary narrative review.
Lo Presti S, Elajami TK, Zmaili M, et al.
World journal of cardiology 2021; (13(8)):254-270 doi:10.4330/wjc.v13.i8.254.
PMID: 34589164 - 9
The Role of 18F-Fluorodeoxyglucose Positron Emission Tomography/Computed Tomography in the Diagnosis of Left-sided Endocarditis: Native vs Prosthetic Valves Endocarditis.
de Camargo RA, Sommer Bitencourt M, Meneghetti JC, et al.
Clinical infectious diseases : an official publication of the Infectious Diseases Society of America 2020; (70(4)):583-594 doi:10.1093/cid/ciz267.
PMID: 30949690 - 10
Diagnosis of Infective Endocarditis by Subtype Using 18F-Fluorodeoxyglucose Positron Emission Tomography/Computed Tomography: A Contemporary Meta-Analysis.
Wang TKM, Sánchez-Nadales A, Igbinomwanhia E, et al.
Circulation. Cardiovascular imaging 2020; (13(6)):e010600 doi:10.1161/CIRCIMAGING.120.010600.
PMID: 32507019 - 11
Accuracy of 18F-FDG PET/CT in patients with the suspicion of cardiac implantable electronic device infections.
Jerónimo A, Olmos C, Vilacosta I, et al.
Journal of nuclear cardiology : official publication of the American Society of Nuclear Cardiology 2022; (29(2)):594-608 doi:10.1007/s12350-020-02285-z.
PMID: 32748277 - 12
Improving the Diagnostic Performance of 18F-Fluorodeoxyglucose Positron-Emission Tomography/Computed Tomography in Prosthetic Heart Valve Endocarditis.
Swart LE, Gomes A, Scholtens AM, et al.
Circulation 2018; (138(14)):1412-1427 doi:10.1161/CIRCULATIONAHA.118.035032.
PMID: 30018167 - 13
The role of cardiac computed tomography in the diagnosis of prosthetic valve endocarditis - A comparison with transthoracic and transesophageal echocardiography and intra-operative findings.
Michałowska I, Stokłosa P, Miłkowska M, et al.
European journal of radiology 2021; (138()):109637 doi:10.1016/j.ejrad.2021.109637.
PMID: 33740628 - 14
Imaging infective endocarditis: Adherence to a diagnostic flowchart and direct comparison of imaging techniques.
Gomes A, van Geel PP, Santing M, et al.
Journal of nuclear cardiology : official publication of the American Society of Nuclear Cardiology 2020; (27(2)):592-608 doi:10.1007/s12350-018-1383-8.
PMID: 30066279 - 15
Enterococcal prosthetic valve endocarditis secondary to transurethral prostatic resection.
Moussa Y, Moussa M, Chakra MA
IDCases 2020; (19()):e00708 doi:10.1016/j.idcr.2020.e00708.
PMID: 32055442 - 16
An Aminoglycoside-Sparing Regimen with Double Beta-Lactam to Successfully Treat Granulicatella adiacens Prosthetic Aortic Valve Endocarditis-Time to Change Paradigm?
Pagotto A, Campanile F, Conti P, et al.
Infectious disease reports 2024; (16(2)):249-259 doi:10.3390/idr16020020.
PMID: 38525767 - 17
Early Lead Extraction for Infected Implanted Cardiac Electronic Devices: JACC Review Topic of the Week.
Lakkireddy DR, Segar DS, Sood A, et al.
Journal of the American College of Cardiology 2023; (81(13)):1283-1295 doi:10.1016/j.jacc.2023.01.038.
PMID: 36990548 - 18
Transvenous Lead Extraction in Chronic Kidney Disease and Dialysis Patients With Infected Cardiac Devices.
Barakat AF, Wazni OM, Tarakji KG, et al.
Circulation. Arrhythmia and electrophysiology 2018; (11(1)):e005706 doi:10.1161/CIRCEP.117.005706.
PMID: 29321192 - 19
X marks the spot: catheter aspiration using the Inari FlowTriever device to debulk defibrillator lead vegetations prior to transvenous lead extraction-a case report.
Clark J, Zaidi A, O'Callaghan P, et al.
European heart journal. Case reports 2024; (8(7)):ytae332 doi:10.1093/ehjcr/ytae332.
PMID: 39045529 - 20
Reimplantation and Repeat Infection After Cardiac-Implantable Electronic Device Infections: Experience From the MEDIC (Multicenter Electrophysiologic Device Infection Cohort) Database.
Boyle TA, Uslan DZ, Prutkin JM, et al.
Circulation. Arrhythmia and electrophysiology 2017; (10(3)) doi:10.1161/CIRCEP.116.004822.
PMID: 28292753 - 21
Prosthetic Valve Endocarditis: A Retrospective Cohort Study Conducted at "Dr. Carol Davila" Central Military Emergency University Hospital in Bucharest.
Anton CI, Buzilă CA, Stanciu SM, et al.
Microorganisms 2024; (12(7)) doi:10.3390/microorganisms12071442.
PMID: 39065210
This page explains how pacemakers, ICDs, and artificial valves can affect infective endocarditis evaluation and treatment for informational purposes only; it does not replace medical advice. Seek urgent medical care for severe or rapidly worsening symptoms.
Get notified when new evidence is published on Infective endocarditis.
We monitor PubMed for new peer-reviewed studies on this topic and email a short summary when something meaningful changes.