How to find your Wi-Fi security key: all the methods for your PC, phone, and router

A Wi-Fi security key is the password that protects your home or office network from unauthorized access. It's easy to forget, especially if you've been connected to the network for a long time and your devices automatically save your login information. But what if you need to connect a new device and don't know the password? In this article, we'll cover it. all possible ways Find out your Wi-Fi security key—from viewing it on the router itself to extracting it from the operating system settings.

It is important to understand that the term "security key" can refer to different types of protection: WPA2-PSK, WPA3-SAE or outdated WEPModern networks most often use WPA2/3, and it's this password that we'll be looking for. If you're unsure of your network's encryption type, you can check it in your router settings—we'll cover that below.

Before proceeding with the instructions, check the simplest options: perhaps the password is written on the router sticker (usually under the inscription Wi-Fi Password or Network Key), saved in your phone's notepad or sent to you by email when your internet provider installed it. If all else fails, read on.

1. How to find your Wi-Fi security key on Windows 10/11

If your computer or laptop is already connected to the network, you can retrieve the saved password through the system settings. This method works on Windows 10 And Windows 11 without additional programs.

Instructions:

  • 🖥️ Open Control Panel (click Win + R, enter control and press Enter).
  • 🔍 Go to the section Network and Internet → Network and Sharing Center.
  • 📡 Click on the name of your Wi-Fi network (next to the inscription Connections).
  • 🔐 In the window that opens, select Wireless network properties, then go to the tab Security.
  • 👁️ Check the box Show entered characters — in the field Network security key a password will appear.

If you have Windows 7, the path will be similar, but the window design may differ slightly. In some Windows builds (especially enterprise versions), access to this section may be restricted by the administrator—in this case, you will need permissions. Local Admin.

⚠️ Attention: If the password field is empty or gray, this means that the connection was configured through third-party software (for example, Intel PROSet or Dell Wireless Utility). In this case, try other methods.

Your PC is connected to the desired Wi-Fi network|You have administrator rights|Your computer is not using a VPN or proxy|This is not a guest network (no access to settings)-->

2. Extracting the password via the command line (CMD)

For experienced users or those who prefer to work with the console, there is a way to find out the security key through command lineThis method is universal and works even if the Windows graphical interface is damaged.

Follow these steps:

  1. Open CMD as administrator (click Win + XTerminal (administrator)).
  2. Enter the command to view all saved networks:
    netsh wlan show profiles

    Remember the exact name of your network (case is important!).

  3. Display details of a specific network by replacing NETWORK_NAME on its name:
    netsh wlan show profile name="NETWORK_NAME" key=clear
  4. Find the line Key content - this is your password.

If the command returns an error The operation failed., check:

  • 🔌 Are you connected to the network (not via Ethernet!).
  • 🛡️ Is the command prompt running with administrator rights?
  • 📛 Is the network name spelled correctly (including spaces and symbols).
netsh wlan export profile name="NETWORK_NAME" folder="C:\WiFi_Passwords"

File with extension .xml will contain the key in clear text.-->

3. How to view the security key on MacOS

On computers Apple The process of extracting the password is a bit more complicated, but it is also possible to do it without third-party utilities. You will need access to Connected Keychain — built-in macOS password manager.

Step-by-step instructions:

  • 🍎 Open Programs → Utilities → Keychain (or find via Spotlight upon request Keychain Access).
  • 🔍 Enter the name of your Wi-Fi network in the search bar.
  • 📋 Double-click on the found entry and check the box Show password.
  • 🔑 Enter your account password Macto confirm access.

If the keychain did not store the password (for example, the network was connected via Terminal), try an alternative method:

  1. Open Terminal.
  2. Enter the command:
    security find-generic-password -wa "NETWORK_NAME"

    Replace NETWORK_NAME to your Wi-Fi SSID.

⚠️ Note: On macOS Ventura and newer, Apple has tightened its security policy. If the password is not displayed, you may need to reset the network settings in System Preferences → Network.

4. Find out the Wi-Fi password on Android (without rooting)

On smartphones running Android The situation is more complicated: by default, the system does not display saved Wi-Fi passwords for security reasons. However, there are workarounds that do not require root rights.

Method 1: Through the router settings (if you have access)

  • 📱 Connect to the Wi-Fi network whose password you need to know.
  • 🌐 Open your browser and enter the router's IP address (usually 192.168.0.1 or 192.168.1.1).
  • 🔓 Enter your login/password for the admin panel (by default it is often admin/admin).
  • 📡 Go to the section Wireless → Security (names may differ).

Method 2: Using a file manager (only for some firmware versions)

On devices with Android 10+ and custom firmware (for example, LineageOS) you can try to find the file with passwords along the path:

/data/misc/wifi/WifiConfigStore.xml

But for this you need root or ADB access with superuser rights.

