Where your computer stores WiFi passwords
Your computer stores the password for every WiFi network you have ever connected to. Windows and Mac both keep these passwords in encrypted files on your hard drive — you do not need to dig through system folders or use special tools to see them. The password is there, and you can retrieve it in a few clicks using built-in settings.
The location and method differ between Windows and Mac, but both operating systems make the process straightforward. You do not need administrator access on most machines, though some workplace computers may restrict this. If you cannot see the password using these steps, your IT department or network administrator has likely locked it down on purpose.
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 saved passwords in Keychain Access, a built-in app that holds all network credentials on the computer.
- You must be connected to the network or have connected to it before — the computer cannot show you a password for a network it has never seen.
- If the password field shows only dots or asterisks and will not reveal the actual password, your computer's security settings or administrator restrictions are blocking the view.
Finding the password on Windows 10 or 11
Open Settings and go to Network and Internet. On the left side, click WiFi, then scroll down and click Manage known networks. You will see a list of every network your computer has connected to. Click the network whose password you need, then click Forget — do not worry, this does not delete the password yet.
After you click Forget, go back to the WiFi list and look for your network again. Click it, then click Connect. A box will appear asking for the password. Instead of typing it, look for a small eye icon or checkbox that says Show password. Click that, and the password appears in plain text. Write it down before you close the window.
If you do not see a Show password option, try this alternative: open Command Prompt as administrator (right-click the Start menu and select Terminal (Admin) or Command Prompt (Admin)). Type this command exactly:
netsh wlan show profile name="YourNetworkName" key=clear
Replace "YourNetworkName" with the actual name of your network. Press Enter. Scroll down in the results until you see Key Content — that is your password in plain text.
Finding the password on Mac
Open Keychain Access, which you can find by clicking the Spotlight icon (magnifying glass) in the top right, typing "keychain", and pressing Enter. Once Keychain Access opens, make sure you are in the Passwords category on the left side.
Search for your network name in the search box at the top right. When you find it, double-click the entry. A window opens showing the network details. At the bottom, check the box next to Show password. Your Mac will ask you to confirm your user password — type it in. The WiFi password then appears in plain text in the password field.
What to do if the password will not show
If you see the password field but it only shows dots or asterisks and clicking Show password does nothing, your computer has restrictions in place. This is common on work computers, school networks, or machines managed by an IT department. In that case, you cannot retrieve the password from the computer itself.
Your options are to contact the person or department that manages the network — usually your IT support, school tech help desk, or workplace network administrator. They can tell you the password or reset it. If this is your home network and you set it up yourself, you can also log into your router directly to see or change the password, though that requires knowing your router's admin login.
Retrieving a password from a network you are not currently connected to
Your computer only stores passwords for networks it has connected to before. If you are trying to find the password for a network your computer has never joined, these steps will not work — the password straightforward is not saved anywhere on the machine.
If the network is yours (your home WiFi, for example), log into your router instead. Open a web browser and type your router's IP address — usually 192.168.1.1 or 192.168.0.1 — into the address bar. Log in with your router's admin username and password (often printed on the router itself or in the manual). Once inside, look for a WiFi or Wireless section where the password is displayed or can be changed.
Why your computer remembers passwords in the first place
When you connect to a WiFi network and check the box to "remember this network" or "connect automatically", your computer encrypts the password and stores it locally. This is why you do not have to type the password every time you walk into range — the computer recognizes the network and logs in on its own.
This convenience also means anyone with access to your computer could potentially retrieve these passwords. If you are concerned about security, you can forget networks you no longer use by going back to the Manage known networks screen on Windows or deleting entries in Keychain on Mac. This does not affect your ability to connect in the future — you will just have to enter the password again the next time.
Frequently Asked Questions
Can I see passwords for networks I am not connected to right now?
Yes, as long as your computer has connected to that network before. The password is stored on your hard drive regardless of whether you are currently in range. If your computer has never connected to the network, the password will not be saved anywhere on the machine.
What if I forgot my router password and cannot log in to change the WiFi password?
Most routers have a reset button on the back that restores factory settings. Holding it for 10 to 15 seconds erases all your settings and returns the router to its default username and password (usually printed on the device). You will have to set up your WiFi from scratch, but this is the only way forward if you have lost access entirely.
Is it safe to write down or share the password I find this way?
The password itself is the same whether you find it on your computer or ask the network owner directly. Treat it the same way you would treat any password — do not share it with people you do not trust, and do not write it in a place where others can easily find it. If you are concerned someone has accessed your network, you can change the password through your router settings.
Why does my work computer not show the password even though I am connected?
Your IT department has likely restricted password viewing for security reasons. Work networks often use policies that prevent employees from seeing saved credentials. Contact your IT support desk — they can verify your identity and provide the password or help you reconnect to the network.