The CMOS Battery Keeps Your Computer's Clock and Settings Running When Power Is Off
The CMOS battery is a small coin-shaped battery on your motherboard that powers a tiny amount of memory called the CMOS chip. This chip stores your computer's basic settings—the system date and time, boot order, and hardware configuration—even when your computer is completely unplugged. Without it, your computer would forget these settings every time you shut down.
When you power on your computer, the CMOS chip reads these stored settings and uses them to start up. If the CMOS battery dies, your computer will still turn on and run, but it will lose track of the time, reset some hardware settings to defaults, and may show error messages during startup. You will notice the clock is wrong or the date has jumped back to a factory default, usually sometime in the 1990s or 2000s depending on your motherboard model.
Key Takeaways
- The CMOS battery powers a small memory chip that stores your computer's date, time, and hardware settings when the computer is off.
- A dead CMOS battery will cause your computer to forget the correct time and reset some settings to factory defaults, but the computer will still turn on and run normally.
- CMOS batteries typically last three to ten years, depending on how often your computer is powered on and off.
- Replacing a CMOS battery is a straightforward task that takes five to ten minutes and requires no special tools beyond a small screwdriver.
How the CMOS Chip Stores Information
The CMOS chip is powered by a steady, tiny current from the battery—usually a CR2032 or similar coin cell that outputs 3 volts. This constant power keeps the chip's memory alive even when your main power supply is off. The moment you unplug your computer or lose power, the CMOS battery takes over and maintains the stored data.
The information stored on the CMOS chip includes your system clock (the date and time), the boot sequence (which drive your computer checks first when starting up), and hardware settings like CPU voltage and fan speeds. Some computers also store password information here, though modern systems have moved most security features to the hard drive. The amount of data is tiny—usually just a few kilobytes—so the battery drains very slowly.
Signs Your CMOS Battery Is Failing
The most obvious sign is that your computer's clock is wrong every time you turn it on. If you shut down your computer at 3 p.m. on a Tuesday and turn it back on the next day, but the system shows 2:15 a.m. on January 1, 2005, your CMOS battery is dead or dying. This happens because the chip has lost power and cannot maintain the time.
You may also see error messages during startup, such as "CMOS checksum error" or "CMOS battery low." Some computers will beep once or twice at startup as a warning. In rare cases, the computer may not boot at all, or it may reset hardware settings like CPU speed or RAM timing, which can cause instability or crashes. If you notice the clock resetting repeatedly, the battery needs replacement soon.
How Long a CMOS Battery Lasts
A typical CMOS battery lasts between three and ten years. The exact lifespan depends on how often your computer is powered on and off, the ambient temperature inside your case, and the quality of the battery itself. Computers that run constantly or sit in a cool environment tend to have longer-lasting batteries. Older computers or those in warm rooms may see battery failure sooner.
You cannot predict exactly when a CMOS battery will fail, but once you see the clock resetting or error messages appearing, replacement is overdue. It is not urgent—your computer will continue to work—but you should plan to replace it within a few weeks to avoid repeated startup errors and to prevent any settings from being lost unexpectedly.
Replacing the CMOS Battery Yourself
Replacing a CMOS battery takes five to ten minutes and requires only a small Phillips or flathead screwdriver. First, shut down your computer completely and unplug the power cable. Wait a few seconds, then open the case by removing the side panel. Locate the motherboard—it is the large circuit board inside the case—and find the coin-shaped battery sitting in a small socket or holder.
The battery usually pops out with gentle pressure from your finger or a plastic spoon handle. Do not use a metal tool directly on the battery, as this can cause a short circuit. Note which side is facing up (the positive side is usually marked with a + symbol), then insert the new battery the same way. The battery should click into place. Close the case, plug in the power cable, and turn on your computer. The CMOS will reset to factory defaults, so you may need to re-enter your boot settings or BIOS preferences if you had customized them.
What Happens When You Replace the Battery
When you install a new CMOS battery, your computer will reset most settings to their factory defaults. The date and time will be wrong again until you correct them in your system settings or BIOS. If you had customized your boot order, overclocking settings, or other BIOS options, those changes will be lost and you will need to re-enter them.
Some computers will show a CMOS checksum error message the first time you boot after replacement. This is normal and straightforward means the chip detected that the settings have been reset. You can usually dismiss this message and proceed with startup. After the first boot, the error should not appear again. If it does, the new battery may be defective, and you should try a different one.
CMOS Battery vs. Your Computer's Main Power Supply
The CMOS battery is separate from your computer's main power supply, which plugs into the wall and powers all your components while the computer is on. The main power supply shuts down completely when you turn off the computer, but the CMOS battery continues to trickle power to the CMOS chip. Think of it as a backup power source for a single small component, not for the whole system.
This is why your computer can forget the time and settings when the CMOS battery dies, even though the main power supply works fine. The computer will still boot and run normally because the main power supply is functioning. The CMOS battery failure only affects the storage of date, time, and basic hardware settings.
Frequently Asked Questions
Can I use my computer if the CMOS battery is dead?
Yes, your computer will run normally. The only problems you will notice are that the clock resets to an incorrect date and time every time you shut down, and you may see error messages during startup. All your programs and files will work fine.
What type of battery do I need to replace the CMOS battery?
Most computers use a CR2032 coin cell battery, which costs two to five dollars at any pharmacy, grocery store, or electronics retailer. Check your motherboard manual or look at the old battery to confirm the model number before buying a replacement. Some older computers may use a different size, but CR2032 is by far the most common.
Will replacing the CMOS battery erase my files or programs?
No. The CMOS battery only stores the date, time, and hardware settings. Your files, programs, and operating system are stored on your hard drive or solid-state drive, which are powered by the main power supply. Replacing the CMOS battery will not affect any of your data.
Do I need to turn off my computer before replacing the CMOS battery?
Yes, always shut down completely and unplug the power cable before opening the case. This protects you from electrical shock and prevents damage to the motherboard. Wait a few seconds after unplugging to allow any remaining charge to drain from the system.
What if the new CMOS battery does not fix the clock problem?
If the clock still resets after you install a new battery, the new battery may be defective, or there may be a deeper problem with the motherboard itself. Try a different battery first. If the problem persists, the CMOS chip or the socket holding the battery may be damaged, and you may need to have the motherboard serviced or replaced.