7 JCI-accredited hospitals · 45+ hospitals & clinics · 90+ countries served · 24/7 multilingual support
Medical Technology

How a Pacemaker Works and How It Is Fitted

21 min read
How a Pacemaker Works and How It Is Fitted

Key Takeaways

  • A pacemaker only treats slow or dropped heartbeats; it does not strengthen the heart muscle or clear arteries, and on its own it does not treat fast rhythms.
  • Modern devices work on demand, staying silent when the heart beats on schedule and firing only when a programmed timer runs out without a natural beat.
  • The pulse generator is smaller than a matchbox and weighs 20 to 50 grams, and the fitting usually takes about an hour under local anesthetic and sedation.
  • Leads need roughly four to six weeks to anchor in the heart wall, which is why overhead reaching and heavy lifting with the implant-side arm are restricted during that period.
  • Batteries typically last five to fifteen years, and routine checks project remaining life months in advance so replacement is planned rather than urgent.
  • Keeping mobile phones and magnetic devices at least six inches from the generator is the main everyday precaution; ordinary household appliances pose no problem.
Quick Answer

A pacemaker is a small battery-powered device placed under the skin near the collarbone and connected to the heart by thin wires called leads. It constantly monitors the heart's own electrical rhythm and, when beats come too slowly or drop out, sends painless electrical pulses to restore a steady pace. Fitting usually takes about an hour under local anesthetic and light sedation.

The first clue is rarely dramatic. A man in his seventies notices the stairs feel longer than they used to. A woman who has gardened every weekend for thirty years sits down between rows because the world tilts for a second. Someone else simply glances at a fitness watch during a walk and sees a number in the forties that used to read seventy.

What these people share is a heart that has become an unreliable timekeeper. The muscle is often perfectly strong; the wiring that tells it when to squeeze has grown slow, patchy, or silent. For a problem like that, more strength is not the answer. A better clock is.

That is what a pacemaker offers, and the engineering behind it is more elegant than most people expect. Here is how the device listens, when it speaks up, and what actually happens on the day it is fitted.

What does a pacemaker actually do?

Strip away the medical vocabulary and a pacemaker does one job: it makes sure the heart never beats too slowly for the body’s needs. It does not make the heart stronger, it does not clear blocked arteries, and it does not, on its own, treat fast rhythms. Its territory is slowness and skipped beats.

The device sits under the skin, usually just below the left or right collarbone, and is connected to the heart by one or more insulated wires. Through those wires it does two things in a constant loop. It senses, meaning it reads the tiny electrical signals the heart produces on its own. And it paces, meaning it delivers a small electrical pulse that makes the heart muscle contract when the natural signal is late or missing.

Most of the time a modern pacemaker is quietly listening rather than acting. If the heart produces its own beat on schedule, the device holds back. If a beat fails to arrive within the programmed window, the pacemaker steps in. According to the NHS, the whole unit is smaller than a matchbox and weighs somewhere between 20 and 50 grams, roughly the heft of a few coins in a pocket.

People sometimes ask whether they will feel each pulse. They will not. The energy involved is a fraction of what it takes to trigger a sensation in the skin, and the pulse is delivered directly to heart tissue rather than to nerves that carry feeling.

Why does a heart need pacing in the first place?

Every heartbeat begins as an electrical spark in a cluster of cells at the top of the right atrium called the sinus node. Think of it as the heart’s own metronome. The spark spreads across the two upper chambers, pauses briefly at a relay station called the AV node, then races down specialized fibers into the two lower chambers, the ventricles, which do the heavy lifting of pumping blood to the lungs and body.

A resting heart rate of roughly 60 to 100 beats per minute is considered typical in adults, as the Mayo Clinic notes. Problems arise when that metronome slows too much, a condition called bradycardia, or when the relay between upper and lower chambers becomes unreliable, known as heart block.

Common reasons the wiring fails include:

  • Age-related wear in the sinus node or conducting fibers
  • Scarring after a heart attack or heart surgery
  • Certain medications that slow conduction as a side effect, a decision that belongs with the prescribing clinician
  • Conditions present from birth that affect the heart’s electrical pathways

