Authorized use only. This tool is for recovering YOUR OWN forgotten passwords only. Unauthorized network access is illegal.
Windows 11 / Windows 10

How to Find Your WiFi Password on Windows 11

If a Windows 11 PC has ever connected to a WiFi network, the password is sitting in a local credential store waiting to be read back. There are three reliable ways to see it: the modern Settings UI for the currently connected network, the legacy Control Panel for any saved profile, and a one-line PowerShell command that works on every saved network at once. All three are built in, no downloads, no third-party tools.

Method 1: Settings (currently connected network)

This is the fastest route when you just need the password of the network your PC is using right now. It works from a standard user account, no administrator prompt.

  1. 1

    Press Windows + I to open Settings.

  2. 2

    Click Network & internet in the left sidebar, then Wi-Fi.

  3. 3

    Click the name of the current network at the top, then Hardware properties or Wi-Fi properties.

  4. 4

    Scroll to View Wi-Fi security key and click it.

  5. 5

    The WPA or WPA2 key is printed in plain text next to Key.

The Settings UI only exposes the password of the active connection. For networks saved but not in use right now, jump to Method 2 or Method 3 below.

Method 2: Legacy Control Panel (any saved network)

The old Network and Sharing Center is still present in Windows 11 and still exposes the plain WiFi key for any saved profile. This is the least-hidden way to see passwords for networks you used last year and have not connected to since.

  1. 1

    Press Windows + R, type ncpa.cpl, press Enter. The classic Network Connections window opens.

  2. 2

    Double-click the Wi-Fi adapter that is currently connected. If none is connected, right-click it and choose Status after connecting briefly.

  3. 3

    Click Wireless Properties, then the Security tab.

  4. 4

    Tick Show characters. The WPA key appears in the Network security key field.

Show characters works only for the network whose adapter status is open, which in practice is the active one. For arbitrary saved networks without connecting first, use the netsh command in Method 3.

Method 3: netsh wlan show profile (every saved network)

This is the most powerful method. It lists every WiFi profile Windows has ever saved, then reveals the plain text WPA key of any one of them, even networks you have not connected to in months. Requires an elevated Terminal.

1. List every saved WiFi profile:

netsh wlan show profiles

You will get a section titled User profiles with one line per saved network, for example All User Profile : MyHomeWiFi.

2. Reveal the key for one profile:

netsh wlan show profile name="MyHomeWiFi" key=clear

Look for the Security settings block. The field Key Content is the WPA or WPA2 password in plain text.

3. Dump all passwords at once (PowerShell one-liner):

(netsh wlan show profiles) | Select-String "\:(.+)
quot; | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key Content\W+\:(.+)
quot; | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize

Paste that into an administrator PowerShell and you get a table of every saved SSID alongside its plain text key. Extremely useful when recovering credentials from an old laptop before wiping it.

Comparison: which method should I use?

MethodAdmin rightsCovers all saved networksBest for
Settings UINoNo (active only)Quick one-off look at current WiFi
Control Panel (ncpa.cpl)SometimesNo (active only)Users uncomfortable with Terminal
netsh wlan show profileYes (for key=clear)YesBulk export, old profiles, scripts

Troubleshooting

Key Content is missing from netsh output

You forgot key=clear or you are not in an elevated Terminal. Right-click Start, choose Terminal (Admin), and re-run the full command including key=clear.

View Wi-Fi security key button is not in Settings

You are on a wired connection or on an older Windows 11 build. Use Method 3 instead, which always works regardless of UI version.

Show characters checkbox is grayed out

Happens when the profile was deployed by Group Policy with credentials hidden from end users. No built-in method can recover the key in that case.

SSID contains special characters and netsh fails

Wrap the SSID in double quotes exactly as it appears in the show profiles output, including trailing spaces. Some enterprise SSIDs contain non-ASCII characters that require UTF-8-aware terminals.

Works on Windows 10 but not on Windows 11?

Every method above works identically on Windows 10 21H2 through 22H2. If something behaves differently, it is almost always a permissions issue, not an OS difference.

How Windows stores the password internally

WiFi profiles live under C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces, one XML file per saved SSID. The keyMaterial element is encrypted with DPAPI scoped to the Local System account. That is why key=clear requires administrator rights: only Local System or an elevated process can ask DPAPI to decrypt the blob.

You cannot copy those XML files to another machine and decrypt them there. DPAPI ties the key to the local SID and machine key, so credential theft from offline files is intentionally impossible without the full user profile.

When none of the methods work

Every built-in method assumes Windows still has the profile saved and can decrypt it. If the PC was reimaged, the user profile was deleted, or the profile was pushed by a Group Policy that stripped credentials, Windows genuinely does not know the password anymore.

For a home or small-office network you own, the next places to look are the router admin panel or the sticker on the router itself. If neither of those works either, an authorized WPA2 recovery using a captured handshake may be the remaining option. Read what a WPA handshake is first.

Frequently asked questions

Does this leak passwords to Microsoft or any cloud service?

No. All three methods read the credential locally from the Windows credential store. Nothing is sent over the network.

Is it possible to see a WiFi password on a PC I do not own?

Not without the owner's credentials or administrator access to that machine. DPAPI is scoped per user and per machine, so offline copies of the Wlansvc folder cannot be decrypted elsewhere.

Can I see the WiFi password of a guest network my PC connected to once?

Yes. Windows treats guest networks the same as any other WPA network. Run netsh wlan show profiles, find the guest SSID, and run show profile name="SSID" key=clear on it.

Will this work on Windows 11 Home or only Pro?

All three methods work on Home, Pro, Enterprise, and Education editions. There is no feature difference for WiFi credential viewing.

Can I export all WiFi profiles including passwords to an XML file?

Yes, but only the profile structure. Run netsh wlan export profile key=clear folder=C:\Backup. The XML files contain the plain key in keyMaterial when key=clear is passed.

PC wiped or profile gone?

For networks you own, try the router admin walkthrough or the authorized handshake recovery form.

Owner-authorized use only

Read back WiFi passwords only on PCs you own or are authorized to administer.

Related reading

Decide between router-side and handshake-based recovery: router admin vs handshake recovery. Full workflow: recovery guide.