The battery in your Mazda CX-5 key fob typically lasts three to four years before it needs replacement
When your key fob stops locking or unlocking the doors reliably, or the buttons require harder pressing than usual, the battery is usually the culprit. Mazda CX-5 key fobs use a CR2025 or CR2032 coin-cell battery — the exact type depends on your model year and which fob design you have. You can replace it yourself in under five minutes with no tools beyond a flathead screwdriver or coin, and a new battery costs between $3 and $8 at any pharmacy, grocery store, or hardware retailer.
The process is the same whether you have a two-button fob, a three-button fob, or a fob with a trunk release. The battery compartment is accessed from the back or side of the fob, and Mazda designed them to open without special equipment. If your fob is physically damaged, won't open, or stops working even after a fresh battery, you may need a replacement fob from a Mazda dealer or a third-party automotive locksmith.
Key Takeaways
- Mazda CX-5 key fobs use CR2025 or CR2032 batteries, which you can buy at drugstores or supermarkets for $3 to $8.
- The battery compartment opens from the back or side of the fob using a flathead screwdriver or coin — no special tools required.
- A fresh battery typically restores full function if the fob was working before and only the battery was weak.
- If the fob still does not work after battery replacement, or if the case is cracked or the compartment won't open, a replacement fob from a Mazda dealer or locksmith is the next step.
Identifying which battery your fob needs
The easiest way to know which battery to buy is to open the fob first and look at the old battery. The battery type is printed on its flat surface — CR2025 or CR2032 are the two Mazda uses. If you want to know before you open it, check your vehicle's owner manual or call your Mazda dealer with your vehicle identification number (VIN) and model year.
CR2025 and CR2032 are both 3-volt lithium coin cells and look nearly identical. The difference is thickness: CR2032 is slightly thicker. If you put the wrong one in, the fob may still work, but the battery may not sit flush in the compartment or may lose contact during normal use. When you buy a replacement, confirm the number on the package matches the number on your old battery.
How to open the key fob and remove the old battery
Most Mazda CX-5 fobs have a seam running around the edge where the two halves of the plastic case meet. Insert a flathead screwdriver or the edge of a coin into this seam and gently twist to pry the two halves apart. Start at one corner and work your way around — do not force it, as the plastic can crack if you explore too much pressure at once.
Once the fob is open, you will see the battery sitting in a small metal holder or clip. Note which side is facing up — the positive side (marked with a + symbol) should face outward. Gently pry the battery out using the tip of your screwdriver or by lifting the metal clip slightly and sliding the battery out. Do not touch the battery's flat surfaces with your bare fingers if you can avoid it, as skin oils can reduce its lifespan.
Installing the new battery and closing the fob
Slide the new battery into the holder with the positive side facing the same direction as the old one was facing. The battery should sit flat and flush — if it rocks or sits at an angle, remove it and check that you have the right type. Press down gently to make sure it is seated in the metal clip.
Before closing the fob, test the buttons to confirm the battery is making contact. Press the lock and unlock buttons a few times — you should hear a click and feel the button respond normally. If nothing happens, remove the battery, wipe both the battery and the metal contacts with a clean, dry cloth, and reinstall it. Once the buttons work, align the two halves of the case and press them together firmly until you hear or feel a click. The seam should be even all the way around.
Testing the fob after battery replacement
Stand near your CX-5 and press the lock button. The doors should lock and the lights should flash. Press unlock and confirm the doors unlock and the lights flash again. If the fob works, you are done. If it does not, try pressing the buttons several more times — sometimes a new battery needs a few presses to establish full contact.
If the fob still does not work after testing, remove the battery again and inspect the metal contacts inside the fob for corrosion, dirt, or damage. If the contacts look dark, corroded, or pitted, clean them gently with a dry cloth or a pencil eraser. Reinstall the battery and test again. If the fob still does not respond, the problem is likely not the battery, and you will need a replacement fob.
When to replace the entire fob instead of just the battery
If the fob case is cracked, the buttons are stuck or unresponsive, or the battery compartment will not open, replacing just the battery will not help. In these cases, you need a new fob. Mazda dealers can order a replacement fob for your CX-5 and program it to your vehicle — the cost varies by model year but typically ranges from $150 to $300 including programming. Some dealers offer refurbished fobs at a lower price.
Automotive locksmiths and third-party retailers also sell Mazda CX-5 fobs that are compatible with your vehicle. These are often cheaper than dealer fobs but may require you to provide proof of ownership before programming. If you order a fob online, confirm it is listed as compatible with your specific model year and body style before purchasing.
Where to buy replacement batteries and fobs
CR2025 and CR2032 batteries are sold at pharmacies (CVS, Walgreens), supermarkets (Kroger, Safeway), hardware stores (Home Depot, Lowe's), and online retailers (Amazon). You can also find them at dollar stores and automotive retailers like AutoZone or O'Reilly. Prices are consistent across retailers — usually $3 to $8 per battery, and many stores sell multipacks of two or four at a small discount.
Replacement fobs are available from Mazda dealers, automotive locksmiths, and online retailers specializing in car keys and fobs. When ordering online, search for "Mazda CX-5 key fob" and your model year. Read the product description carefully to confirm it matches your fob's button count and design. Some fobs come pre-programmed; others require programming at a dealer or by a locksmith.
Frequently Asked Questions
How long does a Mazda CX-5 key fob battery last?
Most CR2025 and CR2032 batteries last three to four years with normal use. Heavy use — pressing the buttons many times per day — can shorten this to two to three years. If you use a keyless entry system and rarely press the physical buttons, the battery may last longer.
Can I use a different battery type if I cannot find CR2025 or CR2032?
No. Using a different battery type can damage the fob's electronics or cause the battery to lose contact during normal use. CR2025 and CR2032 are widely sold and inexpensive — it is worth waiting a day or two to order the correct type rather than risking the fob.
What should I do if the fob works after battery replacement but then stops working again within a few weeks?
This usually means the battery contacts are corroded or dirty. Remove the battery, clean the metal contacts inside the fob with a dry cloth or pencil eraser, and reinstall a fresh battery. If the problem repeats, the fob's internal circuitry may be failing, and you will need a replacement fob.
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 a new battery and the buttons work, the fob should communicate with your vehicle when ready without any additional steps.
Can I replace the battery in a Mazda key fob at a dealer instead of doing it myself?
Yes. Mazda dealers and many automotive locksmiths offer battery replacement for a small fee, usually $10 to $25. This is worth considering if you are uncomfortable opening the fob yourself or if the fob case is difficult to open.