You can replace most Mazda key batteries yourself in under five minutes
Most Mazda key fobs use a coin-cell battery—usually CR2032, CR2025, or CR2016—that you can buy at any drugstore, supermarket, or hardware store for a few dollars. The battery typically lasts three to four years depending on how often you use the fob. When your key stops locking or unlocking the car from a distance, a dead battery is the first thing to check before paying a dealer for a replacement.
The process is straightforward: pop open the fob, note which side the battery sits on, swap in the new one the same way, and snap it closed. No tools required for most models. If your fob has a different design or the battery compartment won't open by hand, you may need a flathead screwdriver or a coin.
Key Takeaways
- Most Mazda key fobs use a CR2032, CR2025, or CR2016 coin-cell battery that costs $3 to $8 and is sold at drugstores and hardware stores.
- You can open the fob by hand on most models by locating the seam and gently prying, or by using a flathead screwdriver if the compartment is tight.
- The battery sits in a metal holder with a plus and minus side; note which way it faces before removing it so you install the new one the same way.
- After replacing the battery, test the lock and unlock buttons from a few feet away before assuming the fob is working again.
Identify your Mazda key fob type and battery size
Mazda key fobs come in a few common shapes. The most frequent design is a flat rectangular fob with a seam running around the edge—this one opens by hand or with gentle prying. Some newer models have a flip-out key blade inside, which doesn't change the battery replacement process. A few older or specialty fobs may have a different layout, but the battery compartment is always marked or obvious once you look at the fob closely.
To find out which battery your fob needs, check the owner's manual first—it will list the exact model number. If you don't have the manual, you can also open the fob and look at the battery itself; the model number is printed on top. Common Mazda batteries are CR2032 (the most common), CR2025, and CR2016. Write down the number before you go to the store so you buy the right one.
Open the key fob safely
Look at the seam running around the edge of your fob. On most models, you can insert a fingernail or the edge of a coin into this seam and gently twist or pry to separate the two halves. Start at one corner and work your way around; the fob will pop open once you've loosened it enough. Do not force it—if it resists, stop and try a different spot on the seam.
If your fob has a very tight seam or won't budge by hand, use a flathead screwdriver instead. Insert the tip gently into the seam and explore steady, light pressure while twisting. Again, work your way around the edge rather than forcing one spot. Once the fob is open, set the two halves on a clean surface so you don't lose any small springs or contacts inside.
Remove the old battery and note its position
Inside the fob, you'll see a small metal holder or clip that holds the battery. The battery is round and flat, sitting in this holder with one side facing up. Before you touch it, look at which side is facing you—the plus sign (+) or the minus sign (−). This matters because you must install the new battery the same way, or the fob won't work.
Gently pry the battery out of its holder using your fingernail or a plastic tool. Metal tools can scratch the contacts inside the fob, so avoid them if possible. Once the battery is out, you can throw it away or recycle it at a store that accepts batteries. Do not leave the fob open for long periods, as dust can settle on the contacts.
Install the new battery and test the fob
Take your new battery and place it in the holder the same way the old one was facing. If the old battery had the plus side up, the new one should too. Press down gently until you hear or feel a small click—the battery should sit flat and snug in the holder. Do not force it; if it doesn't sit flush, you may have it upside down.
Close the fob by pressing the two halves together until they snap. You should hear a click or feel them lock into place. Now test the fob by standing a few feet from your car and pressing the lock button. The car should lock, and you should see the lights flash or hear a beep. Press unlock and repeat. If both buttons work, the battery replacement is complete. If nothing happens, open the fob again and check that the battery is seated correctly and facing the right direction.
What to do if the fob still doesn't work
If you've replaced the battery and the fob still won't lock or unlock the car, the problem is likely not the battery. The fob may have water damage, a broken button, or a damaged circuit board. You can try opening it again and gently cleaning the battery contacts and the metal contacts inside the fob with a dry cloth, but this rarely solves the problem if the battery replacement didn't work.
At this point, you have two options: buy a replacement fob from a Mazda dealer or a third-party supplier, or have a locksmith program a used fob to your car. Dealer fobs are more expensive but may provide to work with your model. Third-party fobs are cheaper but vary in quality. A locksmith can often program a fob for less than a dealer charges, though prices vary by location. Before buying a new fob, confirm with the dealer or locksmith that your car's model year can accept it.
Where to buy replacement batteries and fobs
Coin-cell batteries are sold at drugstores (CVS, Walgreens), supermarkets (Target, Walmart), hardware stores (Home Depot, Lowe's), and online retailers. Prices are typically $3 to $8 per battery, and you'll often find multi-packs that cost less per unit. Buy a name-brand battery like Energizer, Duracell, or Panasonic rather than a generic one; they last longer and are more reliable.
Replacement fobs are sold at Mazda dealerships, online retailers like Amazon and eBay, and some locksmiths. Dealer fobs cost $200 to $400 depending on the model year and features. Aftermarket fobs from third-party sellers cost $30 to $100 but may not include programming. Always check the product listing to confirm it matches your car's year and model before buying.
Frequently Asked Questions
How long does a Mazda key battery last?
Most Mazda key batteries last three to four years with normal use. If you use your fob frequently—multiple times daily—the battery may drain faster. If you rarely use it, the battery may last longer. A battery can also drain quickly if the fob is exposed to heat or moisture.
Can I use a different battery size if my fob takes CR2032?
No. CR2032, CR2025, and CR2016 are different sizes and thicknesses. Using the wrong size can prevent the fob from closing properly or cause the battery to lose contact with the metal holder. Always use the exact model number listed in your manual or printed on the old battery.
What if I can't open my fob without breaking it?
If the seam is extremely tight and won't budge with a coin or screwdriver, stop trying. Take the fob to a Mazda dealer or a locksmith; they have tools designed to open fobs without damage. Forcing it can crack the plastic or damage the circuit board inside, making the fob unusable.
Do I need to reprogram my key fob 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 doesn't, the problem is not the programming—it's either the battery installation or a damaged fob.
Can I replace the battery in a flip-key Mazda fob the same way?
Yes. Flip-key fobs open the same way as standard fobs. The flip-out key blade doesn't affect the battery compartment. Open the fob, replace the battery, and close it. The blade will still flip out and in normally once you've reassembled the fob.