Where your computer stores the WiFi password you need
Your computer already knows your WiFi password — it has to, or it couldn't reconnect to the network automatically. The password is stored in an encrypted file on your hard drive, and you can retrieve it without calling your internet provider or resetting the router. The steps differ depending on whether you use Windows, Mac, or Linux, but all three let you view the password in plain text once you prove you own the computer.
You will need administrator access to your computer account to see the password. If you do not have that access, you cannot retrieve it this way — you would need to reset your router instead, which erases all saved passwords on every device.
Key Takeaways
- Windows stores WiFi passwords in a settings menu under "Manage Known Networks" where you can view the password in plain text after entering your computer password.
- Mac users can find the password in Keychain Access by searching for the network name, then checking the "Show password" box after authenticating.
- Linux users can view the password in the /etc/NetworkManager/system-connections/ folder, though the exact location varies by distribution and desktop environment.
- You must have administrator or root access to your computer account to retrieve any stored password.
- If you cannot remember your computer password, you cannot retrieve the WiFi password without resetting the router.
Finding the password on Windows 10 and Windows 11
Open Settings and go to Network & Internet, then WiFi. Select "Manage Known Networks" and click on the network name you want the password for. Click "Forget" and then reconnect to the network — this forces Windows to show you the password entry screen where you can see what you typed.
Alternatively, open Settings, go to Network & Internet, then WiFi, then "Manage Known Networks" again. Find your network and select it. At the bottom of the window, click "Properties" and scroll down to "Security type and encryption details." Click "Show" next to the password field. Windows will ask you to confirm your computer password before displaying it.
If you prefer the command line, open Command Prompt as administrator (right-click and select "Run as administrator"). Type netsh wlan show profile name="YourNetworkName" key=clear, replacing "YourNetworkName" with the exact name of your network. The password appears next to "Key Content" in the output.
Finding the password on Mac
Open Keychain Access, which is in Applications > Utilities. In the search box at the top right, type the name of your WiFi network. The network should appear in the list below.
Double-click the network name to open its details window. Check the box labeled "Show password" at the bottom. Your Mac will ask you to enter your computer password or use Touch ID. Once you authenticate, the password appears in plain text in the same box.
If the network does not appear in Keychain Access, it means your Mac has never connected to it, or the password was deleted. You will need to reset the router to create a new password.
Finding the password on Linux
The location of WiFi passwords on Linux depends on your distribution and which network manager you use. Most modern Linux systems use NetworkManager, which stores passwords in /etc/NetworkManager/system-connections/. You will need root access to view these files.
Open a terminal and type sudo cat /etc/NetworkManager/system-connections/YourNetworkName.nmconnection, replacing "YourNetworkName" with your network name. Enter your root password when prompted. The file will display in plain text, and the password appears next to psk=.
If that path does not work, your system may use a different network manager. Try sudo grep -r "psk=" /etc/ to search for password entries across your entire system configuration. This command takes longer but will find the password regardless of where it is stored.
What to do if you cannot find the password
If the network does not appear in your computer's stored passwords, it means your computer has never connected to it. You cannot retrieve a password that was never saved to your device.
If you need to connect another device to the network and do not have the password, you will need to reset the router. This erases all saved passwords on every device and returns the router to factory settings. You can then set up a new network name and password. The reset button is usually on the back of the router — hold it for 10 to 15 seconds until the lights blink.
If you have forgotten your own computer password and cannot authenticate to view the WiFi password, you have two options: reset your computer to factory settings (which erases all data), or reset the router. Neither is reversible, so consider whether you can contact the person who set up the network first.
Why your computer stores passwords this way
Your computer encrypts and stores WiFi passwords so you do not have to type them every time you connect. This is convenient, but it also means anyone with access to your computer account can see the password. If you share a computer with other people or suspect someone has accessed your account, change your WiFi password through your router's admin panel. This logs out all devices and forces them to reconnect with the new password.
The encryption protects the password from being read directly off the hard drive without going through the operating system. However, if someone has your computer password or physical access to your computer, they can retrieve any stored WiFi password. This is why keeping your computer password strong and your computer physically find matters for network security.
Frequently Asked Questions
Can I see the WiFi password if I do not have administrator access?
No. You must have administrator or root access to your computer account to retrieve stored passwords. If you do not have that access, you cannot view the password without resetting the router.
What if the network name does not appear in my stored passwords?
Your computer only stores passwords for networks it has connected to before. If the network does not appear, your computer has never saved that password. You will need to ask the network owner for the password, or reset the router.
Does viewing the password on my computer affect the network or other devices?
No. Retrieving the password from your computer does not change it, disconnect other devices, or affect the network in any way. It only shows you what your computer already knows.
Can I retrieve a password from a network I connected to years ago?
Yes, as long as your computer still has that network in its stored list and you have not manually deleted it. Even if you have not connected in years, the password remains encrypted on your hard drive until you forget the network or reset your computer.
What should I do if I think someone else knows my WiFi password?
Change the password through your router's admin panel. Log in to the router (usually at 192.168.1.1 or 192.168.0.1 in your browser), find the WiFi settings, and create a new password. This logs out all connected devices and forces them to reconnect with the new credentials.