How to find your laptop's Wi-Fi password: full instructions

It's quite common to need to connect a new device to the network but lose or forget the password. Fortunately, if your laptop is already connected to Wi-Fi or has connected before, the operating system may have saved this data in its encrypted storage. Restoring access doesn't always require resetting the router or calling a technician.

There are several proven ways to extract a saved security key. The method depends on the operating system installed on your computer: Windows, macOS or LinuxIn most cases, physical access to the device and administrator rights are sufficient.

In this article, we'll cover the built-in operating system tools that don't require third-party software. We'll also cover methods for accessing the router control panel and using specialized utilities for advanced users.

Viewing your password through Windows 10 and 11 settings

The easiest and most secure way to find out your access key is to use the operating system's graphical interface. If your laptop is currently connected to a wireless network, the process will only take a minute. In newer versions Windows 11 Microsoft has added a handy button to copy the key, making the task easier.

First, you need to open your network settings. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Network & Internet settings." In the window that opens, find the "Advanced network settings" or "Network and Sharing Center" section. Your active connection will be displayed here.

⚠️ Attention: To view the password, you will need administrator rights. If you are using a corporate laptop, the system may request confirmation from the system administrator or block access to these settings altogether.

The next step varies slightly depending on your OS version. In the classic interface, click on your connection name (the blue text with a link), then click "Wireless Network Properties." Go to the "Security" tab and check the box next to "Show characters as you type."

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

After unmasking the asterisks, the code you're looking for will appear in the "Network Security Key" field. Write it down or copy it. This method works reliably because it uses standard operating system APIs for working with WLAN profiles.

Using the CMD command line in Windows

For those who prefer console commands or can't find the menus they need in the graphical interface, the command line is ideal. netsh Allows you to manage network settings and display saved profiles along with passwords in clear text.

Launch the Command Prompt as administrator. To do this, type in the Start menu search cmd, right-click the result, and select the appropriate option. First, it's helpful to know the exact profile name the system uses to identify the network.

Enter the following command to view all saved profiles:

netsh wlan show profiles

Find your network name in the list. Then use the command to display details of a specific profile by adding the parameter key=clearThe syntax is as follows:

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

In the command output, find the "Security Settings" section. The "Key Contents" line will contain your password. This method is especially useful if you need to quickly copy data or if the graphical interface isn't working correctly.

How to find the password on a MacBook (macOS)

Users of technology Apple Store all passwords in iCloud Keychain or local Keychain storage. This is a centralized security system protected by biometrics or a master password. Access to Wi-Fi passwords also requires authorization.

In modern versions of macOS (Ventura, Sonoma), the process is simplified. Open System Preferences and go to Wi-Fi. Find the desired network in the list, click the information icon (three dots or the letter "i") and select "Copy Password" or click the hidden dots to see the code. The system will ask you to confirm the action. Touch ID or account password.

Older versions of macOS use the Keychain Access app. You can find it using Spotlight (Cmd+Space) or in the Applications → Utilities folder. Select the "Passwords" category in the list on the left, then enter your network's name in the search.

Action macOS Ventura/Sonoma macOS Monterey and later
Path to settings System Preferences → Wi-Fi Keychain (Utilities)
Network search List of known networks Search by name in the list
Display Click on the hidden text Double-click → Show checkbox
Authorization FaceID/TouchID/Password Mac user password

Double-clicking the network name in Keychain Access will open the Properties window. Check the "Show password" box. macOS will prompt you to enter your user account password to confirm access rights.

Login to the router's web interface

If your laptop isn't connected to the network or the password isn't saved anywhere, you can still view the settings directly on the router. This will require a cable connection (Ethernet) or a connection to an open guest network, if one is configured.

