How to find out the password for the Wi-Fi you're connected to automatically

Many people are familiar with the situation where they need to connect a new device to their home network but have completely forgotten the password. Fortunately, a computer or smartphone that has previously logged into the network remembers this data and stores it securely. Restoring access to the security key doesn't require complex hacking tools or reinstalling the operating system.

In modern operating systems such as Windows 10 or Windows 11, as well as the iOS and Android mobile ecosystems, have built-in tools for viewing saved credentials. You don't need to be a system administrator to perform this procedure. Simply gain access to the relevant sections of your device's settings and follow the step-by-step instructions.

In this article, we'll take a detailed look at password recovery methods across various platforms. We'll cover both standard graphical interfaces and the command line for advanced users. We'll also cover data storage security and answer frequently asked questions about wireless network security.

Viewing your Wi-Fi password in Windows 10 and 11

The Windows operating system stores profiles of all networks your computer has ever connected to. Even if you're not currently active on a network, if you've connected successfully in the past, the security data will be retained. WPA2-Personal or WPA3 are stored in the registry. The easiest way to find out the password is to use the graphical interface "Settings" or the classic "Control Panel."

To get started, open the Start menu and select Settings (the gear icon). Go to Network & Internet, then select Status or Advanced network settings. In newer versions of Windows 11, the path may look like this: Settings → Network & Internet → Advanced network settings → Advanced sharing settingsHowever, to view the password for a specific connection, it's easier to use the classic method via the Network and Sharing Center.

⚠️ Attention: To view passwords, your account must have administrator privileges. If you're working on a corporate computer, your organization's security policies may block access to these settings.

An alternative and faster way in Windows 10/11 is to use the context menu. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Open network and Internet settings." Next, find the "Network and Sharing Center" link (in Windows 11, it may be hidden under "Advanced network settings"). In the window that opens, click the name of your active wireless network (blue text with a signal icon).

In the "Status" window that appears, click "Wireless Network Properties." Go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default. Check the "Show characters" box, and password will become visible in plain text. This method works reliably for most home routers.

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

Using the command line to recover the key

For those who prefer to work with the console or cannot find the necessary items in the menu, there is a powerful tool - the command line (cmd) or PowerShell. Method using the utility netsh Allows you to display all saved profiles and their passwords in plain text. This is especially useful if the graphical interface is not working correctly.

Run the command prompt as administrator. To do this, click Win + X and select "Windows Terminal (Administrator)" or search for "cmd," right-click, and select "Run as administrator." First, you need to know the exact network profile name. Enter the command:

netsh wlan show profiles

Find your network name (SSID) in the list. If the network name is, for example, "HomeWiFi," enter the following command to display the password:

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

Please note that the network name must be enclosed in quotation marks if it contains spaces. In the command output, find the "Security settings" section. The "Key Content" line will contain the password you are looking for in cleartext. This method is universal and works even on limited versions of Windows.

☑️ Check before entering commands

Completed: 0 / 4

Using the command line provides more detailed information about the encryption type and protocol version. You can see whether 802.1x for corporate networks or regular Pre-Shared Key for home. It also displays information about whether the password was entered manually or received automatically.

How to find out the password on Android smartphones and tablets

For owners of devices based on Android I was luckier than anyone else. Starting with Android 10, the system allows you to not only connect to the network via QR code but also view the saved password. Previously, this required permissions. Root, but now the function is built into the standard settings interface.

The process of viewing is extremely simple. Open "Settings," go to "Connections" or "Network & Internet," then select "Wi-Fi." You'll see a list of available networks and the currently connected network. Click the gear icon next to your network's name or simply tap it to expand the menu.