When the ventricles beat too slowly, the brain and muscles simply do not receive enough oxygen-rich blood per minute. The result is fatigue, breathlessness on mild effort, lightheadedness, or fainting. A pacemaker addresses the timing fault directly, which is why the symptoms it targets are so specifically those of a heart that beats too seldom rather than too weakly.

What are the parts of a pacemaker?

A pacemaker system has two main components, and understanding both helps make sense of the fitting procedure later.

The first is the pulse generator, the small metal case people picture when they hear the word pacemaker. Inside sits a long-life battery and a tiny computer. The computer stores the settings a cardiologist programs, records how often the device has had to intervene, and adjusts its behavior according to rules written into its software. The case is sealed and made of a metal chosen because the body tolerates it well.

The second component is one or more leads. These are flexible insulated wires, thinner than a pencil lead, that run from the generator through a vein into the heart. At the tip of each lead is an electrode that touches the inner wall of a chamber. Signals travel in both directions along the lead: the heart’s own electricity flows up to the generator, and pacing pulses flow down to the muscle. Depending on the type of pacemaker, there may be one, two, or three leads, as MedlinePlus describes.

A newer design does away with leads altogether. A leadless pacemaker is a single capsule small enough to be delivered through a vein in the leg and anchored directly inside the right ventricle. It suits some people who need pacing in only one chamber. Whether a leaded or leadless device is appropriate depends on the specific rhythm problem and the patient’s anatomy, and that call rests with the treating team.

How does a pacemaker know when to fire?

The genius of the modern device is restraint. Early pacemakers fired at a fixed rate no matter what the heart was doing, which occasionally meant competing with the natural rhythm. Today’s devices work on demand.

Picture a timer that resets every time the heart beats on its own. The cardiologist sets a lower limit, often somewhere around 60 beats per minute, though the exact figure is tailored to each person. If the heart produces a beat before the timer runs out, the pacemaker registers it and resets. If the timer expires with no natural beat detected, the device delivers a pulse, the ventricle contracts, and the timer resets again. The heart is never forced to beat faster than it wants to; it is only prevented from beating slower than it should.

Many devices go a step further with what is called rate response. A tiny motion sensor inside the generator, similar in principle to the one in a smartphone, detects when the body is moving. Some models also track breathing rate. When activity rises, the pacemaker raises its lower limit so that a person climbing stairs receives a faster floor rate than someone sitting still. The Cleveland Clinic describes this as the device adjusting the heart rate to match activity level.

Dual-chamber devices add another layer. With one lead in the atrium and one in the ventricle, the pacemaker can wait for the atrium to beat, then make sure the ventricle follows after a natural-feeling delay. This preserves the coordinated squeeze of upper then lower chambers that makes pumping efficient.

What types of pacemaker are there?

Pacemakers are grouped by how many chambers they monitor and pace. The right choice depends entirely on where the electrical fault lies, which is why one person leaves hospital with a single lead and another with three.

Type Leads and placement Typically considered when
Single-chamber One lead, usually in the right ventricle (occasionally the right atrium) Only one chamber needs pacing, for example certain forms of slow rhythm
Dual-chamber Two leads: right atrium and right ventricle The signal between upper and lower chambers is unreliable and coordination matters
Biventricular (cardiac resynchronization) Three leads: right atrium, right ventricle, and left ventricle via a heart vein The two ventricles beat out of step in some people with heart failure
Leadless Self-contained capsule anchored inside the right ventricle Single-chamber pacing is enough and avoiding leads is an advantage

The biventricular type deserves a word of explanation because its purpose differs from the others. Rather than simply preventing slowness, it times pulses to the left and right ventricles so that they contract together. In some people with weakened hearts, the two sides have fallen out of sync, and restoring that coordination can help the heart pump more efficiently, as the American Heart Association explains.

