Lost your Wi-Fi password: How to find it and restore access

A situation where it is suddenly discovered that I lost my Wi-Fi passwordIt happens quite often. You buy a new gadget, you have guests over, or your old laptop simply stops automatically connecting to the internet. At that moment, a request appears on the device's screen, leaving you stumped, as remembering a complex set of symbols invented long ago is practically impossible.

Fortunately, modern operating systems and network equipment offer several reliable solutions to this problem. You don't need to be a professional network administrator to restore access. All you need is one of the already connected devices or physical access to the router itself.

In this article, we'll cover all the current methods, from viewing saved keys in Windows to completely resetting your router. We'll cover the nuances of working with different operating systems and hardware models so you can choose the most appropriate option for your situation.

Finding a saved password in the Windows operating system

If you've previously connected a Windows laptop or computer to your wireless network, chances are high that the system has saved your credentials in its storage. The operating system carefully stores security keys for all networks you've ever connected to, ensuring automatic connections in the future. This is the easiest method and doesn't require any third-party software.

First, you need to open the Network Connections control panel. Press the key combination Win + R, enter the command ncpa.cpl and press Enter. In the window that opens, find your wireless connection icon, right-click it, and select "Status." Then, go to your wireless network properties.

In the new window, look for the "Security" tab. This is where the access code you're looking for is hidden. By default, it appears as a series of dots or asterisks. To see the actual characters, check the "Show entered characters" box. Then network security key will become visible and you will be able to copy it or write it down.

📊 What operating system do you use?
Windows 10
Windows 11
macOS
Linux
Other

It's worth noting that the interface may differ slightly in Windows 10 and 11, but the logic remains the same. If the standard Control Panel path seems complicated, you can use the command line. This method is especially useful if the graphical interface isn't working correctly or you prefer console commands.

Open Command Prompt as Administrator. Enter the command netsh wlan show profile name="Your_Network_Name" key=clearIn response, the system will display a detailed profile report, with your password listed in the "Key Content" field. This is a secure method that works even when the graphical interface is hidden.

⚠️ Attention: If your network isn't listed in the list of available profiles, your computer never connected automatically, or the profile was deleted. In this case, you'll need to find the password on another device or reset the router.

How to find out the password through the router settings

The most reliable source of information about your network is the router itself. All settings, including SSID (network name) and the encryption key are stored in its configuration file. To access it, you need to connect to the router using any convenient method: via Ethernet cable or Wi-Fi if another device already has access.

Open any browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1, however, the exact address is often indicated on a sticker on the bottom of the device. After entering the address, the system will ask for your username and password to access the admin panel. If you haven't changed them, try the default combinations, such as admin/admin.

After successful authorization, the web-based management interface will open. Interfaces vary from manufacturer to manufacturer (TP-Link, ASUS, D-Link, Keenetic) may look different, but the menu structure is generally similar. You need to find the section related to wireless networking. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN."

Within this section, look for the "Security" or "Security Settings" subsection. This is where the current password is located. It's often called "Wireless Network Password," "WPA/WPA2 Personal," or "Pre-Shared Key." You can view it in plain text or change it to a new one you'll definitely remember.

If you've previously changed your web interface password and forgotten it, you won't be able to view your current Wi-Fi password through your browser. In this situation, your only option is to perform a full reset of your device to factory settings.

Viewing the access key on Android and iOS smartphones

Modern mobile operating systems also allow you to manage saved networks. If I lost my Wi-Fi password., but your smartphone connects to the network automatically. You can find this information directly in your phone's settings. However, the process varies depending on the OS version and device manufacturer.

On devices with Android 10 and above (e.g. Samsung, Xiaomi, Pixel) The process is quite simple. Go to Wi-Fi settings, select the network you're connected to, and tap the gear icon or the network name. There should be a "Share" button or a QR code. Often, the password itself is written in small print below the QR code. If there's no text, you can scan the code with another phone—the link will contain the information you're looking for.

On iPhone, the situation is a bit more complicated due to Apple's security policies. iOS 16 and later introduces the long-awaited password viewer feature. Go to "Settings" → "Wi-Fi," tap the blue "i" icon next to your network name. In the "Password" field, tap the hidden dots, and after Face ID or Touch ID, you'll see the code. On older versions of iOS, you can't view the password using the built-in tools.

