Had to replace the old one. Can’t tell you how many batteries and years it was on the door. We loved it so much we bought the same lock without even looking around. Had absolutely no issues installing and works fine.