Setup and Configuration

How to Retrieve the Password of Wifi? From Saved Networks

Introduction Have you ever connected to a Wi-Fi network, forgotten the password, and then needed to share it with a friend, a new device, or a guest? It happens to almost everyone. The good news is that modern operating systems and routers store the passwords

HowToFixWiFi

Introduction

Have you ever connected to a Wi-Fi network, forgotten the password, and then needed to share it with a friend, a new device, or a guest? It happens to almost everyone. The good news is that modern operating systems and routers store the passwords of saved networks, and retrieving them is usually straightforward. This guide walks you through every reliable method to recover a Wi-Fi password from networks your devices have already saved, whether you are using Windows, macOS, Android, iOS, or your router’s admin panel.

By the end of this article, you will know exactly how to retrieve the password of Wi-Fi from saved networks on any major platform, along with troubleshooting tips, security best practices, and answers to the most common questions people ask about this process.

Table of Contents

What Does “Saved Network” Mean?

A saved network is any Wi-Fi network whose credentials your device has stored so it can reconnect automatically. When you enter a password once and check “Remember” or “Auto-join,” the operating system saves that password in a secure storage area. On Windows, it lives in the WLAN profile store. On macOS, it is stored in the Keychain. On Android and iOS, passwords are saved in the system settings and, in many cases, synced to your Google or Apple account.

Because the password is stored locally (and sometimes in the cloud), you can retrieve it later without needing to contact the network owner. This is especially useful at home, in the office, or when you are the administrator of the network.

Before You Begin

Before attempting to retrieve a password, keep these points in mind:

  • You must be connected to the network or have connected to it in the past on the device you are using.
  • Administrative privileges are often required, especially on Windows and macOS.
  • Some methods reveal the password in plain text; others require a password manager or account verification.
  • If the network uses enterprise authentication (WPA2-Enterprise), the process may differ and involve certificates or RADIUS servers.
  • Always respect privacy and only retrieve passwords for networks you own or are authorized to access.

How to Retrieve the Password of Wi-Fi on Windows 10 and Windows 11

Windows stores every Wi-Fi profile you have ever connected to, including the password. There are two main ways to view it: through the graphical interface and through the Command Prompt.

Method 1: Using the Settings App

  1. Open Settings and go to Network & Internet.
  2. Select Wi-Fi, then click Manage known networks.
  3. Click the network whose password you want.
  4. Select Properties.
  5. Scroll down to the Security section and check Show characters next to the network security key.

Note: This works only if you are currently connected to that network. If you are not connected, Windows hides the password field.

Method 2: Using Command Prompt

If the GUI method does not work, the Command Prompt is the most reliable way to retrieve any saved Wi-Fi password on Windows.

  1. Press Win + S, type cmd, and select Run as administrator.
  2. Type the following command and press Enter to list all saved profiles:
netsh wlan show profiles
  1. Find the exact name of your network in the list.
  2. Run this command, replacing NetworkName with the actual name:
netsh wlan show profile name="NetworkName" key=clear
  1. Look under Security settings for Key Content. The value shown there is your Wi-Fi password.

This method works even when you are not currently connected to the network, making it the most flexible option on Windows.

How to Retrieve Wi-Fi Password on macOS

macOS stores Wi-Fi passwords in the Keychain, Apple’s secure credential manager. Retrieving them is simple if you know where to look.

Using Keychain Access

  1. Open Spotlight (Cmd + Space) and type Keychain Access.
  2. In the left sidebar, select System or login under Keychains, then choose Passwords under Category.
  3. Search for your network name (SSID) in the search box.
  4. Double-click the entry.
  5. Check the box labeled Show password.
  6. Enter your macOS administrator password when prompted.
  7. The Wi-Fi password will appear in the field.

Using Terminal

For power users, the Terminal offers a quick command:

security find-generic-password -wa "NetworkName"

Replace NetworkName with your SSID. You will be prompted for your keychain password, and the Wi-Fi password will be printed to the screen.

How to Retrieve Wi-Fi Password on Android

Android’s approach depends on your version and manufacturer. Recent versions make this much easier than older ones.

Android 10 and Later (QR Code Method)

  1. Open Settings and tap Network & Internet (or Connections).
  2. Tap Wi-Fi.
  3. Tap the gear icon next to the connected network (or tap Saved networks for a previously connected one).
  4. Tap Share.
  5. Authenticate with your fingerprint, PIN, or face unlock.
  6. A QR code appears; the password is displayed directly beneath it on many devices.

If the password is not shown as text, you can scan the QR code with another phone or a QR reader app to extract the password string.

Older Android Versions (Root Required)

On Android 9 and earlier, passwords are stored in a protected file at /data/misc/wifi/wpa_supplicant.conf. Accessing it requires root access and a file manager with root permissions. This is generally not recommended for average users due to security risks.

Retrieving from Your Google Account

If you have synced Wi-Fi networks to your Google account, you can sometimes view them at passwords.google.com under the Wi-Fi section, provided the device was backed up and synced.

How to Retrieve Wi-Fi Password on iPhone and iPad

Apple added the ability to view saved Wi-Fi passwords starting in iOS 16 and iPadOS 16.

iOS 16 and Later

  1. Open Settings and tap Wi-Fi.
  2. Tap the info (i) icon next to the network.
  3. Tap Password.
  4. Authenticate with Face ID, Touch ID, or your device passcode.
  5. The password appears and can be copied.