Some Android smartphone manufacturers such as Xiaomi or Huawei, may hide this feature in their shells or require a screen unlock PIN. Make sure your phone has permission to display system data, although root access is usually not required for this operation.

Using third-party programs and utilities

If Windows' built-in tools seem inconvenient, there are specialized utilities that can extract saved keys from the system registry. One of the most popular and secure programs is WirelessKeyView from NirSoft. It requires no installation and works immediately after launch.

The program scans the Windows wireless network database and displays a list of all networks ever connected. The table displays the network name (SSID), security type, and, most importantly, the key in both hex and ascii formats. This allows you to quickly find the password you need, even if you've accumulated dozens of them over the course of your computer use.

There are also more powerful security auditing tools such as Aircrack-ng, but they're designed for professionals and require special Wi-Fi adapters that support monitor mode. For the average user who simply forgot their password, such tools are overkill and difficult to set up.

Program Type Complexity Root/Admin required
WirelessKeyView View saved Low Yes (Admin)
WiFi Password Revealer View saved Low Yes (Admin)
RouterCheck Security check Average No
Aircrack-ng Audit and hacking High Yes
⚠️ Attention: Download password recovery programs only from the developers' official websites. Antivirus programs often react to utilities like "RiskWare" or "HackTool" because they access sensitive data. This is normal, but the source must be verified.

Resetting the router to factory settings

If none of the above methods work, or you don't have a single device that remembers the password, there's one last, radical option: a full factory reset of the router. After this procedure, the device will look as if you just bought it from the store.

On the body of every router there is a small hole, usually labeled as Reset or DefaultTo initiate a reset, plug the router into the network, locate the reset hole, and press it with a thin object (paperclip or toothpick) for 10-15 seconds. The indicators on the front panel should blink, indicating the reset process has begun.

After resetting, the router will create a new network with the name shown on the sticker (usually something like TP-Link_XXXX), and the password will either disappear (the network will become open) or become the default one (also shown on the sticker). You'll be able to connect to it and reconfigure your internet connection, setting a new, easy-to-remember password.

☑️ Checklist before resetting your router

Completed: 0 / 4

The main drawback of this method is the need to reconfigure your internet connection. If your provider uses MAC address binding or requires specific settings (VLAN, tagging), you'll have to enter these settings manually. Without a contract with your provider or knowledge of these settings, your internet connection may not work even after resetting your Wi-Fi password.

Prevention: How to Never Lose Passwords Again

So that the situation when I lost my Wi-Fi password., doesn't happen again, it's worth implementing simple rules of digital hygiene. The first and most reliable way is to use password managers. Programs like KeePass, Bitwarden or the built-in manager in the Chrome/Firefox browser stores all your keys in encrypted form.

The second method is physical recording. Get into the habit of writing down important data (Wi-Fi password, router admin panel, email) in a special notebook stored in a safe place. A paper copy is impossible to hack remotely and is not affected by battery drain or hard drive failure.

The third option is to create a QR code for your network. Many modern routers allow you to generate a QR code for guests directly in the interface. Print it out and stick it in a visible place, such as on the refrigerator or near the router. This will allow guests to connect by scanning, and you will always have a visual copy of the key.

Frequently Asked Questions (FAQ)

Is it possible to find out my neighbor's Wi-Fi password?

No, there are no legal ways to find out someone else's closed network password. All the methods described in this article only work for networks to which your device has previously connected or require physical access to the router. Attempting to hack someone else's network is illegal.

What should I do if my router doesn't have a reset button?

On some models, the reset button is combined with the power (WPS/Reset) button or is located inside a hole. Try holding the WPS button for 10-15 seconds. If this doesn't help, check the manufacturer's website for instructions for your specific model, as the procedure may vary.

Why does Windows say "Can't connect to this network"?

This may mean the password has been changed on the router, and the computer is attempting to use the old saved key. Solution: In Windows, find the network in the list of known networks, click "Forget," and then reconnect using the current password.

Does the password change when you flash the router?

When updating the firmware, the settings are usually preserved. However, when completely re-flashing the device with a third-party firmware (such as OpenWRT) or performing a factory reset, the password will be reset to the default or deleted.

Where can I find the password if I'm sharing Wi-Fi from my phone?

If you're sharing your internet connection from your phone (tethering), you can find the password in your hotspot settings. On Android: Settings → Connections → Mobile Hotspot → Setup. On iPhone: Settings → Cellular → Personal Hotspot.