Wifi Guide

How to Recover the Wifi Password? Find Saved Credentials on Devices

Introduction Have you ever connected your phone or laptop to a Wi-Fi network, then completely forgotten the password later when a friend asks for it? You are not alone. Most of us save Wi-Fi credentials once and never think about them again. The good news is t

HowToFixWiFi

Introduction

Have you ever connected your phone or laptop to a Wi-Fi network, then completely forgotten the password later when a friend asks for it? You are not alone. Most of us save Wi-Fi credentials once and never think about them again. The good news is that your devices usually remember those passwords, and with the right steps you can view them again. In this guide, we will walk through How to Recover the Wifi Password? on Windows, macOS, Android, iPhone, iPad, Linux, and directly from your router. Whether you need the password for a new device, a smart TV, or a guest, you will find a method that works for your setup.

This article is written for everyday users. You do not need to be a network engineer. Each method includes clear steps, and where possible we explain why a step works so you can troubleshoot if something looks different on your device. We also cover security and privacy, because recovering a password is only half the story. Keeping that password safe afterward matters just as much.

Table of Contents

What Does Recovering a Wi-Fi Password Mean?

When you connect to a wireless network, your device stores the network name (SSID) and the password in a protected area of the operating system. Recovering the password simply means reading that stored value back. It does not change the password or break the connection. Think of it like looking up a phone number you saved in your contacts.

There are two broad approaches. The first is to read the password from a device that is already connected. The second is to log in to your router and view or reset the password there. The first approach is usually faster and does not require admin credentials for the router. The second approach is the fallback when no device remembers the password.

Before you begin, make sure you have permission to access the network. Recovering a password on a device you own or manage is legitimate. Attempting to recover passwords on networks you do not own may be illegal and unethical.

Recover Wi-Fi Password on Windows 10/11

Windows stores Wi-Fi profiles in a hidden folder and protects the password with your user account. You can view it through the graphical interface or through the command line. Both methods are reliable.

Using the Windows Settings App

  1. Open Settings and go to Network and Internet.
  2. Select Wi-Fi, then click Manage known networks.
  3. Click the network whose password you want to recover.
  4. Choose Properties or View password depending on your Windows version.
  5. Toggle Show characters or Show password to reveal the text.

If the option is grayed out, you may need administrator rights. Sign in with an admin account and try again.

Using Command Prompt

The command line method works even when the GUI option is missing. It also lets you list every saved network.

  1. Press the Windows key, type cmd, right-click Command Prompt, and choose Run as administrator.
  2. Type netsh wlan show profiles and press Enter. This lists all saved networks.
  3. Identify the exact profile name, including spaces and capitalization.
  4. Type netsh wlan show profile name="YourNetworkName" key=clear and press Enter.
  5. Look under Security settings for Key Content. That value is your password.

If the network name has spaces, keep the quotation marks. If you forget them, the command will fail with a syntax error.

Recover Wi-Fi Password on macOS

macOS stores Wi-Fi passwords in the Keychain, which is the system’s secure credential vault. You can access it through the Keychain Access app or through Terminal.

Using Keychain Access

  1. Open Spotlight with Command + Space and search for Keychain Access.
  2. In the left sidebar, select System or Login, then choose Passwords.
  3. Use the search box to find your network name.
  4. Double-click the entry.
  5. Check Show password. You will be prompted for your macOS user password or Touch ID.
  6. The password appears in the field.

Using Terminal

For users who prefer the command line, macOS offers a built-in tool.

  1. Open Terminal.
  2. Type security find-generic-password -wa "YourNetworkName" and press Enter.
  3. Enter your macOS password when prompted.
  4. The Wi-Fi password prints to the screen.

This method is fast and scriptable, which is useful if you manage several Macs.

Recover Wi-Fi Password on Android

Android made password viewing much easier in recent versions. On Android 10 and above, you can view the password as a QR code or, on some devices, as plain text.

Android 10 and Newer

  1. Open Settings and tap Network and Internet or Connections.
  2. Tap Wi-Fi.
  3. Tap the gear icon next to the connected network.
  4. Tap Share.
  5. Authenticate with your fingerprint, PIN, or face.
  6. A QR code appears. Below it, the password is often shown in plain text.

If only the QR code appears, scan it with another device or use a QR reader app to decode the password.

Older Android Versions

On Android 9 and older, viewing passwords requires root access. Rooting a device carries risks and may void warranties. If you are not comfortable with that, use the router method instead, which we cover later.

Recover Wi-Fi Password on iPhone and iPad

Apple added native Wi-Fi password viewing in iOS 16 and iPadOS 16. If you are on an older version, you will need iCloud Keychain on a Mac or the router method.

iOS 16 and iPadOS 16 or Newer

  1. Open Settings and tap Wi-Fi.
  2. Tap the i icon next to the connected network.
  3. Tap the password field, which shows dots.
  4. Authenticate with Face ID, Touch ID, or your passcode.
  5. The password appears in plain text. You can also copy it.

Older iOS Versions

On iOS 15 and earlier, Apple does not expose the password in Settings. However, if you use iCloud Keychain, the password syncs to a Mac where you can view it with Keychain Access. Alternatively, log in to your router to read or reset it.

Recover Wi-Fi Password on Linux