Sharing Instead of Viewing

On older iOS versions, you cannot directly view the password, but you can share it. Bring another Apple device close, and a prompt appears asking if you want to share the Wi-Fi password. This works within the Apple ecosystem and requires both devices to have Bluetooth and Wi-Fi enabled.

Retrieving the Password from Your Router

If no device has the password saved, or you are the network administrator, the router itself is the source of truth.

  1. Find your router’s IP address, usually printed on a sticker (commonly 192.168.1.1 or 192.168.0.1).
  2. Enter it in a web browser.
  3. Log in with the admin credentials (also on the sticker or in the manual).
  4. Navigate to Wireless, Wi-Fi Settings, or Security.
  5. Look for Pre-Shared Key, Passphrase, or Password.
  6. Some routers hide it behind a “Show” checkbox.

If you have changed the admin password and forgotten it, you may need to factory-reset the router, which will reset the Wi-Fi password to the default printed on the device.

Using Command Line Tools

Command-line methods are powerful because they work across profiles and do not require a GUI. Below is a quick reference for the most common platforms.

  • Windows: netsh wlan show profile name="SSID" key=clear
  • macOS: security find-generic-password -wa "SSID"
  • Linux: nmcli -s -g 802-11-wireless-security.psk connection show "SSID" or read from /etc/NetworkManager/system-connections/

On Linux, you may need sudo privileges to read the connection files, and the password is stored in plain text within those files under the psk= key.

Comparison of Methods

Platform Method Requires Admin Works Offline Difficulty
Windows 10/11 Settings GUI No (for current network) No Easy
Windows 10/11 Command Prompt (netsh) Yes Yes Medium
macOS Keychain Access Yes Yes Easy
macOS Terminal Yes Yes Medium
Android 10+ Share / QR code Device unlock Yes (for saved) Easy
iOS 16+ Settings password view Face ID / Passcode Yes Easy
Router Admin panel Admin login Yes Medium

Troubleshooting Common Issues

Sometimes the password does not appear or the method fails. Here are the most common problems and how to fix them.

  • Password field is blank: On Windows, this usually means you are not currently connected. Use the Command Prompt method instead.
  • Keychain shows no entry: The network may have been saved under a slightly different name, or the password was never stored. Try searching by partial name.
  • Admin password forgotten: On macOS or Windows, you may need to reset the keychain or use a recovery tool, which can be complex.
  • QR code will not scan: Increase screen brightness, clean the camera lens, or use a dedicated QR scanner app.
  • Router login fails: Check the sticker on the router for default credentials. If those fail, the admin password was changed and may need a factory reset.
  • Profile not found on Windows: The profile may have been deleted. Try netsh wlan show profiles to confirm.

Security Tips and Best Practices

Retrieving passwords is convenient, but it also highlights how important it is to protect your devices and accounts.

  • Always lock your device with a strong PIN, password, or biometric authentication.
  • Avoid using the same Wi-Fi password across multiple networks.
  • Change your Wi-Fi password periodically, especially if you have shared it widely.
  • Use WPA3 or WPA2 encryption; avoid WEP or open networks.
  • Disable “Auto-join” for public networks to prevent accidental connections.
  • Consider using a password manager to store Wi-Fi credentials securely instead of relying solely on device storage.
  • When sharing a password, prefer QR codes or the built-in sharing features rather than reading it aloud or sending it in plain text.

Frequently Asked Questions

Can I retrieve a Wi-Fi password without being connected to the network?

Yes. On Windows, the Command Prompt method lists all saved profiles regardless of connection status. On macOS, Keychain Access stores all saved passwords. On Android and iOS, saved networks remain in settings even when not connected.

Is it legal to retrieve a Wi-Fi password from a saved network?

It is legal for networks you own or have permission to access. Retrieving passwords for networks you do not own or are not authorized to use may violate laws and terms of service.

Why does my phone show a QR code instead of the password?

Some manufacturers prefer QR codes for security and convenience. The password is embedded in the QR code. You can scan it with another device or use a QR reader app to extract the text.

What if I forgot both the Wi-Fi password and the router admin password?

You will need to factory-reset the router. This restores the default Wi-Fi password printed on the device label. After resetting, reconfigure your network and set a new strong password.

Does retrieving the password change it?

No. Viewing or copying a saved password does not alter it. The network continues to use the same credentials.

Can I retrieve passwords saved on a work or school network?

Possibly, but many organizations use enterprise authentication with certificates and user accounts. In those cases, there may not be a simple shared password, and your IT department controls access.

How do I prevent others from retrieving my Wi-Fi password?

Use a strong device passcode, enable biometric locks, keep your operating system updated, and avoid sharing your device with untrusted users. On shared computers, avoid saving Wi-Fi passwords unless necessary.

Conclusion

Knowing how to retrieve the password of Wi-Fi from saved networks is a practical skill that saves time and frustration. Whether you use Windows, macOS, Android, iOS, or your router’s admin panel, the password is almost always stored somewhere accessible. The Command Prompt method on Windows and Keychain Access on macOS are the most reliable for desktop users, while mobile platforms have made the process increasingly user-friendly with QR codes and direct password viewing.

Always prioritize security: protect your devices, use strong passwords, and share credentials responsibly. With the methods outlined in this guide, you will never be locked out of your own network again.