You can replace a Mazda key fob battery yourself in about five minutes
A Mazda key fob battery typically lasts three to four years before the fob stops locking or unlocking your car reliably. The battery itself costs between $5 and $15, and you do not need any tools beyond a coin or flathead screwdriver. Most Mazda fobs use a CR2025 or CR2032 battery — both are standard coin-cell batteries sold at any drugstore, supermarket, or hardware store.
The process is the same across most Mazda models from the last 15 years. You pry open the fob case, remove the old battery, drop in the new one with the positive side facing up, and snap the case shut. If your fob has a physical key blade inside, you may need to remove it first to access the battery compartment — that takes an extra 30 seconds.
Key Takeaways
- Mazda key fobs use CR2025 or CR2032 coin-cell batteries, which cost $5 to $15 and are sold at drugstores and hardware stores.
- You need only a coin or flathead screwdriver to open the fob case and swap the battery.
- The positive side of the new battery must face upward when you insert it into the compartment.
- If the fob still does not work after you replace the battery, the problem is likely a worn button contact or internal damage, and you will need a replacement fob.
Identify which battery your Mazda fob uses
The easiest way to find out which battery your fob needs is to look at the old one after you open the case. The battery type is printed on the flat side — you will see either CR2025 or CR2032. Write down the number before you go to the store, or take a photo of the old battery.
If you want to know before opening the fob, you can search online for your specific Mazda model year and "key fob battery." Most Mazda fobs made between 2010 and 2024 use CR2032, but some older models use CR2025. Both are the same size and shape — the difference is thickness and capacity — so if you buy the wrong one, you will know when ready when you try to fit it.
Open the fob case
Look at the seam running around the edge of your fob. On most Mazda fobs, there is a small slot or groove on one side where the two halves meet. Insert a coin (a dime or penny works) or a flathead screwdriver into that slot and twist gently. The case will pop open into two halves.
If your fob has a physical key blade, you may see it attached to one half of the case. Slide or press the blade out before you separate the halves completely — this gives you room to work and prevents the blade from getting bent. The blade usually slides out toward the edge of the fob.
Once the case is open, you will see the circuit board and the battery sitting in a small metal or plastic holder. The battery is usually a flat, round disc about the size of a dime.
Remove the old battery and insert the new one
Gently pry the old battery out of its holder using the edge of a coin or your fingernail. Do not force it — it should come out with light pressure. Set it aside.
Before you insert the new battery, check which side is marked with a plus sign (+). That is the positive side. Place the new battery into the holder with the positive side facing up, toward the circuit board. The negative side (usually blank or marked with a minus sign) faces down. Press down gently until you hear or feel a small click — the battery should sit flush in the holder.
Do not touch the circuit board or the battery contacts with your bare fingers if you can avoid it. Oils from your skin can interfere with the electrical connection, though this is rare with coin-cell batteries.
Close the fob and test the buttons
Align the two halves of the case so the seam is even all the way around. Press them together firmly until they click and sit flush. You should hear a distinct snap when the case closes properly.
If your fob has a key blade, reinsert it into the slot on the case before you test the buttons. Slide it back in the same direction it came out.
Press the lock and unlock buttons a few times. You should hear a beep or see your car's lights flash. If the fob works, you are done. If it does not, open the case again and check that the battery is seated properly with the positive side facing up.
What to do if the fob still does not work
If you replaced the battery and the fob still does not respond, the problem is usually not the battery. The most common cause is worn button contacts inside the fob — the rubber pads that press against the circuit board wear out over time and stop making electrical contact. You can sometimes revive a worn fob by cleaning the contacts with a pencil eraser or isopropyl alcohol, but this is temporary.
If cleaning does not work, or if only one button works while others do not, the fob likely needs to be replaced. Mazda dealerships sell replacement fobs for $150 to $300, depending on the model year. Some aftermarket fobs are available online for $30 to $80, though you will need to have them programmed to your car — your dealership can do this, or some locksmiths can as well.
If your car is newer and uses a push-button start, the fob may also contain a physical key blade that you can use to unlock the driver's door manually while you arrange a replacement.
Frequently Asked Questions
Can I use a different battery type if I cannot find CR2025 or CR2032?
No. CR2025 and CR2032 are not interchangeable with other battery types, and using the wrong battery can damage the fob or cause it to malfunction. Both types are widely available at drugstores, supermarkets, and online retailers, so you should be able to find the correct one within a day or two.
How do I know if the battery is dead or if something else is wrong with the fob?
If the fob worked normally and then suddenly stopped working, a dead battery is the most likely cause. If the fob has been working poorly for weeks — buttons responding slowly or inconsistently — the battery is probably low. Replace it and test. If only one button works, or if the fob never worked properly, the problem is usually worn contacts or internal damage, not the battery.
Do I need to reprogram my Mazda after replacing the battery?
No. Replacing the battery does not erase the fob's programming. As long as the fob was working before the battery died, it will work again once you install a fresh battery. You only need to reprogram a fob if you buy a new one or if the fob loses its programming for another reason.
Is it safe to replace the battery myself, or should I go to a dealership?
It is safe to replace the battery yourself. The process involves no electrical risk and no special tools. A dealership will do it for you, but they typically charge $20 to $50 for the service, plus the cost of the battery. Doing it yourself takes five minutes and costs only the price of the battery.