How to Restore a Forgotten Wi-Fi Network on Your Phone: A Complete Guide for Android and iOS

Have you ever encountered a situation where your phone automatically connects to your home Wi-Fi, but suddenly asks you to enter the password? Or worse, the network has completely disappeared from your saved list, and you've long forgotten the password? This problem is familiar to millions of users, especially after a factory reset, firmware update, or purchasing a new router. Luckily, there are several ways to restore access to a forgotten Wi-Fi network on your phone—and not all of them require knowing the password.

In this article we will look at 7 proven methods For Android And iOS, including hidden operating system functions, router management, and even workarounds for non-rooted devices. You'll learn how to extract saved passwords from system files, use QR codes for quick connections, and what to do if your network isn't showing up in your settings. You'll also learn how to protect your data to avoid similar situations in the future.

Important: Some methods depend on the firmware version and phone model. If your device doesn't support the steps described, proceed to the next method—at least one of them is sure to work.

📊 What phone do you have?
Android (Samsung, Xiaomi, etc.)
iPhone (iOS)
Another brand on Android
I don't know the model

1. View saved Wi-Fi password on Android (without root)

On most modern smartphones Android 10 and newer versions have a hidden feature that allows you to view the password for a saved network—but only if the phone is already connected to it. This method works on Samsung, Xiaomi, Google Pixel and other devices with pure Android.

