You connected to your home or work Wi-Fi network a month ago, entered the password, and then conveniently forgot it. Now you need to connect a new device, but where do you find that password? Luckily, you can easily find it right on your phone if it's connected to that network at least once. In this article, we'll cover all the working methods for Android And iPhone, including hidden features and workarounds for different operating system versions.
It's important to understand: the phone doesn't "know" the password in the traditional sense—it stores it encrypted in system files. However, users have legal ways to retrieve this information without rooting or jailbreaking. We'll also explain what to do if standard methods fail and how to avoid common mistakes when attempting to restore access.
Let's get to work. Below you'll find step-by-step instructions with images (text paths are provided for clarity), a table of method compatibility with different OS versions, and answers to frequently asked questions. If your case is unique, check the section on alternative solutions.
1. The standard method for Android: password in network settings
On most modern smartphones with Android 10 You can view the password for your current Wi-Fi network directly in the connections menu. This method works without any additional software and doesn't require root access. Here's how:
- Open
Settingsphone. - Go to the section
Wi-Fi(orNetwork and Internet → Wi-Fion some firmware). - Find your network in the list and tap on its name (not by switch!).
- In the window that opens, select
Share(orShare(on English firmware). - The system will ask you to confirm your identity - enter
PIN code,graphic keyor scan your fingerprint. - A line will appear under the QR code.
Wi-Fi password- this is your security key.
⚠️ Attention: On some phones (eg. Xiaomi or Samsung with shell One UI) the path may differ slightly. If the point Share No - try holding your finger on the network name for 2-3 seconds until the context menu appears.
Make sure your phone is connected to the correct Wi-Fi network.
Make sure you have a PIN or pattern set.
Close all VPN applications (they may block access to system settings)
Update your firmware if you have Android older than version 9-->
This method works on pure Android (For example, Pixel or Nokia), as well as on most phones Samsung, OnePlus, Realme And OppoFor device owners Huawei And Honor with firmware EMUI An alternative method may be needed - read about this in the next section.
2. Alternative Method for Android: Wi-Fi Configuration File
If there is no option in the network settings Share, the password can be extracted from the system file wpa_supplicant.confThis method requires file system access but doesn't require root privileges. Here's how:
- Install any file manager with access to system folders, for example FX File Explorer or Solid Explorer (enable the option in the application settings
Show hidden files). - Follow the path:
/data/misc/wifi/WifiConfigStore/or (on some firmware):
/data/misc/wifi/ - Find the file
wpa_supplicant.confand open it with a text editor. - Inside the file there will be blocks of the following type:
network={ssid="Your_Network_Name"
psk="your_password"
key_mgmt=WPA-PSK
}Line
pskcontains the password you are looking for.
⚠️ Attention: On phones with Android 11+ Access to this file may be blocked without root privileges. In this case, try using ADB commands (described in section 4) or specialized utilities like WiFi Password Viewer (requires connection to PC).
What to do if the file is missing?
On some firmware versions (for example, Xiaomi's MIUI), the file may have a different name or be stored in a different location. Try searching by keyword. wpa in folders:
/data/vendor/wifi/ or /data/wifi/bcf/.
If there is nothing there either, then the manufacturer has blocked access, and you will need root or ADB.
This method is universal for most versions Android, but may not work on the latest models Samsung And Google Pixel Due to enhanced data protection. If you see an empty file or receive an access error, proceed to the next method.
3. iPhone Specifics: Apple Limitations and Workarounds
To the owners iPhone or iPad less fortunate: iOS doesn't allow you to view saved Wi-Fi passwords directly. in the system interface. This is done for security reasons, but it's inconvenient. However, there are three working workarounds:
- 🔹 Synchronization via iCloud: If you have Mac or another Apple- a gadget connected to the same
Apple ID, the password can be viewed inKeychain(instructions below). - 🔹 iTunes backupWi-Fi passwords are stored in encrypted backups. They can be extracted using third-party utilities such as iBackup Viewer (requires PC).
- 🔹 Jailbreak: On jailbroken devices, passwords are accessible through tweaks like WiFi Passwords from the repository Cydia.
Let's take a closer look at the first method, as it doesn't require hacking or third-party software:
- On Mac open the application
Bunch of keys(can be found viaSpotlightupon requestKeychain Access). - In the left menu, select
System→Passwords. - In the search bar, enter the name of your Wi-Fi network.
- Double-click on the found entry and check the box
Show password. - Enter your account password on Mac - after this the Wi-Fi password will be displayed.
⚠️ Attention: If you don't have Mac, but there is Windows PC, you can use the program iExplorer to extract passwords from a backup iTunesHowever, this method only works with encrypted backups - If you have never enabled encryption, the data will be inaccessible.
Android
iPhone
Both types
Other-->
4. Advanced Methods: ADB and Specialized Utilities
If standard methods don't work, developer tools come to the rescue. Method with ADB (Android Debug Bridge) is suitable for Android-devices and allows you to extract the password without root access, but it requires a computer connection. Here are the step-by-step instructions:
- Download and install ADB Tools on PC (official page).
- Turn on your phone
Developer mode(Tap the build number 7 times inSettings → About phone) and activateUSB debugging. - Connect your phone to your PC via cable and trust the computer.
- Open Command Prompt (
cmdon Windows orTerminalon Mac/Linux) and enter:adb shellsu
cat /data/misc/wifi/WifiConfigStore/SoftAp_WifiConfigStore.xmlIf the file is not found, try:
cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf - Find the line in the output
psk="..."- this is the password.
To simplify the process, you can use utilities like WiFi Password Recovery (only for Windows) or Wifi Password Viewer (requires Java). These programs automate ADB requests and display passwords in a convenient format.
⚠️ Attention: Using ADB on someone else's device without the owner's consent may violate privacy laws. This method is intended only to restore access to your networks.
5. If nothing works: resetting the router and alternatives
In rare cases, none of the above methods work. This may be due to:
- 🔒 Corporate policies (on work phones with MDM).
- 🛡️ Customized firmware (for example, on some Chinese brands).
- 🔄 System file corruption (the password is saved, but not readable).
In such situations, there are three options left:
- Reset the router: Click the button
Reseton the back of the router (hold for 10-15 seconds). After the reset, the network will be named by default (for example,TP-Link_1234), and the password is indicated on the device sticker. - View password on another device: If a laptop is connected to the network, Smart TV or tablet - extract the password from there (instructions for Windows/Mac (available online).
- Contact your provider: If the router was issued by the Internet provider, its password may be specified in the contract or personal account (for example, Rostelecom or Beeline).
⚠️ Attention: Resetting your router will return all settings to factory defaults, including PPPoE setup (if it was used), guest network And device prioritiesAfter the procedure, you may need to reconfigure your Internet.
6. Table of compatibility of methods with devices
To save time, use the table below. It shows which methods work on different devices and OS versions:
| Method | Android 9 and below | Android 10-13 | iOS (no jailbreak) | Do you need a PC? |
|---|---|---|---|---|
| Wi-Fi Settings → Share | ❌ No | ✅ Yes | ❌ No | ❌ No |
File wpa_supplicant.conf |
✅ Yes | ⚠️ Partially | ❌ No | ❌ No |
| ADB commands | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes |
| Keychain Access (Mac) | ❌ No | ❌ No | ✅ Yes | ❌ No |
| iTunes backup | ❌ No | ❌ No | ✅ Yes | ✅ Yes |
🔹 Note: On phones Huawei And Honor With EMUI 10+ Access to system files is blocked even through ADB. In this case, the only solution is to reset the router or contact your ISP.
7. How to avoid problems in the future: tips for saving passwords
To avoid searching for your Wi-Fi password next time, use these tips:
- 📝 Take a photo of the router sticker with factory data (usually the standard password is indicated there).
- 🔐 Use password managers like 1Password, KeePass or built-in Google Chrome (network passwords are also saved!).
- 📱 Back up your Wi-Fi settings through
Settings → System → Backup(on Android). - 📋 Keep a list of passwords in a secure place, for example, in Google Sheets with limited access.
On phones with Android 12+, Wi-Fi passwords are automatically synced with your Google account if the "Backup" feature is enabled. This means that after you reset your phone or buy a new device, the network will connect automatically, without having to re-enter the password.
⚠️ Attention: Never save passwords in plaintext files or unencrypted notes. If your phone is lost, an attacker could gain access not only to your Wi-Fi but also to your other accounts (many use the same passwords).
FAQ: Frequently asked questions about Wi-Fi passwords on your phone
Is it possible to find out the password for a Wi-Fi network that my phone was previously connected to but is not currently connected to?
On Android - yes, via file wpa_supplicant.conf or ADB. On iPhone - only if the network is saved in Keychain (Mac) or in a backup iTunes.
Why in the file wpa_supplicant.conf Is the password displayed in encrypted form?
This means the firmware uses additional encryption. Try viewing the file via ADB with permissions. root or use the utility WiFi Password Viewer.
I reset my router, but my internet still isn't working. What should I do?
After the reset, you'll need to reconfigure your connection to your provider. Typically, you'll need to enter the login and password from your contract (for PPPoE) or activate DHCPInstructions are on the router sticker or in your provider's personal account.
Is it possible to find out my neighbor's Wi-Fi password?
Technically, yes (if the phone has ever connected to this network), but this is against the law (Article 272 of the Russian Criminal Code "Unauthorized access to computer information"). Use only for your own networks!
The password in the settings is displayed as asterisks. How can I see it?
On Android Tap on the password field - the "Show" button will appear. iPhone this functionality is missing (additional methods from section 3 are needed).