You can replace a Mazda key fob battery yourself in about five minutes

Most Mazda key fobs use a coin-cell battery—usually a CR2025 or CR2032—that you can buy at any drugstore, supermarket, or hardware store for a few dollars. The battery sits behind a small door on the back of the fob. You do not need any tools except sometimes a coin or flathead screwdriver to pry open the battery compartment. The whole job takes longer to drive to the store than to do the replacement.

The hardest part is knowing which battery your fob needs. Mazda uses different batteries depending on the model year and fob design. Before you buy anything, you need to open the fob and look at the old battery, or check your owner's manual for the part number.

Key Takeaways

  • Mazda key fob batteries are coin-cell types (CR2025 or CR2032) sold at drugstores and hardware stores for under five dollars.
  • Open the battery compartment by sliding or prying the back cover with a coin or flathead screwdriver—no special tools needed.
  • Note the battery type stamped on the old battery before you buy a replacement, or check your owner's manual for the part number.
  • Insert the new battery with the positive side facing up, close the compartment, and test the fob before leaving the store.

Locate the battery compartment on the back of your fob

Turn the fob over so the back is facing you. You will see a seam running across the back, usually near the bottom or along one edge. This seam marks where the two halves of the fob meet. Some Mazda fobs have a small slot or notch at the seam where you can insert a coin or flathead screwdriver to pry the cover open. Others slide open—you push or slide the back cover in one direction (usually downward or to the side) until it separates from the front half.

If you cannot see a clear seam, check the edges and corners. The battery compartment door is usually a separate piece that either slides or pops out, not the entire back half of the fob. Look for any small raised edge or lip that a coin or tool can catch.

Remove the old battery and note its type

Once the compartment is open, you will see a small round battery sitting in a shallow holder. Before you remove it, look at the top or side of the battery—there will be a number stamped into it, like CR2025 or CR2032. Write this number down or take a photo with your phone. This is the exact type you need to buy.

Gently pry the old battery out with your fingernail or a plastic tool. Do not use a metal screwdriver directly on the battery itself, as this can damage it. Once it is out, set it aside. If you cannot read the number clearly, your Mazda owner's manual will list the correct battery type for your model year and fob design.

Buy the correct replacement battery

Take the battery type number with you to any drugstore, supermarket, or hardware store. Coin-cell batteries are sold in the pharmacy section, the watch and battery aisle, or near the checkout counter. A CR2025 or CR2032 costs between one and four dollars. Buy one battery—you only need one, and it is cheap enough that buying a spare is optional.

If you cannot find the exact type, do not guess. Call a Mazda dealer parts department or a local locksmith and give them your vehicle year and model. They can tell you the correct battery in seconds. Using the wrong battery can damage the fob or cause it to work poorly.

Insert the new battery with the correct side facing up

Before you insert the new battery, check which side goes in first. Coin-cell batteries have a positive side (marked with a + sign) and a negative side (usually blank or marked with a −). Look at the battery holder inside the fob—there is usually a small raised bump or contact point on one side. The positive side of the battery should face that contact point, which almost always means the positive side faces up.

Slide or drop the new battery into the holder, positive side up. It should sit flat and snug in the compartment. If it feels loose or sits at an angle, remove it and check that you have the right battery type and that it is facing the correct direction.

Close the compartment and test the fob

Slide or snap the battery compartment door back into place. You should hear or feel a small click when it seats properly. Do not force it—if it does not close smoothly, remove it and check that the battery is sitting flat and the compartment is clear of debris.

Before you leave the store, test the fob by pressing the lock and unlock buttons. You should see the LED light on the fob blink, and you should hear your Mazda lock or unlock (if you are in the parking lot). If the fob does not respond, remove the battery and check that it is the correct type and facing the right direction. If it still does not work after reinserting it correctly, the fob may have a deeper problem—bring it to a Mazda dealer or locksmith.

When to take your fob to a professional

If the fob still does not work after you have replaced the battery with the correct type and checked the polarity, the problem is likely inside the fob itself—a broken button, a cracked circuit board, or corrosion on the contacts. A Mazda dealer can repair or replace the fob, though a replacement fob usually costs more than a repair. A local locksmith can often do the same work for less.

If you are not sure whether the battery is the right type, or if you are uncomfortable opening the fob, a locksmith or dealer can do this job for you in a few minutes. The labor cost is usually small compared to the cost of buying the wrong battery and damaging the fob.

Frequently Asked Questions

How long does a Mazda key fob battery last?

Most coin-cell batteries last three to four years with normal use. If you use your fob frequently—unlocking your car multiple times a day—the battery may last two to three years. You will notice the fob responding more slowly or requiring you to press the button twice before it works. That is the sign to replace the battery.

Can I replace the battery if my fob is water damaged?

If your fob has been submerged or exposed to heavy water, replacing the battery alone may not fix it. Water can corrode the circuit board and contacts inside. Try replacing the battery first—it is cheap and takes five minutes. If the fob still does not work, the internal damage is likely too severe, and you will need a replacement fob from a Mazda dealer or locksmith.

What if I put the battery in backwards?

If you insert the battery with the negative side facing up, the fob straightforward will not work. The buttons will not respond, and the LED will not light. Remove the battery, flip it over so the positive side faces up, and reinsert it. The fob should work when ready. No damage occurs from inserting it backwards once.

Do I need to reprogram my fob after changing the battery?

No. Replacing the battery does not erase the fob's programming. Once you insert the new battery and close the compartment, the fob should work exactly as it did before. If it does not work after the battery replacement, the problem is not the programming—it is either the wrong battery type, incorrect polarity, or damage inside the fob.

Where can I buy a Mazda key fob battery?

Any drugstore, supermarket, or hardware store sells coin-cell batteries. Walmart, Target, CVS, Walgreens, Home Depot, and Lowe's all stock CR2025 and CR2032 batteries. You can also order them online from Amazon or eBay. A Mazda dealer can sell you the battery, but it will cost more than buying it at a drugstore.