A related but distinct device is the implantable cardioverter-defibrillator, or ICD. It can pace like a pacemaker but is designed mainly to deliver a stronger shock if a dangerous fast rhythm develops. Some devices combine both functions. This article focuses on pacing alone.

Who might be offered a pacemaker?

The decision is never made from a single reading on a watch. Cardiologists look for a documented slow rhythm or conduction problem, usually captured on an electrocardiogram or a wearable monitor worn for several days, and they match that finding against the person’s symptoms.

Situations in which a pacemaker is commonly considered include, according to Mayo Clinic and MedlinePlus:

  • Bradycardia that causes fainting, near-fainting, breathlessness, or persistent fatigue
  • Heart block, where signals from the upper chambers fail to reach the lower chambers reliably
  • Sick sinus syndrome, in which the heart’s natural pacemaker alternates unpredictably between too slow and too fast
  • Certain heart failure patterns where the ventricles have fallen out of sync
  • Slow rhythms caused by necessary medication that cannot safely be changed

Age alone is not a reason. Plenty of people in their eighties have brisk, healthy conduction, and some in their thirties do not. Nor is a slow heart rate on its own a reason; endurance athletes often rest in the forties without any problem because their hearts pump a large volume with each beat.

Alternatives are discussed openly. Sometimes adjusting a medication is enough. Sometimes a rhythm problem is temporary, following a heart attack or surgery, and a short-term external pacemaker is used while the heart recovers. When a permanent device is recommended, the conversation covers the expected benefit for that individual, the risks described later in this article, and what living with the device involves. That conversation, and the final decision, belong to the patient and their treating team.

What happens before the procedure?

Preparation is straightforward but specific. In the days beforehand, a member of the cardiology team reviews the medications a person takes, paying particular attention to anything that thins the blood. Some of these are paused, others are continued; the prescribing clinician makes that call based on the individual’s clotting risk, and patients should never stop a medication on their own.

Blood tests check kidney function and clotting. A chest X-ray and an up-to-date electrocardiogram are common. Anyone with allergies to contrast dye, latex, or antibiotics should mention them, since a small amount of contrast is sometimes used to map the veins and antibiotics are typically given around the time of implantation to reduce infection risk.

On the day, the Johns Hopkins guidance describes a routine that will feel familiar to anyone who has had a minor procedure. Nothing to eat for several hours beforehand, water sometimes permitted until closer to the time. Jewelry off. A hospital gown. A small cannula placed in a vein in the hand or arm for fluids and sedation.

The skin over the collarbone area is cleaned and often shaved. Sticky electrodes are attached to the chest to monitor the rhythm throughout, and a blood pressure cuff and oxygen sensor complete the set. Most people are awake but relaxed, and the procedure is performed in a specialized room equipped with X-ray imaging so the team can watch the leads travel into position in real time.

How is a pacemaker fitted, step by step?

The most common technique is called transvenous implantation, because the leads reach the heart through a vein rather than through an opened chest. Here is the sequence, drawing on descriptions from the NHS and Mayo Clinic.

Local anesthetic is injected into the skin below the collarbone, on the side opposite the dominant hand in most cases so that arm restrictions during healing are less disruptive. A sedative through the cannula takes the edge off without putting the person fully to sleep.

Once the area is numb, the cardiologist makes a small incision, usually a few centimeters long, and creates a shallow pocket between the skin and the chest muscle. This pocket will hold the generator.

Next comes the lead. A large vein running beneath the collarbone is located, and the lead is threaded into it. Using continuous X-ray guidance, the operator steers the tip through the vein, into the heart, and against the inner wall of the target chamber. There it is fixed either by a tiny screw at the tip or by soft tines that catch in the muscle’s natural texture. The heart has no pain receptors on its inner surface, so this stage is not felt.

Testing follows. The lead is connected to an external analyzer and the team checks two things: that it can clearly sense the heart’s own signals and that a small pulse reliably triggers a beat. If the readings are not satisfactory, the tip is repositioned. For dual- or three-lead systems, each lead is placed and tested in turn.

