How to find the Wi-Fi password on a connected laptop

It's extremely common to need to connect a new device to a network, but the password has long been forgotten and not written down. Fortunately, if at least one laptop is already successfully authorized on the network, restoring access to the security key is easy. Windows and macOS operating systems store this data in encrypted form for automatic connection, but provide the user with tools for viewing it.

There are several proven methods for extracting this information, ranging from the graphical settings interface to the command line. The method you choose depends on your operating system version and your comfort level with technical commands. In this article, we'll cover all the current options for various platforms in detail.

Restoring access to Windows through the graphical interface

The easiest and most secure method for Windows 10 and 11 users is to use the built-in network connections menu. This method doesn't require installing any third-party software and allows you to view the password in seconds. Graphical interface hides the symbols with asterisks, but the standard security feature allows them to be revealed if you have administrator rights.

First, you need to open the Network and Sharing Control Panel. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Network and Internet Settings." Next, find the "Network and Sharing Center" link or go to "Advanced network settings." In the window that opens, click the name of your active wireless network.

A small status window will appear where you need to press the button Wireless network properties. Go to the tab SecurityThis is where the "Network Security Key" field is located, hidden by default. Check the "Show entered characters" box, and you'll see the actual password instead of the asterisks.

📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 8.1
Windows 7

⚠️ Attention: If the "Security" tab is missing or the fields are grayed out, make sure you are logged in with administrator privileges. On corporate networks, access to these settings may be blocked by group security policies.

Using the Command Prompt in Windows

For more advanced users or in cases where the graphical interface isn't working correctly, the command line is ideal. This method allows you to display saved profiles and passwords in plain text. Command line (CMD) or PowerShell provide direct access to the system credential stores.

First, launch the terminal as administrator. Click Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". The first command you enter will display a list of all saved networks:

netsh wlan show profiles

Find the name of the desired network in the list. Then enter the command to display detailed information, adding the key key=clearThis is a critical parameter that forces the system to reveal the hidden key:

netsh wlan show profile name="Your_Network_Name" key=clear

In the "Security Settings" information block, find the "Key Contents" line. Your password will be listed there. This method is especially useful if you need to quickly copy your password or if the Windows interface freezes.

☑️ Check before entering commands

Completed: 0 / 4

Finding a Password on a MacBook (macOS)

Apple computer users can also easily recover access to lost data. On macOS, this information is stored in the iCloud Keychain or the local Keychain. The process varies slightly depending on the operating system version.

In newer versions of macOS (Ventura and later), open System Preferences and go to the Wi-Fi section. Find the desired network in the list of known networks and click the "More Details" button or the information icon. Next to the password field, you'll see a "Copy" button or an eye icon, which will require confirmation via Touch ID or your user passcode.

On older versions of macOS, use the Keychain Access app. You can find it using Spotlight search (Cmd + Space). In the list on the left, select "System" or "iCloud," then find the name of your Wi-Fi network. Double-clicking on the name will open the Properties window, where you should check the "Show password" box.

What should I do if Keychain Access requires a master password?

If the system asks for a master password you didn't set, try entering the password for your Apple ID or local user account. Sometimes, resetting the keychain settings via Disk Utility is necessary.

Viewing the password through the router

If your laptop is connected to the router via cable or Wi-Fi, but the standard OS methods don't work, you can look into the router's settings. To do this, you need to know Gateway IP address and login/password to enter the admin panel.

Open any browser and enter the router's address (often 192.168.0.1 or 192.168.1.1) in the address bar. After logging in, go to the Wireless or Wi-Fi Settings section. The current password will be displayed in the "Wireless Password," "WPA Pre-Shared Key," or similar field.

Manufacturer Standard IP Menu section Field name
TP-Link 192.168.0.1 Wireless -> Wireless Security Wireless Password
Asus 192.168.1.1 Network Map -> System Status WPA-PSK key
D-Link 192.168.0.1 Wi-Fi -> Security Settings PSK encryption key
Keenetic 192.168.1.1 My Networks and Wi-Fi -> Home Network Network password

This method is universal, as it shows the exact password that the router issues, even if it was manually changed in the connection properties on the laptop.

Specialized software and utilities

There are programs that automate the password recovery process. An example is WirelessKeyView from NirSoft. This utility scans the Windows registry and displays all saved keys in a convenient list.

Using third-party software requires caution. Download programs only from the developers' official websites to avoid introducing malicious code. Antivirus programs may identify such utilities as hacker tools, as they access sensitive system data.

Security measures and data protection

Once you've learned your password, it's a good idea to consider your network's security. If the password was easily guessed or widely known, it's best to change it. Network security directly depends on the complexity of the encryption key.

It is recommended to use the WPA2 or WPA3 encryption protocol. Older protocols like WEP and WPA are vulnerable to hacking and do not provide adequate protection for transmitted data. It is also recommended to disable the WPS function, which is often a security vulnerability in home routers.

⚠️ Attention: Never share your Wi-Fi password in plain text via messaging apps or email. If you need to share access, use a QR code or the "Share with Contacts" feature in the Apple/Android ecosystem.

Regularly checking connected devices in your router's admin panel will help you spot unauthorized users early. If you detect an unknown device, change the password and encryption type immediately.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if the laptop is not currently connected to the network, but was connected before?

Yes, this is possible. The operating system stores profiles of all networks you've ever connected to. You can use the command line (netsh method) or view network properties in the Control Panel, even if the Ethernet cable is currently connected or Wi-Fi is turned off.

Why is the password field in Windows grayed out and uneditable?

This is normal security behavior. Windows only allows you to view the saved password (by checking the "Display" box), but not edit it directly in this window. To change the password, you must enter the new key when reconnecting to the network.

Do these methods work for guest networks and corporate Wi-Fi?

For guest networks without a password (Open), there is no key. For corporate networks with certificate or login authentication (Enterprise), the password may not be stored explicitly, as dynamic authentication is used. In such cases, access restoration is only possible through the organization's IT department.

Will resetting the router reset saved passwords on the laptop?

No, resetting the router to factory settings will only change the password on the sharing device itself. However, the laptop will attempt to connect with the old saved key, and the connection will fail. You'll have to "forget" the network on the laptop and re-enter the new password.