Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Find Wi-Fi Password on Computer: Step-by-Step Guide

· 7 min read · Home Networking

In this article
  1. Background: Why You Might Need the Password
  2. How It Works: Where Passwords Are Stored
  3. How to Find the Password on Windows
  4. How to Find the Password on macOS
  5. Common Problems and Fixes
  6. Security Considerations and Best Practices
  7. Alternative Methods: When Built-In Tools Don’t Work
  8. How to Change the Password Safely
  9. Frequently Asked Questions

To find a saved Wi-Fi password on your computer, open Windows Settings or macOS System Settings, navigate to your current network’s properties, and view the password using administrative credentials. This works for networks you’ve previously connected to and is the safest, most reliable method—no extra tools required.

Background: Why You Might Need the Password

People often forget or misplace their Wi-Fi passwords for legitimate reasons: a router reset, a new device setup, or helping a guest connect. Sometimes, the printed label on the router is faded or missing. In corporate or multi-user homes, multiple people may need access without sharing the original setup credentials repeatedly. Importantly, Windows and macOS store network profiles—including the pre-shared key (PSK)—locally in encrypted form, and the operating systems provide built-in ways to retrieve them without exposing you to security risks or requiring external software. This is especially useful when the network name (SSID) is known but the password is not, or when reconfiguring a new device that doesn’t retain the network history.

How It Works: Where Passwords Are Stored

On Windows, Wi-Fi credentials are saved in the WLAN Service as part of the WLAN Profile for each network. These profiles are stored in an encrypted XML format under %ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{GUID}, but the encryption key is tied to your user account. As long as you’re logged in with the same account that originally connected, Windows lets you export or view the password. On macOS, passwords are stored in the Keychain—specifically, in the System keychain under the Wi-Fi category. Each saved network appears as an Internet Password entry with the SSID as the account name. Access requires your macOS login password (or Touch ID/Face ID) to unlock the keychain temporarily. Neither system stores passwords in plain text on disk; retrieval requires authentication via your user credentials. This prevents unauthorized access even if someone gains physical control of the device.

How to Find the Password on Windows

To retrieve a Wi-Fi password on Windows 10 or 11:
  1. Press Win + R, type cmd, and press Enter to open Command Prompt.
  2. Run the following command, replacing "NetworkName" with the exact SSID (case-sensitive): netsh wlan show profile name="NetworkName" key=clear
  3. Scroll down to the Security Settings section and locate Key Content. The value next to it is your Wi-Fi password.
Alternatively, using Settings:
  1. Go to Settings > Network & Internet > Wi-Fi.
  2. Click Manage known networks.
  3. Select the network, then click Properties.
  4. Under Security, toggle Show characters to reveal the password.
Note: The second method works only if the network is still listed (i.e., not manually deleted). You must be logged in as an administrator to view the password.

How to Find the Password on macOS

On macOS Ventura (13) and later (including Sonoma and Sequoia):
  1. Open System Settings (or System Preferences on older versions).
  2. Go to Network, select Wi-Fi, and click the Advanced… button.
  3. Switch to the Wi-Fi tab and find your network in the list.
  4. Click the •••••••• (password field) to reveal it, then enter your macOS login password when prompted.
Or use Keychain Access for full control:
  1. Open Applications > Utilities > Keychain Access.
  2. In the left sidebar, select System under Keychains and System under Category.
  3. Search for the network name (SSID).
  4. Double-click the entry, check Show password, and authenticate with your macOS password.
Important: The Keychain Access method works even if the network isn’t currently connected or has been forgotten—so long as it was saved previously.

Common Problems and Fixes

  • Password shows as asterisks — In Windows Settings, ensure you’re signed in as an administrator. In macOS, double-check that you’re viewing the System keychain, not the login keychain.
  • "Profile not found" error — The SSID may contain special characters or spaces. Enclose it in quotes in the netsh command, or verify spelling exactly as it appears in your saved networks.
  • Keychain Access shows no results — Make sure you’re searching for the SSID, not the location or BSSID. Also, try clearing the search field and filtering by Kind: Internet Password.
  • Password doesn’t work after retrieval — You may have copied extra spaces or invisible characters. Retype the password manually or paste into a plain-text editor first to inspect it.

