A 2-kilogram child had a pacemaker implanted by a subxyphoid approach with the generator located under the rectus sheath. Days later, the battery eroded the abdominal wall and the peritoneum. The whole system was removed and a new one was implanted inside the pericardium on an emergent basis.