Nobody thinks about the router or BIOS password for years — until it’s forgotten. The good news: you can almost always get back into your own device. The bad news: usually at the cost of a reset. Here is what to try, in order, so you lose no more than necessary.
First, check which password you’ve lost
A router usually has two, and people mix them up all the time:
- The Wi-Fi password — for connecting phones and laptops. You can see it on any device that is already connected, with no need to reset the router.
- The web interface (admin) password — for opening the settings at an address like
192.168.0.1or192.168.1.1. If this is the one you’ve lost, try the factory password or a reset.
Where to see the Wi-Fi password:
- Windows: in a command prompt,
netsh wlan show profile name="Network name" key=clear— the password is on the “Key Content” line. - macOS: Keychain Access → find the network name → “Show password”; on macOS 13 and later, System Settings → Wi-Fi → Advanced → “…” next to the network → “Copy Password”.
- Android 10 and later, iPhone with iOS 16: open the current network in the Wi-Fi settings — Android shows a QR code with the password below it, the iPhone shows the password after Face ID.
The router’s settings password
- Check the label underneath. It shows the login address, user name and password. Newer routers print a password unique to each device; older ones use one per model:
admin/adminand the like. Factory logins for many models are collected on the Default passwords page. If the factory password works, nobody ever changed it — a good reason to change it right now. - If the password was changed and forgotten — reset. With the router on, press and hold the Reset button (usually recessed, you’ll need a paper clip) for 10–15 seconds until the lights blink, then wait a couple of minutes while it restarts. All settings go back to factory defaults; log in with the details from the label.
- A router or ONT from your provider. On fibre terminals and routers issued by the provider, the admin password is often set by the provider, and a reset may wipe its service settings. Call support first: they will usually tell you the password or reconfigure the device remotely.
- MikroTik. Hold the Reset button while turning the power on until the light starts blinking — the router boots with the default configuration. Held longer, it switches to other modes, so let go as soon as it blinks. Without the button, the remaining option is reinstalling RouterOS with Netinstall, which erases everything. Newer devices have the
adminpassword printed on the label; on older ones it is empty — set your own at first login.
Right after the reset:
- set a new admin password — long and random, made by the password generator;
- change the Wi-Fi name and password: a Wi-Fi password without look-alike characters is easy to type on a TV;
- choose WPA2 or WPA3, turn off WPS and remote access to the settings, and update the firmware.
More on setup in the article on securing home Wi-Fi; for MikroTik there is a ready-made script on the MikroTik basic protection page.
BIOS or UEFI password
The BIOS can also have several passwords, with different consequences:
| Password | What it locks | Can it be reset? |
|---|---|---|
| User (power-on) | Starting the computer | On a desktop PC — by resetting the BIOS settings |
| Administrator (supervisor) | Changing BIOS settings | On a PC — usually yes; on a laptop — often only at a service centre |
| Drive (HDD/SSD) | Access to the drive itself | Only with data loss: the password is stored in the drive |
Desktop computer. The password is stored with the BIOS settings and is reset together with them:
- shut down the computer and unplug it;
- find the
CLR_CMOSjumper on the motherboard (alsoJBAT1orCLRTC) or a Clear CMOS button on the back panel; the board’s manual says what to short; - short the pins for 10–20 seconds or take out the CR2032 battery for a few minutes, then put everything back.
Laptop. The battery usually won’t help here: the administrator password is kept in a separate chip. Manufacturers remove it at a service centre if you show proof of purchase; on some business models a lost administrator password means replacing the system board. If it’s a work laptop, ask your IT department: they may have the password or a management tool.
After the reset, check the date and time, the boot mode (UEFI or Legacy), Secure Boot and the SATA mode (AHCI or RAID): if they went back to factory values, the system may not boot until you set the previous ones.
Server. The management controller password (iDRAC, iLO, IPMI) can usually be reset from the BIOS setup at boot or from the running system as root, for example ipmitool user list 1 and then ipmitool user set password 2 for the right user.
How not to end up here again
- Keep the router, Wi-Fi and BIOS passwords in a password manager — along with your provider’s connection details and the BitLocker recovery key.
- The password on the router’s label is a factory one: change it, and don’t stick the new one on the case.
- Set a BIOS administrator password deliberately: on a laptop, losing it can mean a repair. Disk encryption usually protects data better.