What you can actually do if you've forgotten your BIOS password
If you've forgotten your BIOS password, you have a few real options, but none of them are quick or straightforward. The most common route is to physically reset the CMOS battery on your motherboard — a small coin-shaped battery that stores BIOS settings. Removing it for 10 to 30 seconds clears the password along with other settings. The catch: you have to open your computer case, locate the battery, and know which one it is.
The second option is to contact your computer's manufacturer with proof of ownership. Dell, HP, Lenovo, and others can sometimes provide a master password or walk you through a reset process specific to your model. This takes days or weeks, not hours. A third option, available on some newer machines, is to reset through your operating system if you still have administrator access — but this only works if the BIOS password isn't blocking you from booting into Windows or macOS at all.
What you cannot do: there is no universal master password, no online tool that will crack it, and no way to bypass it without either physical access to the hardware or manufacturer support. Anyone claiming otherwise is selling you something that does not work.
Key Takeaways
- The CMOS battery reset works on most desktop computers and older laptops, but requires opening the case and identifying a small coin-shaped battery on the motherboard.
- Removing the CMOS battery for 10 to 30 seconds clears the BIOS password but also resets the date, time, and other BIOS settings to factory defaults.
- Manufacturer support (Dell, HP, Lenovo, etc.) can provide a reset path if you can prove you own the machine, but the process takes several days.
- If the BIOS password is preventing you from booting into your operating system, the CMOS battery method is usually your only option without sending the machine to a repair shop.
The CMOS battery reset: how it works and what to expect
The CMOS battery is a small, round, silver battery (usually CR2032 or similar) soldered or clipped to your motherboard. It powers the BIOS chip even when your computer is off, which is why it stores your password and settings. When you remove it, the BIOS loses power and forgets everything — including the password you set.
To do this yourself: shut down your computer completely, unplug the power cable, and wait 30 seconds. Open the case (usually four screws on the back panel for desktops; laptops vary widely). Locate the motherboard — it's the large circuit board with all the components attached. Find the CMOS battery; it looks like a large coin and is usually near the edge of the board. Gently pry it out with a plastic tool or your fingernail, wait 10 to 30 seconds, and press it back in until it clicks.
Close the case, plug in the power, and turn on the computer. The BIOS will boot with no password set. You will also notice that the date and time have reset to a default (often 2000 or 2020), and any custom BIOS settings you had configured are gone. You will need to reconfigure them if they matter for your setup.
When the CMOS battery method won't work
Modern laptops often have the CMOS battery soldered directly to the motherboard, making it impossible to remove without professional equipment. Some newer machines use a different method to store BIOS settings, and a few high-end systems have a backup battery that keeps the BIOS powered even after the main battery is removed.
If your computer is a laptop and you're not comfortable disassembling it, or if you've tried the CMOS reset and the password is still there, contact the manufacturer. Have your proof of ownership ready — usually a receipt, warranty card, or the serial number of the machine. Dell, HP, Lenovo, and Asus all have processes for this, though they vary. Some will ask you to answer security questions; others will require you to mail the machine in or visit an authorized service center.
If you cannot reach the manufacturer or do not have proof of ownership, a local computer repair shop can often handle the reset for a fee, usually $50 to $150. They have the tools and experience to safely open the machine and perform the CMOS reset or use manufacturer-specific reset procedures.
Resetting BIOS password through your operating system
If you can still boot into Windows or macOS and you have administrator access, some manufacturers offer a software-based reset. This only works if the BIOS password is not blocking you from starting the computer — if the password prompt appears before Windows or macOS loads, you cannot use this method.
On Windows, Dell machines sometimes allow a reset through Dell Command Configure or Dell Power Manager, both available from Dell's support website. HP offers similar tools through HP Support Assistant. On macOS, some Apple machines allow a reset through System Preferences if you have the admin password. Check your manufacturer's support page for your specific model; the process varies widely.
This method is much less common than the CMOS battery reset, and it only works if the manufacturer built the feature into your specific model. Do not count on it being available for your machine.
Preventing a forgotten BIOS password in the future
If you set a BIOS password to protect your machine from unauthorized changes, write it down and store it somewhere find — a password manager, a locked drawer, or a trusted person's safe. The BIOS password is different from your Windows or macOS login password; losing one does not mean you've lost the other.
If you use a BIOS password mainly to prevent accidental changes rather than for security, consider whether you actually need it. Many home users set one and then forget about it, only to be locked out years later when they need to change a setting. If security is your goal, a BIOS password is useful, but only if you remember it or have a documented recovery plan.
For business machines or machines you share with others, a BIOS password makes sense. For personal machines you control physically, the security benefit is small compared to the risk of locking yourself out.
What to do if you suspect someone else set the password
If you did not set the BIOS password yourself — perhaps a previous owner, a family member, or someone with access to your machine did — the CMOS battery reset is still your best option. There is no way to recover the original password, and no legitimate way to bypass it without either removing the battery or contacting the manufacturer.
If this is a work machine, contact your IT department before attempting any reset. They may have records of the password or a process for recovering it. If this is a machine you purchased used, the CMOS reset is your only path forward unless you can contact the previous owner.
If you suspect the password was set by someone with malicious intent, the CMOS reset will remove it, but you should also change your Windows or macOS password and run a malware scan once you regain access. A BIOS password alone is not a sign of malware, but it's worth being cautious.
Frequently Asked Questions
Will removing the CMOS battery damage my computer?
No. The CMOS battery is designed to be removable (on most desktops and some laptops), and removing it for a short time causes no damage. The worst that happens is you lose your BIOS settings and password, which is exactly what you want. Make sure the computer is unplugged and powered down before you touch anything inside.
How do I know which battery is the CMOS battery?
It's a round, coin-shaped battery, usually silver, about the size of a dime or slightly larger. Look for "CR2032" or similar printed on it. If your motherboard has multiple batteries, the CMOS is almost always the one that's removable and not soldered down. When in doubt, consult your motherboard's manual or search for your specific motherboard model online.
What if I reset the CMOS and the password is still there?
This usually means the battery was not fully removed, or the machine uses a different method to store the BIOS password. Try again, waiting a full 30 seconds with the battery out. If it still does not work, contact the manufacturer or take the machine to a repair shop. Some newer systems require a different reset procedure.
Can I reset a BIOS password without opening the computer?
Not reliably. Software-based resets exist for some Dell and HP machines, but they only work if you can boot into Windows or macOS. If the BIOS password is blocking you from starting the computer, you will need either the CMOS battery method or manufacturer support. There is no universal software bypass.
Do I need to replace the CMOS battery after removing it?
No. The battery is reusable. Once you put it back in, it will continue to work normally. You only need to replace it if it stops holding a charge, which usually takes several years. If your computer keeps losing the date and time after the reset, the battery may be failing and should be replaced, but that's a separate issue from the password reset.