Finally, the leads are connected to the generator, the generator is tucked into its pocket, and the incision is closed with stitches or surgical glue. A dressing goes over the top.

Does having a pacemaker fitted hurt, and how long does it take?

Most people describe the experience as strange rather than painful. The local anesthetic removes sharp sensation, though a feeling of pressure or tugging while the pocket is made is common and is worth knowing about in advance so it does not alarm. Sedation means many people remember only fragments.

The NHS puts the typical duration at about an hour, though placing three leads for a biventricular system, or navigating unusual vein anatomy, can extend it. Leadless implantation follows a different path entirely: a thin tube is inserted into a vein at the top of the leg and the capsule is delivered upward into the right ventricle, with no chest incision at all.

Afterward, a period of monitoring on the ward is standard. The rhythm is watched, the wound is checked, and a chest X-ray confirms that the leads are seated where intended and that the lung on that side is fully inflated. Some people go home the same day; others stay one night, particularly if the procedure was late in the day or if they live alone. The treating team decides based on how the implantation went and the individual’s other health conditions.

Before discharge, the device is checked with a programmer, a laptop-like unit that communicates with the generator through a wand held over the skin. Settings are fine-tuned, and the person receives an identification card listing the device details. Carrying that card matters, as later sections on security scanners and imaging explain.

What is recovery like in the first six weeks?

The wound is usually the loudest complaint in the first week. Bruising can spread across the upper chest and look more alarming than it feels, particularly in people taking blood thinners. Mild soreness is expected. The team will advise on simple pain relief and on keeping the dressing dry; showering is often allowed after a few days once the closure has sealed.

The more important rule concerns the arm on the side of the implant. Leads need several weeks for scar tissue to anchor their tips firmly in the heart wall. Until then, a vigorous overhead reach or a heavy lift could tug a lead out of position. The NHS advises avoiding strenuous activity and lifting the arm above shoulder height for around four to six weeks. Gentle movement is encouraged, since a completely frozen shoulder brings its own problems, but tennis serves, ceiling painting, and hauling suitcases into overhead lockers wait.

Driving restrictions vary by country and by the reason the pacemaker was fitted. In the UK the NHS notes a short mandatory pause after implantation; in the United States, rules differ by state and by whether the person had lost consciousness beforehand. The safest approach is to ask the cardiology team directly and follow their guidance.

A first follow-up appointment typically falls a few weeks after the procedure to inspect the wound and recheck settings. After that, the NHS describes routine checks every three to twelve months, increasingly done from home through a bedside monitor that transmits data overnight. Many people report feeling more energetic within days, because the heart is finally delivering the beats the body was asking for.

What are the risks of pacemaker surgery?

Pacemaker implantation is one of the more routine procedures in cardiology, but every intervention carries risk and honest information helps people weigh the decision. The complications below are described in neutral terms by MedlinePlus, Mayo Clinic, and the NHS; none of those sources supports quoting precise percentages for a general readership, so this article does not.

  • Infection at the pocket or, less commonly, along the leads. Signs include redness, warmth, swelling, or discharge from the wound.
  • Bleeding or a collection of blood under the skin, called a hematoma, more likely in people who take blood thinners.
  • Collapsed lung (pneumothorax), which can occur if the needle used to access the vein beneath the collarbone punctures the lung lining. The post-procedure X-ray is done partly to check for this.
  • Lead displacement, where a lead shifts from its position before it has anchored, usually requiring a repeat procedure to reposition it.
  • Damage to a blood vessel or nerve near the implant site.
  • Allergic reaction to contrast dye or anesthetic.

Longer-term issues are rarer but real. A lead can fracture or its insulation can wear over years, showing up as odd readings at a device check. Occasionally the pacemaker stimulates the chest wall or the diaphragm muscle, causing twitching or persistent hiccups that settle once the settings are adjusted.

Each of these is weighed against the consequences of leaving a slow rhythm untreated, which for someone who is fainting can be serious. That balance is different for every person and is exactly what the pre-procedure conversation exists to address.

