Replacing a Mazda key battery takes 10 to 15 minutes and costs $5 to $15 for the battery itself
Most Mazda key fobs use a coin-cell battery — usually CR2032, CR2025, or CR2016 — that you can buy at any drugstore, grocery store, or hardware store. You do not need to visit a dealership. The battery sits inside the fob behind a small cover or door that pops open with a coin or your fingernail. Once you swap the old battery for a new one, your key will work again.
The exact battery type and how the fob opens depends on your Mazda model year and which generation key fob you have. A few models use a different design, but the process is nearly identical. If your key fob still does not work after you replace the battery, the problem is usually a worn contact or a dead fob circuit — not the battery itself.
Key Takeaways
- Mazda key fobs almost always use a CR2032, CR2025, or CR2016 coin-cell battery that costs $3 to $10 and is sold at pharmacies and grocery stores.
- The battery compartment opens by sliding a small door with a coin or by prying gently with a flat tool — no special equipment needed.
- When you install the new battery, the flat side (marked with a minus sign) faces down and the domed side faces up toward the fob cover.
- If the fob still does not work after you replace the battery, clean the metal contacts inside the compartment with a pencil eraser or dry cloth.
Finding the right battery type for your Mazda key
The easiest way to know which battery your fob needs is to look at the old one. Open the fob, remove the dead battery, and read the numbers stamped on it. That number — CR2032, CR2025, or CR2016 — is what you buy as a replacement. All three are common and cost roughly the same.
If you cannot open the fob or the battery is too worn to read, check your Mazda owner's manual or search online for your specific model year and generation. Mazda has used CR2032 most often since the early 2000s, so that is a safe bet if you are unsure. When you buy the battery, pick up two — one to install now and one as a spare, since they last three to four years and you will eventually need another.
How to open your Mazda key fob
Most Mazda fobs have a small slot or seam on one edge where a battery door slides out. Look for a thin line running along the side or back of the fob. Insert a coin — a dime or penny works — into the slot and gently twist or slide it to pop the door open. Do not force it; if it does not move easily, you are probably pushing in the wrong spot.
Some older Mazda fobs do not have a sliding door. Instead, the two halves of the fob snap together, and you pry them apart with a flat tool like a butter knife or flathead screwdriver. Insert the tool into the seam between the two halves and gently twist to separate them. Once the fob is open, you will see the battery sitting in a small metal holder or clip.
If your fob has a screw holding the two halves together, use a small Phillips or flathead screwdriver to remove it. Keep the screw somewhere safe — you will need it to close the fob again after you replace the battery.
Removing the old battery and installing the new one
Once the fob is open, lift the old battery straight up and out of its holder. If it is stuck, gently pry one edge up with a plastic tool or your fingernail. Do not use metal tools directly on the battery, as this can damage the contacts inside the fob.
Before you install the new battery, look at the metal contacts inside the fob. They should be shiny and clean. If they look dark, dull, or corroded, wipe them gently with a pencil eraser or a dry cloth. Dirty contacts are a common reason a new battery does not fix the problem.
Place the new battery into the holder with the flat side (marked with a minus sign or —) facing down and the domed side facing up. The battery should sit flat and click or snap into place. Do not force it. Once it is seated, close the fob by sliding the door back in, snapping the halves together, or replacing the screw — whichever applies to your model.
Testing your key fob after battery replacement
Stand a few feet away from your Mazda and press each button on the fob — lock, unlock, panic, and trunk if your model has one. You should see the lights on your car respond, and you should hear the locks click. If nothing happens, try pressing the buttons several more times, as the fob sometimes needs a moment to wake up after a battery change.
If the fob still does not work, open it again and check that the battery is seated correctly and facing the right direction. Make sure the flat side is down. If it is, the problem is likely dirty contacts or a circuit failure inside the fob, not the battery.
When to clean the contacts inside your fob
If your new battery does not bring the fob back to life, the metal contacts inside may be corroded or dirty. These contacts carry power from the battery to the circuit board. When they are covered in grime or oxidation, the fob cannot work even with a fresh battery.
Open the fob again and look at the small metal pads or springs inside the battery holder. If they look dark, gray, or tarnished, rub them gently with a pencil eraser or a clean, dry cloth. Use light pressure and rub in one direction. Do not scrub hard or use water, as moisture can damage the circuit board. After cleaning, reinstall the battery and test the fob again.
If cleaning the contacts does not work, the fob circuit itself may be damaged. At that point, you will need to order a replacement fob from a Mazda dealership or an online retailer that sells aftermarket Mazda keys. A new fob typically costs $50 to $150 depending on the model and whether it includes programming.
Frequently Asked Questions
Can I use a different battery type if I cannot find the exact one?
CR2032, CR2025, and CR2016 are all similar in size and voltage, and many fobs will work with any of them. However, the fit may be loose, which can cause poor contact. Stick with the battery type stamped on your old battery or listed in your owner's manual. If your local store is out, order online — they ship quickly and cost the same.
How long does a Mazda key battery last?
Most coin-cell batteries last three to four years in a key fob, depending on how often you use it. If you press the buttons dozens of times a day, the battery may wear out faster. If you use your fob only occasionally, it may last longer. There is no way to predict exactly when it will die, so keeping a spare battery on hand is smart.
What if the fob still does not work after I replace the battery and clean the contacts?
The fob circuit board may be damaged, or the buttons themselves may be worn out. You can try opening the fob one more time and checking that all the rubber button pads are seated correctly under the circuit board. If they are loose or cracked, the fob will not respond. Otherwise, a replacement fob is your next step.
Do I need to reprogram my Mazda key after replacing the battery?
No. Replacing the battery does not erase the fob's programming. Once you install the new battery and close the fob, it should work when ready. If it does not, the problem is not programming — it is a bad battery, dirty contacts, or a damaged fob.
Can I replace the battery in a Mazda smart key or push-button fob?
Yes. Smart keys and push-button fobs use the same coin-cell batteries as traditional fobs. The process is identical: open the fob, remove the old battery, install the new one with the flat side down, and close it. No special tools or programming are needed.