What to do if there is no access to the router?

If you can't access your router's settings (for example, you've forgotten its password), you have two options:

1. Reset the router to factory settings using the button Reset (the Wi-Fi password will be reset to the default one indicated on the sticker).

2. Use specialized applications like WiFi Password Viewer (requires root).

5. View the security key on the router

The most secure way is to access your router's web interface and view (or change) the password directly. These instructions apply to most models: TP-Link, ASUS, Keenetic, Zyxel, MikroTik and others.

General algorithm:

  1. Connect to the router via cable or Wi-Fi.
  2. Open your browser and enter your device's IP address (see table below).
  3. Log in (login/password are usually indicated on the router sticker).
  4. Go to the wireless network settings section (names may vary).
  5. Find the field Wireless Password, Network Key or PSK Password.
Manufacturer Default IP address Login/Password Wi-Fi password section
TP-Link 192.168.0.1 or tplinkwifi.net admin/admin Wireless → Wireless Security
ASUS 192.168.1.1 or router.asus.com admin/admin Wireless → General
Keenetic 192.168.1.1 or my.keenetic.net Indicated on the sticker Wi-Fi → Hotspot
Zyxel 192.168.1.1 admin/1234 Network → Wi-Fi → Security
⚠️ Note: If you have changed the default IP address of your router or disabled DHCP, connect to it via cable and use the command ipconfig (Windows) or ifconfig (macOS/Linux) to find out the current Default Gateway.

TP-Link|ASUS|Keenetic|Zyxel|D-Link|Other-->

6. Alternative methods: via Linux, iOS and specialized programs

If you have a device on Linux (For example, Ubuntu or Kali Linux), the password can be retrieved through the terminal. Use the command:

sudo cat /etc/NetworkManager/system-connections/NETWORKNAME.nmconnection | grep psk=

The password will be specified after psk= (possibly in encrypted form).

On iPhone or iPad View your Wi-Fi password using standard tools impossible without jailbreakApple deliberately blocks this feature for security reasons. The only way out is to access the router settings from another device or reset the network.

For advanced users, there are programs like:

  • 🖥️ WirelessKeyView (Windows) - Shows all saved passwords.
  • 📱 WiFi Password Recovery (Android, requires root).
  • 🍎 Keychain Access (macOS, built-in utility).

7. What to do if none of the methods work?

If you've tried all the methods and still can't find the security key, there are some drastic measures left:

  1. Resetting the router to factory settings:
    • 🔄 Press and hold the button Reset on the router 10-15 seconds.
    • 📋 The password will be reset to the default (indicated on the sticker).
    • ⚠️ All settings, including PPPoE (login/password from the provider) will also be reset!
  2. Contact your provider:
    • 📞 Call your internet provider's support team.
    • 📄 Provide your contract details - they can reset your password remotely.
  • Use WPS (if supported):
    • 🔄 Click the button WPS on the router, then connect the device without entering a password.
    • ⚠️ This method only works if WPS is not disabled in the settings.
    • If the router is rented from a provider (for example, Rostelecom or Beeline), resetting the settings may impair its operation. In this case, it's best to contact technical support.

      FAQ: Frequently asked questions about Wi-Fi security keys

      Is it possible to find out the password for a Wi-Fi connection I've previously connected to but am currently offline?

      Yes, if the device has saved network data. Windows use the command netsh wlan show profiles, on MacKeychain AccessOn . Android Without root this is impossible.

      I reset my router, but the default password on the sticker doesn't work. What should I do?

      Your ISP may have changed the factory settings. Try this:

      1. Connect via cable and log into the admin panel via IP 192.168.0.1 or 192.168.1.1.
      2. Use the login/password from the contract with the provider (sometimes it differs from the standard one).
      3. Contact support for new login details.
    How to protect your Wi-Fi from hacking after resetting your password?

    After access is restored:

    • 🔒 Change the default router administrator password.
    • 🔄 Set a complex security key (at least 12 characters, with numbers and special characters).
    • 🛡️ Turn it off WPS and outdated WEP in the settings.
    • 📡 Hide network SSID (optional) Hide SSID) - this does not protect against hacking, but it reduces visibility for random users.
    Is it possible to find out someone else's Wi-Fi password?

    Technically yes, but that's illegallyUnauthorized access to other people's networks is considered a violation. Article 272 of the Criminal Code of the Russian Federation ("Unauthorized access to computer information"). Use only legal methods, such as asking the network owner for the password.

    Why doesn't my router save the new password after changing it?

    Possible reasons:

    • 🔄 Firmware failure - try updating your router software.
    • 📛 ISP restrictions - some operators block changes to Wi-Fi settings.
    • 🛠️ Device memory failure - router replacement required.
    • Check if other settings (such as the network name) are saved. If not, contact the service center.