How to find your Wi-Fi password: step-by-step instructions for your router and PC

It's quite common to need to connect a new device to your home network but lose or forget the Wi-Fi password. This can happen after resetting your router, buying a new smartphone, or having guests over who need internet access. Fortunately, operating systems and routers themselves store access keys in their memory, making it easy to recover the information without any complicated steps.

There are several proven methods restore access to the wireless network. You can view the saved key directly in Windows settings if your computer is already connected to the router, or you can access it through the router's web interface. You can also reset the device to factory settings, although this is an extreme measure and requires a complete internet reset.

In this guide, we'll cover all the current password recovery methods in detail. We'll cover standard operating system tools, command line usage for advanced users, and logging into the router's admin panel. Please note that to view the password through the router's web interface, you will need administrator rights, which are usually indicated on a sticker on the bottom of the device.

Using Windows settings to view your password

The easiest and most secure way to find your network key is to use the built-in features of the Windows operating system. If your computer or laptop is already connected to Wi-Fi or has connected to it before, the system has saved this key in its security profile. Accessing it doesn't require installing third-party software, minimizing the risk of virus infection.

The procedure is performed through the classic Network Connections window. First, open the Network and Network Control Panel, locate your active wireless connection, and go to the wireless network properties. The required character set is hidden there, in the security tab. By default, it's hidden behind asterisks, but you can easily unhide it.

To do this, follow these steps:

  • 📌 Right-click on the Wi-Fi icon in the tray and select "Network & Internet settings".
  • 📌 Go to "Network and Sharing Center" or select "Change adapter settings".
  • 📌 In the window that opens, double-click on your wireless connection icon.
  • 📌 In the status window that appears, click the "Wireless Network Properties" button.

After opening the properties window, go to the tab "Safety"You'll see the "Network Security Key" field, where the characters are replaced with periods. To see the actual password, simply check the "Show entered characters" box. The system may ask you to confirm administrator rights—confirm this.

⚠️ Note: If you don't have administrator rights on your computer, the system won't allow you to remove the password mask. In this case, contact the device owner or use another recovery method.

The interfaces of Windows 10 and Windows 11 may differ slightly, but the search logic remains the same. In the new version of the OS, Microsoft is gradually moving settings to the Settings app, but the classic Control Panel is still available. If you can't find the item you need, try searching for it in the system. ncpa.cpl in the Run window (Win+R).

Recovering a key via the command line

For users who prefer to work with the console or can't find the necessary options in the graphical interface, the command line is an excellent solution. This method not only allows you to view the password for the current network but also lists all saved Wi-Fi profiles. This is especially useful if you need to find the password for a network the computer connected to in the past but is currently not connected to.

To get started, you need to run the command prompt as an administrator. This is a critical step, as without elevated privileges, the request for system data will be rejected. Enter cmd In Windows search, right-click on the result and select the appropriate menu item.

First, let's find out the exact name of the network profile by entering the command:

netsh wlan show profiles

In the "User Profiles" list, find your network name. Next, use the command to display the key, substituting the profile name:

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

In the command output, find the line "Key Content." This is where your password will be displayed in cleartext. This method is universal and works on most versions of Windows, starting with Windows 7.

What to do if the command doesn't work?

If the system reports "Access Denied," make sure you're running the console as an administrator. If the error is related to the profile name, check the spelling of the network name, including capitalization and spaces.

Using the command line provides more detailed information about connection parameters, including encryption type and channel. This can be useful when diagnosing problems with connection. If you frequently work with networks, save this command in a text file for quick access.

Finding the password in the router's web interface

If your computer isn't connected to Wi-Fi or you want to find the password for a new device, the most reliable way is to access the router's settings. This requires a LAN cable connection or an existing Wi-Fi connection. The web interface allows you to manage all network settings, including changing the password and access point name (SSID).

To access the admin panel, open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the default login and password (usually admin/admin), are located on a sticker on the bottom of the device. After entering the information, you will be taken to the control menu.

Menu navigation varies by manufacturer:

  • 🔹 TP-Link: "Wireless" section → "Wireless Security".
  • 🔹 D-Link: "Wi-Fi" section → "Security settings".
  • 🔹 ASUS: "Wireless Network" section → "General" tab.
  • 🔹 Keenetic: "My networks and Wi-Fi" → "Home network".

In the corresponding section, find the "Password," "PSK Key," or "WPA Pre-Shared Key" field. The current security key is displayed here. You can copy it or change it to a more complex one. Be sure to save your changes by clicking "Apply" or "Save" if you've made any changes.

Router brand Typical IP address Menu section Password field name
TP-Link 192.168.0.1 Wireless Security Wireless Password
D-Link 192.168.0.1 Wi-Fi / Security Settings PSK encryption key
ASUS 192.168.1.1 Wireless network WPA-PSK key
Zyxel 192.168.1.1 Network / Wireless Pre-Shared Key

