What you need to know before you start

Removing a BIOS setup password depends on what kind of computer you have and whether you still have access to it. If you forgot your own password, you have several paths: resetting the CMOS battery (which clears BIOS settings on most desktops), using a manufacturer master password, contacting the manufacturer with proof of ownership, or taking the machine to a repair shop. If someone else set the password and you own the machine, the path is the same — you need to prove ownership to the manufacturer or physically access the motherboard.

The difficulty varies sharply by brand. Dell, HP, and Lenovo laptops often have service tags or serial numbers that let you contact support and receive a reset code. Most desktop motherboards let you remove the CMOS battery for a few minutes to clear the password entirely. Some newer machines, especially business-class laptops, have passwords tied to the firmware in ways that make them much harder to remove without the original credentials.

Key Takeaways

  • On most desktop computers, removing the CMOS battery for 10 to 15 minutes clears the BIOS password without erasing your hard drive.
  • Laptop manufacturers like Dell, HP, and Lenovo can issue reset codes if you provide the service tag and proof of ownership.
  • If you do not want to open the machine, contact the manufacturer first — many have phone support that can walk you through options.
  • Taking the machine to a local repair shop is faster than mail-in service if you need the password removed quickly.

Resetting the CMOS battery on a desktop

The CMOS battery is a small coin-shaped battery on the motherboard that stores BIOS settings, including the setup password. Removing it for a short time clears those settings and resets the password to nothing. This works on most desktop computers built in the last 20 years.

First, shut down the computer completely and unplug the power cable from the wall. Wait at least 30 seconds. Open the case — on most towers, there is a side panel held by two thumbscrews or a latch. Look for a small round battery about the size of a dime, usually silver-colored, sitting on the motherboard. Note which direction it faces (the + side usually points up). Press the clip or edge of the battery holder gently to pop the battery out, then wait 10 to 15 minutes. Reinsert the battery the same way it came out, close the case, plug in the power cable, and turn the computer on. The BIOS password should be gone.

If you cannot find the battery or are uncomfortable opening the case, skip to the manufacturer contact section below.

Using manufacturer master passwords

Some manufacturers built master passwords into their BIOS that can override a forgotten user password. These are not widely publicized, and they vary by brand and model year. Dell, HP, Lenovo, and ASUS have used them in the past, but they are not may provide to work on every machine.

If you want to try this route, search online for "[your computer brand] [your model number] master password" or "[your computer brand] BIOS master password". You may find a list of common codes. At the BIOS password prompt, try entering one of these codes. If it works, you will be allowed into BIOS setup. If not, move to contacting the manufacturer.

Do not spend more than a few minutes on this — if a master password does not work quickly, the other methods are more reliable.

Contacting the manufacturer for a reset code

Dell, HP, Lenovo, and most other major manufacturers can issue a BIOS password reset code if you prove you own the machine. You will need the service tag (a number on a sticker on the case), the serial number, and sometimes a photo of the machine or proof of purchase.

Call the manufacturer's support line and explain that you forgot the BIOS setup password. They will ask for the service tag and may ask security questions or request proof of ownership. If you can answer their questions, they will give you a code to enter at the BIOS password prompt. This code is usually specific to your machine's serial number and works only once.

This process typically takes 15 to 30 minutes on the phone. Some manufacturers also offer this service through their website if you can log into your account with the service tag. Turnaround is usually the same day if you call during business hours.

Taking the computer to a repair shop

A local computer repair shop can remove a BIOS password in one of two ways: by opening the machine and removing the CMOS battery (on desktops), or by contacting the manufacturer on your behalf (on laptops). Most shops charge between $50 and $150 for this service, depending on how long it takes.

Bring proof of ownership — a receipt, a photo ID matching the name on the warranty, or the original box. Reputable shops will ask for this before they start work. Turnaround is usually same-day or next-day, much faster than mailing the machine to the manufacturer.

If you are in a hurry or uncomfortable opening the computer yourself, this is often the fastest option.

What happens if the password is tied to your user account

Some newer laptops, especially business machines from Dell, HP, and Lenovo, tie the BIOS password to your Windows user account or to the manufacturer's online account. In these cases, you cannot reset the BIOS password without also resetting your Windows password or contacting the manufacturer with account credentials.

If you remember your Windows password, you may be able to reset the BIOS password through Windows settings or the manufacturer's support software. If you do not remember either password, contact the manufacturer — they will ask for proof of ownership and may require you to reset your account password as part of the process.

Preventing this from happening again

Once you have regained access, consider whether you need a BIOS password at all. BIOS passwords protect against someone physically opening your machine and changing boot settings, but they do not protect your files or encrypt your hard drive. If you live alone or in a find location, you may not need one.

If you do set a BIOS password again, write it down and store it somewhere safe — a password manager, a locked drawer, or a trusted family member. If you forget it a second time, you will know exactly what to do.

Frequently Asked Questions

Will removing the CMOS battery erase my files?

No. The CMOS battery only stores BIOS settings like the date, time, and boot order. Your files on the hard drive are not affected. You will need to reset the date and time after you reinsert the battery, and you may need to change the boot order back to your hard drive if the computer does not start normally.

What if I open the case and cannot find the CMOS battery?

Some newer motherboards have the CMOS soldered directly to the board instead of using a removable battery. If you cannot find a battery after looking for a few minutes, close the case and contact the manufacturer or a repair shop instead. Trying to remove a soldered component will damage the motherboard.

Can I reset a BIOS password on a Mac?

Macs do not use BIOS in the same way as Windows computers. If you forgot your Mac's firmware password, contact Apple Support or visit an Apple Store with proof of ownership. The process is different and usually requires Apple's help.

How long does it take to get a reset code from the manufacturer?

If you call during business hours with your service tag and proof of ownership, most manufacturers issue a code within 15 to 30 minutes. Some offer codes through their website when ready if you can log in with your account. Mail-in service takes several days to a week.

Is there a way to remove a BIOS password without opening the computer or calling the manufacturer?

Not reliably. Master passwords work on some older machines but are not may provide. If you cannot open the case and do not want to contact the manufacturer, a repair shop is your best option — they can do both and will know which method works for your specific model.