How to connect to WiFi if you forgot your password: Complete solutions for your smartphone

It's common to need to urgently access the internet but have forgotten the access code to your home or work network. A smartphone may automatically connect to familiar hotspots, but when trying to connect to a new device or after resetting the router, access is blocked. Many users immediately panic, believing the only solution is a full factory reset of the router, which would require reconfiguring their provider settings.

Fortunately, modern operating systems and networking hardware provide several workarounds to solve this problem without resorting to drastic measures. Restoring access This can be done through saved data in the Android or iOS system, physical access to the router, or using the WPS function. In this article, we'll cover all the legitimate connection methods that will get you back online in minutes.

It's important to understand that the methods will vary depending on whether your device has previously connected to the network or you're trying to access it for the first time. Your router model and smartphone operating system version also play a key role. Android 10-14 And iOS 11-17 have different mechanisms for working with network profiles, so the instructions will be divided by device type.

Using a QR code to connect a new device

The fastest and most elegant way to connect to WiFi if you've forgotten your password is available to smartphone owners who are already logged into the desired network. Android and iOS operating systems allow you to generate a special QR code containing encrypted information about the network's SSID and security key. This eliminates the need to manually enter characters and minimizes the risk of error.

To use this method on Android, go to Wi-Fi settings, select your active network, and tap the "Share" button or the gear icon. The system will ask you to verify your identity using a PIN, fingerprint, or Face ID. Once successfully authenticated, a message will appear on the screen. QR code, which must be scanned by the camera of the second device.

On iPhone, the process is similar, but with some caveats. If both devices are running iOS and are in each other's contacts, the password can be transferred automatically when the phones are brought near each other. However, if a QR code is required, one can be generated using Shortcuts or third-party apps if native sharing isn't working.

What to do if the QR code cannot be read?

Make sure the second device's camera has internet access or has previously saved the recording to a buffer. Sometimes, simply increasing the screen brightness or wiping the camera helps. In rare cases, the encoding format may not be supported by older smartphone models.

Users often forget that scanning a code is not just an image, but a command to the system. When scanning a Wi-Fi QR code, the smartphone automatically applies the network settings and attempts to establish a connection without asking the user to enter a password.spruce. This is a standard protocol that operates at the system level.

View your saved password in Android settings

Android device owners, starting with version 10, have been able to view saved passwords directly in the system interface. Previously, this required superuser (root) privileges, which was insecure and difficult for the average user. This feature is now integrated into the standard security menu.

To find a forgotten code, follow these steps:

  • 🔓 Unlock your smartphone and open Settings.
  • 📡 Go to the "Network & Internet" or "Connections" section.
  • 🔍 Click the gear icon next to the name of the desired Wi-Fi network.
  • 👁️ Find the "Show Password" button (often looks like an eye).

The system will ask you to confirm your rights by entering your screen unlock PIN. After this, the hidden characters will turn into readable text. You can rewrite it or copy it to the clipboard. This is the most secure method if you have at least one device that already "remembers" this network.

It is worth noting that on some shells, such as MIUI from Xiaomi or One UI From Samsung, the path to the settings may vary slightly. Sometimes the feature is hidden in the "Passwords" menu at the very bottom of the Wi-Fi settings list. If you don't see the option to show it, try searching for "password" in the settings.

📊 What problem do you encounter most often?
I forgot my Wi-Fi password.
I can't connect to the public network.
The router stopped distributing internet.
It's difficult to set up a guest network

Recovering access to iPhone via iCloud Keychain

Apple's ecosystem is known for its closed nature, but for user convenience, the company has implemented a password syncing mechanism via iCloud Keychain. If you've forgotten your Wi-Fi password on your iPhone but previously connected to the same network from another Apple device (such as an iPad or Mac), the password can be recovered automatically.

However, if you need to know the code itself to enter it on a non-Apple device, the process is a little more complicated. iOS 16 and later introduce a feature for viewing Wi-Fi passwords. To do this, go to Settings → Wi-Fi, tap the "i" icon next to the network and select the "Password" field. After Face ID, the code will become visible.

If you have an older version of iOS, your only option is to use a Mac, provided it's synced with the same Apple ID. On your computer, open Keychain Access, find your network name, and check "Show password" in the Properties. You'll be prompted to enter your macOS account password.

Important: For syncing to work, iCloud and Keychain must be enabled on all devices. Otherwise, passwords are stored only locally on the device you're signed in to.

