Where your computer stores the WiFi password
Your computer keeps the WiFi password in a protected system file so it can reconnect automatically. You do not need to reinstall anything or use special tools — the password is already there, and you can view it through your operating system's built-in settings. The exact steps depend on whether you use Windows, Mac, or Linux.
The password is encrypted while stored, but your operating system will show it to you in plain text once you open the right menu. You will need administrator access on the computer to see it. If you are on a work or school network, the administrator may have blocked this feature.
Key Takeaways
- Windows stores WiFi passwords in Settings under Network and Internet, where you can view any saved network's password in plain text.
- Mac users can find the password in Keychain Access by searching for the network name, then checking the "Show password" box.
- Linux users can view passwords in the NetworkManager settings file or by using the nmcli command in the terminal.
- You need administrator or sudo access to view passwords on any operating system.
- If you forget the password, you can also reset it directly on your router using the reset button or the router's web interface.
Finding the password on Windows 10 and Windows 11
Open Settings and go to Network and Internet. Click WiFi on the left side, then scroll down and click Manage known networks. Find the network name you need the password for and click it.
Click Forget, then go back to the WiFi list and reconnect to that network. Windows will ask you to enter the password again. Once you type it in, Windows saves it. Now go back to Manage known networks, find the network again, and click it. This time you will see a Security type field and a password field below it — click the eye icon next to the password to show it in plain text.
If you want to skip the forget-and-reconnect step, you can also open Command Prompt as administrator, type netsh wlan show profile name="YourNetworkName" key=clear (replacing YourNetworkName with your actual network name), and press Enter. The password will appear next to "Key Content" in the output.
Finding the password on Mac
Open Keychain Access by pressing Command+Space, typing "keychain", and pressing Enter. In the search box at the top right, type the name of your WiFi network.
When the network appears in the list, double-click it. A window will open showing the network details. Check the box next to Show password at the bottom. Your Mac will ask for your user password — type it in and click Allow. The WiFi password will now appear in plain text in the password field.
Finding the password on Linux
Linux stores WiFi passwords in the NetworkManager configuration files. Open a terminal and type sudo cat /etc/NetworkManager/system-connections/YourNetworkName (replacing YourNetworkName with your network name), then press Enter. Your system will ask for your sudo password. The file will display, and you can find the password next to psk=.
If you prefer a graphical approach, open Settings, go to WiFi, find your network, and click the gear icon. The password field may show dots, but some Linux distributions allow you to click an eye icon to reveal it. If that does not work, the terminal method above will always show the password.
What to do if you cannot see the password
If the password field is blank or grayed out, your computer may not have saved the password — this sometimes happens if you connected using a QR code or if the connection was interrupted. Reconnect to the network manually and make sure you type the password correctly so the system can save it.
If you are on a work or school computer, the network administrator may have set permissions that hide saved passwords. In that case, you will need to contact your IT department or network administrator to retrieve the password.
If you have forgotten the password entirely and cannot retrieve it from your computer, you can reset it on the router itself. Most routers have a small reset button on the back — hold it for 10 to 15 seconds to restore factory settings. You will then need to set up the network again from scratch using the router's web interface or mobile app.
Using the router's web interface instead
If you own the router, you can also view the WiFi password through the router's settings page. Open a web browser and type 192.168.1.1 or 192.168.0.1 into the address bar. Log in with the router's admin username and password (often printed on a sticker on the router itself).
Once logged in, look for a section called Wireless, WiFi, or Network Settings. The password will be listed there, often labeled as Passphrase or Pre-Shared Key. This method works on any device with a web browser, not just your computer.
Frequently Asked Questions
Can I see the password if I am not the admin on this computer?
No. You need administrator or sudo access to view saved WiFi passwords on any operating system. If you are a standard user, you will need to ask the computer's administrator to show you the password or to change the network settings.
Will viewing the password change or reset it?
No. Looking at the password through your computer's settings does not change anything on the router or the network. The password stays the same until you manually change it on the router.
What if my network name does not appear in the list?
Your computer only stores passwords for networks it has connected to before. If the network is new or you have never connected to it, the password will not be saved. You will need to get the password from the network owner or the router's admin panel.
Can I see passwords for networks I am not currently connected to?
Yes. Your computer stores passwords for all networks it has ever connected to, even if you are not connected right now. You can view any of them using the methods above — just search for the network name in your system's network settings or Keychain.
Is it safe to write down or share the password once I see it?
That depends on your situation. If it is your home network, you can share it however you want. If it is a work or school network, check with your IT department first — they may have policies about sharing network access. Never share a password over email or text unless you trust the recipient completely.