Where your computer stores the WiFi password
Your computer remembers every WiFi network you have ever connected to, along with the password you used. When you need that password — to connect a phone, a printer, or to give to a guest — you do not have to reset the network. You can retrieve the password directly from your computer's stored settings in under a minute.
The steps differ between Windows, Mac, and Linux because each operating system stores this information in a different place. The password is encrypted on your computer, so only someone with access to your device can see it. This is why the process requires you to open settings or a terminal window rather than straightforward looking at a visible field.
Key Takeaways
- Windows stores WiFi passwords in the Network Profiles section, accessible through Settings or the Command Prompt.
- Mac users can find the password in Keychain Access, which holds all saved network credentials.
- Linux users can retrieve the password from the NetworkManager configuration files using the terminal.
- You need administrator or user account access to view saved passwords on any operating system.
- The fastest method on Windows is the Command Prompt route, which takes about 30 seconds.
Finding your WiFi password on Windows 10 and Windows 11
Open Settings by pressing the Windows key and typing "Settings," then select the Settings app. Go to Network & Internet, then select WiFi from the left menu. Scroll down and click Manage known networks. Find the network name you need the password for and click it. Select Forget, then go back and reconnect to that same network — Windows will prompt you to enter the password, which you can then copy.
If you want to see the password without forgetting and reconnecting, use Command Prompt instead. Press Windows key + R, type cmd, and press Enter. Type this command exactly: netsh wlan show profile name="YourNetworkName" key=clear, replacing "YourNetworkName" with the actual name of your WiFi network. The password appears next to Key Content in the results. If the network name has spaces, keep the quotation marks around it.
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. Double-click the network name when it appears in the results. A window opens 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 the WiFi password appears in plain text.
If you cannot find the network in Keychain Access, make sure you are searching in the Passwords category, not Certificates or Keys. The network name must match exactly what appears in your WiFi menu — sometimes it includes spaces or special characters that are not when ready obvious.
Finding your WiFi password on Linux
Linux stores WiFi passwords in the NetworkManager configuration files, which you access through the terminal. Open a terminal window and type this command: sudo cat /etc/NetworkManager/system-connections/YourNetworkName, replacing "YourNetworkName" with your network's name. Press Enter and type your user password when prompted. The file displays in plain text, and the WiFi password appears next to psk=.
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. The file names match the network names, though spaces may be replaced with underscores or other characters. Once you identify the correct file, run the cat command with that exact name.
What to do if you cannot find the password
If the network does not appear in your stored passwords, your computer has never connected to it before, or the connection was made under a different user account. Check whether other user accounts on the computer have connected to that network — the password may be stored under their account instead.
If you are certain the network was connected before but cannot locate it, the stored password may have been deleted. In this case, you will need to reset the WiFi network itself. Log into your router's admin panel (usually by typing 192.168.1.1 or 192.168.0.1 into a web browser) and look for the WiFi settings or security settings to view or change the password. The router's default login information is usually printed on a sticker on the device itself.
Sharing your WiFi password safely
Once you have the password, you can give it to guests or use it to connect other devices. Type or read it exactly as it appears — WiFi passwords are case-sensitive, meaning capital letters and lowercase letters are different. If someone has trouble connecting, ask them to check that they typed it correctly, including any numbers or special characters.
If you share your password with someone and later want to prevent them from connecting, you can change the WiFi password through your router's settings. This disconnects all devices currently using the old password and requires anyone who reconnects to use the new one. Your computer will then prompt you to enter the new password the next time you connect to that network.
Frequently Asked Questions
Can I see my WiFi password if I forgot it?
Yes, if your computer is currently connected to the network or has connected before. The password is stored on your device. If your computer has never connected to that network, you will need to reset the password through your router instead.
Why does my network not appear in the list?
Your computer may not have connected to it before, or the connection was made under a different user account on the same computer. Check other user accounts, or try connecting to the network fresh — you will be prompted to enter the password, which you can then retrieve using the methods above.
Is it safe to retrieve my WiFi password this way?
Yes. These methods only work if you have access to the computer itself and the user account on it. Someone would need physical access to your device to see your passwords this way, which is the same security level as any other stored password on your computer.
What if the password contains special characters?
Type or read it exactly as it appears, including all special characters like @, #, $, or &. WiFi passwords are case-sensitive, so capital letters matter. If someone has trouble connecting, have them check each character carefully.
Can I change my WiFi password from my computer?
No, you change it through your router's settings, not through your computer. Open a web browser and go to your router's admin page (usually 192.168.1.1 or 192.168.0.1), log in with the router's admin credentials, and look for WiFi settings or security settings to change the password.