A CMOS battery keeps your computer's internal clock and settings alive when the power is off
The CMOS battery is a small coin-shaped battery inside your desktop computer or laptop that powers a chip called the CMOS (Complementary Metal-Oxide-Semiconductor). This chip stores your computer's basic settings: the date and time, boot order, hard drive detection, and hardware configuration. When you shut down your computer, the CMOS battery takes over and keeps that chip running so the information does not disappear.
Without a CMOS battery, your computer would forget these settings every time you powered it off. You would see a clock that resets to 1970 or 2000, or your computer might fail to recognize your hard drive at all. The battery is not powering your monitor, your fans, or anything else you see running — only that one small chip in the background.
Key Takeaways
- A CMOS battery powers the chip that stores your computer's date, time, and hardware settings when the computer is off.
- Most CMOS batteries last three to ten years depending on how often your computer is powered down and the ambient temperature inside your case.
- A dead CMOS battery shows itself through a clock that resets, boot failures, or error messages about missing hardware.
- Replacing a CMOS battery takes five to fifteen minutes and costs between five and twenty dollars for the battery itself.
How the CMOS chip and battery work together
Your computer's motherboard contains a small chip that holds configuration data. This chip needs constant power to remember what it stores. When your computer is plugged in and running, the main power supply keeps the CMOS chip awake. The moment you turn off the computer, the main power cuts out — but the CMOS battery when ready takes over, delivering just enough current to keep that chip alive.
The CMOS battery is typically a CR2032 or similar lithium coin cell, the same type you might find in a watch or calculator. It sits in a small socket on the motherboard, usually near the edge. Because the CMOS chip draws almost no power when the computer is off, a single battery can run it for years without needing replacement.
Signs your CMOS battery is failing or dead
The most obvious sign is a clock that resets to an incorrect date every time you restart. You might see 1970, 2000, or some other fixed date appear in your system tray. This happens because the CMOS chip has lost power and cannot remember what year it is.
Other signs include error messages during startup that mention CMOS, a checksum error, or a message saying your hard drive or other hardware cannot be detected. Your computer might also fail to boot at all, or boot very slowly while it tries to reconfigure itself. Some computers will beep repeatedly at startup — a pattern that often signals a CMOS problem.
If your computer has been unplugged or without power for several weeks, or if it is very old, the CMOS battery may straightforward be depleted. Batteries in computers that are powered off most of the time last longer than batteries in computers that are frequently shut down and restarted.
How long a CMOS battery lasts
A typical CMOS battery lasts between three and ten years. The actual lifespan depends on how often your computer is powered down, the temperature inside your case, and the quality of the battery itself. A computer that runs continuously loses its CMOS battery more slowly than one that is shut down and restarted every day, because each power cycle stresses the battery slightly.
Heat accelerates battery drain. If your computer runs hot or sits in a warm room, expect the battery to fail sooner. Conversely, a cool environment extends battery life. Most users do not need to think about CMOS battery replacement until their computer is five years old or older, unless they see the signs listed above.
How to replace a CMOS battery
Replacing a CMOS battery is straightforward and requires no special tools. First, shut down your computer completely and unplug the power cable. Wait a few seconds, then open the case. Locate the CMOS battery on the motherboard — it is a round, flat, silver coin about the size of a dime, usually held in a plastic socket.
Press down gently on the clip on one side of the socket until the battery pops out. Note which side was facing up, then insert the new battery the same way, with the positive side (marked with a +) facing up. Push down until the clip snaps back into place. Close the case, plug in the power cable, and restart your computer.
The entire process takes five to fifteen minutes. A replacement CMOS battery costs between five and twenty dollars, depending on the type and where you buy it. After replacement, your computer may ask you to reset the date and time, and you may need to re-enter any custom settings you had configured in the BIOS or UEFI menu.
CMOS battery versus other computer batteries
Do not confuse the CMOS battery with the main power supply or with a laptop's rechargeable battery. The CMOS battery is tiny, non-rechargeable, and powers only the settings chip. A laptop battery powers the entire computer when unplugged. A desktop power supply converts wall current into the voltage your computer needs to run.
Some older laptops also have a separate CMOS battery in addition to the main rechargeable battery. Modern laptops often use a small rechargeable cell or a capacitor instead of a coin battery, but the function is the same: keeping the CMOS chip alive when the main battery is removed or depleted.
What happens if you ignore a dead CMOS battery
Your computer will continue to work, but it will be annoying. Every restart will reset the clock, which can cause problems with file timestamps, scheduled tasks, and software licenses that check the date. Some programs may refuse to run if the system date is too far in the past. Your computer may also take longer to boot because it has to reconfigure hardware settings each time.
In rare cases, a dead CMOS battery can prevent your computer from booting at all, especially if the BIOS is set to halt on errors. Replacing the battery is cheap and quick, so there is no reason to live with the problem once you identify it.
Frequently Asked Questions
Can I use my computer without a CMOS battery?
Temporarily, yes — your computer will run while powered on. But it will lose all settings when you shut it down, and it may not boot reliably. The clock will reset, and you may see error messages. You should replace the battery as soon as you can.
Do I need to reset my BIOS after replacing the CMOS battery?
Not always. If your BIOS settings were straightforward, they may restore automatically. If you had custom settings like boot order or overclocking, you may need to re-enter them. Check your computer's startup screen after replacement to see if any settings have reverted.
Is it safe to replace the CMOS battery myself?
Yes. The battery holds almost no charge and poses no shock risk. Unplug your computer first, wait a few seconds, and touch a metal part of the case to discharge any static electricity before you touch the motherboard. The process is safer than replacing a car battery.
What if my computer still has problems after I replace the CMOS battery?
The CMOS battery is rarely the only cause of boot problems. If replacing it does not fix the issue, the problem may be a failing hard drive, a bad power supply, or a motherboard defect. Run a diagnostic tool or consult a technician if the problem persists.