Forgot your Wi-Fi password? 5 ways to recover it without losing your data.

Forgetting your home Wi-Fi password is easier than it seems: just don't connect a new device for a month or share the network with guests. But when you suddenly need access, panic sets in. Luckily, there are several ways to recover your Wi-Fi password, and most of them don't require technical skills. The key is knowing where to look and what tools to use.

In this article we will look at all current password recovery methods, from simply viewing saved networks on your phone to resetting your router to factory settings. You'll learn how to Windows, MacOS, Android And iOS, and what to do if you don't have access to your router settings. We'll cover this separately. nuances for popular modelsTP-Link, ASUS, Keenetic And Xiaomi, where the admin panel interface may differ.

Important: If you rent an apartment or use public Wi-Fi (for example, at a hotel), you won't be able to recover the password yourself—contact the network owner or administrator. All the methods below only work for your personal network, which you previously had access to.

1. View the saved password on the connected device

The fastest way is to find the password on a device already connected to Wi-Fi. This could be a laptop, smartphone, or tablet. We'll cover instructions for all popular operating systems.

On Windows 10/11

If your computer or laptop is connected to Wi-Fi, the password is stored in the system. To view it:

  1. Open Settings → Network and Internet → Wi-Fi.
  2. Click Managing known networks and select your network.
  3. Click Properties → scroll to the field Network password.
  4. Check the box Show entered charactersto see the password.

Alternative way through Command line:

netsh wlan show profile name="YOUR_NETWORK_NAME" key=clear

Find the line in the results Key content - this is the password.

On MacOS

On MacBook or iMac The password is stored in the keychain:

  1. Open Programs → Utilities → Keychain.
  2. Enter the name of your Wi-Fi network in the search.
  3. Double-click on the found entry and check the box Show password.
  4. Enter your account password MacOSto see the network key.

On Android

On smartphones with Android 10+ You can only view the password with permissions root or through ADBBut there is a workaround:

  • 📱 Method 1: If you have Xiaomi, Realme or Oppo, go to Settings → Wi-Fi, tap on your network and select Share password (PIN or fingerprint required).
  • 🔧 Method 2: Use the app WiFi Password Viewer (requires root).
  • 💻 Method 3: Connect your phone to PC and use ADB:
    adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml"

    Find the line in the output <string name="PreSharedKey">PASSWORD</string>.

On iPhone (iOS)

On iPhone or iPad Viewing your Wi-Fi password is impossible without jailbreaking. But there are two options:

  • 🔄 Method 1: If you have Mac, connect iPhone via cable and use iCloud Keychain (the password is synchronized automatically).
  • 📱 Method 2: Reset the password via the router (see the next section).

2. Enter the router settings to view the password

If no device has saved the password, the next step is to log into the router's admin panel. To do this, you'll need:

  • 🌐 Router IP address (usually 192.168.0.1 or 192.168.1.1).
  • 🔑 Login and password to enter (by default often admin/admin).
  • 📶 Connecting to a router via cable or Wi-Fi (if the password has not changed).

Step-by-step instructions:

  1. Connect to the router via Ethernet- via cable or Wi-Fi (if you remember the old password).
  2. Open your browser and enter your router's IP address in the address bar. Don't know the IP? Windows run the command:
    ipconfig | findstr "Default Gateway"

    On MacOS or Linux:

    netstat -rn | grep default
  3. Enter your username and password. If you haven't changed them, try the default combinations:
    ManufacturerLoginPassword
    TP-Linkadminadmin
    ASUSadminadmin
    Keeneticadmin1234 or empty
    XiaomiadminThe password from the sticker on the router
    D-LinkadminEmpty or admin
  4. Go to the section Wi-Fi (or Wireless network, Wireless). Find the field Password, Key or Pre-Shared Key.

If you can't log in, check:

  • 🔌 Is the cable connected to the port? WAN or LAN (Not Internet).
  • 🔄 Reboot the router using the button Reset (hold for 10 seconds).
  • 📄 Look at the login/password on the sticker on the bottom of the router.
