How to Check WiFi Password on Laptop
In this article
To check the WiFi password saved on your laptop, open Settings > Network & Internet > Status > Network and Sharing Center (Windows) or use Keychain Access (macOS). The exact steps depend on your operating system and whether you're currently connected to the network. Below are the detailed methods for both Windows and macOS.
What You'll Need
- Access to a user account with administrator privileges (Windows) or your macOS login password.
- The laptop must have connected to the WiFi network at least once (the password is stored after the first successful connection).
Step-by-Step
On Windows 10 or Windows 11
- Open Settings: Press Windows + I on your keyboard, or click the Start button and select the gear icon.
- Navigate to Network & Internet: In the Settings window, click on Network & Internet.
- Open Network and Sharing Center: Scroll down and click Advanced network settings (Windows 11) or click Status then Network and Sharing Center (Windows 10). If you don't see it, type “Network and Sharing Center” in the Start menu search and press Enter.
- Click on the WiFi network name: In the Network and Sharing Center, next to “Connections,” you'll see your current WiFi network name (e.g., “MyHomeWiFi”). Click on that name.
- Open Wireless Properties: In the WiFi Status window that appears, click the Wireless Properties button.
- Go to the Security tab: In the Wireless Network Properties window, click the Security tab.
- Show the password: Check the box that says Show characters. The WiFi password will appear in the “Network security key” field.
Note: This method works only for the WiFi network you are currently connected to. If you need a password for a previously saved network, use the Command Prompt method below.
For a Saved WiFi Network (Windows)
- Open Command Prompt as administrator: Press Windows + X and select Terminal (Admin) or Command Prompt (Admin). Click “Yes” if prompted by User Account Control.
- List all saved WiFi profiles: Type the following command and press Enter:
netsh wlan show profiles
This will display a list of all WiFi networks your laptop has connected to. - Show the password for a specific network: Type the following command, replacing
NETWORK_NAMEwith the exact name of the WiFi network from the list, and press Enter:
netsh wlan show profile name="NETWORK_NAME" key=clear - Look for the password: In the output, scroll down to the section titled “Security settings.” Next to “Key Content,” you'll see the WiFi password in plain text.
On macOS (MacBook)
- Open Keychain Access: Press Command + Space to open Spotlight, type “Keychain Access,” and press Enter. Alternatively, find it in Applications > Utilities.
- Search for the WiFi network: In the top-right search bar, type the name of the WiFi network (SSID).
- Open the network entry: Double-click the network name in the list. A dialog box will appear.
- Show the password: Check the box next to Show password. You'll be prompted to enter your Mac's administrator username and password (or use Touch ID). After entering it, the password will be displayed in the “Password” field.
Common Mistakes
- Clicking the wrong network name: On Windows, if you click the WiFi icon in the system tray, you won't see the password; you must go through the Network and Sharing Center.
- Not using administrator privileges: The Command Prompt method requires admin rights. If you try without them, you'll get an “Access denied” error.
- Typing the command incorrectly: The
netshcommand is case-sensitive for the profile name. Make sure you copy the exact name from the list. - On macOS, looking in the wrong app: Keychain Access is not the same as the “Network” settings in System Preferences. The password is stored in Keychain, not in the WiFi settings pane.
Tips
- Use the Windows command for all saved networks: The
netsh wlan show profilescommand is the fastest way to see all saved networks and their passwords at once. - Write it down: Once you see the password, consider storing it in a password manager or writing it on a sticky note (if you trust your environment).
- On macOS, use Spotlight: The quickest way to open Keychain Access is via Spotlight (Cmd+Space).
- If you're already connected, the first method is faster: For the current network, the GUI method on Windows takes fewer steps than the command line.
Troubleshooting
If you don't see “Show characters” or the Security tab is grayed out
This usually means you don't have administrator privileges on the Windows account. Log in as an administrator or ask the administrator to grant you permission. On macOS, you need to enter an admin username and password when checking the “Show password” box.
If the Command Prompt says “Profile is not found”
Double-check the exact spelling of the WiFi name. Use the netsh wlan show profiles command to copy the exact name. Also ensure you're running the command prompt as administrator.
If Keychain Access doesn't show the network
This means the Mac has never connected to that WiFi network, or the keychain entry was deleted. You can't recover a password that isn't stored. Try connecting to the network again first, then check Keychain.
If you're not connected to the network and it's not in the saved list
You can't retrieve a password that the laptop doesn't have stored. You'll need to ask the router owner for the password or reset the router (if you have physical access).
Frequently Asked Questions
Can I see the WiFi password on a laptop that has never connected to that network?
No. The password is only stored after a successful connection. If the laptop hasn't connected, there's nothing stored to retrieve.
Does this work on any Windows version?
The steps are essentially the same for Windows 10 and Windows 11. For older versions like Windows 7 or 8, the Network and Sharing Center is similar, but the Settings app is different—use the Control Panel instead.
I'm on a work or school laptop, but I don't have admin rights. Can I still see the password?
No. Both the GUI method and the Command Prompt method require administrator privileges. If you don't have them, you'll need to ask your IT department.
Is it legal to view the WiFi password on my laptop?
Yes, if it's your laptop and the network is yours or you have permission to use it. However, using that password to access a network you're not authorized to use is illegal in many jurisdictions.
Can I see the password on a Mac if I forgot my admin password?
No. macOS requires an administrator username and password to reveal the stored WiFi password. Without it, you cannot view it.
What if the WiFi password has been changed after my laptop last connected?
The stored password will be the old one. You'll need to connect again with the new password to update the stored value.