In the menu that opens, find the "Share" or "QR code" button. On some models (Samsung, Xiaomi, HuaweiThe interface may differ, but the logic is the same. After tapping, the system will ask you to confirm your identity via fingerprint, Face ID, or PIN. Upon successful authentication, a QR code will appear on the screen for guest access.

  • 📱 The password itself is often written in small print under the main QR code.
  • 📸 If the text is not visible, take a screenshot of the screen with the QR code.
  • 🔍 Open the screenshot using Google Lens or any QR reader, and it will show a text string with the password.

⚠️ Attention: On some custom skins (MIUI, OneUI), the password may be hidden. In this case, use the "Share Wi-Fi" feature with another Android device that is already connected to the same network—the password may be revealed during the profile transfer process.

For older versions of Android (below 10), which lack this built-in functionality, the only legal way is to access the router settings through a browser if you have access to the web interface. Third-party apps from the Play Market that promise to reveal passwords without root access are often scams and collect user data.

Password recovery on iPhone and iPad (iOS)

Ecosystem Apple iOS has traditionally been strict about security, but it does offer ways to manage saved passwords. Starting with iOS 16, users can now view Wi-Fi network passwords directly in their device's settings. On older versions of iOS, this can be done through iCloud Keychain on a Mac.

If you have the latest iOS, here's how to do it: Open "Settings" and go to "Wi-Fi." Find the network you need to find the password for and tap the blue information icon (the letter i in a circle) to the right of the name. The "Password" line will display dots.

Tap the password field. The system will require biometric authentication (Face ID or Touch ID) or the device passcode. Once confirmed, the dots will turn into readable text. You can also copy the password to the clipboard by tapping "Copy."

For macOS users, the process is similar, but it's done through Keychain Access. Enter the network name in the app's search, double-click it, check "Show password," and enter your Mac account password. This works thanks to iCloud Keychain syncing.

Login to the router's web interface

If none of your devices remember the password (or you want to change it on all devices at once), you can access the router's settings. To do this, connect to the network using any method (for example, via a LAN cable or if the device hasn't yet disconnected from Wi-Fi) and enter the gateway IP address in your browser.

Standard login addresses: 192.168.0.1, 192.168.1.1 or 192.168.31.1The exact address, as well as the login and password for accessing the admin panel (not to be confused with the Wi-Fi password), are usually written on a sticker on the bottom of the router. Popular brands use pairs admin/admin or admin/password.

Once you enter the interface (which may look like this, TP-Link, ASUS, D-Link, Keenetic) You need to find the "Wireless," "Wireless Network," or "Wi-Fi" section. Under the "Security" or "Security Settings" subsections, you'll see a field labeled "PSK Password," "WPA Pre-Shared Key," or "Password." You can view it here and even change it to a more complex one.

Router brand Standard IP Menu section Password field name
TP-Link 192.168.0.1 Wireless → Wireless Security Wireless Password
ASUS 192.168.1.1 Wireless Network → WPS WPA Pre-Shared 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 Password

Router interfaces are constantly being updated. If you can't find the tab you need, look for sections labeled "WLAN," "Security," or "Basic." Modern models with support Mesh systems Settings can be synchronized via the cloud, and it is more convenient to change the password through the manufacturer's mobile app.

What should I do if the router admin password has been changed and is unknown?

If the default web interface password (admin/admin) doesn't work and has been changed previously, the only way to gain access is to reset the router to factory settings. To do this, locate the Reset button on the router and press it with a paperclip for 10-15 seconds while the router is powered on. This will reset the router to its factory settings, but all your internet settings will be lost.

Wireless Network Security and Protection

Knowing how to easily view a saved password highlights the importance of physical device security. If someone gains access to your unlocked smartphone or PC, they can instantly discover your network password and connect to it, or even intercept traffic (with the right skills and software).

Use modern encryption standards. Protocol WEP hacked in minutes, WPA is also considered obsolete. It is recommended to use WPA2-AES or, if the equipment allows, WPA3Avoid using simple passwords like "12345678" or your date of birth.

  • 🔒 Change your Wi-Fi password regularly, especially if you have guests.
  • 🚫 Disable the WPS function, as it is a vulnerability in many routers.
  • 👥 Create a guest network for visitors to avoid accessing your main home network.

It's also worth updating your router's firmware. Manufacturers regularly release patches to fix security holes. Automatic updates are the best strategy, but you should check for them in the device settings.

Frequently Asked Questions (FAQ)

Is it possible to find out my neighbor's Wi-Fi password if I'm connected to his network?

Technically, if you're connected to the network and have physical access to the device with administrator rights (or it's your device), you can view the saved password using the methods described above. However, using someone else's network without the owner's permission is a violation of computer security laws in many countries.

Where can I find a QR code to connect to Wi-Fi on my router?

The quick connection QR code is usually found on a factory sticker on the bottom or back of the router. The default SSID and password are also listed there. If the sticker has worn off, the QR code is often generated in the router's web interface under the basic wireless network settings.

Why does Windows say "cannot display password"?

This happens if your account doesn't have administrator rights. The error can also occur if the network profile is corrupted. In this case, try deleting the network (forgetting the network) and reconnecting by entering the password manually, or use the command prompt as an administrator.

Will the command line method work on Windows XP or 7?

Yes, it is a utility. netsh has been present in Windows since XP SP2. The command syntax may differ slightly, but the operating principle (show profiles / key=clear) remains valid for older operating systems.