It's quite common to need to connect a new gadget to your home network but have forgotten the password and can't remember it. Fortunately, modern smartphones running the operating system Android Store data about previously connected networks in their memory. This allows not only for automatic reconnection upon returning to coverage area, but also for retrieving the access key for use on other devices, if necessary.
The data recovery process directly depends on the operating system version installed on your mobile device. Starting with Android 10Google has implemented a native QR code generation feature, significantly simplifying the user experience. However, older versions or specific phone models may require alternative methods, including using system settings or third-party software.
In this article, we'll take a detailed look at all the current methods for retrieving a forgotten security key. We'll cover both standard system tools and more advanced options for experienced users. It's important to understand that access to data may be restricted by security policies. Google, so in some cases it is impossible to do without obtaining extended access rights.
⚠️ Please note: All methods described below are intended solely for recovering passwords for networks you own or have the legal right to administer. Attempting to hack someone else's Wi-Fi network is illegal.
Using the QR code feature on Android 10 and later
The easiest and most secure way to find out your Wi-Fi password on Android is available to users whose devices are running OS version 10 or higher. Engineers Google We've implemented a convenient mechanism for exchanging network data via visual codes. This method doesn't require any additional software and works on most modern smartphones, including models from Samsung, Xiaomi And Huawei.
To get started, open the standard settings menu and navigate to the section responsible for wireless connections. This is usually labeled "Wi-Fi" or "Wireless Networks." Find the network you're already connected to in the list, or select the desired one from the list of saved networks. Click the gear icon or arrow next to the network name to open detailed connection information.
In the menu that opens, look for the "Share" button or the QR code icon. The system will ask you to verify your identity using biometrics (fingerprint, face recognition) or your screen unlock PIN. After successful authentication, a square code containing encrypted network information, including your password, will appear on the screen.
- 📱 Open
Settings → Wi-Fion your device. - 🔗 Click on the name of the active network or the gear icon next to it.
- 👁️ Select the "Share" or "QR code" option.
- 🔓 Complete authentication (Face ID, Touch ID, or pattern).
The password itself is often displayed in text directly below the QR code. If the text is hidden by asterisks, you can take a photo of the code or a screenshot, then use any third-party QR code scanner or the built-in camera (if it can read codes from the gallery) to decrypt the contents. In the search results, you'll see the following format: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;, where the value after P: and there is your desired password.
View saved networks in Android settings
In some shells, such as MIUI from Xiaomi or One UI from Samsung, the interface may differ slightly from the stock one AndroidManufacturers often add their own enhancements that allow for more flexible management of saved networks. These systems allow you to view a list of all networks ever used and access their settings.
Go to Wi-Fi settings and find the "Manage Networks" or "Saved Networks" section. This displays a complete list of access points your phone has previously connected to. Select the desired network. On some models, tapping the network name immediately opens a window with a password entry field, where the password can be displayed in clear text or hidden.
If you see the input field but the password is hidden by dots, try clicking the "eye" icon next to the field. This is a standard interface element. Android, which temporarily displays the entered characters. If this option is not available and the QR code is not generated, your firmware version may have limitations.
⚠️ Note: Menu interfaces may vary depending on the phone model and manufacturer's shell version. If you don't find the described options, use the settings search by entering "Wi-Fi" or "Network."
It is worth noting that in pure Android Without third-party add-ons, viewing a list of all saved networks (not just the active one) is often unavailable to the average user. This is done for security purposes, to prevent malicious apps from stealing your location and connection history.
Using the Developer Menu and ADB Commands
For advanced users who don't want or can't get root rights, there is a method using USB debugging and command line ADB (Android Debug Bridge)This method allows you to extract the system file containing network configurations, but it requires a computer and minimal technical skills.
The first step is to activate the developer menu on your phone. To do this, go to Settings → About phone Tap the build number seven times quickly. A new option, "Developer options," will appear in the Settings menu. Find and enable the "USB debugging" toggle inside.
Connect your phone to your computer via a USB cable. Your computer must have the drivers for your device and the platform installed. ADBOpen a command prompt (Terminal on macOS/Linux or CMD on Windows) in the ADB folder and enter the following command to list networks:
adb shell dumpsys wifi | grep"mConfiguredNetworks"
However, a more effective method is to try exporting the configuration file, if the system allows it. The command might look like this:
adb pull /data/misc/wifi/WifiConfigStore.xml
If the command is successful, you will receive an XML file that will store the network names in clear text (SSID) and passwords (PreSharedKey). Open the file in any text editor and find the required network.
What to do if ADB doesn't detect the phone?
Make sure a window asking for debugging permission appears on your phone's screen and click "OK." Also, try replacing your USB cable, as some cables are designed for charging only and don't transfer data.
Obtaining a password via root rights and a file manager
The most complete access to the system is provided by having superuser rights (root). If your phone is rooted, you can directly read the system file in which Android stores all Wi-Fi passwords. This file is called wpa_supplicant.conf and is located in a protected directory.
To access the file you will need a file manager with root access support, for example, Root Explorer, Solid Explorer or MT ManagerAfter launching the application, grant it superuser rights when prompted.
Follow the path /data/misc/wifi/. In this folder, find the file wpa_supplicant.confOpen it as a text file. Inside, you'll see a list of all saved networks in the following format:
network={ssid="Name_WiFi"
psk="Password_123"
}
Here ssid — this is the name of the network, and psk — and there's the password in plaintext. This method works on all versions of Android, including the latest ones, provided you have root access. However, please keep in mind that gaining superuser access may void your device's warranty.
☑️ Check before rooting
Comparison of password recovery methods
The method you choose depends on your technical skills, Android version, and system access rights. Below is a table to help you quickly navigate and choose the best method for your situation.
| Method | Necessary rights | Complexity | Android version |
|---|---|---|---|
| QR code | No | Low | 10+ |
| Settings (MIUI/OneUI) | No | Low | Any |
| ADB Commands | USB debugging | Average | Any |
| Root + File Manager | Root | High | Any |
As the table shows, for most users, using a standard QR code remains the optimal option. It requires no additional manipulation and works instantly. Methods using ADB or root It should only be considered if standard functions are blocked by the manufacturer or the OS version is too old.
Password security and storage
Once you know your password, the question arises of how to store it securely. Writing down passwords on pieces of paper or in notes on your phone without protection is bad practice. If your device falls into the wrong hands, the attacker will gain access not only to your data but also to your home network.
It is recommended to use password managers such as Google Password Manager, Bitwarden or 1PasswordThese apps encrypt your data and allow you to access it from any device after authorization. Google's built-in password manager automatically saves Wi-Fi passwords if syncing is enabled and allows you to view them through your Google account on your computer.
It's also a good practice to change your router password periodically, especially if you have many guests connecting to your network. Avoid using simple passwords like "12345678" or your date of birth. A strong password should contain mixed-case letters, numbers, and special characters.
⚠️ Important: If you changed the password on your router, be sure to update it on all connected devices, otherwise they will not be able to automatically connect to the network.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password without rooting Android 9 and below?
Unfortunately, on Android versions below 10, there is no native password viewing or QR code generation feature. Without root access or using ADB commands from a computer, it is impossible to retrieve the saved password using standard system tools due to security restrictions.
Is it safe to use password recovery apps from the Play Market?
Most of these apps either don't work without root access or are scams. They may request excessive permissions and collect your personal data. It's better to use the proven methods described in this article than to trust dubious software.
What to do if the QR code is not readable by the camera?
Try increasing your screen brightness, wiping the camera, or using a different QR code scanning app. You can also take a screenshot and open the image using Google Photos or Google Lens—they often perform better than the standard camera.
Where can I view my Wi-Fi password using my Google account?
Go to passwords.google.com on your computer and sign in to your account. In the list of saved passwords, find the Wi-Fi section or enter the network name in the search bar. The password will be hidden by dots, but you can reveal it by clicking the eye icon and confirming your login.