Skip to content

Pacemaker

A pacemaker senses the heart’s own electrical activity and delivers an electrical stimulus when the heart does not beat on its own at the set rate. Permanent pacemakers are the most commonly implanted cardiac implantable electronic devices (CIEDs), and they treat symptomatic bradyarrhythmias.1

The heart’s natural pacemaker is the sinoatrial (SA) node. An artificial pacemaker takes over when the SA node fails (sinus node dysfunction) or when the impulse cannot get through the atrioventricular (AV) node (heart block). These are the common reasons for a permanent pacemaker.2

For the perfusionist, pacing comes up in two ways: temporary epicardial pacing wires placed during cardiac surgery to get the patient off bypass and through recovery, and patients who arrive with a permanent pacemaker or implantable cardioverter-defibrillator (ICD) that electrocautery can disrupt.123

  • Pulse generator: the “can,” the implanted unit that powers and controls pacing, usually placed in a pocket below the clavicle1
  • Leads: wires that carry the stimulus to the heart and carry the heart’s signals back to the generator1
  • Electrodes: the cathode (negative) delivers the stimulus at the heart; the anode (positive) completes the circuit2
SystemElectrode arrangementNotes
UnipolarNegative cathode on the heart, positive anode in the subcutaneous tissue2The poles are farther apart than in a bipolar system
BipolarOne wire carrying both the anode and the cathode, both on the heart2The poles are close together, so the capture threshold is usually lower and sensing is better2
DeviceWhat it does
Single-chamber pacemakerPaces either the right atrium or the right ventricle1
Dual-chamber pacemakerPaces both chambers to keep AV synchrony1
Cardiac resynchronization therapy (CRT)Adds a left ventricular lead through the coronary sinus for biventricular pacing in selected heart failure patients1
ICDPaces, and also treats ventricular tachyarrhythmias with antitachycardia pacing or shocks1
Leadless pacemakerA small capsule implanted inside the right ventricle (or atrium), with no transvenous leads or generator pocket1

On chest X-ray, a dual-chamber pacemaker usually has one lead in the right atrial appendage (often J-shaped) and one at the right ventricular apex or septum. Three leads suggest CRT.1

Pacing modes are written with the NASPE/BPEG Generic (NBG) code. The first three letters are the ones used every day.14

PositionIIIIIIIVV
MeaningChamber pacedChamber sensedResponse to sensingRate modulationMultisite pacing
LettersO, A, V, DO, A, V, DO, T, I, DO, RO, A, V, D

O = none, A = atrium, V = ventricle, D = dual (both), T = triggered, I = inhibited, R = rate modulation.14

  • Position IV (R) means the pacemaker can raise the rate when it senses exertion14
  • Position V indicates multisite pacing, such as biventricular pacing14
ModeWhat it does
VVIPaces and senses the ventricle; a sensed beat inhibits pacing. The safest backup mode after cardiac surgery2
AAIPaces and senses the atrium and uses the patient’s own AV conduction. Cannot be used if the patient develops an atrial arrhythmia2
DDDSenses both chambers and paces either or both as needed, keeping AV synchrony and the atrial kick2
VOO / DOOAsynchronous: paces at a fixed rate and ignores the patient’s rhythm1

Example: DDD = Dual chamber paced, Dual chamber sensed, Dual response (triggered and inhibited).14

The atrial kick, the atrial contraction just before ventricular systole, is lost with VVI pacing. AAI and DDD preserve it.2

The capture threshold is the smallest output (in mA) that depolarizes the myocardium, seen as a pacing spike followed each time by a paced complex. The output is usually set at about twice the capture threshold for a safety margin.2

Example: ventricular capture threshold 2.5 mA

2.5 mA × 2 = 5 mA ventricular output

The sensing threshold is the smallest signal (in mV) the pacemaker can detect. Sensitivity is often set to half the sensing threshold, so smaller signals are still detected.2

The sensitivity number works backward from what most people expect: a lower mV setting makes the pacemaker more sensitive, and a higher mV setting makes it less sensitive. A pacemaker that is undersensing has its sensitivity set too high (in mV).2

Over time after surgery, capture thresholds rise and sensing thresholds fall, as edema, inflammation, and fibrosis form at the lead-heart interface. This affects atrial wires more often than ventricular wires.2

ProblemECG findingCause and fix
Failure to pace (output)No pacing spike when one is expectedCheck connections, wires, and the generator; check that the pacemaker is not oversensing and that the rate is not set below the patient’s own rate2
Failure to capturePacing spike with no paced complex after itThe output is below the capture threshold: recheck the threshold and increase the output (mA)2
UndersensingSpikes fall anywhere in the cycle, including on the T waveThe pacemaker does not see the native beats. In the ventricle, a spike on the T wave (R on T) can cause ventricular fibrillation2
OversensingPacing withheld when it is neededThe pacemaker reads noise or small deflections (such as electrocautery) as heartbeats and inhibits pacing12

Temporary Epicardial Pacing After Cardiac Surgery

Section titled “Temporary Epicardial Pacing After Cardiac Surgery”

Temporary epicardial pacing wires are placed at the end of many cardiac operations.2

  • Ventricular wires are sutured to the diaphragmatic surface of the right ventricle2
  • Atrial wires are attached to the right atrium2
  • Atrial wires usually exit the skin to the right of the sternum and ventricular wires to the left2

During separation from CPB, sinus bradycardia is treated with atropine or beta-adrenergic agonists (chronotropes), and epicardial pacing is used for persistent AV block.3

