How to recover a WiFi password on your phone

It's quite common to need to connect a new device to your home network but have completely forgotten the Wi-Fi password. Fortunately, modern smartphones store data about previously used networks, opening several avenues for restoring access without complicated steps. If you've ever successfully connected your phone to this router, your chances of success are high, as the encryption key is already stored in the operating system's memory.

In this article, we will look at proven methods for devices based on Android And iOS, which allow you to find or recover a forgotten access key. We'll cover standard operating system tools, QR code scanning capabilities, and radical yet effective methods for resetting your router if software solutions fail.

It is important to understand that the methods may vary depending on the operating system version and the model of your device. For example, on Android 10 The procedure is significantly simplified compared to older versions, which required superuser privileges. Let's go through each available option, starting with the simplest.

Using a QR code to view your password on Android

Since version Android 10Google has introduced a convenient feature that allows you to share Wi-Fi access via a QR code. This is the fastest way, and doesn't require installing third-party software or obtaining permissions. rootThe feature is available in the standard wireless network settings menu of most modern smartphones, including Samsung, Xiaomi, Pixel, and Honor.

To get started, you need to go to the settings menu and select the section Connections or Wi-FiFind a network you're already connected to or have saved in the list. Tap the gear icon or arrow next to the network name to open the detailed menu. There's often a "Share" button or a QR code icon at the bottom of the screen.

After clicking, the system will ask you to verify your identity using a fingerprint, face scan, or screen unlock PIN. This is a security measure to prevent unauthorized access to your network data. Upon successful authentication, a QR code will appear on the screen.

What to do if the QR code is unreadable?

If the built-in camera scanner can't read the code, try taking a screenshot of the screen containing the QR code. Then, open the Google Lens app or any third-party QR code scanner from the Play Store, select an image from your gallery, and the password text will be extracted automatically.

The password itself is often (but not always) written in small print beneath the QR code graphic. If there's no text, simply point another phone's camera at the code—the device will automatically prompt you to connect to the network, and in some cases, the password will also appear in a notification.

Restoring access via the iOS settings menu

Device owners Apple For a long time, it was impossible to view saved passwords directly on an iPhone or iPad. However, with the release iOS 16 And iPadOS 16 This feature is finally here, making network security management more transparent. Now you can not only see passwords but also copy them for use on other devices.

To take advantage of this feature, grab your iPhone and go to Settings. Select a section Wi-FiIn the list of networks, find the one whose password you need and click on the blue information icon (i) To the right of the title. In the menu that opens, find the line "Password."

By default, the password characters will be hidden by dots. Tap this line, and the system will require biometric authentication via Face ID or Touch ID, or enter the digital unlock code. After confirmation, the dots will disappear, and you'll see the actual password, which you can copy or change.

  • 🔑 Make sure your device is updated to iOS 16 or later, otherwise the password display feature will not be available.
  • 📱 On iPad, the procedure is similar: Wi-Fi settings, the information button next to the network, and the password field.
  • 🔄 The password you change here will automatically update on all Apple devices using the same iCloud account.

It's worth noting that if you've forgotten the password and have never connected to this network from this iPhone (for example, if you just reset it), you won't be able to see it in the menu. In this case, you'll have to use the other methods described below or ask someone who's already connected to the network for the password.

Checking via the router's web interface

If your phone can't display the password directly, you can try to find it through the router's settings. This method is universal and works on any device with a browser. You'll need access to the router's administrative panel, which is usually only possible with a cable connection or, in some cases, via Wi-Fi without a password (guest mode).

Open a browser on your phone and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address is often indicated on a sticker on the bottom of the device. You will be asked to enter the administrator login and password. By default, this is often admin/admin, but if you have changed them before, use your data.

Once you've entered the interface, look for the section related to wireless networking. It may be called Wireless, Wi-Fi Settings, Wireless mode or WLAN. Within this section, look for the subsection Security (Security) or Wireless network settingsThat's where the field is located. Wireless network password (Wireless Password / Pre-Shared Key).

