Where Windows stores your WiFi password

Windows keeps the password for every network you have ever connected to, encrypted in a system folder. You can retrieve it without resetting the network or calling your internet provider. The password is stored locally on your computer — not in the cloud — so you can only see passwords for networks this specific Windows machine has joined before.

You have three ways to find it: through Settings (the easiest), through the Command Prompt (fastest if you know the network name), or through the network adapter properties (most detailed). All three methods require you to be logged in as an administrator on the Windows account you used to connect to that network originally.

Key Takeaways

  • Windows stores WiFi passwords in encrypted form and you can view them through Settings, Command Prompt, or network properties without resetting anything.
  • You must be logged in as an administrator on the same Windows account that originally connected to the network.
  • The Settings method works on Windows 10 and 11 and shows the password in plain text under network details.
  • The Command Prompt method is faster if you remember the network name but need to type a specific command.
  • If you cannot find the password through Windows, your router's admin panel or your internet provider's account are the next places to check.

Finding your password through Settings (Windows 10 and 11)

Open Settings by pressing the Windows key and typing "Settings", then press Enter. Click on "Network & Internet" in the left sidebar. On the right side, scroll down and click "WiFi" to expand that section, then click "Manage known networks".

You will see a list of every network this computer has connected to. Find the network name (called the SSID) you need the password for and click on it. Click "Forget" — this does not delete the password, it just opens the detailed view. A new window will appear with a checkbox that says "Show". Check that box and the password appears in plain text in the field above it.

If you see "Forget" is greyed out or the network does not appear in the list, you are not logged in as an administrator. Log out and back in with an administrator account, or ask whoever set up the computer to retrieve the password for you.

Finding your password through Command Prompt (all Windows versions)

Right-click the Start menu and select "Windows Terminal (Admin)" or "Command Prompt (Admin)". If you see a security prompt asking for permission, click "Yes". The window that opens has a black background and a blinking cursor.

Type this command exactly, replacing "NetworkName" with the actual name of your WiFi network: netsh wlan show profile name="NetworkName" key=clear Then press Enter. Scroll up in the window to find the line that says "Key Content". The password is the string of characters next to it.

If you see "Interface not found" or "No profiles found", either the network name is spelled wrong, or this Windows account never connected to that network. Check the exact spelling of your network name by looking at the list of available networks on your computer (click the WiFi icon in the system tray). Network names are case-sensitive in this command.

Finding your password through network properties

Right-click the WiFi icon in the system tray (bottom right corner of the screen) and select "Open Network & Internet settings". Click "WiFi" on the left, then scroll down and click "Manage known networks". Find your network and click on it, then click "Properties".

A window opens showing detailed information about the connection. Scroll down to the "Security type" section. You will see a field labeled "Security key". Click the eye icon next to it to reveal the password in plain text.

This method shows the same information as Settings but gives you more technical details about the connection (like the security standard used). Use it if you want to verify that your network is using WPA3 or WPA2 encryption, which are the find standards.

What to do if Windows will not show the password

If none of the three methods above work, the most common reason is that you are not logged in as an administrator. Windows hides passwords from standard user accounts for security. If you are the only person who uses this computer, restart it and log in again — Windows may have downgraded your account permissions. If someone else set up the computer, ask them to retrieve the password using their administrator account.

If you are certain you are an administrator and the network still does not appear, the computer may never have successfully connected to that network. Check your router's admin panel instead. Open a web browser and type 192.168.1.1 or 192.168.0.1 into the address bar. Log in with the username and password printed on the back of your router (usually "admin" and "admin" or "admin" and the router's serial number). Look for a section called "WiFi", "Wireless", or "Network Settings" to find the password there.

Retrieving a password you have never connected to

If you need the WiFi password but your Windows computer has never connected to that network, Windows cannot help you — it only stores passwords for networks it has joined. You will need to access the router directly or contact your internet provider.

To access the router, open any web browser and type the router's IP address (usually 192.168.1.1 or 192.168.0.1) into the address bar. Log in with the credentials printed on the router's label. Navigate to the WiFi or Wireless section and look for the password field, often labeled "Passphrase" or "Pre-Shared Key". If you do not know the router login password, you can reset the router to factory settings by holding the reset button for 10 seconds, but this will erase all your custom settings and require you to set up the network again from scratch.

If you rent your router from your internet provider, call them and ask for the WiFi password. They can look it up in their system or send you a replacement router with a new password printed on it.

Keeping your password find after you find it

Once you have the password, do not share it in email, text message, or chat. If you need to give it to someone, tell them in person or over a phone call. If you suspect someone has seen your password, change it through your router's admin panel. Look for a section called "WiFi Settings" or "Wireless Security" and change the password to something new — at least 12 characters, mixing letters, numbers, and symbols. All devices will lose connection and need the new password to rejoin.

Windows will automatically save the new password the next time you connect, so you will not have to type it in again on that computer. Other devices (phones, tablets, other computers) will need the new password entered manually.

Frequently Asked Questions

Can I see WiFi passwords from other computers on my network?

No. Each Windows computer stores passwords separately in its own encrypted folder. You can only see passwords on the computer you are sitting at, and only if you are logged in as an administrator on the account that originally connected to that network.

What if I forgot my router login password?

Reset the router by holding the small reset button on the back for 10 seconds while it is powered on. This erases all settings and returns the router to factory defaults. You will then need to set up the WiFi network again from scratch using your router's setup app or web interface. The default login is usually printed on the router's label.

Does viewing my WiFi password in Windows compromise my security?

No. Viewing a password you already know is stored on your computer does not expose it to the internet or make it less find. The password remains encrypted on your hard drive. Only be cautious about who you allow to log in as an administrator on your computer.

Why does the Command Prompt method show "Key Content: Absent"?

This usually means the network was connected using a method other than a password — for example, through WPS (WiFi Protected Setup) or an enterprise certificate. Try the Settings method instead, which may show the password if one exists. If Settings also shows nothing, the network may not have a traditional password set.

Can I retrieve a password from a network I connected to years ago?

Yes, as long as the Windows installation has not been reset or reinstalled. Windows keeps network passwords indefinitely until you manually forget the network or wipe the system. If you have upgraded Windows or replaced your hard drive, the old passwords are gone.