Where your computer stores the WiFi password you've already connected to

Your computer remembers every WiFi network you've ever joined, including the password. Windows, Mac, and Linux all keep this information in encrypted storage — you just need to know where to look and what permissions you need to see it. The steps differ by operating system, but the idea is the same: you're retrieving a password your own device already knows.

You'll need administrator access on the computer to view saved passwords. If you're on a work or school computer, the IT department may have locked this down, and you won't be able to see the password even if you're logged in as an admin. On your own machine, you should be able to retrieve it in under five minutes.

Key Takeaways

  • Windows stores WiFi passwords in a settings menu you can access through Settings > Network > WiFi > Manage Known Networks, then selecting your network and choosing "Forget" to see the password option.
  • On Mac, the password is stored in Keychain Access, which you can open from Applications > Utilities, then search for your network name and view the password.
  • Linux users can find the password in the NetworkManager configuration files, usually located in /etc/NetworkManager/system-connections/, though the exact path varies by distribution.
  • You must have administrator or root access on the computer to view any saved WiFi password.
  • If you cannot remember the password and your computer won't connect, you'll need to reset the router itself using its physical reset button or the manufacturer's app.

Finding the password on Windows 10 and Windows 11

Open Settings and go to Network & Internet. Click on WiFi, then select "Manage Known Networks." Find the network name (SSID) you're looking for and click on it. You'll see an option that says "Forget" — but before you click that, look for a link or button that shows the password. On some Windows versions, you can also right-click the network name and select "Properties" to see the password field.

If that doesn't work, try the Command Prompt method. Right-click the Start menu, select "Windows Terminal (Admin)" or "Command Prompt (Admin)," and type this command: netsh wlan show profile name="YourNetworkName" key=clear — replace "YourNetworkName" with your actual network name. The password appears next to "Key Content" in the output. This method works on almost all Windows versions and often shows the password when the Settings menu doesn't.

Finding the password on Mac

Open Spotlight search (Command + Space), type "Keychain Access," and press Enter. In the Keychain Access window, search for your network name in the top-right search box. When you find it, double-click the entry. A new window opens — check the box that says "Show password" at the bottom. Your Mac will ask you to confirm your user password, then the WiFi password appears in plain text.

If you have multiple Keychains, make sure you're searching the "login" keychain, which is usually selected by default. If the network doesn't appear, try searching for just part of the network name, since some networks use special characters that the search might not match exactly.

Finding the password on Linux

Linux stores WiFi passwords in NetworkManager configuration files, but the location and format depend on your distribution. On most systems, open a terminal and navigate to the NetworkManager folder: sudo nano /etc/NetworkManager/system-connections/ — you'll need to enter your password. Look for a file named after your network. Open it and search for the line that starts with "psk=" — that's your WiFi password.

Some distributions use different locations or encryption methods. Ubuntu and Fedora typically use the path above. If you don't find your network there, try sudo grep -r "psk" /etc/NetworkManager/ to search all NetworkManager files at once. You'll need root access (the sudo command) to view these files, which is why you're prompted for your password.

What to do if your computer won't show the password

If you're on a work or school network, the administrator may have blocked password viewing as a security measure. You won't be able to bypass this — you'll need to contact IT support and ask them for the password or to reconnect the device to the network.

If it's your own home network and you've forgotten the password, you can't retrieve it from the computer alone. Instead, you'll need to reset your router. Most routers have a small reset button on the back — hold it for 10 to 15 seconds while the router is powered on. This erases all settings and returns the router to factory defaults, usually with a default password printed on a sticker on the device itself. After reset, you can set a new password through the router's admin panel, which you access by typing the router's IP address (usually 192.168.1.1 or 192.168.0.1) into a web browser.

Why you might need the password in the first place

The most common reason is connecting a new device — phone, tablet, or another computer — to your home network. Rather than typing the password from memory, you can retrieve it from a device that's already connected. This is faster and more accurate than trying to remember a 20-character password you set up years ago.

Another reason is troubleshooting. If a device keeps disconnecting, you might want to verify that the password stored on that device matches what your router actually has. Mismatches happen when someone changes the router password but forgets to update it on all devices.

Keeping your password find after you find it

Once you have the password, don't email it to yourself or text it to someone else. Write it down on paper and keep it in a safe place, or use a password manager like Bitwarden, 1Password, or KeePass to store it. Password managers encrypt the password and protect it with a master password you control.

If you're sharing the password with a guest, consider creating a separate guest network on your router instead. Most routers let you set up a guest WiFi with its own password, separate from your main network. This way, guests can connect without learning your primary network password, and you can turn the guest network off when they leave.

Frequently Asked Questions

Can I see the password if I'm not the admin on this computer?

No. You need administrator or root access to view saved WiFi passwords on any operating system. If you're a standard user on a work or school computer, you won't be able to see it. Ask the person with admin access or contact IT support.

What if the network name doesn't appear in my saved networks list?

Your computer only stores passwords for networks it has successfully connected to before. If the network isn't listed, your device has never joined it. You'll need the password from someone else or from the router's admin panel, which requires logging into the router itself with its admin credentials.

Is it safe to view my WiFi password on a public computer?

No. Never retrieve your WiFi password on a public or shared computer. Someone with access to that machine could see the password and connect to your network. Only view passwords on devices you own and control.

Can I change my WiFi password from my computer?

Not directly from Windows, Mac, or Linux. You have to log into your router's admin panel through a web browser. Type your router's IP address (usually 192.168.1.1) into the address bar, log in with your router's admin username and password, and look for the WiFi settings or security settings to change the password there.

What if I see multiple entries for the same network in Keychain or NetworkManager?

This sometimes happens if you've reconnected to the network multiple times or if the network name changed. The most recent entry is usually the one your computer is currently using. If you're unsure which password is correct, try the most recent one first.