How long does a pacemaker battery last, and what happens when it runs down?

The battery inside a pacemaker cannot be recharged, and it is designed that way deliberately. Recharging ports and induction coils would add failure points and complexity to a device whose whole purpose is reliability.

Instead, the battery is built to last for years. The NHS and Mayo Clinic both give a typical lifespan of five to fifteen years. Where a given device falls within that range depends mostly on how hard it works. A pacemaker that fires for nearly every beat, because the heart’s own rhythm has failed almost completely, drains faster than one that intervenes only occasionally. Settings that use more energy per pulse also shorten life.

Nobody has to guess when the end is approaching. Every routine check reads the battery voltage, and the software projects remaining life. As the battery nears depletion it enters a phase with a reassuring official name, elective replacement indicator, during which the device continues to work normally but signals that a change should be scheduled. There is a comfortable margin of months, not days.

Replacement is simpler than the original fitting. The leads, if they are functioning well, stay in place. Under local anesthetic the pocket is opened, the old generator is disconnected, a new one is attached to the existing leads and tested, and the pocket is closed. Because no new leads are placed, the arm restrictions afterward are shorter, though the team will still advise protecting the wound while it heals.

Can I use a phone, go through airport security, or have an MRI?

Pacemakers are shielded against the everyday electrical noise of modern life, but a few sensible habits remain worth adopting, and one older worry has largely been resolved.

Mobile phones are fine to use. The American Heart Association advises keeping a phone at least six inches (about 15 centimeters) from the device, which in practice means holding it to the ear on the opposite side and not tucking it into a shirt pocket directly over the generator. The same six-inch rule applies to headphones with magnets, some smartwatches, and portable speakers.

Household appliances, including microwaves, induction hobs, electric blankets, and remote controls, do not pose a problem. Anti-theft gates in shop doorways and airport metal detectors are safe to walk through at a normal pace; lingering inside them is discouraged. Handheld security wands should not be held over the device for long, which is where the identification card becomes useful. Showing it lets security staff use an alternative screening method.

Stronger fields deserve more caution. Arc welding equipment, large motors, and industrial magnets can interfere. Anyone whose work involves such equipment should raise it with the cardiology team.

MRI scanning was once off-limits entirely. Many devices implanted in recent years are designed to be scanned safely under specific conditions, as the Mayo Clinic notes, though the radiology department needs to know the exact model and check the settings beforehand. Never assume; always tell the imaging team about the pacemaker so they can confirm.

Medical procedures involving electrical current, such as certain types of surgery or physical therapy, also warrant a heads-up to the clinician performing them.

When should you see a doctor after a pacemaker is fitted?

Most recoveries are uneventful, and most questions can wait for the scheduled follow-up. A short list of signs, drawn from NHS and Mayo Clinic guidance, should not wait.

Seek urgent care if you experience chest pain, sudden or worsening breathlessness, fainting or near-fainting, a heartbeat that feels very slow or very fast for more than a few minutes, or a return of the exact symptoms the pacemaker was meant to fix. These can signal that a lead has moved, that the device is not capturing the heart, or that something unrelated to the pacemaker needs attention. Call emergency services if symptoms are severe.

Contact the cardiology team the same day for signs of infection at the wound: spreading redness, increasing warmth, swelling that grows rather than shrinks, pus or fluid leaking, or a fever. Infection around a device is treated seriously because bacteria can travel along the leads, and early assessment makes a difference.

Raise at the next available appointment anything that is puzzling but not alarming: persistent hiccups or a twitching sensation in the chest, swelling of the arm or hand on the implant side, a feeling that the generator has shifted position under the skin, or new dizziness on standing.

A final, quieter point. Some people feel low or anxious in the weeks after any implant, aware of a foreign object beneath the skin in a way that fades with time. That is common and worth mentioning to the team, who will have heard it many times before.

Frequently asked questions

How does a pacemaker work in simple terms?

