How to connect to Wi-Fi on your phone if you forgot your password: a step-by-step guide

Forgot your home Wi-Fi password and need to connect urgently? Don't rush to reset your router or call your provider—in 80% of cases, the password can be recovered or bypassed using your smartphone. These instructions will help you regain access to the network. Android (including Samsung, Xiaomi, Huawei) And iPhone without losing router settings.

We will look at all working methods: from viewing saved passwords to using WPS And QR codesImportant: The methods vary depending on the operating system version and phone model. For example, on Android 10+ access to passwords is limited, and iOS synchronization required with iCloudIf your phone is already connected to this network, the task becomes much easier.

Before you begin, please check:

  • 🔄 Is your phone actively connected to the target network (even if the internet is down)?
  • 📱 What OS version is installed (Settings → About phone)?
  • 🔒 Is there physical access to the router (button WPS, data sticker)?
📊 What phone do you have?
Android (Samsung, Xiaomi, etc.)
iPhone (iOS)
Another brand
Don't know

══════════════════════════════════════════════════════════════════════════

1. View the saved password on the connected phone

If your smartphone is already connected to a Wi-Fi network (even without internet), the password can be retrieved from the settings. Android And iOS The algorithms are different.

On Android (up to version 10)

On older versions Android (7–9) The password is displayed in clear text:

  1. Open Settings → Wi-Fi.
  2. Click on the name of your network.
  3. Select Network management or Share (on XiaomiShow QR code).
  4. Enter your PIN or fingerprint.
  5. The password will be displayed under the QR code or in the field Password.
What should I do if there is no "Share" option?

On some firmware (for example, ColorOS from Oppo) this option is hidden. Try installing a file manager with root privileges (for example, Root Explorer) and find the password in the file /data/misc/wifi/WifiConfigStore.xml.

On Android 10 and later

Since Android 10, Google has prohibited displaying passwords in plain text for security reasons. However, there is a workaround:

  1. Install the application WiFi Password Viewer (requires license root).
  2. Or connect your phone to PC and use ADB:
    adb pull /data/misc/wifi/WifiConfigStore.xml

    In the resulting file, find the line <string name="PreSharedKey">...</string>.

On iPhone (iOS)

Apple doesn't allow you to view Wi-Fi passwords directly, but there are two options:

  • 🔗 If you have Mac: open Bunch of keys (through Spotlight), find the network name and double-click it. Check the box Show password.
  • ☁️ If syncing is enabled with iCloud: go to the website iCloud.com, select KeysWi-Fi.
⚠️ Attention: On iPhone without Mac or iCloud It's impossible to extract the password. We'll have to use other methods.

══════════════════════════════════════════════════════════════════════════

2. Connect via WPS (without entering a password)

WPS Wi-Fi Protected Setup (Wi-Fi Protected Setup) is a router feature that allows you to connect to a network without a password. It works if:

  • 📶 The router supports WPS (button on the case or in the web interface).
  • 🔄 The function is not disabled in the settings.
  • ⏳ Connection time is 2 minutes after pressing the button.

Instructions for Android:

  1. Open Settings → Wi-Fi → Advanced → WPS (on SamsungConnection via WPS).
  2. Click Connect via WPS.
  3. Press the button within 2 minutes WPS on the router (usually on the back, signed) WPS/RESET).

For iPhone There is no standard WPS connection, but you can use applications like WPS Connect (requires jailbreak).

Router model WPS support Where is the button?
TP-Link Archer C20 Yes At the back, near the ports
ASUS RT-AC51U Yes On the side, under the lid
Xiaomi Mi Router 4A Yes (in the web interface) There is no physical button
Zyxel Keenetic Yes Behind, next to RESET
⚠️ Please note: Some providers (eg. Rostelecom) disable WPS by default. If the button doesn't work, check your router settings.

══════════════════════════════════════════════════════════════════════════

3. Use QR code to connect

Many modern routers (Xiaomi, Huawei, Keenetic) generate a QR code with network data. You can scan it with your phone and connect automatically.

How does this work:

  1. Find the QR code on the router sticker (usually on the bottom) or generate it in the web interface (192.168.1.1Wi-Fi → QR code).
  2. Open on your phone Camera or application Google Lens.
  3. Hover over the QR code and a notification will appear Connect to Wi-Fi.

If you don't have a QR code, create one manually:

  • 📱 On Android: open Wi-Fi Settings → Share (where the password is displayed) and select QR code.
  • 🍎 On iPhone: use the app Shortcuts (create an automatic command to generate QR).

Find the QR code on your router | Check if Wi-Fi is enabled on your phone | Open the camera or Google Lens | Confirm the connection in the notification

-->

The advantage of this method is that you don’t need to enter the password manually, and the QR itself can be saved in Google Photos or iCloud for future use.

══════════════════════════════════════════════════════════════════════════

4. Recover the password via the router's web interface

