A pacemaker is a small device that’s placed under the skin in your chest to help control your heartbeat. It’s used to help your heart beat more regularly if you have an irregular heartbeat (arrhythmia), particularly a slow one. Implanting a pacemaker in your chest requires a surgical procedure.
Pacemakers are implanted to help control heartbeat. They can be implanted temporarily to treat a slow heartbeat after a heart attack, surgery or medication overdose. Or they can be implanted permanently to correct a slow or irregular heartbeat or, in some people, to help treat heart failure.