How to Find Your WiFi Access Code: A Complete Recovery Guide

Many people are familiar with the situation of urgently needing to connect a new gadget to the network, but the password is irretrievably lost. In a rush, we often write down complex combinations on pieces of paper, which are then lost, or rely on memory, which fails at the most inopportune moment. Fortunately, modern operating systems and routers store this information in encrypted form, allowing the owner to restore access without complex manipulations.

Recovery security key This is possible on almost any device, as long as it's previously connected to the network or has physical access to the router's administrative panel. The process may vary depending on your hardware model and operating system version, but the basic principles remain the same across all platforms. It's important to understand that some actions require administrator privileges.

Below, we'll cover all possible methods in detail, from simple smartphone settings to using the command line. You'll learn how to find saved passwords on Windows, Android, iOS, and macOS, as well as how to extract data directly from the router interface if no devices are currently connected.

Finding a password in the Windows operating system

The Windows operating system automatically saves profiles of all networks you've ever connected to. This is the fastest way to find the code if you have a laptop or PC that already knows the network. First, open the Network Connections window from the Control Panel or System Settings.

In older versions of the interface the path may look like this Control Panel → Network and Internet → Network and Sharing CenterIn newer builds of Windows 10 and 11, it's more convenient to use the command line. Open Terminal as administrator and enter the following command to view all saved profiles:

netsh wlan show profiles
This command will list all networks ever registered on the computer.

Once you see the name of the network you want in the list, use the following command to display the password in clear text:

netsh wlan show profile name="NETWORK_NAME" key=clear
In the "Security settings" section, find the "Key Content" field. This is where the access code you're looking for will be displayed.

  • 🔍 Make sure you enter your profile name accurately, including spaces and capitalization.
  • 💻 Administrator privileges are required to run netsh commands.
  • 📝 If the network is not found, it means the computer has never connected to it.

An alternative graphical method is available through the Wi-Fi menu. Click the network icon in the system tray and select "Properties" for the desired network. In the window that opens, look for the "Copy" button next to the password field or the "Show characters" checkbox. This method only works for the active network you're currently connected to.

How to view your password on an Android smartphone

Android device owners can use the built-in QR code feature, which was introduced in version 10 and has become standard in newer firmware versions. To do this, go to Settings → Wi-Fi and select the network you are connected to, or click the gear icon next to it.

A QR code will appear on the screen to quickly connect guests. A text password is often displayed underneath or directly on the code. If the text is hidden by asterisks, take a screenshot and open the image in Google Lens or any other QR code scanner from your gallery. The system will recognize the text and display the password in this format: WIFI:S:MyNetwork;T:WPA;P:12345678;;, where P is your password.

⚠️ Attention: On some custom firmware versions (for example, older versions of MIUI or EMUI), the password viewing feature may be hidden. In this case, root access or logging into the router settings via a browser will be required.

If you have root rights, the password file is stored at the path /data/misc/wifi/wpa_supplicant.confHowever, for the average user, using a QR code is the most secure and simple method, requiring no third-party software.

📊 What version of Android are you using?
Android 10-11
Android 12-13
Android 14 and later
I have an iPhone

Restoring access to Apple devices (iOS and macOS)

Apple's ecosystem is notoriously closed, but it does offer ways to view saved passwords, especially after the iOS 16 and macOS Ventura updates. On iPhone and iPad, this information is synced via iCloud Keychain. To view the code, go to Settings → Wi-Fi, find the network you need and click on the blue information icon (the letter "i" in a circle).

In the menu that opens, tap the "Password" line, which will be hidden by dots. The system will ask you to complete biometric authentication (Face ID or Touch ID) or enter your device passcode. Once verified, the password will be displayed in text format and can be copied.

On Mac computers with macOS Ventura and later, the process is similar to the mobile one: open System Preferences → Wi-Fi, find the network, and click "Details" or the edit icon. In older versions of macOS, the password could be found through the Keychain Access app. To do this:

  • 🍎 Open Keychain Access via Spotlight (Cmd+Space).
  • 🔎 Enter the name of your Wi-Fi network in the search.
  • 👁️ Double-click on the found element and check the "Show password" box.

To confirm the action, macOS will require you to enter your user account password or fingerprint. This provides reliable protection against accidental viewing of saved data by unauthorized persons.

