Find Your WiFi Password on Windows Mac or Linux
Understanding WiFi Passwords and Network Security A WiFi password is a security code that protects your wireless network from unauthorized users. When you se...
Understanding WiFi Passwords and Network Security
A WiFi password is a security code that protects your wireless network from unauthorized users. When you set up a home or office WiFi network, you create this password to control who can connect to your internet. The password works alongside encryption—typically WPA2 or WPA3 security standards—to scramble the data traveling between your devices and your router.
Many people forget their WiFi passwords after setting them up, especially if they don't connect new devices frequently. According to surveys, approximately 60% of people struggle to remember their WiFi password when needed. This happens because after initial setup, most devices automatically remember and reconnect to the network without requiring you to re-enter the password.
Your WiFi password differs from your router's admin password. The WiFi password lets devices connect to the internet through your network. The admin password controls access to the router's settings and configuration page. You only need the WiFi password when connecting a new device or resetting your network.
Understanding where and how your operating system stores this information helps you recover it when needed. Windows, Mac, and Linux systems all maintain records of previously connected networks and their passwords, though the storage locations and retrieval methods vary significantly across platforms.
Practical takeaway: Know the difference between your WiFi password (for devices connecting to your network) and your router admin password (for changing router settings). This distinction matters because you'll use different methods to find each one.
How to Find Your WiFi Password on Windows 10 and Windows 11
Windows stores WiFi passwords in a secure location and provides multiple methods to retrieve them. The most straightforward approach uses the Network Settings interface, which displays saved networks and allows you to view passwords for networks you've previously connected to.
To find your password through Network Settings: Open the Settings application by pressing the Windows key and typing "Settings." Navigate to "Network & internet" and select "WiFi." Click "Manage known networks" to view all previously connected networks. Select your network from the list, then click "Properties." Scroll down to find the "Security" section, and toggle the switch next to "Show" to display your password in plain text. Windows will ask for your permission through a security prompt before revealing the password.
An alternative method uses Command Prompt with administrator privileges. Right-click the Start menu and select "Windows Terminal (Admin)" or "Command Prompt (Admin)." Type the command: netsh wlan show profile name="YourNetworkName" key=clear (replacing "YourNetworkName" with your actual network name). The system will display detailed network information, including the password in the "Key Content" field.
If you cannot remember your network name, use this command to list all saved networks: netsh wlan show profiles. This displays every network your Windows device has connected to previously. Once you identify your network, use the previous command to reveal its password.
Some users encounter permission issues when attempting these methods. If you receive an error, ensure you're running Command Prompt as administrator. Right-click and select "Run as administrator" to grant the necessary permissions. If the password field remains blank or shows an error, the password may have been entered incorrectly during initial setup, requiring a router reset.
Practical takeaway: Windows provides quick access to saved WiFi passwords through either the Settings GUI (easiest for most users) or Command Prompt (useful when the Settings method doesn't work). Both methods require administrator access to your device.
Retrieving Your WiFi Password on macOS
Mac computers store WiFi passwords in the Keychain, a secure storage system that keeps sensitive information like passwords and login credentials. To retrieve a saved WiFi password, you'll access Keychain through the Utilities folder or Spotlight search.
The primary method involves using Keychain Access: Open Spotlight by pressing Command + Space, type "Keychain Access," and press Enter. The Keychain Access window opens, displaying various stored credentials. In the search bar at the top right, enter your network name (SSID). When your network appears in the list, double-click it to open its details window. Check the box labeled "Show password" near the bottom of the window. Your Mac will prompt you to enter your computer's login password for security verification. After you provide your credentials, the WiFi password displays in the password field.
For users with multiple networks stored, Keychain Access shows all saved networks, not just the active one. This proves helpful if you've moved or changed networks but need to recall a previous connection password.
If you prefer using Terminal, an alternative method involves command-line tools. Open Terminal and enter: security find-generic-password -wa "YourNetworkName" (replacing "YourNetworkName" with your actual network name). Terminal will return your password directly, though this method still requires your Mac's user password for authentication.
Some Mac users experience issues where Keychain Access shows the network but the password field remains empty or inaccessible. This typically occurs if your network credentials became corrupted or if you don't have the necessary permissions to view that specific Keychain entry. In these cases, removing and re-connecting to the network provides the only recovery option.
Practical takeaway: macOS Keychain Access provides straightforward password recovery through a graphical interface. Remember that viewing any stored password requires entering your Mac's user password as a security safeguard.
Finding Your WiFi Password on Linux Systems
Linux systems store network configuration and passwords in different locations depending on your distribution and network manager. Most modern Linux distributions use NetworkManager as the default connection handler, which stores WiFi passwords in encrypted form.
For systems using NetworkManager, passwords are typically stored in /etc/NetworkManager/system-connections/ directory. To access this information, open Terminal and navigate to that location: cd /etc/NetworkManager/system-connections/. List the available network files: ls. Your WiFi network should appear as a configuration file. To view the password, use: sudo cat YourNetworkName (replace with your actual network name). The system will request your sudo password before displaying the file contents. Look for the "psk=" field, which contains your WiFi password in plain text.
Different Linux distributions handle this differently. Ubuntu, Fedora, Debian, and others may store connection information in varying locations. Some distributions encrypt passwords in a way that requires additional tools to decrypt them. If the plain-text method doesn't work, your distribution likely uses encrypted storage.
For encrypted storage systems, you may need to use graphical network management tools rather than command-line methods. Most distributions include a Network Manager GUI accessible through system settings. Open your distribution's network settings panel, locate the WiFi connection, and look for an option to view or edit the connection details. Some versions display the password directly; others require clicking an "eye" icon to reveal it.
Certain Linux configurations, particularly those using WPA_Supplicant directly instead of NetworkManager, store passwords in /etc/wpa_supplicant/wpa_supplicant.conf. Access to this file requires root privileges and the password appears in the "psk=" field within this configuration file.
Practical takeaway: Linux password retrieval varies by distribution and network manager configuration. The command-line method works for most systems using NetworkManager, but you may need to check your specific distribution's documentation or use graphical network settings if this doesn't apply to your setup.
Accessing Passwords Directly from Your Router
If the operating system methods don't work or you can't access the device that previously connected, you can retrieve your WiFi password from the router itself. Every router has an administration interface where you can view and modify all network settings, including the WiFi password.
To access your router: Open a web browser and enter your router's IP address, typically 192.168.1.1 or 192.168.0.1. Press Enter to reach the admin login page. Most routers have default credentials printed on a sticker attached to the device—commonly "admin" for username and "admin" or "password" for the password field. Some manufacturers use other combinations like "admin/12345" or router-specific defaults.
Once logged in, navigate to the Wireless or WiFi settings section (labeling varies by manufacturer). Look for fields labeled "Network Name," "SSID," or "Wireless Network Name" to confirm you're viewing the correct network. The password field typically shows aster
Related Guides
More guides on the way
Browse our full collection of free guides on topics that matter.
Browse All Guides →