The lifespan of a pacemaker varies, but most pacemakers last between 5 and 15 years. After that, the battery needs to be replaced.