Accessing router settings via a browser

If no devices are connected to the network, or you want to change the password, you'll have to access the router's internals. To do this, you'll need to know the default gateway IP address. This is most often 192.168.0.1, 192.168.1.1 or 192.168.31.1The exact address, as well as the login and password for entry, are written on a sticker on the bottom of the device.

Enter the IP address into the address bar of any browser. A login window will appear. If you have never changed the factory settings, use the default login pair. admin and password admin (or empty field). After logging in, the interface may differ depending on the brand (TP-Link, ASUS, Keenetic, MikroTik), but the logic is the same.

Look for a section labeled "Wireless," "Wireless Mode," "Wi-Fi," or "WLAN." Within this section, there will be a subsection labeled "Security" or "WLAN Settings." This is where the current key is displayed in the "Wireless Password / PSK Password" field.

Router brand Typical IP Menu section Standard login
TP-Link 192.168.0.1 Wireless -> Wireless Security admin
ASUS 192.168.1.1 Wireless network admin
D-Link 192.168.0.1 Wi-Fi -> Security Settings admin
Keenetic 192.168.1.1 My Networks and Wi-Fi admin
Tenda 192.168.0.1 Wireless Settings admin

⚠️ Attention: Firmware interfaces are updated regularly. The menu item layout may differ from that described. If you can't find the section you need, consult the official manual for your router model on the manufacturer's website.

☑️ Check before logging into the router

Completed: 0 / 1

Using mobile apps from providers

Modern internet providers are actively introducing their own apps for managing home networks. If your router is provided by your operator (for example, Rostelecom, MGTS, Beeline) or you linked your device to your personal account, you can find out the password through your smartphone.

Apps like "My Rostelecom," "Home with a Camera," or "My Beeline" often have a "My Wi-Fi" section. It displays the network name and password, and also allows you to quickly change it. This is especially convenient because it eliminates the need to remember IP addresses or log into a web interface.

Accessing these features typically requires authorization using the contract number or mobile phone number linked to the account. This provides an additional level of security, as only the account owner has access to network settings.

Resetting your router as a last resort

If you've changed your router settings password and forgotten it, or you don't remember your Wi-Fi password, your only option is a hard reset. This will restore the device to factory settings, and all settings, including the Wi-Fi password, will be restored to the values ​​indicated on the sticker on the device.

To perform a reset, locate the button on the back panel Reset or WPS/ResetIt's often recessed into the housing to prevent accidental pressing. You'll need a thin object, such as a paperclip or a needle. Press and hold the button for 10-15 seconds until the router's indicator lights flash simultaneously.

After rebooting, the network name will be as indicated on the label (e.g., TP-Link_XXXX), and the password will also be the factory default. However, keep in mind that you will have to reconfigure your internet connection (PPPoE, L2TP, or dynamic IP) if your ISP doesn't use automatic configuration.

What happens if I reset the settings?

All your personal settings will be erased. This includes your Wi-Fi network name, password, port settings, parental controls, and MAC address binding. The router will be like new out of the box. Make sure you have your internet setup information from your provider before resetting.

Frequently Asked Questions (FAQ)

Is it possible to find out a Wi-Fi password if I have never connected to that network?

Without physical access to the router or devices already connected to the network, it's impossible to find the password. WPA2/WPA3 encryption protocols reliably protect data transmission. The only option is to find the sticker on the router itself, unless the password has been changed by the owner.

Where can I find the password if the sticker on my router has worn off?

If the sticker is unreadable, try standard combinations: admin/admin, 1234, passwordYou can also try connecting via a LAN cable—some routers allow access to the web interface without a password if the connection is wired. As a last resort, resetting the settings may help.

Is it safe to use Wi-Fi hacking software?

Most of these open-source programs contain viruses or are just dummy programs. Using someone else's Wi-Fi without the owner's permission is illegal. Legal methods for restoring access are described in this article and do not require hacking software.

Why does Windows say "Cannot display password"?

This happens if your account doesn't have administrator rights or the profile file is corrupted. Try running the command prompt as an administrator or logging in with an account with full privileges.

Restoring access to your wireless network is a solvable task if you follow a consistent approach. Start by checking your connected devices, then try accessing your router settings, and only as a last resort should you try resetting it. Knowing these methods will save you time and frustration in the future.