Most car key batteries cost $3 to $8 and take less than five minutes to swap

You can replace a car key battery yourself without tools, a mechanic, or a trip to the dealership. The battery sits inside your key fob — the remote you use to lock and unlock your car — and dies like any other battery. When it stops working, you open the fob, slide out the old battery, and slide in a new one. The whole job takes longer to find the right battery size than to do the replacement.

The catch is knowing which battery your key takes. Different car brands use different sizes, and the fob itself tells you which one. You do not need to guess or call anyone. Once you know the size, you can buy the battery at any pharmacy, grocery store, or hardware store for a few dollars.

Key Takeaways

  • The battery size is printed on the inside of your key fob, usually as a code like CR2032 or CR2025.
  • You can buy the correct battery at a pharmacy, grocery store, or hardware store for $3 to $8.
  • Opening the fob requires no tools — most snap open by hand or with a coin in a small slot.
  • The battery slides in one direction only, so if it does not fit easily, flip it over.
  • If your key still does not work after the battery swap, the fob itself may be damaged and need replacement.

Find your battery size by opening the fob

Your key fob splits into two pieces. Look for a small slot or seam running around the edge. Most fobs open by hand — just explore steady pressure with your thumbs on opposite sides until the two halves separate. If it does not budge, try using a coin (a dime or penny works) in the slot to gently pry the halves apart. Do not force it; if you feel strong resistance, you may be pushing in the wrong direction.

Once the fob is open, you will see the battery sitting in a small compartment. The battery itself is a flat, round disc, usually silver or gold. Next to it or printed on the inside of the fob case, you will see a code — something like CR2032, CR2025, or LR44. That code is your battery size. Write it down or take a photo with your phone.

Some fobs have a small circuit board you may need to lift out to access the battery. If so, lift it gently — it usually sits in place without being glued. Once you can see the battery clearly, you are ready to buy a replacement.

Buy the right battery at any store

Take the battery code with you to a pharmacy, grocery store, or hardware store. Most have a battery section near the checkout or in the health and beauty aisle. Show the code to a staff member if you cannot find it, or look for a battery display with the code printed on the packaging. The battery will cost between $3 and $8, depending on the store and brand.

You do not need a special brand. A generic battery works just as well as a name brand and costs less. Buy one battery unless you want a spare — most key fobs only need one, and spares are cheap insurance if your battery dies again in a few years.

Install the new battery in your fob

Remove the old battery from the fob by gently prying it up with your fingernail or a plastic tool. Do not use a metal screwdriver, which can damage the compartment. Once the old battery is out, set it aside — you can throw it away or recycle it at a pharmacy or electronics store.

Slide the new battery into the same spot, with the flat side facing up (the positive side). The battery should sit flat and snug. If it does not fit or feels loose, flip it over — the battery only goes in one direction. Once it is seated, you should hear or feel a small click.

Close the fob by pressing the two halves together until they snap. You may hear a click or feel them lock into place. Test your key by pressing the lock and unlock buttons. The car should respond when ready. If it does not, open the fob again and make sure the battery is seated properly and facing the right direction.

What to do if the key still does not work

If the key does not work after you install the new battery, the fob itself may be damaged. Water damage, a cracked circuit board, or worn contacts inside the fob can prevent it from working even with a fresh battery. In that case, you will need to replace the entire fob, not just the battery.

A replacement fob costs $50 to $200 depending on your car brand and whether you buy it from a dealership or a third-party seller. Some dealerships will program a new fob for you; others charge extra for programming. Before you buy a new fob, you can also try cleaning the battery contacts inside the fob with a pencil eraser or a dry cloth — sometimes corrosion prevents the battery from making good contact.

Prevent future battery problems

Car key batteries typically last three to four years with normal use. You can extend that lifespan by keeping your fob away from extreme heat, moisture, and direct sunlight. Do not leave it in a hot car, drop it in water, or expose it to humidity for long periods. If you do get your fob wet, open it when ready and let the inside dry completely before closing it again.

When your battery starts to die, you may notice the key only works from very close to the car, or you have to press the button multiple times. That is your signal to replace the battery soon, before it dies completely and leaves you locked out.

Frequently Asked Questions

Can I use any battery, or does it have to be the exact size?

You need the exact size printed on your fob. Using the wrong size will not fit in the compartment or will not make proper contact with the terminals. The code on your fob (like CR2032) is specific to your key's design.

What if I lose the battery code?

Take your fob to a pharmacy or battery store and show it to a staff member. They can open it or look at it and tell you the size. You can also search your car's make and model online — most key fobs for the same car use the same battery size.

Is it safe to replace the battery myself?

Yes. The battery is not dangerous, and you cannot damage your car by opening the fob. The only risk is damaging the fob itself if you force it open too hard. Take your time and use gentle pressure.

How long does a new battery last?

Most car key batteries last three to four years with normal use. Heavy use or exposure to heat and moisture can shorten that lifespan. You will know it is time to replace it again when the key only works from close range.

Can I buy a battery online instead of at a store?

Yes, but you will have to wait for shipping. If your key is dead and you need it working today, a local store is faster. Online batteries cost about the same as in-store, so there is no savings worth the wait unless you are buying in bulk.