⚠️ Attention: The iOS and macOS interfaces are updated regularly. The location of the "Passwords" menu may change with the release of new operating system versions. If you don't see this item in the specified location, try searching for it in your device's settings.

Connecting via WPS without entering a code

Technology Wi-Fi Protected Setup (WPS) was created specifically to simplify connecting devices without having to remember complex character combinations. This method is ideal when you don't know the password but have physical access to the router. It allows you to establish a secure connection with the simple press of a button.

The algorithm of actions is extremely simple:

  • 📍 Find the button labeled WPS on the router body (sometimes it is combined with the WiFi button).
  • ⏱️ Press and hold it for 2-5 seconds until the indicator flashes.
  • 📱 On your smartphone, select your network from the list of available networks (sometimes you need to tap "Connect via WPS" in the advanced Wi-Fi settings).
  • ✅ The device will automatically exchange encryption keys and connect.

Not all modern smartphones support WPS software activation. On many new Android models, this feature is hidden or removed for security reasons. In this case, you can use an alternative: some routers allow you to activate WPS mode through the web interface if you have a PC connected via a cable.

There's also a WPS PIN method, which can be found on a sticker on the bottom of the router. Entering this 8-digit code in your phone's Wi-Fi settings (under "Advanced" → "Enter WPS PIN") allows you to log in. However, this method is considered less secure and isn't supported by all firmware versions.

☑️ Check before using WPS

Completed: 0 / 4

Using the router's web interface

If wireless methods aren't an option, the "gold standard" of administration is always accessing the router control panel via a browser. This method requires your smartphone to be connected to the router by any means (at least via a cable through an OTG adapter if Wi-Fi isn't working) or if you're connecting to an open guest network on the same router.

In the address bar of your browser (Chrome, Safari), you need to enter the gateway IP address. Most often, this is 192.168.0.1 or 192.168.1.1The exact address is indicated on the sticker on the bottom of the device. After entering the address, the system will ask for the administrator login and password. By default, this is often admin/admin or admin/password, if you haven't changed them before.

Once in the menu, find the section Wireless or Wi-Fi SettingsThe current password will be displayed in the "Password," "Passphrase," or "Security Key" field. You can view it or change it to a new one that's easier to remember. Don't forget to click "Save" or "Apply" to apply the changes.

Router brand Entrance address Default login Default password
TP-Link 192.168.0.1 admin admin
ASUS 192.168.1.1 admin admin
D-Link 192.168.0.1 admin (empty)
Keenetic my.keenetic.net admin 1234
Tenda tendawifi.com admin admin

In some cases, providers replace default passwords with unique ones specified in the contract. If the default login/password pair doesn't work, try checking the sticker underneath the device—it often contains a unique code for initial login.

Resetting the router as a last resort

If none of the above methods help, and you don't remember your Wi-Fi password or the router's admin panel password, your last option is a hard reset. This will restore your device to factory settings, as if you just bought it from the store.

To do this, find a small hole with the inscription on the body Reset or RestorePress it with a thin object (a paperclip or toothpick) and hold it for 10-15 seconds until the indicators flash simultaneously. After rebooting, the router will broadcast the network name and password indicated on the factory sticker.

⚠️ Attention: After resetting, your router will be unable to connect to the internet until you reconfigure the connection settings (PPPoE, L2TP, or Dynamic IP) provided by your ISP. Make sure you have your ISP contract handy to restore the settings.

This method requires time and basic knowledge of network equipment setup. If you're unsure, it's best to contact your internet service provider's technical support—they can assist with setup remotely or provide factory default settings.

What happens if I reset the settings incorrectly?

If you interrupt the reset or firmware update process, the router may become bricked and become inoperable. Always keep the device connected to the network during the process and do not turn it off until the indicators stabilize.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if I have never connected to this network?

No, this is impossible without physical access to the router or knowledge of its admin panel login credentials. The security of encryption protocols (WPA2/WPA3) prevents anyone from guessing or viewing the password remotely without authorization.

Are Wi-Fi hacking apps safe to use?

Most of these apps in official stores (Google Play, App Store) are either jokes or contain viruses. Real security audit tools require specialized knowledge and are often used for illegal purposes. It's better to use the legal methods described in this article.

Where can I find the password if the router was provided by my ISP?

If the equipment is rented, the password is often written on a sticker underneath. If there is no sticker, the information can be found in the subscriber's personal account on the provider's website or in the plan management app.

Why does my phone say "Saved" but there is no internet?

This means the password is correct, but the router is not connected to the global network. Possible causes include outstanding bills, a broken cable, or a malfunction in the service provider's equipment.