Security Considerations and Best Practices

Viewing your own Wi-Fi password is safe when done through official OS tools, but never share the password or screenshots of it publicly. If you retrieve a password you didn’t set, investigate whether your device has been compromised—especially if unfamiliar networks appear in your saved list. Regularly audit your saved networks:
  • On Windows: Delete old or unknown profiles via Settings > Network & Internet > Wi-Fi > Manage known networks.
  • On macOS: Remove entries in Keychain Access by selecting them and pressing Delete.
Also, avoid using netsh export profile to save XML files unless necessary—these files contain the password in base64-encoded form and could be misused if stolen. If sharing a network, use a guest network feature on your router instead of sharing the main password.

Alternative Methods: When Built-In Tools Don’t Work

If you’re locked out of your user account or the network profile is corrupted:
  • Router admin page — Connect via Ethernet, open a browser to 192.168.1.1 or 192.168.0.1, log in (default credentials are often on the router label), and check Wireless > Security for the current PSK. Note: Many modern routers (e.g., Google Nest, Eero) hide the password entirely and require a factory reset to view it.
  • Connected device — On Android, go to Settings > Network & Internet > Hotspot & Tethering > Wi-Fi Hotspot (sometimes under Advanced) to see the password for the hotspot you’re sharing—useful if your computer is connected to your phone’s hotspot.
  • Physical label — Check the underside or back of the router for a sticker with the default Wi-Fi name and password. This only works if the password has never been changed.
⚠️ Warning: Avoid third-party password recovery tools (e.g., “Wi-Fi Password Recovery” apps). Many are bundlers for adware or contain vulnerabilities. Microsoft and Apple do not recommend or support such utilities.

How to Change the Password Safely

If you find the password but want to update it (e.g., after lending it to guests):
  1. Log in to your router’s admin interface (via Ethernet or Wi-Fi).
  2. Navigate to Wireless > Wireless Security or Wi-Fi > Security.
  3. Change the Pre-Shared Key or WPA2/WPA3 Password to a new strong passphrase (12+ characters, mix of letters, numbers, symbols).
  4. Save settings and reboot the router.
  5. Reconnect all devices using the new password.
After updating, delete the old network profile on your computer: on Windows, run netsh wlan delete profile name="NetworkName"; on macOS, remove it from Keychain Access. This prevents accidental reconnection attempts with outdated credentials.

Frequently Asked Questions

Can I find a Wi-Fi password I never saved on my computer?
No. Windows and macOS only store passwords for networks you’ve explicitly connected to and chosen to save. If you entered the password once but declined to save it (or selected “Don’t connect automatically”), it won’t be retrievable later—you’ll need to re-enter it or check another device that did save it.

Why does the password I retrieve not work on new devices?
This usually means the router’s password was changed since you last connected, or you’re entering the wrong password on the new device (e.g., typing a 2.4 GHz network’s password on a 5 GHz band that uses a different SSID). Double-check the SSID matches the one shown in your saved networks list.

Is it safe to view passwords using Command Prompt or Terminal?
Yes—these commands use built-in OS APIs and do not log or transmit your password. However, the password briefly appears in plain text on your screen, so avoid taking screenshots or sharing your desktop with others while the command is running.

Can I retrieve the password for a network my user account never connected to?
No. Credentials are stored per user profile on Windows and per keychain (System vs. login) on macOS. If another user connected to the network, you must either log in as that user or use Keychain Access (macOS) with administrator privileges to access the System keychain.

Does resetting the router change the saved password on my computer?
Yes. A factory reset erases the router’s Wi-Fi password and SSID, so your computer will show the network as “Not connected” with a lock icon. You’ll need to reconnect and save the new credentials manually.

What’s the safest way to share a Wi-Fi password with guests?
Use your router’s guest network feature (available on most modern routers) to create a separate, isolated network with its own password. This keeps your main network secure while giving visitors internet access. Avoid writing passwords on sticky notes or sending them via unencrypted messages.