How to view your Wi-Fi password on a laptop: all the methods for Windows, Mac, and Linux

Introduction: Why Your Laptop Remembers Your Password, But You Don't

Have you ever encountered a situation where a guest asks to connect to your Wi-Fi, and you suddenly realize you don't remember the password? Or have you reset your phone and your saved networks disappear? This is a classic problem: The router stores the password in encrypted form., the laptop connects automatically, and the user forgets it. Fortunately, the operating system stores all connections—and they can be removed.

In this article we will look at 7 proven methodsHow to find out your laptop's Wi-Fi password—from standard Windows tools to the command line and third-party utilities. You'll learn how to do this on Windows 10/11, macOS And Linux, as well as what security measures should be taken to avoid revealing your password to scammers. Important: If you are not a device administrator, some methods may not work due to access rights restrictions.

Before you begin, make sure your laptop is already connected to the target network (or connected to it previously). If the network isn't in the list of saved networks, you'll have to reset the router or find the password on another device.

📊 What OS do you use on your laptop?
Windows 10/11
macOS
Linux
Don't know

🔍 Method 1: Via Windows Settings (the easiest)

If you use Windows 10 or Windows 11This method will take you no more than a minute. It doesn't require administrator rights and works for all saved networks.

Instructions:

  • 🖱️ Open Start → Settings → Network & Internet.
  • 📡 Select a tab Wi-FiManaging known networks.
  • 🔍 Find the desired network in the list and click on it.
  • 👁️ Click Properties → scroll to the field Network password.
  • 🔓 A button will appear next to it Show - click it (you may need to enter your Windows account password).

Done! The password will appear in the text field. This method also works for hidden networks (if the laptop was connected to one).

Connect your laptop to a Wi-Fi network (or make sure it has been connected before)

Log in with an account with administrator rights (if required)

Open Settings from Start, not Search (avoid fake apps)

-->

⚠️ Attention: If the button Show If the password is inactive, your account doesn't have permission to view passwords. Try logging in as an administrator or using alternative methods.

💻 Method 2: Command Line (for advanced users)

Command line (CMD) allows you to get the Wi-Fi password without a graphical interface. This is useful if Windows is malfunctioning or you prefer text commands.

Step-by-step instructions:

  1. Launch Command line as administrator (click Win + XTerminal (Administrator)).
  2. Enter the command to view all saved networks:
    netsh wlan show profiles
  3. Find the desired network in the list (for example, MyWiFi_5G) and copy its name.
  4. Enter the command to extract the password (replace NETWORK_NAME to real):
    netsh wlan show profile name="NETWORK_NAME" key=clear
  5. Find the line in the results Key content - this is the password.

This method works on all versions of Windows starting from VistaIf the command returns an error Access denied, run CMD on behalf of the administrator.

What to do if the command doesn't work?

If netsh gives an error, try:

1. Check the network name for spaces or special characters (use quotation marks).

2. Restart your laptop and try again.

3. Restore system files with the command sfc /scannow.

🍎 How to find the Wi-Fi password on a MacBook

On laptops Apple The process is a little different, but no less simple. macOS stores all passwords in a bunch of keys — secure storage accessible through standard tools.

Instructions for macOS Ventura and newer:

  • 🔍 Open Spotlight (⌘ + Space) and enter Bunch of keys.
  • 🔐 In the left menu, select SystemPasswords.
  • 📡 Enter the name of your Wi-Fi network in the search bar.
  • 👁️ Double-click the network → check the box Show password.
  • 🔑 Enter your Mac account password (if prompted).

On older versions (macOS Monterey and below) the path may differ slightly: instead of System select Local elementsIf the keychain is damaged, the password can be retrieved through Terminal command:

security find-generic-password -wa "NETWORK_NAME"
⚠️ Note: On corporate MacBooks with FileVault or MDM Access to passwords may be blocked by company security policies.

🐧 Finding the Wi-Fi password on Linux (Ubuntu, Mint, Fedora)

In Linux distributions, passwords are stored in configuration files. NetworkManager or wpa_supplicantThe method depends on which network manager is used on your system.

Method 1: Via a graphical interface (GNOME, KDE)

  • 🖱️ Open Settings → Wi-Fi.
  • 🔍 Find your network in the list and click on the ⚙️ icon (settings).
  • 🔓 Go to the tab Security → check the box Show password.