Instructions:

  • 📱 Open Settings → Wi-Fi (or Network and Internet → Wi-Fi on some firmware).
  • 🔍 Find your network in the list and tap on its name (not on the switch!).
  • 🔑 Click Share (or Share (on English firmware).
  • 🔐 The system will ask for confirmation PIN code, fingerprint or patternAfter authorization, a QR code and text password will be displayed.

⚠️ Attention: On some devices (eg. Huawei or Honor) This method may not work due to manufacturer restrictions. In this case, proceed to the next method.

Check that your phone is connected to the correct network.

Make sure you know your screen unlock PIN

Update your firmware if the Share feature is missing.

Please use an alternative browser if the QR code does not scan-->

2. Extracting password via file system (only for rooted Android)

If your phone has root rightsYou can manually find the password in system files. This method is suitable for experienced users and requires caution—incorrect actions can damage the system.

Step-by-step instructions:

  1. Install any file manager with root access (For example, Root Explorer or FX File Explorer).
  2. Follow the path:
    /data/misc/wifi/WifiConfigStore.xml

    or (on newer versions of Android):

    /data/misc/wifi/WifiConfigStoreSoftAp.xml
  3. Find the line in the file <string name="PreSharedKey"> — after it the password will be indicated in encrypted or clear form.
  4. If the password is encrypted, use online decoders (for example, Base64) or specialized applications like WiFi Password Viewer.

⚠️ Attention: Modifying or deleting files in /data/misc/wifi/ may lead to loss of all saved networksWe recommend creating a backup copy of the folder beforehand.

What to do if the WifiConfigStore.xml file is missing?

On some firmware (for example, MIUI from Xiaomi), passwords are stored in a binary file wpa_supplicant.conf on the way /data/misc/wifi/You can open it with a text editor - look for blocks with ssid="network_name" And psk="password".

3. Restoring the network through the router settings

If your phone is not connected to Wi-Fi and you have forgotten the password, the most reliable way is to go to the router control panel from another device (for example, a computer or tablet). To do this:

Steps:

  • 🌐 Connect to the router via cable (via port LAN) or use another device that remembers the password.
  • 🔗 Enter your router's IP address in your browser. This is usually:
    • 192.168.0.1 (For TP-Link, D-Link)
    • 192.168.1.1 (For Asus, Zyxel)
    • 192.168.8.1 (For Huawei, Honor)
  • 🔑 Enter your login and password to log in (usually admin/admin or indicated on the router sticker).
  • 📡 Go to the section Wi-Fi (or Wireless) → Security (Security). There will be a field here. Password (Password or Pre-Shared Key).
Router manufacturer Standard IP address Default login/password
TP-Link 192.168.0.1 admin/admin
Asus 192.168.1.1 admin/admin
Xiaomi 192.168.31.1 Linked to account Mi
Keenetic 192.168.1.1 Indicated on the sticker

💡 Helpful tip: If you can't log into your router, try resetting it using the button. Reset (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.

4. Using a QR code for quick connection (Android & iOS)

Modern smartphones support connecting to Wi-Fi via QR code, eliminating the need to enter a password manually. This method is especially convenient if you have a second phone or tablet already connected to the network.

How does this work:

  1. On the device that already connected to Wi-Fi:
    • On Android: open Settings → Wi-Fi, tap on the network → Share → scan QR.
    • On iPhone: open Settings → Wi-Fi, tap on the network → click on the QR code in the upper right corner.
  • On the phone you want to connect, open the camera and point it at the QR code.
  • Confirm the connection - the network will be added automatically.
  • ⚠️ Attention: Some routers (for example, with the function enabled) MAC filtering) may block new devices even with the correct password. In this case, add MAC address phone to the white list in the router settings.

    5. Restore network via backup (Android)

    If you have ever created backup copy of settings through Google Account or third-party applications (eg Titanium Backup), there's a chance to recover Wi-Fi data. This method works even if the phone has been reset to factory settings.

    Instructions for Google Backup:

    • 📱 Go to Settings → System → Backup.
    • 🔄 Make sure the function Backing up to Google Drive included.
    • 🔙 Perform a factory reset (Settings → System → Reset) and during the first setup, select restore from backup.
    • 📶 After restoration, check the list of saved networks in Settings → Wi-Fi.

    Important: Wi-Fi backups are only stored in your Google Account if password syncing is enabled. If this feature is disabled, your data may not be saved.

    For Titanium Backup (requires root):

    1. Install the app and grant root access.
    2. Go to the tab Backups and find files named Wi-Fi settings or com.android.providers.settings.
    3. Restore the selected copy and reboot your phone.

    6. Reset network settings on your phone (last chance)

    If none of the methods worked and the network still doesn't show up in the list, try reset network settingsThis will delete all saved Wi-Fi and cellular settings, but may resolve the issue with the "disappearing" network.

    How to reset:

    • On Android:
      1. Open Settings → System → Reset.
      2. Select Reset Wi-Fi, mobile network, and Bluetooth settings.
      3. Confirm the action and restart your phone.
  • On iPhone:
    1. Go to Settings → General → Transfer or reset iPhone.
    2. Click Reset → Reset network settings.
    3. ⚠️ Attention: After the reset, you'll have to re-enter passwords for all Wi-Fi networks. If the issue was a system glitch, this method will help reset the settings and restore visibility of hidden networks.

      7. Alternative methods: if nothing helps

      If standard methods don't work, try these less obvious solutions:

      • 📞 Call your provider: On some routers (especially from providers like Rostelecom or MTS) The default password is linked to the contract number. A support representative can provide it.
      • 🔧 Use WPS: Click the button WPS on the router, then on the phone select Connect via WPS In the Wi-Fi settings. This only works if the feature is enabled in the router.
      • 🖥️ Connect via USB: Some manufacturers (eg Samsung) allow you to control Wi-Fi from your computer via a program Smart Switch.
      • 🔍 Check the sticker on the router: Sometimes the password is specified in the field Wi-Fi Key or Password on the back of the device.

      💡 Helpful tip for iPhone: If your iPhone I connected to this network before, but now it's not visible, try turning on the mode Airplane mode for 30 seconds, then turn it off. Sometimes this helps "refresh" the network list.

      FAQ: Frequently asked questions about restoring Wi-Fi on your phone

      Is it possible to find out the password for the Wi-Fi connection my phone connected to a year ago?

      Yes, if there has been no reset or firmware update since then, the password could be saved in the system files. Android try the method with WifiConfigStore.xml (section 2), on iPhone — restore from backup iCloud (if it was created).

      Why is my Wi-Fi network not showing up in the list even though the router is working?

      Possible reasons:

      • The network is hidden (the option is enabled in the router settings) Hide SSID).
      • The phone blocked the network due to frequent incorrect password entry.
      • The router is operating in the mode 5 GHz, and the phone does not support this frequency.
      • Feature enabled MAC filtering, and your device is not whitelisted.

      Solution: Try resetting the network settings on your phone (section 6) or temporarily disabling SSID hiding in your router.

      Is it possible to recover a Wi-Fi password if your phone is stolen?

      No, unless you have a backup or access to the router. Wi-Fi passwords are not synced with cloud services (except for backups). Google or iCloud, if they were included to theft). In this case, the only option is to reset the router using the button Reset and configure it again.

      How to protect your Wi-Fi password to avoid losing it in the future?

      Follow these guidelines:

      • 📝 Save your password in password manager (For example, 1Password, KeePass).
      • 📱 Turn on Wi-Fi password synchronization in the account Google (Android) or iCloud (iPhone).
      • 🖼️ Take a photo of the sticker from the router and save the photo in a secure folder.
      • 🔄 Update your router firmware regularly to prevent glitches that could cause your network to "disappear."

    Do Wi-Fi hacking apps work?

    No, most of these applications (for example, WiFi Master Key or WPS Connect) are either ineffective or contain malicious code. Modern routers use strong encryption protocols (WPA3), which are virtually impossible to hack programmatically. Furthermore, attempts at unauthorized access to other people's networks punishable by law (Article 272 of the Criminal Code of the Russian Federation).

    Now you know all the possible ways to restore access to a forgotten Wi-Fi network on your phone. Start with the simplest methods (QR code or router settings), and only if those fail should you move on to more complex solutions. Remember: regular backups And cloud synchronization will save you hours of time in the future!