Where your computer stores the WiFi password

Your computer keeps the WiFi password in a protected file so it can reconnect to your network automatically. You can retrieve it without calling your internet provider or resetting your router. The steps differ depending on whether you use Windows, Mac, or Linux, but all three store the password in the same way: encrypted in your system settings, accessible only to you.

The password you see on your screen is the one you originally typed when you first connected to the network. If you have forgotten it, your computer still has it saved. You do not need special software or technical knowledge — just the right menu to open.

Key Takeaways

  • Windows stores WiFi passwords in Settings under Network and Internet, where you can view the password in plain text after clicking "Show".
  • Mac users can find the password in Keychain Access by searching for the network name and checking the "Show password" box.
  • Linux users can view saved passwords in the NetworkManager settings or by reading the network configuration files directly.
  • You must be logged into your own user account to see the password — Windows and Mac will ask for your account password as confirmation.
  • If you cannot remember your account password, you will need to reset it through your operating system before you can view the WiFi password.

Finding the password on Windows 10 and Windows 11

Open Settings by pressing the Windows key and typing "Settings", then click the app that appears. Go to Network and Internet, then select WiFi on the left side. Scroll down and click "Manage known networks", then click the network name you want the password for.

Click "Properties" at the top of the window. Scroll down to the "Security" section and look for "Network security key". The password appears as dots or asterisks. Click the eye icon next to it to show the password in plain text. Windows will ask you to confirm your account password — type it and click OK. The WiFi password now appears on your screen.

If you do not see the network in the "Manage known networks" list, it means your computer has never connected to it before. You will need to connect to the network first, then return to these steps.

Finding the password on Mac

Open Spotlight by pressing Command and Space, type "Keychain Access", and press Enter. In the window that opens, make sure you are on the "Passwords" tab at the top. 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 small window opens showing the network details. Check the box next to "Show password" near the bottom. Mac will ask for your account password — type it and click "Allow". The WiFi password now appears in the password field.

If the network does not appear in Keychain Access, your Mac has not connected to it before. Connect to the network first, then repeat these steps.

Finding the password on Linux

The method depends on which network manager your Linux system uses. Most modern distributions use NetworkManager. Open your system settings, go to WiFi, and right-click the network name. Select "Edit" or "Properties". Look for a "Security" or "Password" field — it may show dots or be blank. Some versions let you click an eye icon to reveal the password.

If the graphical method does not work, you can view the password through the terminal. Open a terminal and type sudo cat /etc/NetworkManager/system-connections/[network-name], replacing [network-name] with your network name. You will be asked for your account password. The file shows the password in the "psk=" line. This method requires administrator access.

Different Linux distributions store network files in different locations. If the NetworkManager path does not work, check your distribution's documentation for the correct file location.

What to do if you cannot see the password

If the password field is blank or empty, it usually means your network uses an open connection with no password. Check your router's label or settings to confirm. Some older routers or guest networks do not require a password.

If you are certain there should be a password but cannot see it, your account may not have permission to view it. On Windows and Mac, you need to be logged in as the user who originally connected to the network. On Linux, you need administrator (sudo) access. If you are not the account owner, ask them to follow these steps instead.

If you have forgotten your account password entirely, you will need to reset it through your operating system before you can view the WiFi password. Windows and Mac both offer account recovery options on the login screen.

Why your computer stores the password this way

Your operating system encrypts the WiFi password so that other users on the same computer cannot see it without your account password. This protects you if someone else uses your computer — they cannot connect to your network from another device without knowing both your account password and the WiFi password.

The encryption also prevents malware from easily stealing your WiFi password. A program running without your knowledge cannot straightforward read the password file the way it could if the password were stored in plain text. This is why Windows and Mac ask you to confirm your account password before showing the WiFi password — they are verifying that you have the right to see it.

Sharing your WiFi password safely

Once you have the password, you can share it with guests or other devices. Write it down or type it carefully — WiFi passwords are case-sensitive, meaning capital letters matter. A single wrong letter will prevent a device from connecting.

If you want to change your WiFi password, you must do that through your router's settings, not through your computer. Log into your router's admin panel (usually at 192.168.1.1 or 192.168.0.1 in a web browser) and look for WiFi settings or Security settings. Changing the password there will disconnect all devices, and they will need the new password to reconnect.

Frequently Asked Questions

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

No. Windows and Mac both require you to enter the account password of the person who originally connected to the network. If you do not know that password, you cannot view the WiFi password through these methods. Ask the account owner to retrieve it for you.

What if I see the password but it does not work on another device?

WiFi passwords are case-sensitive, so check that capital letters match exactly. Also verify you are typing the password for the correct network — some routers broadcast multiple networks with similar names. If the password still does not work, try resetting your router by holding the reset button for 10 seconds, which will erase the password and let you set a new one.

Is it safe to write down my WiFi password?

Yes, as long as you keep the written password in a find place. Anyone who sees the password can connect to your network, so do not leave it on a sticky note on your monitor or in an email. A notebook kept in your home is reasonably safe.

Do I need to know the WiFi password to use the internet on my computer?

No. Once your computer has connected to the network once, it remembers the password and reconnects automatically. You only need the password when connecting a new device or when your computer has forgotten the network.

What happens if I change my WiFi password?

Your computer will no longer be able to reconnect automatically. When it tries to connect, it will fail. You will need to manually enter the new password in your WiFi settings. All your other devices will also need the new password.