Connecting a new device to a network but forgetting or losing the password is a common occurrence in home networking. Fortunately, modern operating systems store access keys to previously connected networks, allowing you to quickly restore the necessary data without resetting the router. Display Wi-Fi password This can be done using standard tools, without resorting to complex third-party software.
In this guide, we'll cover all the current methods for recovering a security key on computers running Windows 10 and 11, as well as Apple macOS devices. Administrative rights will be required to perform most actions, as this data is considered sensitive system information. We'll cover both the graphical interface and console commands for more advanced users.
It's important to understand that accessing saved passwords is only possible if your computer has previously successfully connected to this wireless network. If you're trying to find the password for a network you've never connected to, software methods won't work—you'll need physical access to the router or your ISP account credentials.
Using the Network Connections interface in Windows
The simplest and most accessible method, which doesn't require command line knowledge, is found in the operating system's standard network settings menu. This method works equally well in both Windows 10 and the newer Windows 11, although the location of some menu items may differ slightly depending on the build version. Find your active connection and go to the security properties.
To get started, open the Start menu and type in the search phrase "View network connections" or go through the Control Panel by following the path Network and Internet → Network and Sharing CenterIn the window that opens, find your active "Wireless Network" connection and click the blue link with your Wi-Fi network name. A status dialog box will appear, where you should click "Wireless Network Properties."
⚠️ Important: If the "Security" tab is missing or the buttons are grayed out, make sure you are logged in with an account that has administrator rights, otherwise the system will restrict access to critical settings.
In the window that opens, go to the "Security" tab. This is where the network security key, which is hidden by asterisks by default. To view it in plain text, check the "Show entered characters" box. The password you're looking for will immediately appear in the "Network Security Key" field, which you can copy or rewrite.
Obtaining a password via the Windows command line
For users who prefer console-based utilities, or in cases where the graphical interface isn't working correctly, the command line is ideal. This method not only allows you to view the password for the current network but also displays a list of all profiles ever saved on the computer. Using the console gives you more granular control over network settings.
Launch the command prompt as administrator. To do this, right-click the "Start" button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". First, you need to find out the exact name of the network profile by entering the following command: netsh wlan show profilesIn the "User Profiles" list, find the name of your network.
Once the profile name is found, enter the command to output by adding the switch key=clearThe command syntax is as follows:
netsh wlan show profile name="Your_Network_Name" key=clear
In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This method is especially useful if you need to quickly copy data or if the system interface is frozen.
Finding a password in macOS settings
Apple Mac owners also don't need to worry about lost passwords, as macOS stores all access keys in iCloud Keychain or a local keychain. The recovery process is slightly different from Windows, but remains fairly simple for any user. The key tool here is the Keychain utility.
Open the Keychain Access app. You can find it through Spotlight (by clicking Cmd + Space) or in the "Applications → Utilities" folder. In the list on the left, select the "Passwords" category, then enter the name of your Wi-Fi network in the search. Double-click the network name in the list.
In the Properties window that opens, check the "Show password" box. The system will prompt you to confirm the action by entering your Mac user account password or using Touch ID. After successful authorization, the password field will become readable. This is a secure method protected by biometrics or a master password.
⚠️ Note: If you use iCloud and Keychain sync, your password may be available on all your Apple devices, but you'll still need to sign in locally to view it on your Mac.
Viewing saved passwords in a browser
Users often save Wi-Fi passwords in their browsers, especially if they entered them to access their provider's login page or a guest network. While browsers primarily store website passwords, in some cases (for example, when syncing with an Android phone via Chrome), Wi-Fi network data can be accessed through the Google Account web interface.
To check, go to your browser settings (Google Chrome, Edge, Opera). Find the "Autofill" or "Passwords" section. In Google Chrome, the path usually looks like this: Settings → Autofill → Password ManagerHowever, to see the Wi-Fi keys themselves, it's best to use the direct link to Google account management: passwords.google.com.
The "Passwords" section may contain a "Wi-Fi Passwords" category if you've used an Android smartphone with sync enabled. Here, you can find saved networks and tap the eye icon to view the password. This only works if you've ever synced your Wi-Fi passwords with the cloud.
| Method | Complexity | Admin rights required | Access to history |
|---|---|---|---|
| Windows interface | Low | Yes | Active network only |
| Command line | Average | Yes | All saved profiles |
| macOS Keychain | Low | Yes (Mac password) | All saved profiles |
| Router (Web) | Average | Yes (from the router) | Current network password |
Receiving data via the router's web interface
If your computer isn't connected to Wi-Fi or doesn't remember the password, but has a wired (LAN) connection to the router, you can find the security key through the router's settings. To do this, you'll need to know the gateway IP address (usually 192.168.0.1 or 192.168.1.1) and login details for the admin panel.
Open your browser and enter your router's IP address in the address bar. After entering your login and password (often found on a sticker on the bottom of the device if you haven't changed them), go to the wireless section. It may be called Wireless, Wi-Fi, Seamless network or WLAN.
The Wireless Security settings will show the network name (SSID) and password (PSK Password). You can also change the password to a more complex one here. This method is universal and works regardless of the operating system of the computer you're using.
What should I do if my router password has been changed and is unknown?
If you changed your router's admin password and forgot it, you'll need to reset the device itself. This is usually done by holding down the small button on the device for 10-15 seconds. After the reset, the router will return to the factory settings listed on the sticker, but you'll need to reset your internet settings.
Diagnosing password access issues
Sometimes users encounter situations where standard methods fail. This may be due to damaged Windows system files, blocking by antivirus software, or group security policies, especially on corporate computers. In such cases, the system may prevent access to network properties or the netsh command.
If you're working at work, contact your system administrator. Attempts to bypass corporate security restrictions may violate company policy. On home PCs, try running the command prompt not just as an administrator, but in Safe Mode or by creating a new account.
It's also worth checking the "WLAN Connection Manager" (WLAN AutoConfig) service. Make sure it's running and working correctly. To do this, click Win + R, enter services.msc, find the service in the list and check its status. If it's stopped, start it.
☑️ Checklist if your password is not visible
Frequently Asked Questions (FAQ)
Is it possible to find out a Wi-Fi password if the computer has never connected to it?
No, PC software methods only allow you to see passwords that were already saved in the system upon a successful connection. If the computer never connected, there's simply no data in the registry or keychain. In this case, the only solution is to find the sticker on the router, know the password for your ISP account, or reset the router to factory settings.
Is it safe to use third-party password recovery programs?
Using third-party software (such as WirelessKeyView) carries certain risks. Such programs require deep system access, which can be detected by antivirus software as a threat. Furthermore, downloading utilities from untrusted websites puts you at risk of infecting your computer with malware. The built-in tools of Windows and macOS are much safer.
Where can I find the password if I am connected via an Ethernet cable?
If you're connected via a cable, you won't be able to see the Wi-Fi password in the Windows network connections menu because you're connected via a wired connection. However, you can still use the command line (netsh wlan show profile...), as it accesses the database of all saved profiles, even if they are not currently active.
Why does the command line say "Access Denied"?
This error means that you ran the command prompt in normal mode and not as an administrator. Command netsh Requires elevated privileges to read saved security keys. Right-click "Command Prompt" or "PowerShell" and select "Run as administrator."
⚠️ Note: Operating system and router interfaces may be updated. If menu item names differ from those described, look for similar sections related to "Security" or "Wireless."