Interfaces of modern routers such as Keenetic or MikroTik, may be more complex, but the principle remains the same: look for sections related to wireless communications (Wireless/WLAN). If the default password for logging into the router has been changed and forgotten, you will need to perform a factory reset.

Using the manufacturer's mobile app

Modern routers are often controlled via smartphones. Manufacturers offer dedicated apps that allow you to manage your network, guest access, and security settings. If you have such software installed, you can find out your password in a couple of clicks, without having to access your computer.

Popular apps such as TP-Link Tether, Huawei HiLink, MI Wi-Fi or Keenetic, provide convenient access to basic settings. After logging into the app (usually you'll need to set an administrator password during initial setup), go to the Wi-Fi settings section.

Benefits of using mobile apps:

  • 📱 Ability to manage the network from anywhere in the world (with a cloud service).
  • 📱 Simple interface adapted for touch screens.
  • 📱 QR code generation function for quickly connecting guests without entering a password.
  • 📱 Notifications about new device connections.

Some apps, such as the default Android or iOS settings, allow you to view the password for the network your phone is connected to using biometrics or a screen unlock PIN. On Android 10+ and iOS 16+, this feature is built into the system: tap the gear icon next to the network name and select "Share" or "QR code," which is often where the password is located.

⚠️ Note: App and operating system interfaces are constantly updated. Button layout may vary depending on your smartphone's software version or router model.

📊 What is your most common password recovery method?
Through Windows settings
Via the router's web interface
Using a mobile app
I'm resetting the router

Resetting the router to factory settings

If none of these methods work, or you don't know the password to access the router's admin panel, the only last resort is a hard reset. This will return the device to its out-of-the-box state, erasing all user settings, including the Wi-Fi password and ISP settings.

To perform a reset, find a small hole with the inscription on the router body Reset or RestoreIt's usually recessed into the housing to prevent accidental pressing. You'll need a thin object, such as a paperclip or toothpick.

The reset procedure looks like this:

  1. Connect the router to the network and wait for it to load.
  2. Press and hold the Reset button for 10-15 seconds.
  3. The lights on the front panel should flash or turn off, indicating a reboot.
  4. Release the button and wait for the device to turn on.

After this, the router will broadcast the network with the factory name (indicated on the sticker) and no password or the default password. You will need to reconfigure your internet connection (PPPoE, L2TP, or DHCP) and set a new security key. This method is effective, but requires time to reconfigure.

☑️ Checklist before resetting your router

Completed: 0 / 4

Common errors and problems during recovery

When searching for a password, users often encounter common problems. Understanding their causes will help avoid wasting time. One common mistake is trying to log into the router with the wrong IP address. If the standard 192.168.0.1 And 1.1 If they don't work, check the default gateway in the network connection properties.

Another issue is a profile name mismatch in the command line. If the network name contains spaces, they must be included, otherwise the command will return an error. It's also worth remembering that some corporate networks or ISP networks may block key viewing using OS tools.

The main reasons for failure:

  • ❌ Lack of administrator rights on the PC.
  • ❌ Unstable connection to the router when logging into the web interface.
  • ❌ Using an outdated browser that does not support modern router security protocols.
  • ❌ Physical damage to the Reset button or key sticking.

If you use antivirus software Third-party firewalls or other security software may be blocking access to local network settings. Try temporarily disabling the firewall to run diagnostics. Also, make sure the network driver is installed correctly and the device is working properly.

FAQ: Frequently Asked Questions

Is it possible to find out someone else's Wi-Fi password?

No, it's impossible to legally find out the password to your neighbors' closed network without their knowledge or access to their router. Hacking secure networks (WPA2/WPA3) is illegal. All the methods described only work for networks to which your device has previously connected or has administrative access.

What should I do if I forgot my router admin password?

If the default password (admin/admin) has been changed and forgotten, the only solution is to reset the router using the Reset button. This will restore the factory settings, but will require reconfiguring the internet connection. For security reasons, it is impossible to recover a changed password without resetting it.

Where can I view my password on a Mac (macOS)?

On macOS, open Keychain Access using Spotlight search. Find your network name in the list, double-click it, and check the "Show password" box. The system will ask for your Mac user account password to confirm.

Is it safe to store password on command line?

The command prompt doesn't permanently store passwords; it only displays them from Windows system files when prompted. However, command history may be retained. For security, clear the console history or avoid using commands with passwords in scripts accessible to other users.

Why is the password field greyed out and unavailable?

This means your account doesn't have administrator privileges. You'll need to log in as an administrator or ask the computer owner to enter the password for you.