The fastest way depends on what you remember and what hardware you have
If you forgot your BIOS password, the path forward depends on whether you know the administrator password, whether you can access the computer physically, and what kind of machine you own. A Dell, HP, or Lenovo laptop has different reset options than a custom-built desktop. Some passwords can be cleared by removing a battery; others require contacting the manufacturer with proof of ownership. The method that works fastest for you is the one that matches your situation.
Start by trying the default passwords for your specific brand — manufacturers often have master passwords that work across their product line. If that fails, the next step is usually a hardware reset, which means opening the case or battery compartment and removing power temporarily. If you cannot open the machine yourself or the hardware reset does not work, you will need to contact the manufacturer or find a local repair shop that can help.
Key Takeaways
- Default passwords for your computer brand (Dell, HP, Lenovo, Asus, etc.) sometimes work and should be your first attempt.
- Removing the CMOS battery from the motherboard for 10 to 30 seconds clears the BIOS password on most desktop computers.
- Laptops often require removing the hard drive or RAM to access the CMOS battery, and some newer models have no removable battery at all.
- If you own the computer, the manufacturer can reset the password with proof of ownership, though this takes longer than a hardware reset.
- A local computer repair shop can perform a hardware reset or contact the manufacturer on your behalf if you cannot do it yourself.
Try the manufacturer's default password first
Every major computer brand has a set of default passwords that work across many models. Dell uses passwords like "dell", "Dell", and several numeric codes. HP uses "Compaq", "compaq", and others. Lenovo has a different set. Asus, MSI, and other brands each have their own list. Trying these takes two minutes and costs nothing.
Restart your computer and enter the BIOS setup (usually by pressing Delete, F2, F10, or F12 during startup — the key appears on the boot screen). When prompted for a password, type the default for your brand. If one works, you are in. If none work, move to the hardware reset method.
Remove the CMOS battery on a desktop computer
The CMOS battery is a small coin-shaped battery on the motherboard that stores BIOS settings, including the password. Removing it for 10 to 30 seconds clears those settings and resets the password to blank. This works on almost all desktop computers and some older laptops.
Turn off the computer completely and unplug the power cable. Open the case by removing the side panel (usually held by two thumbscrews). Locate the CMOS battery — it looks like a watch battery and sits on the motherboard, often near the CPU. Gently pry it out with a plastic tool or your fingernail, wait 30 seconds, and press it back in. Close the case, plug in the power, and restart. The BIOS password should now be gone.
If you are not comfortable opening the case, a repair shop can do this in under an hour for a flat fee, usually between $50 and $150.
Access the CMOS battery on a laptop
Laptops are harder because the CMOS battery is buried under the keyboard, hard drive, or RAM. Some newer laptops have no removable CMOS battery at all, which means this method will not work. Check your laptop's service manual (search "[your model] service manual" online) to see whether the CMOS battery is accessible and where it is located.
If it is accessible, you will usually need to remove the hard drive or RAM module to reach it. This requires a small Phillips screwdriver and careful handling. The process varies by model — a Dell XPS requires different steps than a Lenovo ThinkPad. Your service manual will show the exact sequence. If you are not confident doing this, a repair shop is the safer choice.
If your laptop has no removable CMOS battery, you cannot use this method. Move to the manufacturer contact option instead.
Contact the manufacturer with proof of ownership
If you own the computer and can prove it, the manufacturer will reset the BIOS password for you. You will need the original receipt, a photo of the serial number on the device, or the order confirmation from the retailer. Some manufacturers ask for a copy of your ID as well.
Call the support number for your brand (Dell, HP, Lenovo, Asus, etc.) and explain that you forgot the BIOS password. They will ask for proof of ownership and may take 24 to 48 hours to process the request. Some manufacturers can email you a reset code; others will ask you to mail the device or take it to an authorized service center. This method is slower than a hardware reset but does not require opening the computer.
Use a repair shop if you cannot do it yourself
A local computer repair shop can remove the CMOS battery, contact the manufacturer, or use specialized tools to clear the password. Most shops charge a flat fee for this service, usually $75 to $200 depending on whether the battery is straightforward to access. Call ahead and describe your computer so they can give you an accurate quote.
Bring proof that you own the computer — a receipt, ID, or the original purchase email. Repair shops will ask for this before working on the machine, and they may contact the manufacturer on your behalf if the hardware reset does not work.
What to do if nothing works
If the default passwords do not work, the CMOS battery is not removable, and the manufacturer cannot or will not reset the password, your options narrow. Some repair shops have specialized equipment or software that can bypass older BIOS passwords, but this does not work on newer computers with encrypted firmware. Ask a local shop whether they have tools for your specific model before paying for a diagnostic.
If the computer is very old and the manufacturer no longer supports it, a repair shop may be your only option. If the computer is newer and the manufacturer will not help, you may need to accept that the BIOS is locked and use the computer as-is, or consider replacing the motherboard (on a desktop) or the entire system board (on a laptop), which is expensive.
Frequently Asked Questions
Will removing the CMOS battery erase my files?
No. The CMOS battery only stores BIOS settings like the password, boot order, and system time. Your files on the hard drive are not affected. After you remove the battery and restart, your files will still be there.
Can I reset the BIOS password without opening the computer?
Not on most machines. Default passwords sometimes work without opening anything, and some manufacturers can reset it remotely with proof of ownership. But if those do not work, you will need to open the case or contact a repair shop to do it for you.
How long does it take the manufacturer to reset the password?
Usually 24 to 48 hours after you submit proof of ownership. Some manufacturers are faster; others may take up to a week. A hardware reset (removing the CMOS battery) takes about 10 minutes if you do it yourself.
What if I do not have the original receipt?
Some manufacturers accept a photo of the serial number on the device plus a copy of your ID. Others may ask for the order confirmation from the retailer or a credit card statement showing the purchase. Call the manufacturer's support line and ask what proof they accept.
Is it safe to remove the CMOS battery myself?
Yes, if you unplug the power cable first and avoid touching other components on the motherboard. The battery is small and straightforward to remove. If you are worried about static electricity, touch a metal part of the case before you start to ground yourself.