How to find out your phone's WiFi password if you've forgotten it

It's common to need to connect a new device or a guest to your home network and have completely forgotten the Wi-Fi password. Fortunately, modern smartphones, even those you've already successfully connected to, store this information in their memory. Restoring access Retrieving a forgotten character combination is a completely solvable problem, but the methods for solving it vary dramatically depending on the operating system of your gadget. If you own Android, the process will be as simple as possible, while for users iPhone You'll have to resort to a few tricks or help from the Apple ecosystem.

In this article, we'll take a detailed look at all the current methods for extracting a security key from the operating system's depths. We'll cover standard tools that don't require installing additional software, as well as more complex technical nuances for older software versions. It's important to understand that data security remains a priority, so some methods may require identity verification or administrator rights. Let's figure out how to quickly regain access to information your phone already knows but hides from prying eyes.

Before taking any action, make sure the device you're trying to remove the password from is actually within range and has an active connection. The Wi-Fi password is stored in the system configuration file only after successful authorization. This means that if the connection is lost or the network is deleted, it will be impossible to restore the combination using standard methods. Therefore, always check the connection status at the top of the screen first.

Finding a password on Android 10 and later using a QR code

Starting with the tenth version of the operating system AndroidGoogle developers have implemented a convenient QR code sharing mechanism. This feature was originally designed for quick sharing with guests, but it has become the perfect tool for viewing saved data. You don't need any third-party apps or root access; simply access the standard settings menu. This is the safest and fastest method, and it works on the vast majority of modern smartphones from Samsung, Xiaomi, Pixel and other manufacturers.

To get started, open the section Settings and go to the item Wi-Fi (or Connections). Find the network you need to find the password for in the list and click on it. On some shells, for example MIUI or OneUITo do this, simply tap the gear icon or arrow next to the network name. In the window that opens, you'll see a "Share" button or a large QR code. The password itself is often, but not always, written in small print beneath this code. If there's no text beneath the code, don't worry—the information is still accessible.

  • 📱 Take a screenshot of the QR code that appears or use a second phone to scan it.
  • 🔍 Open the Google Lens app or any third-party QR code scanner.
  • 📄 Select the saved code image from the gallery using the image search function.
  • 🔑 The system will recognize the code and display a text string, where after the prefix WIFI:S: And T:WPA; The password you are looking for will be indicated.

⚠️ Attention: On some custom ROMs (for example, older versions of Huawei or Honor skins), the password text may be hidden behind asterisks even in the sharing menu. In this case, using a third-party QR code scanner is the only standard decryption method.

It is worth noting that for this method to work, you do not need to have an active Internet connection; it is enough for the Wi-Fi module to be turned on. System limitations Android doesn't allow you to simply copy a password to the clipboard without additional steps, so scanning the code is a workaround that has become an industry standard. If you have a phone with a very old version of Android (below 10), this method, unfortunately, won't work, and you'll have to look for other solutions.

📊 What version of Android are you using?
Android 14/15
Android 12/13
Android 10/11
Android 9 and below
Don't know

Using a Google Account to sync passwords

The Google ecosystem offers another powerful tool: Wi-Fi password syncing via your account. If syncing is enabled on your device, the keys for every network you've ever connected to are stored in the cloud. This allows you to not only automatically restore access on a new phone but also view them through a browser on any other device. This is especially useful if you've lost your phone but still remember your account information.

To use this method, go to passwords.google.com from any computer or other smartphone. You will need to log in using the same Google account, which was used on a phone with Wi-Fi. In the list of saved data, find the section related to passwords or a specific device. However, directly viewing the Wi-Fi password through the Google Password Manager web interface is often restricted for security reasons and may require confirmation through the primary device.

A more direct route for stock Android owners (Pixel, Motorola, Nokia) is to use the "Google Passwords" feature in the phone's settings. Follow this path Settings → Google → Autofill → Google PasswordsHere, in the list of apps and websites, you can sometimes find saved network data if it's marked as important or synced in a specific way. Accessing each item requires biometric authentication or a PIN.

It is important to distinguish between synchronizing website passwords and Wi-Fi passwords. Defense mechanism Saving Wi-Fi keys to cloud-based user profiles works differently than saving social network logins. Not all Android versions allow you to upload Wi-Fi keys to the user's cloud profile for viewing on other devices. However, it's worth checking this section, as recent updates Android 14 And 15 The functionality is constantly expanding, and the ability to manage networks via the cloud is becoming more obvious.

Methods for Android 9 and later (Root rights)

Owners of devices with Android versions below 10 (for example, the once popular Android 6, 7, 8) It is practically impossible to access the password file using standard methods due to strict security restrictions. The file in which all the keys are stored is called wpa_supplicant.conf and is located in the system folder /data/misc/wifi/A regular user does not have read permissions for this directory. The only legitimate way to open this file is to gain superuser privileges, or Root rights.

The process of gaining root access (for example, through Magisk or SuperSU) is complex, requires unlocking the bootloader and carries risks. ⚠️ Attention: Rooting your device will void your warranty, may brick your phone due to errors, and may prevent some banking apps from working due to system integrity issues. If you're ready to take this step, you'll need a root-enabled file manager, such as Root Explorer or ES File Explorer (with root mode enabled).

After activating superuser rights, the algorithm of actions is as follows:

  1. Open the file manager and grant it root privileges when prompted.
  2. Follow the path /data/misc/wifi/.
  3. Find the file wpa_supplicant.conf and open it as a text document.
  4. Find the block inside the file network, corresponding to your network (field ssid), and look at the value of the field psk - this is your password.

