Where your laptop stores the WiFi password

Your laptop saves the WiFi password the first time you connect to a network so you don't have to type it in again. That password is stored in an encrypted file on your hard drive — not in a text file sitting on your desktop, but in a protected system location. Windows, Mac, and Linux each keep it in different places and use different tools to show it to you.

The fastest way to recover a forgotten password is to ask the router itself, which displays it on a sticker on the back or bottom. If that sticker is gone or unreadable, your laptop can retrieve the password from its own memory. You do not need special software — every operating system includes a built-in way to do this.

Key Takeaways

  • Windows stores WiFi passwords in Credential Manager, which you can open by searching for "Credential Manager" in the Start menu and looking under "Windows Credentials."
  • Mac users can find saved WiFi passwords in Keychain Access by searching for the network name and checking the "Show password" box after entering their Mac login password.
  • Linux users can view WiFi passwords stored by NetworkManager by opening a terminal and running a command that displays the network configuration files.
  • The router itself displays the default WiFi password on a physical sticker, which is usually the fastest place to look first.

Finding the password on Windows 10 and 11

Open Credential Manager by clicking the Start button, typing "Credential Manager" into the search box, and pressing Enter. Click "Windows Credentials" in the left sidebar. You will see a list of saved passwords for websites, email accounts, and networks. Look for an entry that starts with "WIFI-" or just shows your network name — it may say something like "WIFI-MyNetwork" or "WIFI-Guest."

Click the network name to expand it. You will see a "Show" button next to a hidden password field. Click "Show," and Windows will ask you to confirm your laptop login password. Type it in and click OK. The WiFi password will appear in plain text. Write it down or copy it before you close the window.

If you do not see your network listed, it may be stored in a different location. Try opening Settings, going to Network & Internet, then WiFi, and clicking "Manage known networks." Select your network and click "Forget," then reconnect to it — Windows will prompt you to enter the password again, and it will be saved in Credential Manager.

Finding the password on Mac

Open Keychain Access by clicking the Spotlight search icon (magnifying glass in the top right), typing "Keychain Access," and pressing Enter. In the search box at the top right of the Keychain window, type the name of your WiFi network. A list will appear showing network entries.

Double-click the network name that matches your WiFi. A window will open showing details about that network. Check the box next to "Show password" near the bottom of the window. Mac will ask you to enter your login password — this is the password you use to unlock your Mac, not the WiFi password. Type it in and click "Allow." The WiFi password will appear in the password field in plain text.

If you have multiple networks saved with similar names, make sure you are opening the right one. The network name in Keychain should match exactly what you see when you click the WiFi icon in the menu bar at the top of your screen.

Finding the password on Linux

Linux stores WiFi passwords in a folder called NetworkManager, which is usually protected and requires administrator permission to view. Open a terminal by right-clicking on the desktop and selecting "Open Terminal Here," or by searching for "Terminal" in your applications menu.

Type this command and press Enter: sudo cat /etc/NetworkManager/system-connections/[network-name]. Replace [network-name] with the exact name of your WiFi network. Linux will ask for your login password — type it in and press Enter. The terminal will display the network configuration file, which includes the password in a line that says psk= followed by the actual password in plain text.

If you are not sure of the exact network name, type sudo ls /etc/NetworkManager/system-connections/ first to see a list of all saved networks. Then use the correct name in the first command.

Checking the router sticker first

Before searching your laptop, look at the physical router — the box that broadcasts your WiFi signal. Most routers have a sticker on the back or bottom that shows the default WiFi network name and password. The sticker usually says "WiFi Name" or "SSID" and "WiFi Password" or "Key."

If the sticker is missing or worn away, you can reset the router to its factory settings by holding down a small reset button (usually recessed, so you need a paperclip or pen to press it) for 10 to 15 seconds. The router will restart and return to its default password, which is often printed in the manual or on the manufacturer's website. Be aware that resetting the router will disconnect all devices and erase any custom settings you have made.

What to do if you still cannot find the password

If your laptop does not show the password in any of these locations, the network may have been connected by someone else using a different device, or the password may have been changed since you last connected. Try disconnecting from the network and reconnecting — your laptop will prompt you to enter the password again, which will update the saved version.

If you are the network owner and have forgotten the password entirely, contact your internet service provider or the router manufacturer. They can walk you through resetting the router or retrieving the original password. If you are trying to connect to someone else's network, ask them directly for the password.

Frequently Asked Questions

Can I see the WiFi password if I am not logged into my laptop?

No. Windows Credential Manager, Mac Keychain, and Linux NetworkManager all require your laptop login password to display saved WiFi passwords. This is a security feature to prevent someone else from accessing your passwords if they gain physical access to your computer.

Will viewing the password in Credential Manager or Keychain change it?

No. straightforward viewing the password does nothing to the network or the saved credentials. You can look at it as many times as you want without affecting anything.

What if the password field is blank or shows asterisks that will not reveal?

This usually means the password was not saved properly or the connection was made using a different method. Try forgetting the network and reconnecting to it manually — your laptop will prompt you to enter the password, and it will be saved correctly this time.

Can I change my WiFi password from my laptop?

No. You must log into your router's admin panel using a web browser to change the password. Go to your router manufacturer's website, look up the default admin address (usually something like 192.168.1.1), and log in with the default username and password printed on the router sticker.