📊 What kind of router do you have at home?
TP-Link
D-Link
Asus
Zyxel
Another

Some router models hide the password behind asterisks. There may be a "Show Password" checkbox next to the entry field. If it's not there, you can try temporarily changing the password to a new one, save the settings, and then, if necessary, restore the old one (if you remember it) or keep the new one.

⚠️ Attention: Changing settings in the router's web interface may result in disconnection of all connected devices. Make sure you memorize or write down the new settings before saving.

Resetting the router to factory settings

If none of the software methods helped, and the password from the router admin panel is also lost, there remains the last radical, but effective method - a complete reset (Hard Reset). This action will reset the device to factory settings, including the network name and password, which are indicated on the factory sticker on the case.

Find a small hole with the inscription on the router body Reset or DefaultIt's usually recessed into the housing to prevent accidental pressing. You'll need a thin object, such as a straightened paperclip or toothpick. With the router powered on, press and hold the button inside the hole for 10-15 seconds.

The lights on the front panel should blink or go out, indicating a reboot. Once the router powers up, the network will be named as indicated on the sticker (e.g., TP-Link_XXXX), and the password will match the factory one (or there will be no protection).

☑️ Checklist before resetting your router

Completed: 0 / 4

If you don't know this information, it's best to consult your provider's technical support before resetting.

Action Consequences Required data after
Reset with the Reset button Completely delete all settings Data from the provider (PPPoE, etc.)
Changing your Wi-Fi password Disconnect all devices New password for reconnection
Firmware update Improved stability Administrator password (if changed)
MAC address cloning Bypassing provider restrictions MAC address of the old device

Using third-party applications

There are many applications in Google Play And App Store, which promise to reveal saved Wi-Fi passwords. However, be extremely cautious. Most such apps only work on devices with root access. Root (for Android) or Jailbreak (for iOS), because the security system prohibits normal access to system files where encryption keys are stored.

Apps without root access requirements are often just adware or work as password generators, attempting to brute-force a key, which is extremely ineffective for modern encryption standards. WPA2/WPA3The only real benefits are from utilities that scan QR codes or use cloud backups if you've previously backed up your data there.

If you have superuser rights, you can use file managers with access to system partitions (for example, Root Explorer). You need to find the file. wpa_supplicant.conf in the directory /data/misc/wifi/. This text file contains a list of all networks and passwords in plain text in the field psk.

⚠️ Attention: Rooting or jailbreaking your device will void your warranty and may make it vulnerable to malware. Only do this if you fully understand the risks.

Common errors and problems during recovery

When recovering a password, users often encounter common problems that are easily resolved if they know the cause. One of the most common errors is attempting to connect to a 5 GHz network when the device only supports 2.4 GHz, or vice versa. Although the password has nothing to do with it, the user assumes it's incorrect.

The keyboard layout can also be a problem when typing. Characters may look the same but have different codes. Always check if it's enabled. Caps Lock, and make sure you are using the correct language layout (English for Wi-Fi passwords).

Another caveat is the character limit. The password must be at least 8 characters long. If you try to enter a short code, the router simply won't accept it, displaying a connection error that could be mistaken for "incorrect password."

Don't forget about the human factor either. Often, the password is written on a sticker under the router, but the user searches for it online, forgetting to check the physical device. Or the password has been changed by a family member, and only they have access to the updated information.

Is it possible to recover a password without accessing phone settings?

Without access to the phone menu (if it's locked) or without router administrator rights, recovering the password programmatically is virtually impossible for security reasons. The only option is a physical reset of the router.

Where is the Wi-Fi password file stored on Android?

Passwords are stored in a system file /data/misc/wifi/wpa_supplicant.confThis folder can only be accessed by root users.

What should I do if my router requires a password after a reset?

After resetting, the router should use the factory password indicated on the sticker. If this is not the case, the reset may have been unsuccessful (you need to hold the button longer) or the device's firmware may have been modified.

Are password recovery apps safe to use?

Most of these apps are either useless or potentially dangerous. They can collect data about your networks. It's better to use native OS tools or QR codes.