Where Windows stores your WiFi password
Windows keeps the password for every WiFi network you have ever connected to, encrypted in your system settings. You can view any of these passwords directly on your computer without resetting the network or calling your internet provider. The password is stored under the network's properties, and Windows lets you reveal it in plain text so you can read it.
This is useful when you need to give the password to a guest, connect a new device, or simply remember what you set it to. You do not need administrator permission to view a password for a network your computer has already connected to, though you do need to be logged into your Windows account.
Key Takeaways
- Open Settings, go to Network & Internet, then WiFi, and select Manage Known Networks to see every network your computer has connected to.
- Click the network name, then Properties, then scroll down and toggle "Show" next to the password field to reveal it in plain text.
- If you cannot see the network in your list, your computer has never connected to it, and you will need to check your router instead.
- You can also view passwords through Command Prompt by typing a single command, which is faster if you are comfortable with that tool.
- Forgetting to log out of your Windows account leaves your stored passwords visible to anyone who sits down at your computer.
Viewing your password through Settings
Open the Settings app by pressing the Windows key and typing "Settings", then press Enter. Click Network & Internet on the left side. Select WiFi from the menu that appears.
Scroll down and click Manage Known Networks. You will see a list of every WiFi network your computer has connected to. Find the network you need the password for and click it. A window will open showing the network details.
Look for a field labeled Password. Next to it, you will see a toggle or button that says Show. Click it, and the password will appear in plain text. You can now read it, write it down, or copy it to share with someone else. If the password field is empty or grayed out, the network was set to open (no password required).
Using Command Prompt for faster access
If you are comfortable using Command Prompt, this method is quicker than navigating Settings. Press the Windows key, type "Command Prompt", right-click it, and select Run as Administrator. Click Yes when Windows asks for permission.
Type this command exactly: netsh wlan show profile name="NetworkName" key=clear — but replace NetworkName with the actual name of your WiFi network. For example, if your network is called "Linksys-5G", you would type: netsh wlan show profile name="Linksys-5G" key=clear
Press Enter. The command will display all the details about that network. Look for the line that says Security Settings, and below it you will see Key Content. The text after Key Content is your password. If you see a message saying "The specified profile does not exist", your computer has never connected to that network.
What to do if the password is not showing
If you open the network properties and the password field is blank or says "Not shown", it usually means one of two things. The network may have been set up without a password, or your computer may not have permission to view it. If you set up the network yourself on this computer, you should be able to see it.
If you still cannot see the password after trying both methods, the network may have been removed from your known networks list. This can happen if you have not connected to it in a long time, or if Windows was reinstalled. In that case, you will need to check the router itself. Log into your router's admin panel (usually by typing 192.168.1.1 or 192.168.0.1 into a web browser) and look for the WiFi settings or Security settings to find the password there.
Checking your router if Windows does not have the password
If your computer has never connected to the network, or if you cannot find it in your known networks, you will need to check the router directly. Most routers have a sticker on the back or bottom with the default network name and password printed on it. This is often the password that is still in use, especially if you have not changed it since installation.
If the sticker password does not work, you can log into the router's settings page. Open a web browser and type 192.168.1.1 or 192.168.0.1 into the address bar. You will be asked for a username and password — these are usually admin and admin, or admin and the serial number on the router. Once logged in, look for WiFi Settings, Wireless Settings, or Security. The password field there will show your current network password.
Keeping your stored passwords secure
Because Windows stores all your network passwords, anyone who can access your computer can view them using the same steps. Always lock your computer when you step away by pressing Windows key + L. This prevents someone from opening Settings and revealing your passwords while you are gone.
If you share a computer with other people, consider creating separate user accounts for each person. Each account has its own stored passwords, and one person cannot view another person's passwords without logging into their account. If you are selling or giving away your computer, remove the stored networks before handing it over. Go to Manage Known Networks, click each network, and select Forget to delete it from your computer's memory.
Frequently Asked Questions
Can I see passwords for networks I am not currently connected to?
Yes. Windows stores passwords for every network your computer has ever connected to, even if you are not near that network right now. You can view any of them through Settings or Command Prompt as long as your computer has connected to them at least once in the past.
What if I forgot my password and need to reset it?
If you cannot remember your WiFi password and your computer has never connected to that network, you will need to reset it through your router. Log into the router's admin panel and change the password in the WiFi or Security settings. All devices will need to reconnect using the new password.
Will viewing my password hurt my computer or network?
No. Simply viewing a stored password does nothing to your computer or network. It is a read-only action. The password itself does not change, and your network security is not affected by looking at it.
Can I view passwords for networks on someone else's computer?
Only if you are logged into their Windows account. You cannot view another person's stored passwords without their login credentials. If you need their WiFi password, ask them directly or check the router.
Why does Windows store passwords at all?
Windows stores passwords so your computer can reconnect to networks automatically without asking you to type the password every time. This is convenient, but it also means anyone with access to your computer can see those passwords. Always lock your computer when you are away.