It's quite common to need to connect a new device to your home network but lose or forget the password. Fortunately, modern operating systems have the ability to save access keys for automatic future connections. This means that if your laptop or smartphone is already connected to the network, you can retrieve the saved security data directly from the device's settings.
The process of recovering lost data depends on the operating system your device is running. The steps to follow are: Windows, macOS and mobile platforms vary significantly in their level of complexity and access to system files. In this article, we'll detail safe and legal ways to view saved keys on various devices.
Restoring access to Windows 10 and 11
The Windows operating system stores all network keys in a special storage area, which can be accessed through the graphical interface or the command line. The easiest way is to use the standard network settings, where the system allows you to display security key symbols. To do this, open the Network Control Panel and find the active connection.
In the wireless network status window, click the button Wireless network properties, then go to the tab SecurityHere you'll see the "Network Security Key" field, which is hidden by asterisks by default. Check the "Show entered characters" box, and the system will display the password you're searching for in plain text.
⚠️ Note: Changing security settings and viewing the key may require administrator privileges. Make sure your account has the appropriate privileges.
An alternative and faster method for experienced users is to use the command prompt. This method allows you to display the password for any saved network, even if you're not currently connected but have previously signed in. Open the command prompt as administrator and enter the command to display the network profile.
netsh wlan show profile name="Your_Network_Name" key=clear
In the list that appears, find the "Key Content" line. This is where the character set you need will be listed. This method is especially useful if the graphical interface isn't working correctly or if you need to copy the password in text format.
Using the Command Prompt for Advanced Users
For those who prefer to work with the console, the Windows command line provides powerful tools for managing network interfaces. Command netsh is a standard Windows Network Shell tool that allows you to configure and monitor various network components. It can be used not only to view passwords but also to manage connection profiles.
If you don't remember the exact profile name, first list all saved networks with the command netsh wlan show profilesThis action will display all profiles that have ever been used on this computer. After that, you can use the command with the key key=clear to a specific profile to see hidden symbols.
It's important to understand that working with the command line requires care. A syntax error can cause the command to fail, although it's quite difficult to harm the system this way. The key is to enter the profile name correctly, taking into account the case of letters and spaces, if any, in the network name.
The command output contains a wealth of technical information, including encryption type and security settings. We're only interested in the "Security Settings" section, which contains the key string. This method is universal and works on all modern versions of Windows, starting with Windows 7.
How to view your password on macOS
Apple Mac users can also easily find saved passwords, as macOS stores them in the iCloud Keychain or local keychain. This data is accessed through the Keychain Access utility. This is a system-wide storage for passwords, certificates, and keys, protected by a login password.
Open the utility via Spotlight search (by pressing Cmd + Space) or find it in the "Applications" → "Utilities" folder. In the list on the left, select the "System" or "iCloud" category, then find the name of your Wi-Fi network in the list on the right. Double-clicking on the network name will open the properties window, where you should check the "Show password" box.
The system will ask you to confirm your identity: you'll need to enter your computer administrator password or use Touch ID. Once successfully authorized, the required access key will appear in the field next to the check mark. This is a standard Apple security procedure that protects your data from unauthorized access.
⚠️ Note: If you use iCloud to sync your keys, your password may be accessible on all devices connected to your Apple ID. Make sure your devices are protected with a strong passcode.
For users of newer versions of macOS (Ventura and later), the process has become even easier. You can now view your Wi-Fi password directly in System Preferences. Go to System Preferences → Wi-Fi, find your network in the list and tap the information icon or the three dots next to it. There will be a button to copy the password or display it after confirming it with Face ID or Touch ID.
View saved networks on Android
On Android mobile devices, the procedure for viewing a password varies depending on the operating system version. Starting with Android 10, Google introduced a QR code viewer for connecting other devices, with the password often displayed as text underneath the QR code. This has significantly simplified the lives of users who need to quickly share access.
To find your password, go to Settings → Wi-Fi (or "Connections"). Tap the name of the network you're connected to, or select "Share" / QR code. A QR code will appear on the screen for scanning, and underneath it, in most modern operating systems (Samsung One UI, Xiaomi MIUI, stock Android), will be the password text.
If the text under the QR code is hidden by asterisks or isn't visible, you can use a third-party QR code scanner app or simply take a screenshot and scan it with Google Lens. This method works because the QR code contains all the connection information, including the password, in plain text.
☑️ Access check on Android
On older versions of Android (below 10), it's impossible to view the password without root access using system tools for security reasons. In such cases, the key file is stored in the system directory. /data/misc/wifi/wpa_supplicant.conf, which is closed to regular users. The only option is to gain superuser rights, which may void the warranty.
Recovering access on iPhone and iPad (iOS)
For a long time, iOS didn't allow users to view saved Wi-Fi passwords in plain text, offering only automatic sharing with other Apple devices. However, with the release of iOS 16, Apple finally added the long-awaited ability to view and copy security keys directly in Settings.
To view your password on an iPhone or iPad with the latest software version, go to Settings → Wi-FiFind the network you need to know the password for and click on the blue information icon (letter i (in a circle) to the right of the network name. In the menu that opens, find the "Password" line, which will be hidden by dots.
Tap the line of dots. The system will prompt you to complete biometric authentication (Face ID or Touch ID) or enter your device passcode. Once successfully verified, the dots will turn into readable text, and a "Copy" button will appear, allowing you to easily paste the password into another app or message.
What if you have iOS 15 or older?
On iOS versions earlier than 16, there's no native way to view the password. The only option is to use a Mac linked to the iPhone via iCloud Keychain and view the password in the keychain on the computer, as described in the macOS section.
It's important to note that this feature only works for networks the device has previously connected to. If you reset the network settings or delete the profile, the password will be lost and cannot be retrieved without access to the router or another connected device. This is a fundamental security principle of iOS.
Comparison table of methods for different operating systems
To help you organize your information and choose the most convenient method for your situation, we suggest reviewing the comparison table. It will help you quickly navigate the available tools and access rights requirements for each platform.
| operating system | Access method | Admin rights required | Complexity |
|---|---|---|---|
| Windows 10/11 | Control Panel / CMD | Yes | Low |
| macOS | Keychain / Settings | Yes (Mac password) | Average |
| Android 10+ | QR code in settings | No | Very low |
| iOS 16+ | Wi-Fi settings | No (biometrics) | Very low |
| Linux | Terminal / Configs | Yes (sudo) | High |
As the table shows, modern mobile operating systems are becoming increasingly user-friendly, allowing password management without extensive technical knowledge. However, desktop operating systems remain more secure, requiring administrator privileges to access sensitive data.
The choice of method depends not only on the device but also on how deeply you're willing to delve into settings. For most users, standard graphical interfaces that hide complex technical details are sufficient.
Safety precautions and common mistakes
Understanding where and how your passwords are stored is critical to maintaining the security of your home network. If an attacker gains physical access to your unlocked computer or smartphone, they can easily discover your Wi-Fi password and, therefore, gain access to all devices on the local network.
Therefore, it's crucial to use a strong password when logging in (Windows/macOS) and never leave devices unlocked unattended. It's also recommended to regularly update your router firmware and use encryption. WPA2 or WPA3, since older standards like WEP are easily cracked.
⚠️ Important: Never send Wi-Fi passwords in plain text via messaging apps or email. Use secure communication channels or communicate them verbally.
A common mistake users make is writing down passwords on sticky notes directly to the router or monitor. This is the first place a potential intruder will look. It's better to store such data in a password manager or in a notebook kept in a safe place.
It's also worth remembering that knowing the Wi-Fi password grants access to the local network, which may contain shared folders, printers, and smart home systems. Therefore, the access key should only be trusted by trusted people and guests, preferably using a separate guest network for guests.
Is it possible to find out the password if I am not connected to the network, but have logged in before?
Yes, on a Windows computer, you can do this via the command line, as profiles are saved locally. On smartphones without root access or outside of network coverage, you typically can't view the saved password unless it's synced to the cloud (e.g., iCloud Keychain).
What should I do if the password field in Windows settings is empty?
This may mean you don't have administrator rights or your network profile is corrupted. Try running the command prompt as administrator. If that doesn't help, you may need to reset your network settings.
Are password recovery programs safe to use?
Using third-party software carries risks. Many such programs can contain viruses or collect data. It's better to use built-in operating system tools, which are safe and don't require additional software.
How can I view the password on my router if I have access to its control panel?
Log into your router's web interface (usually 192.168.0.1 or 192.168.1.1) and enter your administrator login and password. In the Wireless or Wi-Fi Settings section, you'll see a Password or Pre-Shared Key field that you can change or view.