The most direct path depends on what you own and what you remember

If you've forgotten the BIOS password on your computer, the route forward depends on whether you own the machine outright, whether it's a laptop or desktop, and whether you can access the physical hardware. Most consumer computers can be reset without the original password, but the method varies. Laptops are harder than desktops. Machines you own are easier than ones your employer manages.

Before you start, understand what you're resetting: the BIOS password protects access to your computer's firmware settings, not your Windows or Mac login. You need to get into BIOS setup to change it. The steps differ sharply between Dell, HP, Lenovo, Asus, and other manufacturers, and between older and newer machines.

Key Takeaways

  • Most desktop computers let you reset the BIOS password by removing the CMOS battery inside the case for 10 to 30 seconds, then reinstalling it.
  • Laptops rarely have accessible CMOS batteries; your options are usually contacting the manufacturer with proof of ownership, or paying a technician to remove the motherboard.
  • Some newer machines use firmware passwords that cannot be reset without the manufacturer's help, even if you open the case.
  • If your employer or school owns the machine, contact their IT department instead of attempting a reset yourself.
  • Removing the CMOS battery works only on machines you physically own and can open; it does not work on locked work computers.

Resetting the CMOS battery on a desktop computer

The CMOS battery is a small coin-shaped cell on your motherboard that stores BIOS settings, including the password. Removing it for a short time clears those settings and resets the password to nothing. This is the fastest method for desktop machines you own.

First, shut down your computer completely and unplug the power cable. Wait 30 seconds. Open the case — most desktop cases have two thumbscrews on the back panel, or a side panel that slides off. Ground yourself by touching a metal part of the case to avoid static damage. Locate the CMOS battery: it looks like a large watch battery, usually silver, and sits on the motherboard near the CPU or RAM. Note its position so you can replace it correctly. Gently pry it out with a plastic tool or your fingernail — do not use metal, which can short the board. Wait 10 to 30 seconds, then press it back in firmly until it clicks. Close the case, plug in the power cable, and start the computer.

When you enter BIOS setup on the next boot (usually by pressing Delete, F2, or F12 during startup — check your manufacturer's screen), the password prompt should be gone. You can now set a new password if you want one.

What to do if you have a laptop

Laptops are much harder because the CMOS battery is soldered to the motherboard or embedded in the firmware, not user-replaceable. You have three realistic options, each with trade-offs.

Contact the manufacturer with proof of ownership. Dell, HP, Lenovo, and others will reset the password if you provide the service tag (a number on the bottom of the machine) and proof you own it — usually a photo of the serial number or the original receipt. Call their support line and explain you've forgotten the BIOS password. They may email you a reset code or walk you through a process specific to your model. This is free and takes a few days, but requires you to prove ownership.

Take it to a local repair shop. A technician can remove the motherboard, access the CMOS battery or firmware chip, and reset the password. This costs between $50 and $150 depending on the shop and model, and takes a few hours to a day. It works on nearly all laptops but requires trusting someone with your machine.

Use a BIOS password reset service. Some online services will mail you a reset code if you provide your laptop's service tag and proof of ownership. These are legitimate for machines you own, though they take longer and cost more than calling the manufacturer directly.

Newer machines with firmware passwords

Computers made in the last five years, especially business models and high-end machines, often use firmware passwords that are encrypted and cannot be reset by removing the CMOS battery. The password is stored in a chip that persists even when power is removed.

If you own the machine, contact the manufacturer with your service tag and proof of purchase. They can issue a master reset code or walk you through a recovery process. If you cannot prove ownership, a repair technician may be able to reprogram the firmware chip, but this is expensive and not always possible.

If your employer or school owns the machine, you must contact their IT department. They have the master password or can reset it remotely. Attempting to bypass a work machine's BIOS password without permission may violate your employment agreement or school policy.

Machines you do not own

If your employer, school, or a family member who shares the computer set the BIOS password, do not attempt to reset it. The password exists to prevent unauthorized changes to hardware settings. Removing it without permission is a violation of trust and may have legal consequences in a work or school setting.

Instead, ask the person who set it for the password, or ask them to reset it for you. If you've inherited a computer from someone who has passed away, contact the manufacturer with a death certificate and proof of inheritance — they can reset it.

What happens if you cannot reset it

If the machine is too new, the CMOS battery is not accessible, or you cannot prove ownership, you have limited options. You can still use the computer normally — the BIOS password only prevents access to firmware settings, not to Windows or Mac. You straightforward cannot change hardware settings like boot order, hard drive configuration, or security features.

If you need to change those settings, a repair technician can help, but the cost may be high. For most users, living with the existing BIOS settings is the practical choice. If you plan to sell the computer, disclose that the BIOS is password-protected and you do not have the password — this affects the machine's value and the buyer's ability to modify it.

Preventing this in the future

If you set a BIOS password yourself, write it down and store it somewhere safe — a password manager, a locked drawer, or a trusted family member. BIOS passwords are not recoverable the way Windows or Mac passwords are. If you forget it, you will face the same reset process described here.

Consider whether you actually need a BIOS password. For home computers, it provides minimal security — someone with physical access can still reset it. For work or school machines, your IT department should manage it. For machines you want to protect from casual tampering, a BIOS password is useful, but only if you remember it or have a way to recover it.

Frequently Asked Questions

Will removing the CMOS battery erase my files or Windows password?

No. The CMOS battery only stores BIOS settings and the BIOS password. Your Windows or Mac password, files, and operating system are on the hard drive and are not affected. You will still need your Windows or Mac password to log in after the BIOS password is reset.

Can I reset a BIOS password without opening the case?

Not on most machines. Some newer laptops and business computers have a software reset process you can access from Windows or Mac, but this is rare and usually only works if you remember your Windows password. For most computers, physical access to the motherboard is required.

How long does it take to reset a BIOS password through the manufacturer?

Usually three to seven business days. You call or email with your service tag and proof of ownership, they verify it, and they send you a reset code or instructions. Some manufacturers are faster; others take longer depending on demand.

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

It may be soldered to the board, embedded in a chip, or located in a part of the motherboard you cannot easily access. If you cannot identify it within a few minutes, stop and contact the manufacturer or a repair shop. Opening the case further risks damaging components.

Is it legal to reset a BIOS password on a computer I own?

Yes, if you own it. If the computer is owned by your employer, school, or someone else, resetting the BIOS password without permission is not legal and may violate your employment agreement or school policy.