A pacemaker is a small computer with a battery that watches the heart’s electrical rhythm through thin wires and sends a tiny pulse whenever a beat is late or missing. It sets a minimum heart rate and only intervenes when the heart drops below it. The pulse is delivered directly to heart muscle, so the person does not feel it, and the heart contracts as if the signal had come from its own wiring.

Is pacemaker surgery a major operation?

No, in most cases it is a minor procedure performed under local anesthetic and light sedation, not a general anesthetic. According to the NHS it usually takes about an hour. A small incision is made below the collarbone, the leads are threaded through a vein into the heart, and the generator is placed in a pocket under the skin. Many people go home the same day or after one night.

Can you feel a pacemaker working?

Almost never. The electrical pulse is far too small to trigger the nerves that carry sensation, and it is delivered to the inner heart wall, which has no pain receptors. Some people notice the generator itself as a small firm shape under the skin, particularly if they are slim. Rarely, a lead can stimulate the chest wall or diaphragm and cause twitching, which is corrected by adjusting the settings.

How long do you stay in hospital after a pacemaker is fitted?

Often less than a day. After the procedure the rhythm is monitored, a chest X-ray confirms the leads are correctly placed and the lung is fully inflated, and the device settings are checked. Depending on the time of day, how the implantation went, and whether the person lives alone, discharge may be the same afternoon or the following morning. The treating team decides.

What can't you do after getting a pacemaker?

For around four to six weeks, the NHS advises avoiding strenuous activity and lifting the implant-side arm above shoulder height so the leads can anchor. Longer term, the main restrictions are keeping phones and magnets at least six inches from the device, avoiding lingering in security scanners, and steering clear of strong industrial magnetic fields. Most sports, travel, and everyday activities resume once the wound has healed.

How long does a pacemaker battery last?

The NHS and Mayo Clinic both give a typical range of five to fifteen years. Devices that pace nearly every beat drain faster than those that intervene occasionally. Battery life is read at every routine check, and the software flags a comfortable window of months before replacement is needed. Replacing the generator is a shorter procedure than the original implant because the existing leads usually stay in place.

Can you have an MRI scan with a pacemaker?

Possibly, but never without checking. Many devices implanted in recent years are designed to be scanned safely under specific conditions, which include confirming the exact model and adjusting settings beforehand. Older systems may not be compatible. Always tell the imaging department about the pacemaker well before the appointment so the radiology and cardiology teams can confirm whether and how the scan can proceed.

Does a pacemaker cure a slow heart rate?

It manages the slow rate rather than curing the underlying cause. The heart’s own wiring is not repaired; instead, the device compensates for it, delivering beats whenever the natural signal fails. That is why pacemakers are intended to remain in place for life, with the generator replaced when the battery runs down. Symptoms caused by slowness, such as fatigue or dizziness, often ease because the heart is now beating often enough.

What is the difference between a pacemaker and a defibrillator?

A pacemaker prevents the heart from beating too slowly by delivering small, unfelt pulses. An implantable cardioverter-defibrillator, or ICD, is designed mainly to stop dangerous fast rhythms by delivering a stronger shock, which can be felt. Most ICDs can also pace. Which device is appropriate depends on whether the main concern is slowness, dangerously fast rhythms, or both, and that assessment is made by the cardiology team.

Can a pacemaker lead move out of place?

It can, most often in the first weeks before scar tissue has anchored the tip to the heart wall. That is the reason for the arm restrictions after implantation. Signs include a return of the original symptoms, dizziness, or an unusually slow pulse. Displacement is picked up on device checks and chest X-rays and is usually corrected with a short repeat procedure to reposition the lead.

References

This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.

Dr. Şule Eren
Dr. Şule Eren, MD
Author
View profile →
Published November 2, 2026
Keep Reading

More from the Blog

We’re With You at Every Step

How can we help you today?

We value your privacy We use essential cookies to run this site and, with your consent, analytics cookies to understand how it is used and improve it. You can accept, reject, or choose what to allow. See our Cookie Policy.