Where your computer stores the WiFi password

Your computer remembers every WiFi network you have connected to, including the password. When you need that password — to give to a guest, set up a new device, or recover it because you forgot — you can pull it directly from your computer's network settings. The password is stored in encrypted form, but your operating system can display it in plain text if you have administrator access to the machine.

The location and method differ between Windows, Mac, and Linux, but all three store this information locally. You do not need to contact your internet provider or router — the answer is already on your computer.

Key Takeaways

  • Windows stores WiFi passwords in Credential Manager, accessible through Settings or the command line.
  • Mac users can find saved passwords in Keychain Access, which requires your login password to view.
  • Linux systems store WiFi credentials in the NetworkManager configuration files, viewable through the terminal.
  • You must have administrator or user account access to the computer to retrieve stored passwords.
  • If you cannot remember your computer's password, you cannot retrieve the WiFi password without resetting the computer.

Finding your WiFi password on Windows 10 and 11

Open Settings and go to Network & Internet, then WiFi. Select "Manage known networks" and click on the network name you need the password for. Choose "Forget" is not what you want — instead, look for "Properties" or a similar option that shows network details. In some Windows versions, this route does not display the password directly.

The faster method is to use Credential Manager. Press Windows key + R, type control /name Microsoft.CredentialManager, and press Enter. Click "Windows Credentials" and look for entries labeled with your network name (usually prefixed with "WIFI-" or just the network SSID). Click the entry to expand it, then click "Show" next to the password field. Windows will ask for your computer login password to confirm you have permission.

If you prefer the command line, open Command Prompt as administrator (right-click and select "Run as administrator"). Type netsh wlan show profile name="YourNetworkName" key=clear, replacing "YourNetworkName" with your actual network name. The password appears in the output as "Key Content".

Finding your WiFi password on Mac

Open Keychain Access by pressing Command + Space, typing "Keychain Access", and pressing Enter. In the search box at the top right, type the name of your WiFi network. When the network appears in the list, double-click it to open its details.

A window will pop up showing the network information. Check the box labeled "Show password" near the bottom. Your Mac will prompt you to enter your login password — this is the password you use to log into your Mac account, not the WiFi password. After you enter it, the WiFi password appears in plain text in that same field.

Finding your WiFi password on Linux

Linux stores WiFi passwords in the NetworkManager configuration directory. Open a terminal and type sudo cat /etc/NetworkManager/system-connections/YourNetworkName, replacing "YourNetworkName" with your network's name. You will be asked for your sudo password (your user account password with administrator privileges).

The output will show a configuration file. Look for the line that says psk= followed by the password in plain text. If the password is hashed or encrypted, your system may not display it in readable form through this method — in that case, you may need to reconnect to the network and re-enter the password, which will update the stored version.

Some Linux desktop environments like GNOME also allow you to view passwords through the graphical Settings menu under WiFi or Network settings, though the exact path varies by distribution.

What to do if you cannot find the password

If the network does not appear in your stored credentials, your computer may never have connected to it, or the stored entry may have been deleted. In this case, you will need to get the password from the person who set up the network or from the router itself.

To find the password on the router, look for a sticker on the back or bottom of the device — most routers have a default WiFi name and password printed there. If the network has been customized, you will need to log into the router's admin panel (usually by typing 192.168.1.1 or 192.168.0.1 into a web browser) and check the WiFi settings. You will need the router's admin password for this, which is often different from the WiFi password.

Resetting a forgotten computer password

If you have forgotten your Windows, Mac, or Linux login password, you cannot retrieve the WiFi password without first regaining access to your account. Windows users can use a Microsoft account recovery option or a password reset disk if one was created. Mac users can use Apple ID to reset their password or boot into Recovery Mode. Linux users can boot into single-user mode or use a live USB to reset the password.

These processes vary significantly by operating system version and setup. If you are locked out of your computer, contact the manufacturer's support or a local computer repair service — they can help you regain access without erasing your data.

Keeping your WiFi password find

Once you have the password, be cautious about where you write it down or share it. Do not email it to yourself in plain text or post it in unencrypted messages. If you need to share it with a guest, consider using your router's guest network feature instead, which lets you create a separate temporary password without revealing your main network password.

If you suspect someone has learned your WiFi password without permission, change it through your router's admin panel. Most routers let you change the WiFi password without affecting your internet connection — the change takes effect when ready for new connections, though devices already connected will stay connected until you restart them or they reconnect.

Frequently Asked Questions

Can I see the WiFi password if I am not the computer's administrator?

No. Windows Credential Manager, Mac Keychain, and Linux NetworkManager all require administrator or account owner access. If you are a guest or standard user on the computer, you cannot retrieve stored passwords. Ask the computer's owner to look it up for you.

Will retrieving the password change or delete it?

No. Viewing a stored password does not modify it, disconnect you from the network, or affect the network in any way. You can look it up as many times as you need without any consequences.

What if the password shows as encrypted or hashed?

Some systems encrypt stored passwords for extra security. If you see a long string of characters instead of readable text, your operating system is not configured to display it in plain text. In this case, reconnect to the network manually and re-enter the password — this usually updates the stored version to a readable format.

Can I find a WiFi password from a network I am not currently connected to?

Yes, as long as your computer has connected to that network before. The password is stored even after you disconnect. If your computer has never connected to the network, it will not have the password stored anywhere.

Does this method work for hidden WiFi networks?

Yes. Hidden networks (those that do not broadcast their name) are stored the same way as visible networks. If you have connected to a hidden network before, you can retrieve its password using the same methods described above.