📊 What kind of router do you have?
TP-Link
ASUS
Keenetic
Xiaomi
D-Link
Another
⚠️ Attention: If you changed your admin panel login and password and forgot it, the only solution is to reset the router to factory settings (see Section 4). This will erase all settings, including the Wi-Fi password.

3. Using WPS to connect without a password

If your router supports WPS (Wi-Fi Protected Setup), you can connect a new device without entering a password. This method only works if:

  • 🔄 The WPS function is enabled in the router settings.
  • 📱 The device supports WPS (most smartphones and laptops do).
  • ⏳ Connection time is limited (usually 2 minutes after activation).

How to connect via WPS:

  1. Press the button on the router WPS (usually marked with a 🔄 or WPS).
  2. On your device (smartphone/laptop), select the Wi-Fi network and press Connect via WPS.
  3. Wait for automatic connection (may take up to 30 seconds).

Once connected, you will be able to:

  • 📱 View the password in the phone settings (on Android through Settings → Wi-Fi → Share password).
  • 💻 Log in to the router's admin panel and change the password (see section 5).
⚠️ Attention: WPS is vulnerable to brute-force attacks. If network security is critical (for example, in an office), disable WPS in your router settings after use.
What to do if WPS doesn't work?

If the WPS button does not respond, check:

- Is the function enabled in the router admin panel? (Settings → WPS).

- Were the settings lost after the firmware update?

- Is your antivirus blocking the connection (on your PC)?

If nothing helps, use another password recovery method.

4. Reset the router to factory settings

If all the previous methods did not work, there remains hard reset (hard reset). This will return the router to its out-of-the-box state, including:

  • 🔑 Wi-Fi password (will become the default one indicated on the sticker).
  • 🌐 Internet settings (you will have to configure them again).
  • 📡 Network name (SSID) and broadcast channel.

How to reset settings:

  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. Release when the lights on the router start flashing or turn off.
  4. Wait for the reboot (1-2 minutes).

After reset:

  1. Connect to the Wi-Fi network with the default name (eg TP-Link_1234).
  2. The password will be standard (see the sticker on the router or the table in section 2).
  3. Log in to your admin panel (192.168.0.1) and set up the Internet again (connection details are usually included in the contract with the provider).

Connect to Wi-Fi with the factory password|Log in to the admin panel (192.168.0.1)|Configure an internet connection (PPPoE/DHCP)|Change the Wi-Fi password to a new one|Save settings and reboot the router-->

⚠️ Attention: Reset deletes all user settings, including:

- Static IP (if assigned by your provider).

- Port forwarding (for cameras, servers).

- Guest network and parental control.

If the router is configured by the provider (for example, Rostelecom or Beeline), after resetting, you may need to call support to reactivate.

5. Changing the Wi-Fi password after restoring access

Once you have restored your network access, Be sure to change your password to a new one. This will protect you from losing access again and improve network security. Here's how:

