Pacemakers are medical devices that have been rigorously designed and tested to have a good insulating layer between the outer casing and the internal wires. This insulation is effective in preventing current leakage or electrocution. There is no risk of electrocution after a few years of having a pacemaker.