It's common to need to connect a new gadget or laptop to your home wireless network but have forgotten the Wi-Fi password. The solution might seem simple—check the router's sticker—but often these details have been altered by the user or have worn off over time. Fortunately, modern smartphones have built-in mechanisms that allow you to restore access to this data without a complex hack.
Owners of devices based on Android And iOS You can use the built-in operating system features introduced in relatively recent updates. However, there are some nuances depending on the software version and phone model. In this article, we'll detail all the legal ways to recover lost security keys using only your phone and basic knowledge.
It's worth noting that we're only talking about networks to which your device is already connected or has been connected previously. Accessing someone else's Wi-Fi remotely is impossible without specialized knowledge and equipment, and it's also illegal. We'll focus on restoring access to own resources when information is lost or forgotten.
Password recovery on Android 10 and later
Starting with the tenth version of the operating system AndroidGoogle has introduced a convenient feature for viewing saved networks. This eliminates the need for users to find complex workarounds or obtain superuser (root) privileges. This mechanism works by generating a QR code containing encrypted connection data.
First, you need to open your smartphone's settings. Find the section Settings → Connections → Wi-Fi (the path may vary slightly depending on the manufacturer's shell, for example, MIUI or One UI). In the list of available networks, find the one you need to find the password for. If you're already connected to it, simply click on the name or the gear icon next to it.
In the network settings menu that opens, find the "Share" or "QR code" button. The system will ask you to confirm your action using biometrics (fingerprint, Face ID) or a screen unlock PIN. After confirmation, a QR code will appear on the screen. The password itself is usually written in small print underneath it. If there is no text underneath the code, simply scan the QR code with any other phone or scanner app—the scan results will show a string like this: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;, Where P - this is the password we are looking for.
It's important to understand that this feature only works if the phone has previously successfully connected to this access point. If the network has been "forgotten" (removed from the list of saved networks), you won't be able to recover the password through this interface—you'll need to reset the router.
Using Google Passwords on Older Android Versions
If your smartphone is running version Android Below 10, the standard QR code viewing function may be missing. However, if syncing with a Google account is enabled on the device, passwords may be saved in the cloud keystore. This is a universal method that works regardless of the phone manufacturer, whether Samsung, Xiaomi or Huawei.
To check if you have saved data, go to your phone settings and select the section Google → Autofill → Autofill by GoogleIn the menu that opens, select "Passwords" or "Password Manager." This is where you'll find a database of all saved passwords synced with your account. Find the desired Wi-Fi network in the list.
When attempting to view data, the system will require authentication. After confirmation, you'll see your login (network name) and password in plain text. Next to the password, there's usually a "Copy" button or an eye icon to display the characters. This method is especially useful if you've changed phones but remember that you signed in to the same Google account on your old device.
- 🔒 Access to the password manager is protected by biometrics or a screen PIN.
- ☁️ Data is synchronized automatically when there is an internet connection.
- 📱 The method works even if the current phone is not connected to Wi-Fi.
- ⚙️ Requires an active Google account on the device.
Please note that if password saving has been disabled in your account settings, the data will not be stored here. Also, keep in mind that some phone manufacturers may hide this section deep within the security settings menu.
iPhone Recovery Specifics (iOS 16+)
Long time users of technology Apple were unable to easily view the saved Wi-Fi password in the settings. The situation changed dramatically with the release of iOS 16Now the algorithm of actions has become almost identical to Android, which has significantly simplified the life of owners iPhone And iPad.
To view the key, open the application Settings and go to the section Wi-FiFind the network whose password you forgot in the list. To the right of the network name, there will be a blue information icon, shaped like the letter "i" in a circle. Click on it.
In the menu that opens, you'll see a "Password" field with characters hidden by dots. Tap this field. The system will ask you to confirm your identity. Face ID, Touch ID or a password code. After successful verification, the password will be displayed in text format, and can be copied or dictated to another person. You can also copy the data from here as a QR code for your friends.
⚠️ Attention: The Wi-Fi password viewer feature in settings is only available on iOS 16 and later. If you have an older version of the system (such as iOS 14 or 15), this method won't work, and you'll have to use workarounds such as syncing with your Mac or configuring your router.
The rules are similar for iPadOS devices. It's important that the device you're viewing the password from is signed into iCloud with the same Apple ID as the device that previously connected to the network, if you're using iCloud Keychain.
☑️ Check your iPhone password before viewing it
Login to the router control panel
If your phone doesn't display the password (for example, the network has been deleted from memory), the most secure method is to log in to the router's web interface. This method is universal and works for all devices: TP-Link, Asus, D-Link, Keenetic and others. To do this, you'll need a browser and access to a local network (you must be connected to Wi-Fi or a cable).
First, you need to find out the gateway IP address. On Android, you can do this in the Wi-Fi settings (by tapping the gear icon for the active network), where it's listed as "Gateway." On iPhone, this information is also found in the connection details. Standard addresses usually look like this: 192.168.0.1 or 192.168.1.1Enter this address into the address bar of your browser.
The router's authorization page will open. Here you'll need your username and password to access the admin panel. If you haven't changed them, they'll be listed on a sticker on the bottom of the router (often it's admin/admin). If you've changed them and forgotten them, you'll need to reset the router using the reset button. Reset on the case, which will return all settings to factory defaults, including the Wi-Fi name and password.
Once you've successfully logged into the Control Panel, look for the section related to wireless networking. It may be called Wireless, Wi-Fi, Wireless mode or WLANInside, look for the "Security" subsection (Security) or just basic settings. In the field Wireless Password, Pre-Shared Key or Password The current access key will be displayed.
| Router brand | Typical IP address | Standard login | Standard password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| Asus | 192.168.1.1 | admin | admin |
| D-Link | 192.168.0.1 | admin | (empty) |
| Keenetic | 192.168.1.1 | admin | 1234 |
| Tenda | 192.168.0.1 | admin | admin |
Router interfaces may vary, but the logic is the same: find your wireless network and check the security settings. Don't forget to save your changes if you decide to change the password to a more complex one directly in this menu.
Using ADB Commands for Advanced Users
For users who are not afraid of the command line and have a computer at hand, there is a method using USB debugging (Android Debug Bridge). This method allows you to extract the system configuration file where all passwords are stored, even on older versions of Android that don't have the QR code feature. However, it requires enabling developer mode.
First, you need to enable developer mode on your phone. To do this, go to Settings → About phone and quickly tap "Build number" seven times. This will open a new section in the Settings menu called "Developer options." Inside, enable "USB debugging."
Connect your phone to your computer using a cable. The computer must have ADB drivers installed. Open a command prompt (Terminal on Mac/Linux or CMD on Windows) in the adb folder and enter the following command to gain permissions:
adb shell
Next, to read the password file, you need to run the command to display the contents of the system file. Please note that on modern versions of Android without root access, access to this file may be blocked. If you have root access, the command looks like this:
cat /data/misc/wifi/WifiConfigStore.xml
Find the tag in the command output. <Passphrase> or <PreSharedKey> next to your network name (<SSID>). The value inside the tag is your password. This method is technically challenging for beginners, but extremely effective in skilled hands.
What to do if ADB doesn't see the device?
Make sure "File Transfer" or "USB Debugging" is selected on your phone when connecting the cable, and the phone screen displays the confirmation "Allow debugging from this computer." Also, check that ADB drivers are installed on your PC.
Common errors and problems during recovery
When recovering a password, users often encounter common problems that are easy to solve once they know the cause. One of the most common is when the phone displays "Obtaining IP address" or "Authentication error," even though the password is known. This may indicate a network module failure or an IP address conflict.
Another common mistake is confusing letter case or symbols. Wi-Fi passwords are case-sensitive. Symbols I (capital i) and l (lowercase L) are visually almost identical. Zero is also often confused. 0 and the letter OWhen entering the password from the router screen or from the QR code, be extremely careful with the details.
If you've changed the password on your router, but your phone is still trying to connect with the old one, an error will occur. In this case, tap the network on your phone and select "Forget Network" or "Delete," then reconnect using the updated password. Ignoring this step will result in a loop of connection attempts with an invalid password.
⚠️ Attention: Settings interfaces and menu item names may vary depending on your phone's firmware version or router model. If you can't find a specific item, search for a similar one or consult the device manufacturer's official documentation.
It's also worth mentioning the frequency band issue. Some older devices don't see 5 GHz networks, while newer ones can connect to them. If the password doesn't work, check whether you're trying to connect your phone to a guest network or a network with a different frequency band, which may have its own password.
FAQ: Frequently Asked Questions
Is it possible to find out the Wi-Fi password if the phone is not connected to it?
No, it's impossible to use standard Android or iOS tools to find the password for a network the device has never connected to and whose details aren't stored in the cloud. The password must be stored somewhere in the device's memory or in an account.
Is it safe to use third-party password recovery apps?
Most of these apps either don't work without root access or are scams. They may request access to your personal data. It's safer to use the built-in QR code functionality or log in through the router's browser.
What should I do if I forgot my router admin password?
If the standard ones (admin/admin) are not suitable, and you changed them and forgot, the only way out is to reset the router to factory settings using the button ResetThis will erase all settings, including the Wi-Fi password, which will revert to the one on the sticker.
Does the QR code method work on all Samsung and Xiaomi phones?
Yes, on modern models of these brands, the function is built into the shell (One UI and MIUI/HyperOS). The path may vary slightly, but the principle of generating a QR code in the Wi-Fi settings is the same for all devices running Android 10+.