The monopolar electrosurgical unit (Bovie) is the most common source of electromagnetic interference (EMI) in the operating room.1

  • In a pacemaker, EMI can be sensed as heartbeats (oversensing) and inhibit pacing. In a pacing-dependent patient, that can mean no rhythm at all1
  • In an ICD, EMI can be read as ventricular fibrillation and trigger an inappropriate shock1
  • Know the device type and manufacturer, whether the patient is pacing dependent, and the date of the last interrogation1
  • For EMI above the umbilicus in a pacing-dependent patient, program the pacemaker to an asynchronous mode1
  • A magnet placed over most pacemakers switches them to asynchronous pacing (AOO, VOO, or DOO) at a manufacturer-set rate, but the response varies by device1
  • A magnet over an ICD suspends its antitachycardia therapy but does not make it pace asynchronously, so a pacing-dependent ICD patient needs reprogramming1
  • Use short bursts of electrocautery, or bipolar cautery when possible1
  • Whenever a device is turned off, external pacing and defibrillation must be immediately available1
  • Have the device interrogated afterward1
  • While the heart is arrested with cardioplegia, there is no rhythm to sense and nothing to pace
  • On rewarming and reperfusion, rhythm returns, and AV block, bradycardia, or junctional rhythm may need epicardial pacing before separation3
  • Junctional rhythm and sinus node dysfunction are common after a Cox-Maze ablation, so pacing wires are always placed5
  • A paced rhythm can be used to trigger the IABP
  • Know whether a patient has a pacemaker or ICD and whether they are pacing dependent before the case1
  • Expect the anesthesia team to suspend ICD therapies before electrocautery, and have external defibrillation available1
  • At separation from CPB, check that pacing is capturing: a spike followed by a paced complex every time, and a pressure waveform that follows it2
  • If the pressure drops on a paced rhythm, look for failure to capture or oversensing from electrocautery12

A pacemaker senses the heart’s rhythm and paces when the native rate falls below the set rate. Its mode is written in the NBG code: chamber paced, chamber sensed, and response to sensing.14

In cardiac surgery, temporary epicardial wires on the right atrium and right ventricle support the patient through separation from bypass and recovery, and implanted devices are protected from electrocautery by reprogramming or a magnet.123


Why does a magnet make a pacemaker pace asynchronously, but not an ICD?

Section titled “Why does a magnet make a pacemaker pace asynchronously, but not an ICD?”

Most pacemakers respond to a magnet by switching to asynchronous pacing at a fixed rate, which protects a pacing-dependent patient from electrocautery inhibition. A magnet over a transvenous ICD only suspends its shock and antitachycardia therapy; no current transvenous ICD paces asynchronously with a magnet.1

Why is the output set at twice the capture threshold?

Section titled “Why is the output set at twice the capture threshold?”

Thresholds change after surgery: the capture threshold rises as edema and fibrosis form at the lead. Doubling the output leaves a safety margin so the heart still captures as the threshold climbs.2

Why can undersensing cause ventricular fibrillation?

Section titled “Why can undersensing cause ventricular fibrillation?”

A pacemaker that cannot see the native beats fires on its own schedule. A ventricular spike that lands on the T wave (R on T) falls in the vulnerable period of repolarization and can start ventricular fibrillation.2


  • NBG code: I = chamber paced, II = chamber sensed, III = response to sensing, IV = rate modulation, V = multisite4
  • O = none, A = atrium, V = ventricle, D = dual, I = inhibited, T = triggered14
  • DDD paces and senses both chambers and keeps AV synchrony2
  • VVI is the safest backup mode after cardiac surgery2
  • Cathode = negative = stimulating electrode; anode = positive2
  • Failure to capture = spike, no complex → increase output (mA)2
  • Undersensing → R on T → ventricular fibrillation2
  • Oversensing (often electrocautery) → pacing inhibited12
  • Lower sensitivity setting (mV) = more sensitive2
  • Output set at about 2× the capture threshold2
  • Magnet: pacemaker → asynchronous pacing; ICD → therapies suspended, no asynchronous pacing1

  1. Fernando RJ, Crimi E, Puttur Rajkumar K, Marchant BE, Garner CR, Eastlack SC, et al. Perioperative management of cardiac implantable electronic devices: a state of the art narrative review. J Thorac Dis. 2026;18(5):536. https://doi.org/10.21037/jtd-2026-1-0434 ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19 ↩20 ↩21 ↩22 ↩23 ↩24 ↩25 ↩26 ↩27 ↩28 ↩29 ↩30 ↩31 ↩32 ↩33 ↩34 ↩35 ↩36

  2. Waqanivavalagi SWFR. Temporary pacing following cardiac surgery – a reference guide for surgical teams. J Cardiothorac Surg. 2024;19(1):115. https://doi.org/10.1186/s13019-024-02619-9 ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19 ↩20 ↩21 ↩22 ↩23 ↩24 ↩25 ↩26 ↩27 ↩28 ↩29 ↩30 ↩31 ↩32 ↩33 ↩34 ↩35

  3. Sarkar M, Prabhu V. Basics of cardiopulmonary bypass. Indian J Anaesth. 2017;61(9):760–767. https://doi.org/10.4103/ija.IJA_379_17 ↩ ↩2 ↩3 ↩4

  4. Bernstein AD, Daubert JC, Fletcher RD, Hayes DL, Lüderitz B, Reynolds DW, et al. The revised NASPE/BPEG generic code for antibradycardia, adaptive-rate, and multisite pacing. Pacing Clin Electrophysiol. 2002;25(2):260–264. https://doi.org/10.1046/j.1460-9592.2002.00260.x ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8

  5. McGilvray MMO, Barron L, Yates TE, Zemlin CW, Damiano RJ Jr. The Cox-Maze procedure: what lesions and why. JTCVS Tech. 2023;17:84–93. https://doi.org/10.1016/j.xjtc.2022.11.009 ↩