General instructions for most routers:

  1. Log in to your admin panel (see section 2).
  2. Go to Wireless Network → Security Settings (or Wi-Fi → Security).
  3. In the field Password (Password, Pre-Shared Key) enter the new key.
  4. Select encryption type WPA2-PSK or WPA3-PSK (do not use WEP - it's not safe!).
  5. Save the settings and reboot the router.

Recommendations for choosing a password:

  • 🔐 Length: At least 12 characters.
  • 🎲 Complexity: A combination of letters (upper and lower case), numbers and symbols (!@#$%).
  • 🚫 What to avoid: Simple sequences (12345678, qwerty), personal data (dates of birth, names).
  • 📌 Advice: Use a password manager (KeePass, 1Password) to generate and store the key.

Examples of strong passwords:

  • Green$Tree7!Moon
  • P@ssw0rd_For_WiFi_2026
  • C0ffee#With_M1lk!

6. Alternative methods (for advanced users)

If standard methods fail, you can try more complex options. These require technical skills and don't always work, but they can be useful in some cases.

Method 1: Recover your password using a backup copy of your router settings

Some routers (eg. ASUS or Keenetic) allow you to save settings to a file .cfg or .binIf you have such a copy:

  1. Log into your router's admin panel.
  2. Find the section System → Backup/Restore.
  3. Download the backup file.
  4. After rebooting the router, the Wi-Fi password will be restored.

Method 2: Using Wi-Fi hacking utilities (for your own networks only!)

⚠️ Warning: This method is provided solely for restoring access to his own Hacking into other people's networks is illegal and punishable under Article 272 of the Russian Criminal Code.

If you forgot your password his own router and can't reset the settings (for example, there is no physical access), you can use utilities like Wireshark or Aircrack-ng to intercept the handshake and guess the password. However, this:

  • 🕒 It takes a lot of time (from several hours).
  • 💻 Requires Linux or special software.
  • 🔌 Works only if the router uses WPA2 with a vulnerable password.

Brief instructions for Kali Linux:

sudo airmon-ng start wlan0

sudo airodump-ng wlan0mon

sudo aireplay-ng --deauth 10 -a [router_BSSID] wlan0mon

sudo aircrack-ng -w [dictionary_path] capture.cap

Method 3: Contacting your provider

If the router was issued by the provider (for example, MTS, Beeline, Rostelecom), Can:

  • 📞 Call support and ask to reset your password (you will need to confirm your personal information).
  • 📧 Write to the support chat (in your personal account on the provider's website).
  • 🏠 Visit the company office with your passport and contract.
⚠️ Attention: Providers usually don't know your Wi-Fi password, but they can reset your router remotely (if they know it). After the reset, you'll have to set up your network again.

Common mistakes and how to avoid them

When recovering a password, users often encounter typical problems. Here are the most common ones and how to solve them:

ErrorCauseSolution
I can't log into the router's admin panel. Incorrect IP address or login/password Check IP via ipconfig, reset the router with the button Reset
After the reset the internet doesn't work. Connection to the provider is not configured Go to Internet → Connection Type and enter the data from the contract (PPPoE, DHCP)
WPS doesn't work The function is disabled in the settings. Enable WPS in the admin panel (Wireless Network → WPS)
The password on the router sticker doesn't work. The password was changed earlier. Use another recovery method (see sections 1–3)
After changing the password, the devices do not connect. The old password is saved in the gadget's memory. Forget the network on your devices and reconnect.

Here are some more tips to avoid problems:

  • 📝 Save your password: Write it down in a notepad or password manager immediately after changing it.
  • 🔄 Update your firmware regularly: Outdated router software may contain vulnerabilities.
  • 🔌 Use backup: Save your router settings to a file (if this function is available).

FAQ: Answers to Frequently Asked Questions

Is it possible to recover a Wi-Fi password without access to the router?

Yes, if you have a device that has previously connected to this network. Windows or MacOS The password can be viewed in the settings (see section 1). Android root rights will be required iOS - only with jailbreak or through Mac.

If there are no connected devices, it is impossible to recover the password without resetting the router.

What should I do if I forgot my router admin panel password?

The only way is to reset the router to factory settings (see Section 4). After this, the login and password will return to the default settings (see the table in Section 2).

If you rented your router from a provider, contact support—they can reset the settings remotely.

How can I find out the Wi-Fi password in a public place (cafe, hotel)?

Recover someone else's network password yourself it is forbiddenContact the establishment's administrator or look for information on your receipt, at the reception desk, or in the hotel rules.

Some establishments use portal authorization — in this case, a password is not required, you just need to open your browser and accept the terms.

Is it possible to recover a Wi-Fi password using a phone's IMEI or MAC address?

No, this is a myth. IMEI And MAC address are not related to the Wi-Fi password. This data is used to identify devices on the network, but not for authorization.

If you are offered to "hack Wi-Fi by IMEI," it is a scam.

How to protect your Wi-Fi from hacking after recovering your password?

To minimize risks, follow these guidelines:

  • 🔐 Use WPA3 instead of WPA2 (if the router supports it).
  • 🔄 Turn it off WPS in the router settings.
  • 📡 Hide your SSID (network name) or use a complex name without personal information.
  • 🛡️ Enable filtering by MAC addresses (allow connection only to your devices).
  • 🔄 Update your router firmware regularly.

Important: If you rent and are unable to reset your router (for example, if it belongs to your landlord), contact the landlord or your internet service provider. Resetting your router yourself may violate your contractual obligations.