For those who don't want to manually access system files, there are specialized apps on Google Play, such as "WiFi Password Viewer." However, performance The availability of such programs on modern versions of Android without root access is zero. They merely create the illusion of functionality or require complex debugging via ADB. Therefore, for older phones, rooting remains the only viable, albeit risky, option for viewing saved keys.

What is ADB and how does it help?

ADB (Android Debug Bridge) is a command-line tool that allows you to control your device from a computer. It can sometimes be used to retrieve the Wi-Fi configuration file without full root access by running the adb backup command, but this method requires installing drivers and having a PC.

How to find the password on an iPhone (iOS 16 and later)

Long time users iPhone And iPad There was no way to view saved Wi-Fi passwords directly on the device unless they were synced with a Mac. This situation changed dramatically with the release of iOS 16. Apple finally added the long-awaited feature for viewing and copying passwords to the default settings. This made the process simple and accessible to every smartphone owner with the latest operating system.

To see the forgotten key, follow these steps: open Settings, go to the section Wi-FiIn the list of available networks, find the one you need to find the password for (it should have a blue checkmark if you're currently connected). Click the blue information icon (i) to the right of the network name. In the menu that opens, find the "Password" field. Initially, the characters will be hidden by dots. Simply tap this field, and the system will prompt you for Face ID, Touch ID, or the device's passcode. After successful authentication, the password will be displayed in clear text and can be copied.

  • 🍏 This method only works on iOS 16, iPadOS 16, and macOS Ventura or later.
  • 🔐 Biometric verification or knowledge of the screen unlock code is required to view.
  • 📋 The copied password can be immediately pasted into the input field on another device.

If you have an older version of iOS, this method won't work. In that case, Apple device owners are left to rely on the ecosystem. If you have a computer Mac With iCloud Keychain sync enabled, you can view your password in the Keychain Access app on macOS. On Windows or Android, you can't view the password saved on your iPhone using standard tools.

Comparison of methods for different OS versions

Choosing the optimal password recovery method directly depends on the hardware and software of your device. A universal solution that would work on Android 5 And iOS 17 The same thing doesn't exist. Below is a table to help you quickly navigate the available methods depending on your situation. This will save you time and prevent you from trying a method that doesn't work.

Device / OS Access method Root/Jailbreak required Need a PC
Android 10+ QR code in settings No No
Android 9 and below wpa_supplicant.conf file Yes (Root) Desirable
iOS 16+ Wi-Fi settings (i icon) No No
iOS 15 and below Sync with macOS No Yes (Mac)

As can be seen from the table, modern operating systems strive to avoid the need for complex technical manipulations. Security The trend is shifting toward biometrics and cloud synchronization, which, on the one hand, makes it more difficult for attackers to gain access, while on the other, making life easier for legitimate users. However, if your device is outdated, obtaining extended system access rights is essential.

It is also worth mentioning that some Android smartphone manufacturers (eg. Xiaomi or Samsung) may slightly modify the interface. The path to the QR code may be labeled "Share," "Connection Code," or have an icon of a square with dots. The logic remains the same: look for any way to "share" the connection, and the password will be revealed.

☑️ Check before resetting your router

Completed: 0 / 4

Alternative options and resetting the router

If none of the software methods work (the phone is old, it's not rooted, or the iOS is outdated), the only option is to turn to the physical hardware. Often, the factory Wi-Fi password (if you haven't changed it) is written on a sticker on the bottom or back of the router. Look for the field WPA/WPA2 Key, Wireless Password or PasswordThis is the most common, but often forgotten, method. The password can also be specified in the contract with the provider or in the subscriber's personal account on the service provider's website.

In a pinch, if you urgently need internet access and can't find the password, you can reset the router to factory settings. To do this, you'll need to find a small hole. Reset on the device's body and press the button inside with a paperclip for 10-15 seconds. After rebooting, the router will broadcast the network with the factory name and password (indicated on the sticker). ⚠️ Attention: After resetting, the router will lose all provider settings (PPPoE, static IP, etc.). Internet access may not work until you reconfigure the router through the web interface.

Remember that knowing your network password is a matter of personal digital hygiene. It's recommended to write down complex passwords in a secure place or use password managers to avoid being dependent on the vagaries of operating systems and firmware versions. Regularly checking the saved data in your phone settings will help avoid unpleasant situations in the future, such as connecting to new devices or hosting guests.

Is it possible to find out the Wi-Fi password if the phone is not connected to it?

Not by standard operating system means. Android and iOS only store passwords for networks the device has successfully connected to before. If the phone has never been connected to a given network, the security key simply won't exist in its memory. The only way to access it is if the password is synced via the cloud (Google or iCloud) and you have access to your account from another device where you're already signed in.

Are Wi-Fi hacking apps safe to use?

Apps with names like "WiFi Hacker" or "Password Cracker" that promise to crack passwords without root access are 99% scams. They either display ads or steal your data. Brute-forcing a password on a mobile device takes years. Use only the official recovery methods described in this article.

What to do if the QR code cannot be read?

Make sure the screen of the phone with the code is set to maximum brightness and the camera lens of the second device is clean. Try taking a screenshot of the code and opening it using Google Lens in the Google app or Google Photos. Sometimes software image recognition works better than direct camera scanning in real time.

Will my Wi-Fi password change if I reset my phone?

No, resetting your smartphone (factory reset) will delete all saved Wi-Fi passwords, but it won't change the password on the router itself. After resetting your phone, you'll have to re-enter your Wi-Fi password to connect. The network access key itself will remain the same.