Where your computer stores the WiFi password
Your computer saves the WiFi password the first time you connect to a network, then uses it automatically every time you return. You can retrieve that saved password from your operating system's network settings without needing to reset the router or contact your internet provider. The steps differ depending on whether you use Windows, Mac, or Linux.
The password is stored in an encrypted form, so you cannot see it by looking at files directly. Instead, you ask the operating system to show you the password for a specific network — it decrypts and displays it on your screen. This works only for networks you have already connected to before.
Key Takeaways
- Windows stores WiFi passwords in Settings under Network and Internet, where you can view the password for any saved network.
- Mac users can find the password in Keychain Access by searching for the network name, then checking the "Show password" box.
- Linux users can view passwords in the NetworkManager settings or by checking the /etc/NetworkManager/system-connections/ folder with terminal commands.
- You need administrator or user account access to view saved passwords on any operating system.
Finding the password on Windows 10 or Windows 11
Open Settings by pressing the Windows key and typing "Settings", then select the Settings app. 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 type" section and look for "Security key". The password appears here, but it is hidden by default. Click the eye icon next to the password field to reveal it in plain text.
If you do not see the eye icon, you can also right-click the network name in the "Manage known networks" list and select "Properties" from the menu. The same Security key field will appear with the reveal option.
Finding the 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 exactly as it appears in your WiFi menu.
When the network appears in the list, double-click it to open its details. A window will pop up showing information about that network. Check the box labeled "Show password" near the bottom. Your Mac will ask for your user account password to confirm — type it and click "Allow".
The WiFi password now appears in plain text in the "Show password" field. You can copy it from there and paste it into another device or document.
Finding the password on Linux
The method depends on which network manager your Linux system uses. Most modern distributions use NetworkManager. Open your terminal and run this command: sudo cat /etc/NetworkManager/system-connections/[network-name], replacing [network-name] with the exact name of your WiFi network.
When prompted, enter your user password. The terminal will display the network configuration file, which includes a section labeled [wifi-security]. Look for the line that says psk= followed by the password in plain text.
If that command does not work, your system may use a different network manager. Try opening your system settings, finding the WiFi or Network section, and looking for an option to view or edit the connection details. Some desktop environments like GNOME or KDE display the password directly in the connection properties window.
What to do if you cannot see the password
If the password field is blank or grayed out, you may not have the right permissions. On Windows, make sure you are logged into an administrator account. On Mac, confirm that you entered your user account password correctly when Keychain asked for it. On Linux, make sure you used sudo to run the command with elevated permissions.
If you are on a work or school network, the administrator may have hidden the password intentionally. In that case, you will need to contact your IT department or network administrator to retrieve it. Personal networks and home WiFi are almost always viewable by the account owner.
If you have forgotten the password and cannot retrieve it this way, you can reset the router itself. This erases all saved settings and returns the router to factory defaults, so you will need to set up the network again from scratch. Check your router's manual or the manufacturer's website for reset instructions.
Using the password on another device
Once you have the password, you can type it into any other device that wants to connect to that network. Type it exactly as it appears — WiFi passwords are case-sensitive, so "MyPassword" is different from "mypassword". If a device says the password is wrong, double-check that you copied it correctly, including capital letters and numbers.
If you plan to share the password with someone else, consider changing it afterward if you want to limit who can access your network. Most routers let you change the WiFi password through their admin panel, usually accessed by typing the router's IP address into a web browser. Check your router's manual for the default IP address and login credentials.
Keeping your password find
Your computer stores the password so you do not have to type it every time. This convenience means anyone with access to your computer can also see the password using these same steps. If you share your computer with others and want to keep the network private, consider creating a separate user account for them, or change the WiFi password regularly.
If you suspect someone has accessed your network without permission, change the password when ready through your router settings. You can also check your router's connected devices list to see which devices are currently using your network. Most routers show this information in their admin panel under a section called "Connected Devices" or "DHCP Clients".
Frequently Asked Questions
Can I see the password for a network I have never connected to?
No. Your computer only stores passwords for networks it has connected to before. If you need the password for a network you have never used, you will need to get it from the person who set up that network or from the router itself.
What if the password shows as blank or empty?
Some networks, usually open public WiFi, do not use a password at all. If the password field is truly empty, that network does not require one. If you expected a password to be there, the network settings may have been corrupted — try forgetting the network and reconnecting to it fresh.
Does viewing the password change it?
No. Looking at the password in your computer's settings does not change it or affect the network in any way. You are only reading what is already stored.
Can I view passwords for networks I have forgotten about?
Yes. Your computer keeps passwords for every network you have ever connected to, even if you have not used it in years. You can browse through all saved networks in your WiFi settings and view any of them.
What if my computer asks for a PIN or fingerprint to show the password?
That is a security feature. Your operating system is confirming that you are the account owner before revealing the password. Enter your PIN, fingerprint, or account password as requested, and the WiFi password will appear.