Where to Find Saved Wi-Fi Passwords on Phone or PC
In this article
You can find saved Wi-Fi passwords on a phone or PC, but the method depends on the platform. On Windows, open Command Prompt and run netsh wlan show profile name="YourNetwork" key=clear to see the password in plain text. On a Mac, open Keychain Access, search for the network name, and tick “Show password.” On Android, you need Android 10 or later and must be connected to the network or have a saved network nearby; go to Settings > Network & internet > Internet (or Wi-Fi), tap the network, and use the share button to see a QR code that includes the password. On iPhone, iOS does not let you view saved Wi-Fi passwords directly in Settings unless you are running iOS 16 or later and use the password-viewing feature in Settings > Wi-Fi. This guide walks through each method step by step, plus what to do when a menu is missing or a password will not reveal.
What You'll Need
- A device that has previously connected to the Wi-Fi network you want the password for, or is currently connected to it.
- For Windows: administrator rights on the PC (the Command Prompt method usually works without admin, but some corporate machines block it).
- For Mac: your login password or Touch ID to unlock Keychain Access.
- For Android: Android 10 or later for the QR-code sharing method; older versions do not expose saved passwords.
- For iPhone: iOS 16 or later for the built-in password viewer; older versions require a Mac or iCloud Keychain workaround.
- The exact name of the Wi-Fi network (SSID), which is case-sensitive on some systems.
Step-by-Step
Windows 10 and 11
- Click the Start button, type Command Prompt, and open it. You do not need to run as administrator for this method on most home PCs.
- Type
netsh wlan show profilesand press Enter. This lists every Wi-Fi network the PC has saved. - Find the network name in the list. Note the exact spelling and capitalisation.
- Type
netsh wlan show profile name="NETWORKNAME" key=clear, replacing NETWORKNAME with the exact name, and press Enter. Keep the quotation marks. - Scroll to the Security settings section. The line Key Content shows the password in plain text.
- If you see “Key Content” missing or blank, the profile may be stored without a key (for example, an open network) or the profile is managed by a domain policy. Try the same command in an elevated Command Prompt (right-click Start > Terminal (Admin) or Command Prompt (Admin)).
Menu labels in Windows can differ slightly by version and region, but the netsh command works the same on Windows 10 and 11.
macOS
- Open Keychain Access from Applications > Utilities, or search for it with Spotlight.
- In the left sidebar, select System or login keychain, depending on where the network was saved. Most personal Wi-Fi passwords are in the System keychain.
- Use the search field in the top right and type the Wi-Fi network name.
- Double-click the network entry. In the window that opens, tick Show password.
- Enter your Mac login password or use Touch ID when prompted. The password appears in the field.
- If the entry is not there, check the iCloud keychain in the sidebar if you use iCloud Keychain, or open System Settings > Wi-Fi, click the network, and look for a password option (macOS Ventura and later may show a copy button).
Android (10 and later)
- Open Settings and go to Network & internet > Internet (on some phones it is Connections > Wi-Fi). Labels vary by manufacturer.
- Make sure Wi-Fi is on and you are connected to the network, or the network appears in your saved list.
- Tap the network name, or tap the gear icon next to it.
- Tap Share or QR code. You may need to confirm with your PIN, pattern, or fingerprint.
- The QR code appears with the password shown underneath on many phones. If the password is not shown, scan the QR code with another phone’s camera; the Wi-Fi password is often embedded in the code text.
- If your phone does not show a Share button, your Android version or manufacturer skin does not support it. There is no official way to view saved passwords on older Android versions without root, which is not recommended.
iPhone (iOS 16 and later)
- Open Settings > Wi-Fi.
- Tap Edit in the top right (or tap the info button next to a network on some versions).
- Tap the network name, then tap the password field. Authenticate with Face ID, Touch ID, or your passcode.
- The password is revealed. You can copy it.
- If you are on iOS 15 or earlier, there is no built-in way to view a saved Wi-Fi password on the iPhone itself. You can see it on a paired Mac if iCloud Keychain is enabled, or reset the router to set a new password.
Common Mistakes
- Typing the network name wrong in Command Prompt. The
name=value must match the profile exactly, including spaces and capitalisation. Copy it from thenetsh wlan show profileslist. - Forgetting the quotation marks. If the network name contains a space, the command fails without quotes around the name.
- Looking in the wrong keychain on Mac. Wi-Fi passwords are usually in the System keychain, not login. Search both.
- Expecting an iPhone on iOS 15 to show the password. The feature was added in iOS 16; older versions simply do not have it.
- Assuming Android shows the password as text. Many phones only show a QR code. The password may be visible under the code, or you may need to scan it.
- Using a third-party “Wi-Fi password recovery” app. Most of these are ad-filled or unsafe, and they cannot access system-stored passwords without root. Stick to the built-in methods.
Tips
- Write the password down or store it in a password manager once you find it, so you do not have to repeat the process.
- On Windows, you can export all saved profiles with
netsh wlan export profile key=clear folder=C:\wifi, which creates XML files containing the passwords. Delete the folder afterwards for safety. - If you are on a work or school PC, the Wi-Fi password may be managed by policy and hidden from you. Ask the IT department instead of trying to bypass it.
- On Android, the QR code method also works for networks you are not currently connected to, as long as they are saved.
- Change the router’s admin password if you had to reset it to recover a Wi-Fi password, and update the Wi-Fi password to something strong.
Troubleshooting
If the Command Prompt says “There is no such wireless interface on the system,” your PC may be using Ethernet only, or the Wi-Fi adapter is disabled. Check Device Manager or reconnect the adapter. If netsh wlan show profiles returns nothing, the PC has never saved a Wi-Fi network, or the wireless service is stopped; open Services and check that WLAN AutoConfig is running.
On Mac, if Keychain Access asks for a password and rejects it, try your current login password; if you recently changed it, the keychain may still expect the old one. You can reset the default keychain from Keychain Access > Settings, but that deletes saved passwords, so only do it if you have backups.
On Android, if the Share button is greyed out, you may be on a guest or restricted profile, or the network is managed by an administrator. Switch to the owner profile. If the QR code does not show a password, use a second phone’s camera to scan it; the password often appears in the scanned text.
On iPhone, if the password field does not appear, make sure you are on iOS 16 or later and that the network is saved (not just nearby). If you use a managed device from work, the option may be disabled by a profile.
If none of the above works, the most reliable fallback is to log in to the router’s admin page (usually at 192.168.1.1 or 192.168.0.1) and view or change the Wi-Fi password there. You will need the router’s admin username and password, which are often printed on a sticker on the router.
Frequently Asked Questions
Can I see the Wi-Fi password on my phone without rooting it?
Yes, on Android 10 and later using the Share or QR code option, and on iPhone with iOS 16 or later in Settings > Wi-Fi. Older versions do not offer an official way.
Does the Windows Command Prompt method require admin rights?
Usually not for your own saved profiles, but some managed or domain PCs block it. If it fails, try an elevated Command Prompt.
Where does macOS store Wi-Fi passwords?
In the System keychain, accessible through Keychain Access. You can also find them in iCloud Keychain if syncing is enabled.
Can I find a Wi-Fi password for a network I have never connected to?
No. Saved password methods only work for networks your device has already joined. For a new network, you need the password from the owner or the router’s admin page.
Is it safe to use a third-party Wi-Fi password viewer app?
No. Most cannot access system passwords without root, and many carry ads or malware. Use the built-in methods instead.
What if I forgot my router’s admin password?
You may need to factory reset the router using the reset button, which erases all settings including the Wi-Fi name and password. You will then set them up again from scratch.