Mazda 3 Key Fob Replacement Mazda 3 owners may need to replace the battery on their keyfob every now and then. You can easily perform this task yourself. To change the battery, find the small button on the back of the key fob. Press the button, then remove the cover.