What a CMOS battery does and why it fails

Your computer has a small coin-shaped battery on the motherboard called a CMOS battery. It keeps your system clock running and stores basic hardware settings even when your computer is completely powered off. When this battery dies, your computer will lose the time, reset to factory settings, or refuse to boot until you fix it.

CMOS batteries typically last three to ten years depending on how often you use your computer and how warm it runs. You'll know it's failing when your system clock resets to 2000 or 2005 every time you restart, or when you see error messages about CMOS checksum failures on startup. Replacing it is straightforward and costs between five and fifteen dollars for the battery itself.

Key Takeaways

  • A dead CMOS battery causes your computer to lose the time and system settings, but replacing it takes less than ten minutes and requires no special tools.
  • The battery is a CR2032 coin cell that sits in a socket on the motherboard — you can find it by looking for a round silver disc about the size of a dime.
  • You must shut down completely, unplug the power cable, and wait a few seconds before opening the case to avoid damaging components with static electricity.
  • After you install the new battery, your computer will boot normally and you may need to reset the time and date in your system settings.

Gathering what you need before you start

You need very little to replace a CMOS battery. Pick up a CR2032 battery from any pharmacy, grocery store, or electronics retailer — they cost three to eight dollars and are the standard size for almost all desktop and laptop motherboards made in the last fifteen years. If you're unsure which battery your computer uses, check your motherboard manual or search online for your specific motherboard model.

You'll also want an anti-static wrist strap if you have one, though many people do this job without one. If you don't have a strap, simply touch a metal part of the case before you touch the motherboard to discharge any static electricity. Have a flashlight or phone light ready so you can see inside the case clearly.

Powering down and opening your computer safely

Shut down your computer completely through the operating system — don't just put it to sleep. Once it's off, unplug the power cable from the back of the case and wait at least thirty seconds. This drains any remaining power from the motherboard and protects you from electrical shock.

Open your computer case by removing the side panel. Most cases have two or three thumbscrews on the back, or a latch you slide. If you're working on a laptop, consult the manual for your specific model — some require removing the entire bottom panel, while others have a dedicated battery access door. Take a photo of the inside before you touch anything so you can remember where everything goes.

Locating and removing the old battery

Look for a round, silver coin-shaped object about the size of a dime sitting in a socket on the motherboard. It's usually near the edge of the board, often close to the RAM slots or the CPU. If you can't find it, use your phone light and look for the label "CMOS" or "BATT" printed on the motherboard near the socket.

The battery sits in a spring-loaded holder. Gently push down on the battery with your finger or a plastic tool — never use metal — and it will pop out. Some holders have a small lever you flip to release the battery instead. Once it's out, note which side was facing up (usually the positive side marked with a plus sign faces you).

Installing the new battery and reassembling

Take your new CR2032 battery and insert it into the socket with the same side facing up as the old one was. Push down gently until you hear or feel a click — the spring will hold it in place. Don't force it; if it doesn't click after light pressure, check that you're inserting it the right direction.

Close your computer case and plug the power cable back in. Power on your computer normally. You may see a message about CMOS settings being reset, or you may need to enter your BIOS to reset the time and date. Most computers will boot fine and simply show the wrong time until you correct it in your system settings.

What to do if your computer still won't start

If your computer still won't boot after replacing the battery, the problem may not have been the CMOS battery itself. Try reseating the RAM — remove each stick and push it firmly back in — and check that all power cables inside the case are fully connected. If you see error messages about the BIOS or CMOS, you may need to reset the BIOS to factory defaults, which usually involves holding down a specific key during startup (often Delete or F2).

If the computer still fails to start, the issue is likely something else — a failing power supply, a bad motherboard, or a problem with the CPU. At that point, you may want to take it to a repair shop or post the exact error message on a computer hardware forum where volunteers can help diagnose the real cause.

Frequently Asked Questions

Can I replace the CMOS battery while the computer is in sleep mode?

No. Always shut down completely and unplug the power cable. Sleep mode leaves power flowing to the motherboard, which can damage components or cause data loss if you touch the wrong part while the system is powered.

What if I can't find the CMOS battery on my motherboard?

Some newer motherboards use a rechargeable CMOS capacitor instead of a replaceable battery. If you don't see a coin-shaped battery in a socket, search online for your motherboard model plus "CMOS battery" to confirm. If it's non-replaceable, you may need to contact the manufacturer or a repair shop.

Will replacing the CMOS battery erase my files or passwords?

No. The CMOS battery only stores hardware settings and the system clock, not your files or passwords. Your hard drive and all data remain untouched. You may need to re-enter your WiFi password if your computer forgets it, but that's rare.

How do I know if the new battery is installed correctly?

The battery should click firmly into the socket and sit flush with the motherboard. If it's loose or sticks up, remove it and try again, making sure you're inserting it in the right direction. After you power on, if the time resets to 2000 or you see CMOS errors, the battery may not be making good contact — remove and reinstall it.