Where Your Computer Stores the WiFi Password

Your computer saves the WiFi password the moment you first connect to a network. Windows, Mac, and Linux all store this information in encrypted files on your hard drive — you do not need to contact your router or internet provider to retrieve it. The password sits in your system settings, and you can view it without special tools or software.

The location and method differ slightly between operating systems, but the process takes under two minutes on any of them. You will need administrator access to your computer account to see the password.

Key Takeaways

  • Windows stores WiFi passwords in Settings under Network and Internet, where you can view any saved network's password in plain text.
  • Mac users can find the password in Keychain Access, which requires your computer password to unlock but shows the WiFi password when ready.
  • Linux users can retrieve the password from the NetworkManager configuration files, though the exact location depends on your distribution.
  • You must be logged in as an administrator or have administrator permissions to view saved passwords on any operating system.

Finding Your WiFi Password on Windows 10 and 11

Open Settings by pressing the Windows key and typing "Settings," then select it from the results. Navigate to Network and Internet, then click WiFi on the left side. You will see a list of networks you have connected to previously. Find the network name (SSID) you need the password for and click it.

Click Manage known networks, then click the network name again. Select Forget if you want to remove it, or select Properties to view its details. Scroll down to the Security type section and toggle the switch next to Show under the password field. Your WiFi password will appear in plain text.

If you do not see the Show option, Windows may ask you to enter your computer password first. Type it and select Yes to confirm. The password will then display.

Finding Your WiFi Password on Mac

Open Spotlight by pressing Command and Space together, then type "Keychain Access" and press Enter. In the Keychain Access window, make sure Passwords is selected in the left sidebar. Use the search box at the top right to type the name of your WiFi network.

Double-click the network name when it appears in the list. A small window will open showing the network details. Check the box next to Show password near the bottom. Your Mac will ask you to enter your computer password — type it and click Allow. The WiFi password will appear in the password field when ready.

Finding Your WiFi Password on Linux

Linux stores WiFi passwords in the NetworkManager configuration directory, but the exact path depends on your distribution. Open a terminal window and run this command: sudo cat /etc/NetworkManager/system-connections/[network-name], replacing [network-name] with your actual WiFi network name. You will need to enter your administrator 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, your network has no password.

If you prefer a graphical method, open your system settings and navigate to WiFi or Network settings. Right-click the connected network and look for an option like Edit or Properties. Some desktop environments (like GNOME or KDE) will show the password in a similar way to Windows, though you may need to click a show/reveal button first.

What to Do If You Cannot View the Password

If you see a message saying you do not have permission, you are not logged in as an administrator. On Windows and Mac, log out and log back in to an account with administrator rights. On Linux, make sure you are using sudo before the command, and enter your administrator password when prompted.

If the network no longer appears in your saved networks list, your computer has forgotten it. In that case, you will need to reconnect to the network manually — your router will ask you to enter the password again, and your computer will save it for next time.

Retrieving the Password from Your Router Instead

If your computer never connected to the network, or if you cannot access your computer's settings, you can find the password on your router itself. Look for a sticker on the back or bottom of the router — it usually shows the network name and password printed together. The password may be labeled as "WiFi Password," "Network Key," or "Passphrase."

If the sticker is missing or unreadable, you can log into your router's admin panel through a web browser. Open a new tab and type your router's IP address (usually 192.168.1.1 or 192.168.0.1) into the address bar. Log in with the default username and password (often "admin" and "admin," though this varies by manufacturer). Navigate to the WiFi or Wireless settings section — the password will be displayed there in plain text.

Why Your Computer Stores Passwords and How to Remove One

Your computer saves WiFi passwords so you do not have to type them every time you connect. This is a convenience feature, but it also means anyone with access to your computer can view your passwords. If you share your computer with others and want to remove a saved network, you can do so from the same settings where you view the password.

On Windows, click Manage known networks and select Forget next to the network you want to remove. On Mac, right-click the network in Keychain Access and select Delete. On Linux, delete the configuration file using the terminal command sudo rm /etc/NetworkManager/system-connections/[network-name]. Once removed, your computer will no longer automatically connect to that network.

Frequently Asked Questions

Can I see the password if I am not the computer administrator?

No. Windows, Mac, and Linux all require administrator permissions to view saved WiFi passwords. If you are not an administrator on your computer, ask someone with admin access to show you the password, or contact your router manufacturer for the default password printed on the device itself.

What if the password field is blank or empty?

A blank password field means your WiFi network has no password — it is open to anyone. This is common in public places like coffee shops or libraries. If you expected a password, check that you are looking at the correct network name, as you may have multiple networks saved.

Will viewing the password change it or affect my WiFi connection?

No. Viewing a saved password does nothing to the network or your connection. You can view it as many times as you want without any impact on your WiFi.

Can I view passwords for networks I am not currently connected to?

Yes. Your computer stores passwords for every network you have ever connected to, even if you are not connected now. You can view any of them using the same steps, as long as the network is still in your saved networks list.

What should I do if someone else knows my WiFi password and I want to change it?

Log into your router's admin panel (usually through a web browser at 192.168.1.1) and navigate to the WiFi or Wireless settings. Change the password there, and your router will when ready start using the new one. All devices will disconnect and will need to reconnect using the new password.