Where your computer stores the WiFi password you need

Your computer already knows your WiFi password — it has to, or it couldn't reconnect to the network automatically. The password is stored in encrypted form in your operating system's network settings. You can retrieve it without calling your internet provider or resetting your router, though the steps differ depending on whether you use Windows, Mac, or Linux.

The password you find will be the one you entered when you first connected to the network. If you changed the password at the router since then, this method shows you the old password, not the new one. If you need the current password, you'll need to check your router's admin panel instead.

Key Takeaways

  • Windows stores WiFi passwords in Credential Manager, accessible through Settings > Network & Internet > WiFi > Manage Known Networks.
  • Mac users can find the password in Keychain Access by searching for the network name and checking the "Show password" box.
  • Linux users can retrieve passwords from the NetworkManager configuration files, usually stored in /etc/NetworkManager/system-connections/.
  • You need administrator or root access on your computer to view stored passwords.
  • The password shown is the one your computer last used to connect; if you changed it at the router, you'll see the old password.

Finding your WiFi password on Windows 10 and 11

Open Settings and go to Network & Internet. Click WiFi in the left sidebar, then scroll down and click Manage Known Networks. Find your network name in the list and click it. A window will open showing network details. Click Security to expand that section.

You'll see a field labeled Security type and below it a field for the password, which will show dots or asterisks. Click the eye icon next to the password field to reveal it in plain text. Windows will ask you to confirm you're the account owner — enter your Windows password if prompted.

If you don't see an eye icon, your account may not have permission to view passwords. You'll need to log in with an administrator account instead. If the network doesn't appear in the Manage Known Networks list, your computer has never connected to it, so there's no stored password to retrieve.

Finding your WiFi password on Mac

Open Keychain Access, which you can find by pressing Command+Space, typing "keychain", and pressing Enter. In the Keychain Access window, make sure Passwords is selected in the left sidebar under Category. In the search box at the top right, type your network name exactly as it appears in your WiFi list.

When your network appears in the results, double-click it to open its details. A window will pop up. Check the box next to Show password. Your Mac will ask for your login password — enter it and click Allow. The password will now appear in plain text in the password field.

If you can't find your network in Keychain Access, your Mac has never connected to it. If you see the network but the password field is empty, the connection may have been set up without a password (open network) or the data may be corrupted.

Finding your WiFi password on Linux

Linux stores WiFi passwords in the NetworkManager configuration directory. Open a terminal and run this command: sudo cat /etc/NetworkManager/system-connections/[network-name], replacing [network-name] with your actual network name. You'll be asked for your root password.

The output will show a configuration file. Look for the line that starts with psk= — the text after that equals sign is your WiFi password. If you see key-mgmt=none instead, the network has no password.

If the command returns "No such file or directory", the network name may have special characters or spaces. You can list all stored networks by running sudo ls /etc/NetworkManager/system-connections/ to see the exact filenames, then use the correct name in the first command.

What to do if you can't find the password

If the password doesn't appear in your computer's network settings, it means your computer has never connected to that network, or the connection was made without storing the password. In either case, you'll need to reset the password at the router itself.

Log into your router's admin panel by opening a web browser and typing your router's IP address (usually 192.168.1.1 or 192.168.0.1) into the address bar. You'll need the router's admin username and password, which are often printed on a sticker on the back of the router. Once logged in, look for a WiFi settings or wireless settings section, where you can view or change the password.

If you don't know the router's admin password, you can reset the router to factory settings by holding down the reset button (usually a small recessed button) for 10 to 15 seconds. This will erase all custom settings and return the router to its default password, which is printed on the sticker.

Why your computer stores passwords and when to worry

Your operating system stores WiFi passwords so you don't have to type them every time you connect. The passwords are encrypted, meaning they're scrambled in a way that's difficult (though not impossible) for someone to read if they gain access to your computer's files.

If you're the only person who uses your computer and it stays in your home or office, this is not a security problem. If you share your computer with others, they can retrieve stored passwords using the same steps you just read. If you're concerned about this, you can delete the network from your saved networks list, which will force your computer to ask for the password the next time you connect.

Frequently Asked Questions

Can I see passwords for networks I'm not currently connected to?

Yes. Your computer stores passwords for every network it has ever connected to, even if you're not near that network now. The steps above work for any network in your saved list, whether you're connected to it or not.

What if I see the password but it doesn't work when I try to connect?

The password shown is the one your computer last used. If someone changed the password at the router after your computer connected, the stored password will be outdated. You'll need to check the router's admin panel or ask whoever manages the network for the current password.

Is it safe to write down or share the password I find?

That depends on who you're sharing it with and what network it is. For your home network, sharing the password with family members or trusted guests is normal. For a work or public network, check with whoever manages it before sharing the password with others.

Will resetting my router erase my stored passwords on my computer?

No. Resetting the router only affects the router itself. Your computer will still have the old password stored, but it won't work anymore because the router's password has changed. You'll need to reconnect with the new password, and your computer will update the stored password automatically.

Can I retrieve a password if I'm not logged in as an administrator?

On Windows and Mac, you need administrator access to view stored passwords. On Linux, you need root access. If you don't have those permissions, you won't be able to retrieve the password from your computer's settings.