It's common to need to connect a new device to a wireless network but have long forgotten or lost the password. We often connect to our home network automatically for years and simply don't remember the password we entered when first setting up the router. Fortunately, modern operating systems provide built-in tools for viewing saved security keys.
Restoring access is possible on almost any modern smartphone, be it a budget model based on Android or flagship iPhoneHowever, methods vary significantly depending on the operating system version and the user's access rights. In this article, we'll examine all the current methods for retrieving forgotten data.
Don't panic if you can't remember the information you need right now. There are several proven steps you can take to retrieve the saved code from your device's memory or restore access to your router. The key is to proceed consistently and carefully monitor your security settings.
View your password on Android 10 and later
Starting with the tenth version of the operating system AndroidGoogle has implemented a native feature for viewing saved networks. You no longer need third-party apps or root access to access this information. The system stores encryption keys transparently for the authorized user.
To find the code you need, go to the section Settings, then select the item Network and Internet or ConnectionsNext, click on the gear icon next to the name of the current network or select the option Saved networksThis displays a list of all access points you have ever connected to.
Click on the name of the desired network. If you are currently connected to it, the system will offer a button Share or a QR code icon. A text string containing a password is often displayed beneath the graphic or square. If the text is hidden by asterisks, identity verification via a fingerprint scanner or screen unlock PIN will be required.
In some shells, for example, MIUI or OneUI, the interface may differ slightly. Sometimes you need to press a button QR code, take a screenshot and then recognize the text through Google Lens or any similar service. This is a workaround that works even if the actual text isn't displayed.
⚠️ Note: On corporate devices or phones with MDM (Mobile Device Management) profiles installed, the administrator can block the ability to view saved passwords for security purposes.
How to find the password on an iPhone (iOS 16 and later)
Users of technology Apple For a long time, it was impossible to view saved Wi-Fi passwords directly on the device. The situation changed dramatically with the release of iOS 16This feature is now built into the settings system and syncs via iCloud Keychain.
To view the data, open Settings and go to the section Wi-FiClick on the blue information icon (i) to the right of the name of the network you are connected to or that is saved in memory. In the menu that opens, find the line Password.
Click on the hidden field with dots. The system will require biometric authentication via Face ID or Touch ID, or enter the device unlock code. Once verified, the dots will turn into readable text that can be copied or dictated.
It's important to understand that there's no built-in method for older versions of iOS (15 and below). Owners of these devices will have to find alternative methods, such as syncing with a computer. Mac or using another iPhone with a newer version of the operating system where the backup key has been transferred.
Using the ADB command line for Android
For advanced users with smartphones with USB debugging enabled, there is a method for extracting the system configuration file. This method requires connecting to a computer and installing the tools. ADB (Android Debug Bridge). It allows access to system files without root access, provided your Android version allows reading certain configuration files.
First, you need to connect your phone to the PC and check the connection with the command adb devicesMake sure the smartphone screen allows connections from this computer. Then, execute the command to display the contents of the saved networks file. The file path may vary depending on the OS version.
adb shell dumpsys wifi | grep "mConfigOsConfigurations"
The command output contains the network's SSID and the corresponding key in either cleartext or hash format. For more in-depth analysis, the command adb pull /data/misc/wifi/WifiConfigStore.xml, but it requires root access. Without superuser rights, you can only try to extract the general configurations.
This method is especially useful when the system interface is damaged or blocked, but debugging remains active. It allows access to critical data even in emergency situations when standard menus are unavailable.
- 🔌 Connect the USB cable and select the "File Transfer" mode.
- 💻 Launch a terminal or command prompt on your computer in the ADB folder.
- 📱 Confirm the debugging request on your smartphone screen.
- 📄 Enter the command to dump the Wi-Fi configuration.
Restoring access via the router's web interface
If your phone doesn't display the password and you need to connect urgently, you can try finding it through the router's settings. To do this, your device must be connected to the router via any method: Wi-Fi (even without internet) or a LAN cable.
Open your browser and enter the gateway IP address. This is usually 192.168.0.1 or 192.168.1.1The exact address is often written on a sticker on the bottom of the router, along with the login and password for accessing the admin panel. The default credentials are often admin/admin.
After authorization, find the section Wireless, Wi-Fi or Wireless network. In subsections Security or Protection The current encryption key is displayed. Here you can not only view it, but also change it to a new, more complex one.
| Router brand | Standard IP | Default login | Default 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 |
This action will delete all user settings, including the ISP connection type (PPPoE, L2TP, etc.), so make sure you have your ISP details before resetting.
What to do if the router won't open?
If the IP address isn't responding, check to see if your ISP is using its own gateway address. Try the ipconfig (Windows) or ifconfig (Mac/Linux) command in Terminal to find the Default Gateway address.
Reset network settings and factory reset
When software methods fail, a radical but effective option remains: resetting the network settings on the phone itself. This will delete all saved Wi-Fi networks, Bluetooth pairings, and cellular settings, returning them to their original state.
IN Android it's in the menu System → Reset settings → Reset Wi-Fi, mobile data, and Bluetooth settingsOn . iPhone the path looks like this: General → Transfer or reset iPhone → Reset → Reset network settingsAfter rebooting, the phone will be "clean" in terms of connections.
This method won't reveal your old password, but it does eliminate software errors that could be blocking data display or a normal connection. Often, after a reset, the network is re-detected, and if you remember at least part of the password, connecting becomes easier.
If none of these methods work and access to the router is blocked, the only solution is to physically reset the router. There's a small hole on the back panel. ResetPressing with a paperclip for 10-15 seconds will return the device to the factory settings indicated on the sticker.
☑️ Preparing to reset your router
Recovery and security apps
App stores offer numerous utilities that promise to reveal passwords. However, be extremely cautious. Most of these programs are actually access point databases created by other users, not hacking tools.
Apps like WiFi Map or Instabridge They operate on the principle of social engineering. They collect geolocation and passwords from users who voluntarily share them. You can find the password to your neighbor's Wi-Fi if someone has previously connected to that network and allowed syncing.
Using such services carries privacy risks. By sharing your connection data, you're effectively exposing your network to the public. It's safer to use built-in OS features or private access to your router.
For Android owners with root rights, there are utilities like WiFi Password ViewerThey read the system file. wpa_supplicant.conf, where all the keys are stored. However, rooting the device itself reduces security and may void the warranty.
⚠️ Note: Settings interfaces and menu layouts may change after firmware updates. If you can't find the item you need, search your phone's settings by entering "Wi-Fi" or "Network."
FAQ: Frequently Asked Questions
Is it possible to find out the Wi-Fi password without rooting an older Android device?
On Android versions below 10, this is virtually impossible to do using native tools without root access, as the system encrypts the password file. The only option is to view the password in the router settings via a browser or on another, newer device that is already connected to the network and synced with a Google account.
Why isn't the Passcode field showing up on my iPhone?
The password view feature was introduced in iOS 16. If you have an older version of the system, this option will not be available in the menu. The field may also be missing if you are not the owner of the device or if content filtering restrictions are enabled that block changes to network settings.
Is it safe to use Wi-Fi hacking apps?
No, it's not safe. Most of these apps either don't work or are malicious. They can steal your personal data, inject ads, or use your phone as part of a botnet. The legal way is to use the manufacturer's access recovery features.
What should I do if I forgot my router admin password?
If the default admin/admin password doesn't work and you haven't changed the password yourself (perhaps the installer did this during installation), you'll need to reset the device using the Reset button. This will restore the factory settings indicated on the sticker, but will require you to reconfigure your internet connection.