Forgetting the password to their Wi-Fi network is one of the most common problems in home IT infrastructures. This happens at the most inopportune moments: when purchasing a new gadget, connecting guests, or after reinstalling the operating system on a computer. There's no need to panic, as the encryption key hasn't disappeared; it's securely stored in your router or on devices already connected.
There are several proven ways to restore access, and the method you choose depends on which devices you already have connected to the network and whether you have physical access to the router. In this article, we'll detail the steps for various scenarios so you can quickly get back online. Restoring access does not require deep knowledge of programming, but does require attention to detail.
Before taking any serious action, it's worth trying the simplest, often overlooked options. Perhaps you wrote down the data somewhere in a notebook or on the equipment box. If standard methods don't help, we'll move on to more technical solutions, including a factory reset.
Finding a password on an already connected computer
If a Windows laptop or desktop PC is already connected to your wireless network, the operating system has already saved the necessary authorization data. You don't need to know the current password to view it; you only need administrator rights on that computer. This is the simplest and most secure method, and doesn't require any intervention on the router.
To access your saved keys, you need to go to the Network and Control Panel. In older versions of Windows, the path may be more complex, but in Windows 10 and 11, the process is streamlined. Open the Start menu, search for "View network connections," or simply go to Control Panel → Network and Internet → Network and Sharing CenterHere you will see active connections.
Find your Wi-Fi network in the list and click its name to open the status window. In this window, click the "Wireless Network Properties" button. Click the "Security" tab and you'll see the "Network Security Key" field, where the characters are hidden behind asterisks. Simply check the "Show entered characters" box, and the system will display your password in plain text.
- 🔍 Right-click on the Wi-Fi icon in the tray.
- 🔍 Select "Open Network & Internet Settings".
- 🔍 Find the "Network and Sharing Center" item.
- 🔍 Click on your network name and select "Wireless Network Properties".
It's important to understand that this method only works on a device that has successfully connected to the network before. If you're trying to connect a new device and don't have the old one handy, this method won't work. Also, keep in mind that access to these settings may be restricted by corporate security policies if you're in the office.
⚠️ Note: If you use a guest account on a computer without administrator privileges, the system may not allow you to view saved passwords. In this case, you will need to enter the administrator password or sign in using the administrator account.
Key recovery via mobile devices
Modern Android and iOS smartphones also store data about connected networks, but access to it is restricted by security policies. On an iPhone, viewing your password in plaintext is only possible if you're running iOS 16 or later. In older versions of the operating system, Apple didn't provide this feature without jailbreaking.
Android users are a little luckier, but there are some nuances here too. On devices running Android 10 and above, you can generate a QR code to connect to another device, and underneath it, a text password is often (but not always) displayed. To do this, go to Wi-Fi settings, select your network, and tap "Share" or "QR code."
If there's no text password but a QR code, you can scan it with another phone or use a dedicated QR code scanner app on the same device. Many scanners can scan not only the link but also the network settings, including the password. This can be a great workaround.
Features of iOS 16+
In iOS 16, Apple finally added a password viewer. Go to Settings → Wi-Fi, tap the blue "i" icon next to the network, then tap the hidden dots in the "Password" field. The system will prompt you for Face ID or Touch ID, after which the password will be copied to the clipboard or displayed on the screen.
For users of the Apple ecosystem, there's another convenient syncing option. If you have a Mac and iPhone linked to the same iCloud, the password saved on one device is automatically available on the other. You can find it in your iCloud Keychain via Safari or the system settings.
Using the router's web interface
The most secure way to find or change the password is to access the router's settings. To do this, your device must be connected to the router via a cable (LAN) or Wi-Fi (if the password is written down somewhere or the device is connected automatically). You'll need a browser and the address to access the control panel.
Standard login addresses most often look like this: 192.168.0.1 or 192.168.1.1Less common are variations like 192.168.31.1 (for Xiaomi) or domain names like tplinklogin.netThe exact address, username, and password for accessing the admin panel are usually written on a sticker on the bottom of the router. If you've changed this information before and forgot it, you'll have to reset it.
After entering your login credentials (often admin/admin), you'll be taken to the control panel. Interfaces vary by manufacturer, but the logic is the same. Find the section related to wireless networking. It may be labeled "Wireless," "Wi-Fi," "Wireless Network," or "WLAN." Inside, look for the "Security" or "Basic Settings" subsection.
| Manufacturer | Entrance address | Standard login | Standard password |
|---|---|---|---|
| TP-Link | tplinklogin.net / 192.168.0.1 | admin | admin |
| ASUS | router.asus.com / 192.168.1.1 | admin | admin |
| D-Link | 192.168.0.1 | admin | (empty) |
| Keenetic | my.keenetic.net / 192.168.1.1 | admin | 1234 |
| Tenda | tendawifi.com / 192.168.0.1 | admin | admin |
In the section that opens, find the "Password," "Pre-Shared Key," or "WPA/WPA2 Key" field. This is where your current password is stored. You can simply copy it or replace it with a new one you won't forget. Don't forget to click the "Save/Apply" button at the bottom of the page, otherwise the changes will not take effect.
Resetting the router to factory settings
If you've forgotten your Wi-Fi password and can't access your router settings because you don't remember your administrator login and password, the last resort is a hard reset. This will return the device to its out-of-the-box state, erasing all user settings, including the network name and ISP password.
To reset the router, locate the button or hole labeled "Reset" or "RST" on the router's body. It's usually recessed to prevent accidental pressing. You'll need a thin object, such as a paperclip or toothpick. Press the button while the power is on and hold it for about 10-15 seconds until the front panel indicators flash simultaneously.
After rebooting, the router will create an open network with the default name (indicated on the sticker). There will be no Wi-Fi password. You can connect to it and reconfigure your internet connection using your provider's information. Be aware that you may need your contract or access to your provider's account to enter the connection type (PPPoE, L2TP, etc.).
⚠️ Important: Before resetting, make sure you have your internet service provider contract handy. After resetting, the router will "forget" the global network connection settings, and internet access will only be available after re-authorization.
☑️ Preparing to reset your router
☑️ Preparing to reset your router
☑️ Preparing to reset your router
☑️ Preparing to reset your router
Viewing a password via the command line
For advanced users who prefer console commands, Windows offers a powerful tool. The command line allows you to retrieve the saved password of any network the computer has ever connected to. This method works even if the network is currently inactive, as long as the profile is saved in the system.
First, you need to open the command prompt with administrator rights. Click Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". The first step will be to display a list of all saved profiles. Enter the command: netsh wlan show profilesFind the exact name of your network in the list.
netsh wlan show profile name="Network_Name" key=clear
Replace "Network_Name" with the actual name of your Wi-Fi network. In the command output, find the line "Key Content." The value to the right of the colon is the password you're looking for. This method is great because it works at the system level and doesn't depend on the router interface.
It's worth noting that macOS also offers a similar feature via Keychain Access. Find the app in Spotlight, select "System" from the list on the left, then find your Wi-Fi hotspot in the list of networks. Double-click it and check "Show password" (you'll need to enter your Mac account password) to see the result.
Prevention and secure storage of passwords
To prevent the "forgot my WiFi code, what should I do?" situation from happening regularly, it's worth implementing simple rules of digital hygiene. Human memory isn't designed to store dozens of complex character combinations. Using password managers is a modern security standard.
Specialized programs like KeePass, Bitwarden, or 1Password allow you to store not only website passwords but also notes with technical data. You can create a "Home Wi-Fi" entry and store the SSID, network password, router admin password, and even the MAC addresses of authorized devices. Access to this database is protected by a single master password.
An alternative, "analog" method is to photograph the sticker on the router and save it to a secure folder in the cloud. Many users also place a sticker with the new password directly on the router body or in a visible place near it. This may seem less secure, but for a home network where only authorized users have physical access to the router, it's an acceptable compromise between convenience and security.
- 🔒 Use password managers to store access keys.
- 🔒 Take photos of your router settings immediately after installation.
- 🔒 Write down complex passwords in a paper notebook that you keep at home.
- 🔒 Change your passwords periodically if you suspect a data leak.
Remember that a strong password not only protects you from your neighbors but also acts as a barrier to botnets that could use your channel for attacks. Therefore, even if you lose access, consider setting a more secure character combination that includes numbers and uppercase and lowercase letters.
Frequently Asked Questions (FAQ)
Is it possible to find out someone else's Wi-Fi password if I forgot it?
No, there are no legal ways to find out someone else's network password. All the methods described only work for networks to which your device has previously connected, or for routers to which you have physical access and administrator rights. Hacking into other people's networks is prohibited by law.
What to do if the Reset button does not work?
If holding the reset button doesn't work, the button mechanism may be faulty or require a longer hold (up to 30 seconds). Alternatively, turn off the power, hold the button, then turn on the power while still holding it, and hold it for another 15-20 seconds. If this doesn't help, you'll need to reflash the firmware via cable or have it repaired.
Are password recovery apps safe to use?
Most apps that promise to "hack" or "reveal" passwords are either useless or contain viruses. Antivirus programs often flag them as "HackTools." It's safer to use the built-in Windows or macOS tools described in this article.
Do I need to change the password after resetting the router?
Yes, it's necessary. Factory passwords and network names are known to all hackers. Immediately after setup, set a unique network name (SSID) and a strong WPA2/WPA3 encryption password to protect your traffic from prying eyes.