Method 2: Via Terminal (Universal)

  1. Open Terminal (Ctrl + Alt + T).
  2. Enter the command to view all saved networks:
    sudo grep psk= /etc/NetworkManager/system-connections/*
  3. In the results, find the line with psk= - after the sign = there will be a password.

If used wpa_supplicant (for example, on Arch Linux), the password is stored in a file /etc/wpa_supplicant/wpa_supplicant.confOpen it with the command:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Distribution Network Manager Path to password
Ubuntu, Mint NetworkManager /etc/NetworkManager/system-connections/
Fedora NetworkManager /etc/NetworkManager/system-connections/
Debian wpa_supplicant /etc/wpa_supplicant/wpa_supplicant.conf
Arch Linux Depends on configuration /etc/netctl/ or /etc/wpa_supplicant/

🔧 Method 5: Third-party programs (if nothing else works)

If standard methods don't work, you can use specialized utilities. They're handy when you need to save all passwords to a file or restore network access after resetting Windows.

Popular programs:

  • 🛡️ WirelessKeyView (from NirSoft) - shows all saved Wi-Fi passwords, works without installation.
  • 🔍 WiFi Password Revealer - simple interface, export passwords to .txt.
  • 📡 Magical Jelly Bean WiFi Password Revealer - supports Windows 7-11.

How to use WirelessKeyView:

  1. Download the program from NirSoft official website (avoid third party sources!).
  2. Unzip the archive and run WirelessKeyView.exe (admin rights are not required).
  3. Find your network in the table - the password will be in the column Key (Ascii).
  4. Export data via if necessary File → Save All Items.
⚠️ Warning: Download programs only from official websites. Many "Wi-Fi hackers" online contain viruses or spyware.

🔄 What should I do if my password hasn't been saved?

There are situations when the laptop does not remember the password (for example, after a system reset or connection via WPS). In this case, there are several alternatives:

  • 📱 View the password on another device (phone, tablet) that is connected to this network.
  • 🖧 Turn the router over and check the sticker - sometimes the password is indicated on the case (especially for providers like Rostelecom or Beeline).
  • 🔧 Log in to your router's control panel (usually at 192.168.1.1 or 192.168.0.1) and look at the password in the settings Wireless.
  • 🔄 Reset your router to factory settings (button Reset on the back panel) - after this, the network will be called as on the sticker, and the password will become the default.

If you rent a router from a provider, don't reset it unless necessary This could disrupt your internet connection settings. It's best to call support and ask them to remind you of your password.

🛡️ Security: How to protect your password from being compromised

Knowing your Wi-Fi password gives you complete control over your network. Therefore, it's important to take precautions:

  • 🚫 Never share your password in public chats or on social networks (even in "closed" groups).
  • 🔄 Change your Wi-Fi password regularly (every 3-6 months) through your router's control panel.
  • 🛡️ Use complex passwords (at least 12 characters with numbers, letters, and special characters). An example of a good password: Tr0p!c@l_5umm3r_2026.
  • 📵 Turn off WPS in the router settings - this protocol is vulnerable to hacking.
  • 👤 Set up guest network for visitors - it restricts access to your devices on the local network.

If you suspect that someone else has connected to your network, check the list of devices in the router control panel (section DHCP Clients or Connected devices). Strangers MAC addresses — a reason to change the password.

⚠️ Warning: Some viruses can steal Wi-Fi passwords and send them to attackers. Regularly scan your laptop with an antivirus (e.g. Kaspersky or Bitdefender).

❓ FAQ: answers to frequently asked questions

Is it possible to find out the password for a Wi-Fi network that the laptop has never connected to?

No. The laptop only stores passwords for networks it's connected to previously. If the network isn't in the list of saved networks, you'll have to find the password on another device or reset the router.

Why is there no "Show password" button in Windows Settings?

This may mean that:

  • You are logged in as guest account (requires administrator rights).
  • Password saved in system profile (try command line).
  • The network was connected via WPS or Wi-Fi Direct (password is not saved).
How do I find the Wi-Fi password on a Windows 7 laptop?

IN Windows 7 the path is a little different:

  1. Open Control Panel → Network and Sharing Center.
  2. Click on the name of your network → Wireless network properties.
  3. Go to the tab Security and check the box Show entered characters.

If this method doesn't work, use command line (method 2 from this article).

Is it possible to find out the password from my neighbors if my laptop hasn't connected to their network?

No, it is not possible legally. All methods in this article only work for networks to which your laptop has previously connected. Attempting to hack into other people's networks is illegal (Article 272 of the Russian Criminal Code - "Unauthorized access to computer information").

What should I do if I forgot my router password to access the settings?

If you have forgotten your login details for your router control panel (admin/admin, 1234 etc.), there are two options:

  1. Look at the standard logins/passwords on the router sticker (usually admin/password).
  2. Reset the router to factory settings using the button Reset (Hold for 10-15 seconds). After reset, use the data from the sticker.

Please note that resetting will delete all settings including Wi-Fi password, ports, IPTV etc.