If you have access to your router settings (for example, via a cable or another connected device), you can view or change the password in the admin panel.

Step-by-step instructions:

  1. Connect your phone to the router via cable (via USB-OTG adapter) or use another device (PC, tablet).
  2. Open your browser and enter the router address:
    • 192.168.1.1 (more often)
    • 192.168.0.1 (D-Link, ASUS)
    • 192.168.8.1 (TP-Link)
  • Enter your login and password (usually admin/admin or indicated on the router sticker).
  • Go to the section Wireless network (Wireless) → Protection (Security).
  • The password will be in the field Network key (Password or Pre-Shared Key).
  • ⚠️ Note: If you haven't changed the default login details for your router, you can find them on the device's sticker. If you've changed them and forgot, you'll need to reset (button RESET for 10 seconds).

    On some routers (Keenetic, MikroTik) the interface is different. For example, in Keenetic see the password in:

    Internet → Wireless Network → Access Point → Security Key

    ══════════════════════════════════════════════════════════════════════════

    5. Connect via another connected device

    If another phone, tablet, or PC is connected to Wi-Fi, you can "share" the network without a password. The methods depend on the device:

    From Android to Android

    Use the function Wi-Fi Direct or Nearby Share:

    1. On the connected phone, open Settings → Wi-Fi.
    2. Click on the network name → Share.
    3. Select QR code and scan it with the second phone.

    From iPhone to iPhone (or Mac)

    Apple uses technology Instant Hotspot:

    1. Make sure both devices are enabled. Bluetooth And Wi-Fi.
    2. Bring the second one iPhone to the connected one - a notification will appear Connect to Wi-Fi [network name].
    3. Click Connect (the password will be transferred automatically).

    From PC to phone

    On Windows 10/11:

    1. Open Settings → Network and Internet → Wi-Fi.
    2. Click Managing known networks → select your network → Properties.
    3. Scroll to Password and press Show symbols.

    ══════════════════════════════════════════════════════════════════════════

    6. Reset the router password (last resort)

    If none of these methods work, the next step is to reset the router to factory settings. This will delete all custom settings, including the Wi-Fi password, and restore the default login information (found on the sticker).

    How to reset:

    1. Find the button on your router RESET (usually recessed into the body).
    2. Take a paper clip or a toothpick and press and hold the button 10-15 seconds.
    3. Wait for the reboot (all indicators will flash).
    4. Connect to the network with the factory name (eg. TP-Link_1234) and password (indicated on the sticker).
    5. ⚠️ Note: After resetting, you will need to reconfigure your internet connection (the details from your provider are usually specified in your contract). On routers with firmware from your provider (for example, Beeline, MTS) You may need to call support for activation.

      Alternative: If the router supports backup settings (For example, ASUS, Keenetic), you can save the config before the reset, and then restore it without a password.

      ══════════════════════════════════════════════════════════════════════════

      7. Alternative methods (for advanced users)

      If standard methods don't help, you can try:

      • 🔧 Use ADB (For Android with USB debugging):
        adb shell
        

        su

        cat /data/misc/wifi/WifiConfigStore.xml | grep psk

        Rights required root.

      • 🖥️ Connect via Ethernet: if the phone has support USB-OTG, connect the cable from the router to the smartphone via the adapter and use the browser to access the settings.
      • 📡 Intercept the handshake (for legal purposes only!): using Wireshark or Aircrack-ng on a PC. The method is complex and requires knowledge.
    ⚠️ Warning: Using Wi-Fi hacking programs (eg. Wifi WPS WPA Tester) is illegal in most countries, including Russia (Article 272 of the Russian Criminal Code). These methods are provided for educational purposes only.

    ══════════════════════════════════════════════════════════════════════════

    FAQ: Frequently Asked Questions

    Is it possible to connect to Wi-Fi without a password if the phone has never connected to this network?

    Yes, but only if the router supports it. WPS Or you have physical access to its settings (via a cable or another connected device). Otherwise, you'll need to reset the router.

    Why isn't my Wi-Fi password showing on Android 11+?

    Starting from Android 10Google has banned displaying passwords in plaintext for security reasons. Workarounds: use ADB, applications with root- rights or view the password on another device.

    How do I connect to Wi-Fi on my iPhone if I forgot my password and don't have a Mac?

    Options:

    1. Use another device (Android, PC) to view the password.
    2. Connect via WPS (if the router supports it).
    3. Reset the router to factory settings.

    In fact iPhone extract password without Mac or iCloud impossible.

    What to do if resetting the router didn't help?

    Possible reasons:

    • Button RESET is faulty - try holding it longer (up to 30 seconds).
    • The router is blocked by your provider - please contact support.
    • The firmware is damaged - you will need to reflash the device.

    If the indicators do not light up after resetting, the router may be broken.

    Is it possible to find out the password for my neighbors' Wi-Fi?

    No, that's illegal. The most you can do legally is ask your neighbors for the password or use their guest network (if they have one set up).