Open your browser and enter the IP address of your default gateway. This is most often 192.168.0.1 or 192.168.1.1The exact address is indicated on the sticker on the bottom of the router. Enter the administrator login and password (often this is admin/admin, if you haven't changed them).

⚠️ Attention: Interfaces of routers from different manufacturers (TP-Link, Asus, Keenetic, MikroTik) vary greatly. The menu layout may change after a firmware update.

After logging in, look for the "Wireless" or "Wireless Network" section. Under "Security" or "Protection," you'll see a field with the encryption key (WPA/WPA2 Key). You can also change the password to a more complex one here.

What should I do if I've changed my router password and forgotten it?

If you changed your router's administrator password and forgot it, it's impossible to restore access without a factory reset. You'll need to press the Reset button on the device (hold it for 10-15 seconds). This will restore factory settings but will disconnect your internet service provider, requiring you to reset the router.

Third-party utilities and programs

There are many wireless connection management programs that can display saved passwords. Popular tools include WirelessKeyView from NirSoft, WiFi Password Revealer and other similar tools. They scan the Windows registry or configuration files.

Using such software requires caution. Many antivirus programs may detect them as potentially unwanted programs (PUP), as they extract sensitive data. Such utilities should only be downloaded from the developers' official websites.

  • 🔍 WirelessKeyView — a lightweight utility that does not require installation and displays all saved keys in a list.
  • 🛡️ WiFi Password Revealer — a simple interface that allows you to copy passwords to the clipboard with one click.
  • ⚙️ Magical Jelly Bean WiFi Password Revealer — supports data export to a text file or HTML.

The main advantage of such programs is the ability to quickly download a list of all networks ever connected to. This is useful when migrating to a new computer or router, when you need to restore access to multiple access points.

☑️ Check before using the software

Completed: 0 / 4

Access problems and limitations

The process doesn't always go smoothly. Sometimes the system displays "Access Denied" or the password field remains hidden. This may be due to group security policies, especially in corporate networks where administrators prohibit key visibility.

There may also be conflicts with the wireless adapter drivers. If the command netsh If you receive an error, try updating your Wi-Fi module drivers through Device Manager or the laptop manufacturer's website. Outdated software may not work correctly with new encryption protocols.

Another common issue is using guest networks with authorization via a web portal (Captive Portal). In such cases, the Wi-Fi password itself may be publicly accessible, and internet access is granted after entering a code on the provider's page. It's impossible to find this code through the laptop's settings, as it isn't saved in the Wi-Fi profile.

Security measures and network protection

Understanding how easily a saved password can be discovered underscores the importance of physical device security. Anyone who gains access to an unlocked laptop will be able to see the keys to all networks. Therefore, using a strong password to log into your account is a must.

It's recommended to change Wi-Fi passwords regularly, especially if guests or unauthorized individuals have connected to the network. Using a guest network for visitors isolates the main infrastructure from potential threats.

  • 🔐 Use encryption WPA3 or WPA2-AES, abandoning the outdated WEP and TKIP.
  • 🚫 Disable the WPS function, as it is vulnerable to PIN code brute-force attacks.
  • 📝 Save complex passwords in a password manager to avoid relying on your device's memory.

Remember that knowing a password gives you complete control over your local network. An attacker can intercept traffic or attack other devices on the network. Therefore, storing passwords in plaintext on unprotected devices carries risks.

Is it possible to find out the Wi-Fi password if the laptop has never connected to this network?

No, the operating system doesn't store passwords for networks the device hasn't connected to. In this case, the only solution is to use the router sticker, the administrator password, or physical access to a configured device that already has access to the network.

Are password recovery programs safe to use?

Using trusted utilities from reputable developers (such as NirSoft) is safe if they are downloaded from an official source. However, antivirus programs may flag them as a threat due to their functionality. Always scan files before running them.

What should I do if the netsh command says "Network not found"?

This means there's no profile with that name in your computer's memory. Check the exact network name (case is important) or make sure you're running the command in a command prompt running as an administrator.

Is the password saved in the cloud?

Yes, if you use a Microsoft account on Windows or iCloud on Mac, passwords can be synced between your devices. However, locally on each laptop, they are stored in a secure system vault.