Mazda 3 Key Fob Replacement Mazda 3 owners may need to change the battery in their keyfob in time. This is a simple task you can perform yourself. To change the battery, locate the small button on the back of the key fob. Press it, then take off the cover.