Where Windows stores your WiFi password
Windows keeps the password for every network you have ever connected to, encrypted in your system settings. You can retrieve it without resetting the network or calling your internet provider. The password is stored under your network's name (called the SSID) in the WiFi settings, and Windows can show it to you in plain text if you know where to look.
You have three main routes: through Settings, through the Command Prompt, or through your router's admin panel. The Settings method is the easiest if you remember connecting to the network before. The Command Prompt method works even if you do not remember the network name. The router method bypasses Windows entirely and works on any device in your home.
Key Takeaways
- Windows stores every WiFi password you have connected to in encrypted form, and you can view it through Settings without resetting anything.
- The Settings route takes two minutes: find the network name, open its properties, and check the "Show character" box next to the password field.
- If you do not remember the network name, use Command Prompt to list all saved networks and their passwords at once.
- Your router's admin panel holds the password too, and you can reset it there if you have forgotten it completely and cannot retrieve it from Windows.
Retrieving the password through Settings
Open Settings by pressing Windows key + I, or click the Start menu and type "Settings". Go to Network & Internet on the left sidebar, then click WiFi. Select "Manage known networks" near the bottom of the page.
Find the network name you want the password for in the list. Click on it, then click "Properties". Scroll down to the "Security type" section. Next to "Network security key", you will see a series of dots or asterisks. Click the "Show" checkbox next to it, and the password appears in plain text. Write it down or copy it before you close the window.
If the network is not in your "Manage known networks" list, you have never connected to it from this PC before. In that case, you will need to use the Command Prompt method or check your router instead.
Using Command Prompt to list all saved passwords
Open Command Prompt as administrator. Press Windows key + R, type cmd, and press Ctrl + Shift + Enter. Click "Yes" when Windows asks for permission.
Type this command exactly: netsh wlan show profile and press Enter. A list of every network your PC has ever connected to will appear, each with its SSID (network name) shown. Find the one you need.
Then type: netsh wlan show profile name="YourNetworkName" key=clear, replacing "YourNetworkName" with the exact name from the list. Press Enter. Scroll up in the Command Prompt window to find the line that says "Key Content" — the password is right after it. This method works even if you have forgotten the network name, because the first command shows you all of them.
Checking your router's admin panel
If you cannot retrieve the password from Windows, you can find it on the router itself. Open a web browser and type 192.168.1.1 or 192.168.0.1 into the address bar. Most home routers use one of these addresses. If neither works, look at the bottom or back of your router — the address is usually printed there.
You will be asked to log in. The default username is often "admin" and the password is often "admin" or "password", but check your router's label for the correct credentials. Once you are logged in, look for a section called "WiFi", "Wireless", "Network Settings", or "Security". The password (sometimes called the "passphrase" or "pre-shared key") will be displayed there, often in a field you can click to reveal.
If you have changed the router login password and cannot remember it, you can reset the router to factory settings by holding the reset button on the back for 10 to 15 seconds. This will erase all your settings, so use this only as a last resort.
What to do if none of these methods work
If Settings shows no networks, Command Prompt returns an error, and you cannot access the router, your PC may never have connected to this network before. In that case, you will need to ask whoever set up the network or owns the router. If it is your own router and you have lost the password completely, resetting the router to factory settings is your only option.
If you are trying to connect a new device to your network and do not have the password, the fastest route is to connect that device to the router with an ethernet cable (if it has a port), then retrieve the password from the router's admin panel using a different computer. Alternatively, most modern routers have a WPS button on the back that lets you connect devices without typing a password — hold it for a few seconds and then connect your device within two minutes.
Why Windows stores passwords and when it forgets them
Windows saves WiFi passwords so you do not have to type them every time you connect. The passwords are encrypted using your Windows login credentials, which is why only you can view them on your PC. If you change your Windows password, the stored WiFi passwords remain accessible as long as you log in with your new password.
Windows forgets a password only if you manually remove the network from your saved list, or if you reset Windows to factory settings. straightforward forgetting the password yourself does not erase it from Windows — it stays there until you delete it or wipe the system.
Frequently Asked Questions
Can I see the WiFi password on my phone or tablet?
On Android, go to Settings, find WiFi, long-press the network name, tap "Manage", and look for "Password" or "Show password". On iPhone, go to Settings, WiFi, tap the network name, and look for the password field — it may be hidden behind a "Show Password" option. The exact steps vary by device model and operating system version.
What if I see the password in Settings but it looks like random characters?
That is the actual password. WiFi passwords do not have to be words — they can be any combination of letters, numbers, and symbols. Copy the entire string exactly as it appears, including capital letters and special characters, when you type it into another device.
Will retrieving my password change anything on my network?
No. Looking at your password in Settings, Command Prompt, or your router does not change the password itself or affect any connected devices. You are only viewing information that is already stored on your system.
Can someone else on my network see my WiFi password?
Not through Windows settings — only the person logged into your PC can view it. However, anyone with physical access to your router can access the admin panel and see the password there. If you are concerned about security, change your router's admin password and your WiFi password regularly.
What is the difference between the network name and the password?
The network name (SSID) is what you see when you look for available WiFi networks — it is public. The password is what you type to connect — it is private. You need both to connect a new device to your network.