Everyone is familiar with the situation where you need to connect a new gadget to your home network but have forgotten the password. Don't panic or rush to reset your router to factory settings, losing all your saved provider settings. There are many built-in methods for restoring access to security key, using already connected devices or the router itself.
Data recovery depends on your computer or smartphone's operating system and hardware model. We'll cover proven methods for Windows 10/11, Android, iOS, and the web interfaces of popular routers. A systems approach will allow you to quickly regain access without any unnecessary complications.
⚠️ Please note: the methods described only work for networks to which your device has previously connected. Finding the password for someone else's closed network without access to the router is technically impossible and illegal.
Checking a password on a Windows computer
The Windows operating system reliably stores the profiles of all networks your laptop has ever connected to. This is the easiest way to find a forgotten password if your computer is currently connected to a Wi-Fi network.
To access data through the graphical interface, open Control Panel and go to Network and Sharing Center. Find your active wireless connection, click it, and select Wireless Network Properties. In the window that opens, switch to the Security tab.
Here you will see the "Network Security Key" field, where the characters are hidden by asterisks. To display the password in clear textSimply check the "Show entered characters" checkbox. The system may request administrator privileges to confirm this action.
If the graphical interface isn't responding, use the command line. This method is more reliable and works even if the interface is down. Open Terminal as administrator and enter the following command, replacing "NetworkName" with the name of your Wi-Fi network:
netsh wlan show profile name="Network_Name" key=clear
In the resulting report, find the "Key Content" line. This is where the code you're looking for will be located. This method works for Windows 7, 8, 10, and 11.
☑️ Actions in Windows
Restoring access on Android smartphones
Android device owners can find their saved password directly in the system settings. Starting with Android 10, Google has introduced a convenient QR code sharing mechanism, which also allows you to view the code itself.
Go to your Wi-Fi settings and select the network you're connected to (or one saved in your list). A QR code will appear on the screen to quickly connect guests. Below this code is often a text string containing the password. If the text is hidden, take a screenshot and open the image using Google Lens or any similar QR scanner.
On some smartphone models, for example Samsung or Xiaomi, the interface may differ. In such cases, the system may require identification via fingerprint or Face ID before displaying data.
- 📱 Open Settings and go to the Wi-Fi section.
- 🔗 Click on your network name or the gear icon next to it.
- 📷 Select the "Share" or "QR code" option.
- 👁️ Look under the code - the password is often written there in small print.
⚠️ Note: On older versions of Android (below 10), you can't view the password using system tools. You'll need root access or access to the router's web interface.
How to find out the password on iPhone and iPad
Apple ecosystem users were long unable to view saved passwords, but with the release of iOS 16, this feature became native. Now you can access your passcodes directly in your device's settings.
To do this, open "Settings," select "Wi-Fi," and find your network in the list. Tap the blue information icon (the letter "i" in a circle) to the right of the network name. In the menu that opens, find the "Password" field. Tap the hidden dots, and the system will ask you to authenticate with biometrics (Face ID or Touch ID).
After successful confirmation, the password will be copied to the clipboard or displayed in text format, making it easy to share with another device. Important: For this feature to work, your device must be updated to the latest version of iOS.
If you have an older version of iOS, the only way to access your router settings is through the Safari browser. You can also use iCloud Keychain on your Mac using the Keychain app.
What to do if iOS doesn't show the password?
If the password field is grayed out, make sure your phone is connected to this network. If you want to view the password for a network you're not currently connected to but have saved, simply tap it in the list of known networks (this works in iOS 16+).
Viewing via the router's web interface
The most reliable method, which works on any device, is to log into your router's administrative panel. To do this, you'll need a device connected to the router via cable or Wi-Fi and a browser.
Open your browser and enter your router's IP address in the address bar. Standard addresses are: 192.168.0.1, 192.168.1.1 or 192.168.31.1The exact address is often written on a sticker on the bottom of the device. Enter your username and password to access the control panel (often admin/admin by default).
Interfaces vary from manufacturer to manufacturer, but the search logic is the same. Find the section related to wireless networking (Wireless, Wi-Fi).
| Router brand | Path to the menu | Field name |
|---|---|---|
| TP-Link | Wireless -> Wireless Security | Wireless Password / PSK Password |
| ASUS | Additional settings -> Wireless network | Authentication Method / WPA Pre-Shared Key |
| Keenetic | My Networks and Wi-Fi -> Home Network | Password |
| D-Link | Wi-Fi -> Security Settings | PSK encryption key |
In the window that opens, find the "Password," "WPA-PSK Key," or "Pre-Shared Key" field. If the characters are hidden behind asterisks, there's usually a "Show" button (an eye) or a "Show Password" checkbox next to it.
Using the command line and utilities
For advanced users who prefer command line, there are quick ways to get information without diving deep into menus. In Windows, the command netsh, discussed above, is the de facto standard.
However, if you need to export profiles for all networks at once, you can use the export command. Open PowerShell or CMD with administrator privileges and enter:
netsh wlan export profile key=clear folder=c:\wifi
This command will create XML files for each saved profile in the folder c:\wifi. After opening the required file with notepad, you will find the password in the line This is convenient for backing up settings.
On macOS, you can use Keychain via Terminal. Enter the command security find-generic-password -wa"NetworkName"The system will request permission to access the keys, after which it will display the password in the console.
Common errors and access problems
When attempting to recover a password, users often encounter technical limitations. For example, if a router broadcasts two networks (2.4 GHz and 5 GHz) with the same name, they may appear as a single device in the Windows profile list but have different keys.
Another common issue is a lack of administrator rights. Without elevated privileges, the security system will block access to saved keys. Make sure you're running the command prompt as an administrator.
- 🚫 The "Parameter is specified incorrectly" error in Windows often means that the network name in the command is misspelled.
- 🔄 After resetting the router to factory settings, old passwords on devices will no longer work.
- 🔒 Corporate networks may use certificates instead of passwords, making the described methods inapplicable.
If none of these methods work, the network profile may have been deleted or corrupted. In this case, the only options are physical access to the router (if it has a WPS button) or a full reset of the device.
Is it possible to find out the password if I have never connected to this network?
No, this is impossible. The password is stored either in the router's memory or in the memory of devices that have previously successfully connected. Without physical access to the router or one of the connected devices, it is impossible to find the key.
What should I do if I forgot the password for the router itself (admin)?
If you've changed the default password for your router's settings and forgotten it, it can't be recovered. The only way to do this is to press the Reset button on the router (hold it for 10-15 seconds). This will reset all settings, including the Wi-Fi password, to the factory defaults (as indicated on the sticker).
Is it safe to store passwords in your browser?
Modern browsers encrypt stored data, but for maximum security, it's recommended to use specialized password managers. This protects against data theft if your computer is infected with malware.