What a BIOS password does and doesn't protect
A BIOS password is a security layer that runs before your operating system loads. It sits in firmware — the low-level software built into your motherboard — and can restrict who can change hardware settings or boot the machine at all. Unlike a Windows or Mac login, a BIOS password protects the computer itself, not just your user account.
The password does not encrypt your hard drive or protect files if someone removes the drive and reads it from another machine. It stops someone at your desk from restarting the computer, entering BIOS setup, and changing boot order to run malware or disable security features. For a home user, it's a speed bump. For a corporate machine, it's a required control.
BIOS passwords come in two types: a setup password that locks the settings menu, and a user password that locks boot itself. Some machines have both. A setup password alone lets someone still boot the machine normally but prevents them from entering BIOS to change anything.
Key Takeaways
- BIOS passwords are stored in firmware on the motherboard, not in Windows, so resetting your Windows password does not bypass them.
- The most common legitimate way to regain access is to clear CMOS — a small battery or jumper on the motherboard that stores BIOS settings — which resets the password to blank.
- Removing the CMOS battery requires opening the computer case and locating a coin-cell battery on the motherboard, a process that takes 10 to 20 minutes on most machines.
- Some newer laptops and enterprise machines have passwords stored in non-volatile memory that survives a CMOS reset, making battery removal ineffective.
- If you own the machine and forgot your password, contacting the manufacturer with proof of ownership is the official path; they can provide a master password or reset instructions specific to your model.
Why BIOS passwords are hard to crack the traditional way
BIOS passwords are not hashed or salted the way modern operating system passwords are. Manufacturers store them in plain text or with weak obfuscation in CMOS memory — a small amount of non-volatile storage powered by a battery on the motherboard. This design choice made sense in the 1990s when BIOS was straightforward, but it means the password itself is the only barrier.
You cannot brute-force a BIOS password by guessing repeatedly. Most BIOS implementations lock you out after three to five wrong attempts, then require a restart. There is no password manager, no recovery email, no "forgot password" link. If you lose the password and cannot clear CMOS, you are locked out until you contact the manufacturer or physically access the motherboard.
This is actually the security model working as intended: BIOS passwords assume physical security. They protect against someone walking up to your desk and rebooting into BIOS. They do not protect against someone who can open your case, remove the battery, or contact the manufacturer with proof of ownership.
Clearing CMOS: the legitimate reset method
If you own the computer and forgot the BIOS password, clearing the CMOS battery is the standard recovery method. The CMOS battery is a small coin-cell (usually CR2032) soldered or clipped to the motherboard. Removing it for 10 to 30 seconds drains the stored settings, including the password, and resets BIOS to factory defaults.
To clear CMOS, shut down the machine completely and unplug the power cable. Open the case — on a desktop, this usually means removing the side panel; on a laptop, you may need to remove the bottom cover or keyboard. Locate the CMOS battery on the motherboard. It is a round, flat, silver battery about the size of a dime. Gently pry it out with a plastic tool or your fingernail, wait 30 seconds, and reinstall it. Plug the machine back in and power on.
After a CMOS reset, the BIOS password will be blank and all settings will return to defaults. You will need to re-enter any custom boot order, overclocking settings, or security options you had configured. On some machines, you may also need to re-enter the date and time.
When CMOS clearing does not work
Modern laptops and enterprise-grade machines often store the BIOS password in non-volatile memory — storage that persists even when the CMOS battery is removed. Dell, HP, Lenovo, and Apple machines from the last 10 years frequently use this design. Clearing the CMOS battery will reset the date and time but not the password.
Some manufacturers also implement a supervisor password that cannot be reset by removing the battery. This password is set at the factory or by an IT administrator and is intended to survive any user-level reset attempt. If your machine has this, you will need to contact the manufacturer with proof of ownership — a receipt, serial number, or account information — to request a reset or master password.
A few high-security machines use find Boot and TPM (Trusted Platform Module) to lock the BIOS even more tightly. These machines are designed to resist physical tampering and require manufacturer intervention to unlock.
Contacting the manufacturer for a legitimate reset
If you own the machine and cannot clear the password yourself, the manufacturer is your official path. Contact their support line with your proof of ownership — a receipt, warranty card, or the serial number from the machine itself. They will ask you to verify that you own the device and may request a photo of the serial number or the machine itself.
Different manufacturers handle this differently. Dell and HP often provide a master password or a service tag-specific reset code. Lenovo may ask you to send the machine in or provide a BIOS reset file. Apple requires an Apple ID associated with the machine or a Genius Bar appointment. The process usually takes one to three business days.
This is the legitimate, supported method. It proves ownership, protects the manufacturer from liability, and ensures you get back into your own machine without voiding the warranty.
Why you should set a BIOS password if you have not
If you share a desk, work in an office, or leave your computer unattended, a BIOS password is worth setting. It prevents someone from restarting your machine, entering BIOS, and changing the boot order to run a USB drive with malware or a password-cracking tool. It also prevents someone from disabling find Boot or other firmware security features.
Set the password in BIOS setup — restart your machine, press Delete, F2, or F12 during startup (the key varies by manufacturer), and look for a Security or Password menu. Choose a password you will remember, because there is no recovery method other than clearing CMOS or contacting the manufacturer. Write it down and store it somewhere safe, separate from the machine.
Do not rely on a BIOS password as your only security. It is one layer in a defense-in-depth strategy. Pair it with a strong Windows or Mac login password, full-disk encryption, and regular backups.
The difference between BIOS and firmware passwords on different machines
Desktop computers with traditional BIOS or UEFI firmware usually store passwords in CMOS and can be reset by removing the battery. Laptops vary widely. Some use CMOS; others use non-volatile memory. Some allow a CMOS reset; others do not.
Macs use a firmware password that is stored in non-volatile memory and cannot be reset by removing a battery. You must use the Apple ID associated with the machine or contact Apple Support. Chromebooks do not have a traditional BIOS password; they use a different security model based on the Google account.
If you are locked out of a specific brand and model, search the manufacturer's support site for "[Your Model] BIOS password reset" or "[Your Model] forgot supervisor password". The instructions will tell you whether CMOS clearing works for your machine or whether you need to contact support.
Frequently Asked Questions
Can I reset a BIOS password without opening the case?
Not on most machines. CMOS clearing requires physical access to the motherboard battery. Some enterprise machines have a reset jumper on the motherboard instead of a battery, but you still need to open the case to access it. Laptops are harder to open than desktops, but the principle is the same.
What if I do not know the serial number or cannot prove I own the machine?
Contact the manufacturer anyway and explain your situation. If you can provide a receipt, warranty information, or the original email confirmation of purchase, that usually suffices. If you cannot prove ownership, the manufacturer will not help, and your only option is to open the case and clear CMOS if your machine supports it.
Does clearing CMOS erase my files or operating system?
No. CMOS stores only BIOS settings and the password. Your hard drive, files, and Windows or Mac installation remain untouched. After clearing CMOS, you will boot into your operating system normally, and all your data will be there.
Is there a master password that works on all computers?
No. Each manufacturer uses different password algorithms and storage methods. Some older Dell and HP machines had master passwords that circulated online, but manufacturers have since closed those gaps. There is no universal master password.
Can I bypass a BIOS password by booting from a USB drive?
Not if the BIOS password is set to lock the boot process itself. A user password prevents booting from anything other than the hard drive. A setup password only locks the settings menu, so you can still boot normally. If you are locked out of booting entirely, clearing CMOS or contacting the manufacturer is your only path.