It's common to need to connect a new device to a home network but lose or forget the password. Many users write down complex character combinations on pieces of paper, which are eventually lost, or rely on smartphone autofill, forgetting the actual character sequence. Fortunately, modern operating systems and internet access devices store this data in secure registries, allowing access to be restored without complex manipulation.
In this article, we'll discuss the most effective methods for retrieving the security key from the memory of already connected devices and through the router's web interface. You'll learn how to view saved data on a computer running Windows, in the system macOS or on mobile devices. It's important to understand that most of the methods described require physical access to a device that already has an active network connection.
If no devices are connected, the situation becomes more complicated, but not hopeless. In this case, the only option is to reset the router to factory settings, which will require reconfiguring all provider settings. However, before resorting to drastic measures, it's worth trying less invasive methods that only take a few minutes.
⚠️ Warning: Some antivirus programs or corporate security policies may block access to system network settings or obscure password characters. In such cases, temporarily disabling protection or gaining administrator rights is required.
Using the Command Prompt in Windows
The Windows operating system stores profiles of all networks to which a computer has ever connected. This storage is accessible through the standard command console, allowing you to quickly retrieve the necessary information without installing third-party software. To get started, launch the command prompt with administrator rights by finding cmd in the Start menu.
The first step is to get a list of all saved profiles. Enter the command netsh wlan show profiles and press Enter. The system will display a list of all networks that have ever been active on this device. Find the network name (SSID) you want to explore in the list.
Once the network name is found, you need to request detailed information about a specific profile. To do this, use the command with the key key=clear, which tells the system to display the password in cleartext. The syntax is as follows:
netsh wlan show profile name="Your_Network_Name" key=clear
In the window that opens, find the line "Key Content." This is where the password you're looking for will be located. If the system returns the error "Group policy prevents...," this means access to this data is restricted by the device administrator.
What if the network name contains spaces?
If your network name contains spaces, be sure to enclose the name in quotation marks when entering the command. For example: netsh wlan show profile name="My Home Wi-Fi" key=clear . Without quotation marks, the command will not work correctly.
Viewing a password through the Windows graphical interface
For those who don't like using console commands, there's a more visual way to obtain data through the standard network settings. This method is suitable for Windows 10 and 11, where the settings interface has been significantly redesigned. You'll need to access the Network Connections control panel.
Press the key combination Win + R and enter the command ncpa.cplThe Network Connections window will open. Find your active wireless connection, right-click it, and select "Status." In the window that opens, click "Wireless Network Properties."
Go to the "Security" tab. By default, the "Network Security Key" field will be hidden by asterisks. To see the actual characters, check the "Show entered characters" box. This will make the password visible for copying.
- ✅ Click
Win + Rand enterncpa.cpl - ✅ Open the properties of your active Wi-Fi connection
- ✅ Go to the "Security" tab
- ✅ Check the box "Show entered characters"
It's worth noting that this method only works if the device is currently connected to the network or has previously saved this profile with the current user's permissions. If you're using a guest account, access to data may be restricted.
Restoring access on Android devices
Android smartphone owners can also find their saved password, but the procedure varies depending on the operating system version. Starting with Android 10, Google introduced a QR code sharing feature that allows you to not only connect to other devices but also view the passkey itself.
Go to Wi-Fi settings, select the network you're connected to, and tap the gear icon or network name. Look for the "Share" or "QR code" button. On many devices (Samsung, Xiaomi, Pixel), the text password is displayed directly under the QR code. If the text is hidden, take a screenshot and scan the code using any QR reader or Google Lens—the password will be displayed in a notification.
On older versions of Android (below 10), it is impossible to view the password using standard tools without root access due to file system security restrictions. File wpa_supplicant.conf, where the data is stored, is accessible only to the superuser.
⚠️ Note: The settings interface may differ on smartphones from different manufacturers (Huawei, Honor, Oppo). Look for "Share," "QR code," or "More" in the menu for the selected network.
Methods for iPhone and iPad owners (iOS)
Apple devices have long hidden passwords from users, but with the release of iOS 16, this feature became native. If your iPhone or iPad is updated to this version or later, you can easily view the key for any saved network.
Open "Settings" → "Wi-Fi." Tap the blue information icon (the letter "i" in a circle) next to the network whose password you want to know. In the menu that opens, find the "Password" field. Tap the hidden dots, and the system will prompt you to complete biometric authentication (Face ID or Touch ID). Once confirmed, the password will be displayed in text format, which you can copy.
This method is unavailable for devices running older versions of iOS. The only other option is to use a Mac computer if it's synced with the same Apple ID via iCloud Keychain. In this case, the password can be found in the Keychain Access app on macOS.
- 📱 Open Wi-Fi settings on your iPhone
- 📱 Click on the “i” icon next to the active network
- 📱 Tap the "Password" field
- 📱 Pass Face ID / Touch ID to view
Checking the password through the router's web interface
The most universal method, regardless of the type of device connected, is to access the router's settings. To do this, you'll need the gateway IP address and the login information for the admin panel. This information is usually found on a sticker on the bottom of the router.
Connect to your router (via cable or Wi-Fi, if available) and enter the gateway address in your browser. Most often, this is 192.168.0.1 or 192.168.1.1Enter your administrator login and password. If you haven't changed them, they're the default (often admin/admin). Once in the menu, look for the "Wireless" or "WLAN" section. The current password will be listed in the "Security" subsection.
If the default login details don't work, they may have been changed previously. In this case, the only solution is a full device reset, which is discussed below.
☑️ Login to router settings
Specifics of different router models
The interfaces of different network equipment manufacturers vary greatly. Navigating the menus can be confusing for the untrained user. Below is a table with sample password settings for popular brands.
| Router brand | Typical login address | Wi-Fi password path | Standard login |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | admin |
| ASUS | 192.168.1.1 | Wireless Network -> General | admin |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | admin |
| Xiaomi | 192.168.31.1 | Wi-Fi Settings -> 2.4G/5G | admin |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi -> Home Network | admin |
Please note that newer dual-band router models may have two passwords: one for 2.4 GHz and one for 5 GHz. They may be the same if you set them manually, or they may be different by default.
⚠️ Note: Firmware interfaces are updated regularly. If you don't see the above options, look for sections labeled "WLAN," "Wireless," or an antenna icon. The exact location may vary depending on the firmware version.
Radical Method: Reset
If none of the software solutions work, or you don't know the password to access the router settings, your last option is a hard reset. This procedure will restore the device to its factory settings, and the Wi-Fi password will be reset to the one on the sticker on the bottom of the router.
Find a button or hole with a label on the back of the router. Reset or RestorePress and hold this button for 10-15 seconds (until all the indicators flash). After rebooting, the network will be named after the router model, and the password will be the default.
The main drawback of this method is the need to reconfigure your ISP connection (PPPoE, L2TP, or dynamic IP) if the router doesn't receive the settings automatically. Make sure you have your ISP contract and login information before performing a reset.
What happens when you reset your settings?
The router completely clears its memory of user configurations. This means the network name (SSID) will return to the factory default, the password will return to the default (indicated on the sticker), and the internet connection settings (ISP login/password) will be deleted. You'll have to re-enter your ISP credentials, otherwise the internet will not work, although your local network will be restored.
FAQ: Frequently Asked Questions
Is it possible to hack someone else's Wi-Fi if I don't know the password?
Using special programs to crack passwords (brute force) without the network owner's permission is illegal. This article only describes methods for restoring access to your own forgotten passwords on devices you own.
Where can I find the password if the sticker on my router has worn off?
If the sticker is unreadable, try standard combinations: admin, password, 1234If they don't work, you'll have to reset the device, after which the password will return to the factory default (you can find it in the instructions or on the manufacturer's website for the model).
Why does Windows say "Unable to save network settings"?
This may be due to a driver conflict or corrupted system files. Try updating your wireless adapter driver or resetting your network settings via the command line. netsh winsock reset.
Is it possible to find out the password via the command line on a Mac?
Yes, you can display the saved password through the Terminal using the command security find-generic-password -wa "Network_Name", but this will require you to enter the password for your Mac user account (administrator).