What a CMOS battery does and why it fails

Your computer's CMOS battery is a small coin-shaped battery, usually CR2032 or similar, that sits on the motherboard and keeps your system clock and BIOS settings alive when the computer is powered off. Without it, your computer forgets the time, date, and hardware configuration every time you shut down. The battery typically lasts three to ten years depending on use, then dies silently—you'll notice because your clock resets to 2000 or 2005 every time you restart.

Replacing it is one of the easiest repairs you can do yourself. The whole job takes ten to fifteen minutes, requires no special tools beyond a screwdriver, and costs five to ten dollars for the battery itself. You do not need to be a technician, and you will not damage anything if you follow the steps in order.

Key Takeaways

  • A CMOS battery looks like a watch battery and sits directly on the motherboard; when it dies, your computer clock resets to an old date every restart.
  • Before you start, shut down the computer completely, unplug the power cable, and wait thirty seconds to discharge any residual power.
  • Open the case, locate the battery (usually a silver coin near the center of the motherboard), and gently pry it out with a plastic tool or your fingernail.
  • Note which side faces up, buy an identical replacement (CR2032 is most common), and slide the new battery in the same way, positive side up.
  • Close the case, plug in the power, and restart—your clock will be wrong until you reset it in BIOS or Windows, which is normal.

Shut down and discharge the computer safely

Power off your computer completely using the normal shutdown menu. Do not force it off by holding the power button. Once the screen goes dark and all lights stop blinking, unplug the power cable from the back of the case—not just from the wall outlet, but from the computer itself.

Wait thirty seconds. This drains any power still stored in the capacitors on the motherboard, which prevents accidental shorts when you touch components inside. If your computer has a removable battery (laptops), remove that too. You are now safe to open the case.

Open the case and locate the battery

Most desktop cases have a side panel held by two or three thumbscrews or Phillips-head screws. Loosen them and slide the panel toward the back of the case, then set it aside. You are now looking at the motherboard—a large green or brown circuit board with chips, capacitors, and connectors covering it.

The CMOS battery is a round, silver, coin-shaped object about the size of a dime or slightly larger. It sits in a small circular socket on the motherboard, usually somewhere in the middle or lower-middle area. If you cannot find it when ready, look for a socket labeled "CMOS" or "BATT"—the manual for your motherboard will show you exactly where, but most batteries are obvious once you know what you are looking for.

Remove the old battery

The battery sits in a spring-loaded socket. You do not need to pull hard. Use a plastic spoon, a plastic pry tool, or even your fingernail to gently push down on one edge of the battery until the opposite edge pops up slightly. Once it is lifted enough to grip, slide it out of the socket.

Set the old battery aside. Do not throw it away yet—keep it until you have confirmed the new one works, in case you grabbed the wrong size. The socket will have a small metal spring on one side; this is normal and should not be removed.

Install the new battery

Before you buy a replacement, check the old battery for a part number. Most CMOS batteries are CR2032, but some older or specialized boards use CR2025 or CR2016. The number is printed on the flat side of the battery. Buy an exact match—they cost the same and are sold at any pharmacy, electronics store, or online retailer.

Hold the new battery with the positive side (marked with a + or the shiny side) facing up, toward the motherboard. Slide it into the socket at a slight angle, then press down gently until it clicks into place. You should hear or feel a small click as the spring catches it. The battery should sit flat and flush with the socket, not tilted or sticking up.

Close the case and power on

Replace the side panel and tighten the screws. Plug the power cable back into the computer. Press the power button and let the system boot normally. You will likely see a message during startup saying the CMOS settings have been reset or the date and time are wrong—this is expected and harmless.

Once Windows (or your operating system) loads, you can reset the clock. On Windows, right-click the time in the bottom-right corner and select "Adjust date and time," then set it to the correct date and time. On Mac, go to System Preferences > Date & Time. Your computer will now keep the correct time even when powered off.

What to do if the computer won't start

If the computer does not turn on after you close the case, open it again and check that the battery is fully seated in its socket. Push down on the center of the battery to make sure it clicked. Also verify that you plugged the power cable back in and that the outlet works (test it with a lamp if you are unsure).

If the computer still does not start, the battery may not be the problem. Reseat the RAM (the long sticks of memory) by pushing them out of their slots and back in firmly—this fixes most no-start issues. If you are not comfortable doing that, or if it does not work, stop and call a local computer repair shop. You have not broken anything, and a technician can diagnose the real issue.

Frequently Asked Questions

How do I know if my CMOS battery is actually dead?

The clearest sign is that your clock resets to an old date (often 2000 or 2005) every time you restart the computer. You may also see a CMOS checksum error message during boot. If the clock stays correct, the battery is fine and does not need replacing.

Can I damage the motherboard by touching it while the case is open?

You can damage it with static electricity if you touch the wrong parts, but the battery socket is low-risk. Wear an anti-static wrist strap if you have one, or touch a metal part of the case frame before you touch the battery to discharge any static. Avoid touching chips, capacitors, and the CPU.

What if I install the battery upside down?

The battery will not sit flush in the socket if it is upside down, and the computer will not recognize it. You will see the same clock-reset error. straightforward open the case again, flip the battery over so the positive side faces up, and reseat it. No damage occurs.

Do I need to replace the CMOS battery on a laptop?

Most modern laptops do not have a replaceable CMOS battery—they use a rechargeable backup capacitor instead. If your laptop clock resets, the issue is usually the main battery or the charging circuit, not a CMOS battery. Check your laptop's manual or contact the manufacturer before opening it.

Will replacing the CMOS battery erase my files or passwords?

No. The CMOS battery only stores the system clock and basic BIOS settings. Your files, Windows installation, and saved passwords are on the hard drive and are not affected. You may need to re-enter your Windows password if you use a PIN or biometric login, but your data is safe.