Linux stores network profiles in files under /etc/NetworkManager/system-connections/. You can read them directly if you have root privileges.

  1. Open a terminal.
  2. Run sudo ls /etc/NetworkManager/system-connections/ to list saved networks.
  3. Run sudo cat /etc/NetworkManager/system-connections/"YourNetworkName".nmconnection.
  4. Look for the line starting with psk=. The value after the equals sign is your password.

If your distribution uses a different network manager, the path may vary. Check your distribution’s documentation if the directory is empty.

Recover Wi-Fi Password from Your Router

If no device remembers the password, the router is your last resort. Every router has an admin panel where you can view or change the Wi-Fi password.

  1. Connect to the router with an Ethernet cable or use a device that is already online.
  2. Open a browser and enter the router’s IP address. Common addresses are 192.168.1.1, 192.168.0.1, or 10.0.0.1.
  3. Log in with the admin username and password. These are often printed on a sticker on the router.
  4. Navigate to Wireless, Wi-Fi Settings, or Security.
  5. Look for Passphrase, Pre-Shared Key, or Wi-Fi Password.
  6. Some routers hide the password behind dots. Click Show or Reveal.

If you cannot log in because you forgot the router admin password, you may need to reset the router to factory settings. Be aware that this erases all custom settings, including port forwarding and parental controls.

Comparison of Recovery Methods

The table below summarizes the methods so you can choose the fastest one for your situation.

Method Requires Admin Rights Works Offline Best For
Windows GUI Sometimes Yes Everyday users
Windows Command Prompt Yes Yes IT support
macOS Keychain No Yes Mac users
Android Share No Yes Android 10+
iOS 16 Password View No Yes iPhone users
Linux Terminal Yes Yes Linux users
Router Admin Panel Yes Yes No saved device

Command Line Quick Reference

Here is a compact reference for the commands mentioned above. Copy them carefully, replacing placeholder names with your actual network name.

Windows:
netsh wlan show profiles
netsh wlan show profile name="YourNetwork" key=clear

macOS:
security find-generic-password -wa "YourNetwork"

Linux:
sudo cat /etc/NetworkManager/system-connections/"YourNetwork".nmconnection

Always run these commands in a terminal or command prompt that you opened with the appropriate privileges. On shared computers, close the window afterward so the password does not remain visible in scrollback.

When You Cannot Recover the Password

Sometimes recovery is impossible. Common scenarios include a factory-reset device, a network that was never saved, or a router with a lost admin password. In those cases, the practical solution is to reset the Wi-Fi password entirely.

  • Log in to the router and set a new passphrase.
  • If you cannot log in, press and hold the reset button on the router for about ten seconds.
  • Reconnect all devices with the new password.
  • Update any saved profiles on laptops and phones to avoid connection errors.

Resetting is not failure. It is a normal part of network maintenance, especially when you inherit equipment or move into a new home.

Tips and Best Practices

Knowing How to Recover the Wifi Password? is useful, but preventing the problem is even better. These habits reduce how often you need to recover anything.

  • Store the password in a reputable password manager rather than a sticky note.
  • Label the router with the admin credentials and the Wi-Fi password if your household allows it.
  • Use a passphrase that is long but memorable, such as four random words.
  • Enable WPA3 if your router and devices support it.
  • Keep router firmware updated to patch security flaws.
  • Review connected devices periodically and remove unknown ones.
  • Use a separate guest network for visitors instead of sharing your main password.

Security and Privacy Considerations

Password recovery features exist for convenience, but they also create a small risk. Anyone with physical access to an unlocked device can potentially view the password. Lock your devices with a strong PIN, password, or biometric. Avoid leaving laptops unattended in public spaces while logged in.

When you recover a password, do not photograph it or send it through unencrypted chat. If you must share it, use a secure channel or read it aloud. Rotate the password if you suspect it has been exposed. Finally, remember that the router admin password is often more sensitive than the Wi-Fi password, because it controls the whole network.

Frequently Asked Questions

Can I recover a Wi-Fi password without being connected?

Yes, if a device has the network saved as a known profile. You do not need to be actively connected. However, if the profile was deleted, you will need the router method.

Is it legal to recover a Wi-Fi password?

It is legal on networks you own or manage. It is not legal to access or recover credentials for networks you do not have permission to use.

Why does the password show as dots?

Operating systems mask passwords by default to prevent shoulder surfing. Look for a show or reveal toggle, or use the command line methods that print the value directly.

Do third-party Wi-Fi password apps work?

Some can read saved profiles, but many require root or admin access and may pose privacy risks. Prefer built-in operating system tools whenever possible.

What is the difference between WPA2 and WPA3?

WPA3 is the newer standard and offers stronger protection against brute-force attacks. Use WPA3 if all your devices support it; otherwise, WPA2 remains secure when paired with a strong passphrase.

How often should I change my Wi-Fi password?

There is no fixed schedule. Change it if you suspect exposure, when a roommate or employee leaves, or when you upgrade hardware. Otherwise, a strong, unique passphrase can last a long time.

Conclusion

Recovering a forgotten Wi-Fi password is usually straightforward once you know where your operating system hides it. Windows users can rely on netsh, Mac users on Keychain Access, Android and iOS users on built-in sharing features, and Linux users on NetworkManager files. When all else fails, the router admin panel gives you full control. By following the steps in this guide, you now know How to Recover the Wifi Password? across the most common platforms and devices. Take a moment to store the recovered password in a secure password manager, review your router settings, and consider enabling a guest network. A little preparation today prevents the next scramble for credentials.