It's quite common to need to connect a new device to a wireless network, but the password has long been forgotten or written down on a piece of paper that's been misplaced. Fortunately, if at least one computer already has an active connection to the router, restoring access to the security key is easy. Windows and macOS operating systems store this data securely, providing users with tools to view it.
In this guide, we will go into detail on several proven methods that will allow you to find out the WiFi password Without having to reset your router to factory settings, you can use the system's graphical interface, the command line, or the router's web interface. Each method has its own peculiarities, but all are safe and don't require installing third-party software.
Before proceeding, make sure you have physical access to a computer already connected to the desired network. This is a prerequisite for most of the methods described below. If you don't have such a device, your only options are to look for a sticker on the router or contact your ISP.
Finding a password through Windows 10 and 11 settings
The easiest alternative for Windows users is to use the standard network connections menu. This method doesn't require complex commands and is suitable even for inexperienced users. The settings interface in recent versions of Windows has become more user-friendly, allowing you to quickly find the settings you need.
First, you need to open the Network Connections control panel. Press the key combination Win + R, in the window that appears, enter the command ncpa.cpl and press Enter. In the list that opens, find your active wireless connection, right-click it, and select "Status." Next, click "Wireless Network Properties" and go to the "Security" tab.
Here you'll see the "Network Security Key" field, where the characters are hidden behind asterisks. To display them, simply check the "Show entered characters" box. Then WiFi password will become visible in plain text. You will be able to copy it or rewrite it.
⚠️ Note: Accessing the "Security" tab may require administrator privileges. If prompted, enter your account password or confirm the action through UAC.
It's worth noting that in Windows 11, the path may differ slightly depending on the build version. In some cases, it's easier to go to Settings → Network & Internet → Wi-Fi → Manage known networks, select the desired network, and click "View." This is a modern version of the classic menu that also securely stores your data.
Using the Command Prompt in Windows
For those who prefer speed and precision, the command line method is ideal. This method allows you to quickly access saved network profiles and security keys without having to navigate through the settings menu. It's especially useful if the graphical interface isn't working correctly.
Run the command prompt as administrator. To do this, enter cmd In Windows Search, right-click the result and select "Run as administrator." First, you need to find out the exact network profile name, which may differ from the SSID. Enter the command:
netsh wlan show profiles
Find your network name in the list. Then enter the command to display the key, replacing "Network_Name" with your actual profile name:
netsh wlan show profile name="Network_Name" key=clear
In the window that opens, find the line "Key Content". This is where the security key in plain text. This method works on all modern versions of Windows and is a standard diagnostic tool.
☑️ Check before entering commands
If you receive the error "The system cannot find the specified network" when entering the command, check the spelling of the profile name. It must match, including capitalization and spaces. Also, make sure the profile is actually saved to the system.
Restoring access on macOS
Apple Mac users can also easily retrieve saved passwords using the built-in Keychain utility. This security system stores all passwords, including Wi-Fi network keys, in encrypted form, accessible to authorized users.
Open the Keychain Access utility. The easiest way to do this is through Spotlight search (click Cmd + Space and enter the utility name. In the list on the left, select the "System" or "iCloud" category, then find the name of your wireless network in the list on the right. Double-click it.
In the properties window that opens, check the "Show Password" box. The system will ask you to confirm your identity: you will need to enter your macOS account password or use Touch ID. After successful authentication, the password you were looking for will appear in the field. access key.
What should I do if Keychain Access won't open?
If the utility doesn't launch or returns an error, try restarting your computer. Also, check for macOS updates, as older versions may have had iCloud Keychain syncing issues. As a last resort, you can export the certificate, but this requires more in-depth system knowledge.
If you use a shared account or guest mode, access to passwords may be restricted. Always log in with your main profile.
Viewing the key through the router's web interface
If your computer isn't connected to the network, but you have access to the router via cable or another method, you can view the password in the device's settings. To do this, log in to the router's admin panel using a browser.
In the address bar of your browser, enter the router's IP address. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password for logging in, are usually indicated on a sticker on the bottom of the device. Standard credentials are often admin/admin or admin/password.
After logging in, find the section responsible for your wireless network. It may be labeled "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for the "Security" or "WLAN Settings" subsection. There you'll find a "PSK Password," "WPA Key," or "Password" field, where the current key is displayed.
| Router brand | Typical IP address | Standard login | Settings section |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | Wireless → Wireless Security |
| ASUS | 192.168.1.1 | admin | Wireless Network → WPS |
| D-Link | 192.168.0.1 | admin | Wi-Fi → Security Settings |
| Keenetic | 192.168.1.1 | admin | My Networks and Wi-Fi → Home Network |
| Tenda | 192.168.0.1 | admin | Wireless Settings → Wireless Security |
Router interfaces may vary depending on the firmware version. If you can't find the required option, consult the manufacturer's manual. Some modern routers have mobile apps where you can also view the password in the network settings.
⚠️ Warning: Changing settings in the router's web interface (such as changing the password) will take effect immediately. All connected devices will lose connection and will require you to re-enter the new key. Please exercise caution when making changes.
Viewing your password on Android and iOS
Modern mobile operating systems also allow you to view saved passwords if the device is already connected to the network. On Android 10 and above, and iOS 16 and later, this feature is built into the settings.
On Android, go to Settings → Connections → Wi-FiTap the gear icon next to the active network name. Select "QR code" or "Share." A text password is often displayed below the graphic code. If there is no text, you can scan the QR code with another device or a scanner app.
On iPhone, open Settings → Wi-FiTap the blue "i" icon next to the network name. Tap the "Password" field to reveal hidden characters. The system will require Face ID, Touch ID, or a passcode to verify your identity.
These methods only work if the device has previously successfully connected to the network and saved the profile. For new networks, you'll need to enter the key manually, obtained from your computer or router.
Problems and solutions when restoring access
Sometimes users encounter difficulties when trying to find their password. This may be due to access rights, corrupted system files, or security settings. Let's look at the main causes and how to resolve them.
If Windows says you don't have permission to view network properties, try running the Run command as administrator or temporarily disabling your antivirus software, which may be blocking access to system settings. The issue may also occur if the network profile is corrupted.
If none of the software methods work, the only option left is to physically inspect the router. On many models, the factory password (if it hasn't been changed) is printed on a sticker on the bottom of the case. Look for the "Wireless Key," "WPA Password," or "PIN" field.
⚠️ Warning: resetting your router to factory settings (using the Reset button) will erase all your settings, including your network name and password. Use this method only as a last resort if you're prepared to reset your internet settings.
If you are using a corporate network or a network with web portal authentication (Captive Portal), your password may not be stored in its normal form, as access is provided through the login and password for your provider's or organization's personal account.
FAQ: Frequently Asked Questions
Is it possible to find out a WiFi password if the computer is not connected to it?
No, this can't be done using standard operating system tools. The computer must have a saved network profile. The only option is to access the router's web interface via a cable or have another device already connected.
Is it safe to use third-party password recovery programs?
Using unknown software carries risks. Many programs that promise to "hack" or reveal passwords contain viruses or miners. It's better to use built-in Windows (cmd) or macOS (Keychain Access), which are completely safe.
What should I do if I forgot my router admin password?
If the default admin/admin passwords don't work, and you haven't changed the password yourself, try finding it on the sticker. If the password has been changed and forgotten, the only solution is to completely reset the router using the Reset button, after which you'll have to set up the internet again.
Where are WiFi passwords stored in Windows?
Passwords are stored in a secure section of the registry and system files in encrypted form. Directly editing these files is not recommended. To access them, use the built-in tools: network settings or the command prompt with administrator rights.