Where Your Computer Stores the WiFi Password

Your computer keeps the WiFi password in a protected file so it can reconnect to the network automatically. You do not need to reinstall anything or contact your internet provider — the password is already on your machine. The steps differ between Windows, Mac, and Linux because each operating system stores and displays this information in a different place.

The password you see on your screen is the actual one your router uses. Write it down exactly as it appears, including capital letters, numbers, and special characters, because WiFi passwords are case-sensitive.

Key Takeaways

  • Windows stores WiFi passwords in Settings under Network and Internet, or you can right-click the network name in the taskbar and select "Manage Known Networks."
  • Mac users can find the password in Keychain Access by searching for the network name, then double-clicking the entry and checking "Show password."
  • Linux users can view the password in the /etc/NetworkManager/system-connections/ folder if they have administrator access.
  • You will need administrator or user account access to view the password on any operating system.
  • If you cannot find the password this way, you can reset it by logging into your router's settings page directly.

Finding the Password on Windows 10 and 11

Open Settings by pressing the Windows key and typing "Settings," then select the Settings app. Go to Network and Internet, then WiFi. Scroll down and click "Manage Known Networks." Find the network name you want the password for and click it.

Click "Forget" if you see that button, then reconnect to the network — Windows will prompt you to enter the password again, and you will see it as you type. If you do not want to forget the network, close this window and try the second method instead.

The second method works on Windows 10 and 11: right-click the WiFi icon in the taskbar (bottom right corner), select "Manage Known Networks," find your network, and click it. Then click "Properties" and scroll down to "Security." Check the box next to "Show" under the password field, and the password will appear in plain text.

Finding the Password on Mac

Open Keychain Access by pressing Command and Space, typing "Keychain Access," and pressing Enter. In the search box at the top right, type the name of your WiFi network exactly as it appears in your WiFi menu.

Double-click the network name when it appears in the list. A window will open showing the network details. Check the box next to "Show password" near the bottom. Your Mac will ask for your user account password — enter it and click "Allow." The WiFi password will now be visible in the password field.

Finding the Password on Linux

Linux stores WiFi passwords in a system folder that requires administrator access. Open a terminal by pressing Ctrl+Alt+T or searching for "Terminal" in your applications menu.

Type the following command and press Enter: sudo cat /etc/NetworkManager/system-connections/[network-name]/nm-settings.conf — replace [network-name] with the exact name of your WiFi network. Your system will ask for your password; enter it and press Enter. The file will display, and you will see a line that says psk= followed by the WiFi password in plain text.

If that folder does not exist on your system, try: sudo grep -r "psk=" /etc/NetworkManager/ to search all network configuration files at once.

What to Do If You Cannot Find the Password This Way

If the password does not appear using these methods, your computer may not have saved it, or you may not have the right account permissions. Ask the person who set up the network to provide the password, or reset the password through your router instead.

To reset through your router, open a web browser and type your router's IP address into the address bar — this is usually 192.168.1.1 or 192.168.0.1, but check your router's label or manual for the exact address. Log in with your router's admin username and password (also on the label if you have not changed it). Look for a WiFi settings or wireless section, and you can change the password there. Any device currently connected will stay connected, but new devices will need the new password.

Sharing the Password Safely

Once you have the password, you can share it with guests or other household members. On Windows and Mac, you can also generate a QR code that people can scan with their phone instead of typing the password manually — this reduces typing errors and is faster.

On Windows 11, open Settings, go to Network and Internet, then WiFi, then "Manage Known Networks," click your network, and select "Share." On Mac, open System Settings, go to WiFi, click "Details" next to your network, and select "Edit" — you will see a QR code option there. On Linux, you can use a tool like qrencode to generate a QR code from the command line if you want to share it that way.

Frequently Asked Questions

Why does my password look different from what I set?

Some routers display the password in a different format than what you typed during setup, especially if the router converted it to hexadecimal or another encoding. The password your computer shows is the correct one to use — type it exactly as displayed, including any special characters or numbers.

Can I see the password if I am not the account owner?

On Windows and Mac, you need administrator access to view saved passwords. On Linux, you need sudo access. If you are a standard user, ask the account owner to retrieve the password for you, or contact your network administrator.

What if I see asterisks or dots instead of the actual password?

This means the password field is hidden for security. On Windows, look for a "Show" checkbox and click it. On Mac, check the "Show password" box. If neither option appears, you may not have permission to view it on that account.

Does viewing the password on my computer affect my WiFi security?

No. Viewing the password on your own computer does not change it or weaken your network security. The password remains the same until you change it in your router settings.

Can I recover the password if I factory reset my computer?

No. A factory reset erases all saved passwords and network information. If you reset your computer, you will need to get the password from another device that is still connected, or reset it through your router.