How to connect to Wi-Fi if you don't know the password: all proven methods

Unable to access Wi-Fi because of an unknown or lost password? Common causes include resetting the router to factory settings, reinstalling the OS on the device, missing data from the network owner (for example, when visiting), or automatic disconnection after a router firmware update. In half the cases, the problem can be resolved with a couple of clicks—checking saved networks on other devices or resetting the password through the router's web interface (if you have physical access). In other cases, you may need to change the hardware configuration, contact your provider to resend data, or even reflash the device if critical authentication errors occur.

It is important to understand: Unauthorized connection to other people's networks is prohibited by law (in Russia this is regulated Article 272 of the Criminal Code of the Russian Federation (about unauthorized access to computer information). However, there are legal methods For example, restoring access to your network or using guest access features. In this article, we'll cover all possible options, from the simplest to the most technically complex, taking into account different devices and operating systems.

If you own a network but have forgotten your password, the first three methods will help you regain access without risk. Methods 4–7 are suitable for connecting to other networks (with the owner's permission). All instructions are adapted for modern versions. Windows 10/11, Android 12+, iOS 15+ and routers of popular brands (TP-Link, ASUS, Keenetic, MikroTik).

1. Password recovery through router settings

If you own a router but have lost the password, the most reliable way to regain network access is to log into the device's admin panel. You don't need to physically connect to the router with a cable; simply be within range of its Wi-Fi (even if you're not connected).

The standard login details for most routers are:

  • 🌐 IP address: 192.168.0.1 or 192.168.1.1 (less often) 192.168.8.1 For TP-Link)
  • 🔑 Login/Password: admin/admin (if they haven't changed). For Keenetic — login is empty, password 1234.

Password recovery instructions:

  1. Open your browser and enter the router's IP address in the address bar.
  2. Log in (if the data is not suitable, reset the router using the button) Reset for 10 seconds).
  3. Go to the section Wi-Fi (or Wireless network, Wireless).
  4. Find the field Password (or Key, Passphrase) - the current security key will be displayed here.
⚠️ Attention: After resetting the router (Reset) all settings, including the Wi-Fi password, will be reset to factory defaults. This will disconnect all devices from the network.
Router brand Factory IP address Default login/password
TP-Link 192.168.0.1 or tplinkwifi.net admin/admin
ASUS 192.168.1.1 or router.asus.com admin/admin
Keenetic 192.168.1.1 or my.keenetic.net — / 1234
MikroTik 192.168.88.1 admin (password is empty)

2. View the saved password on the connected device

If at least one device (laptop, smartphone, tablet) is already connected to Wi-Fi, the password can be retrieved from its settings. Let's look at the options for Windows, Android And macOS.

🖥️ Windows 10/11

Open Command line (Win + R → enter cmdEnter) and run:

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

In the block Security parameters find the line Key content - this is the password.

📱 Android (with root rights)

On non-rooted smartphones, the password is not displayed in the settings. If you have root access, use a file manager (for example, Root Explorer) and open:

/data/misc/wifi/WifiConfigStore.xml

Look for the line <string name="PreSharedKey">PASSWORD</string>.

🍎 macOS

Open A bunch of keys (Command + Space → enter "Keychain Access"). Find the network name, open properties, and check the box. Show password (You will be asked to enter your Mac account password).

The device is connected to the desired Wi-Fi network|The device has administrator rights (for Windows/macOS)|For Android: Root rights are confirmed|The network name was entered correctly in the command-->

⚠️ Attention: On iPhone And Android Without root, the network password is not accessible through the default settings. Use other methods.

3. Using WPS to connect without a password

WPS (Wi-Fi Protected Setup) is a technology that allows you to connect to a network without entering a password, by pressing a button on the router or entering a PIN. Many modern devices support this method, but it vulnerable to hacking and often disabled by default.

How to connect via WPS:

  1. Make sure the WPS indicator on your router is lit (usually indicated by a 🔄 or WPS).
  2. On your device (smartphone, laptop), select the Wi-Fi network and press Connect via WPS.
  3. Press the WPS button on the router (usually within 2 minutes).

If there is no button, check the PIN code (usually indicated on the router sticker or in the web interface in the section WPS). On Android Enter it when connecting to the network.

Yes, and I use it|Yes, but I disabled the function|No, or I don't know|I haven't tried it-->

Device How to enable WPS
Android Settings → Wi-Fi → Advanced → Connect via WPS
Windows Control Panel → Network and Internet → Connect via WPS
iPhone Not supported (via PIN only)
⚠️ Warning: WPS is vulnerable to brute-force attacks. If network security is critical, disable WPS in your router settings (Wireless Network → WPS → Disable).

4. Guest network: legal access without a password

Many routers allow you to create guest network — a separate access point with limited rights (no access to local devices) and simplified connection. If you're a guest, ask the network owner to enable this feature.

How to set up a guest network (using an example) TP-Link):

  1. Log in to your router's admin panel.
  2. Go to Guest network (Guest Network).
  3. Enable guest access and set a simple password (or disable it completely).
  4. Save the settings and connect to the new network (usually its name ends in _Guest).

Benefits of a guest network:

  • 🔒 Limited access to the main network (safe for the owner).
  • 📶 You can set a speed limit or operating time.
  • 🔄 Easy to disable at any time.
What are the dangers of a guest network without a password?

Without a password, anyone within range of the router can connect to the network, increasing bandwidth usage and reducing internet speed. Furthermore, attackers can use your network for illegal activities, which could lead to problems with your ISP or law enforcement.

5. Connection via QR code (for modern routers)

Some routers (eg. Keenetic, ASUS ZenWiFi) support connection via QR code. This is convenient if the network owner doesn't want to dictate a complex password. Simply scan the code with your smartphone's camera, and the device will connect automatically.

How to generate a QR code:

  1. Log into your router's web interface.
  2. Find the section Wi-FiQR code for connection.
  3. Download or show the code to the guest for scanning.

On Android And iPhone The QR code is scanned with a standard camera: point the lens at the code, and a network connection notification will appear.

6. Alternative methods (for advanced users)

If standard methods don't help, you can use advanced techniques. They require technical knowledge and should only be used to restore access to your network.

🖥️ Reset password via Ubuntu Live USB

If on a computer with Windows The Wi-Fi password was saved, but the system does not start - you can boot from Ubuntu Live USB and extract the password from the configuration files:

sudo cat /etc/NetworkManager/system-connections/NETWORK_NAME | grep psk=

📡 Handshake interception (for your own networks only!)

Using programs like Wireshark or Aircrack-ng You can intercept authentication packets (handshakes) and try to recover the password. This method legal only for its own networks and requires deep knowledge in the field of network security.

⚠️ Warning: Using programs to hack into other people's networks is punishable by law. This section is provided for informational purposes only.

7. Contacting your provider or network owner

If none of the methods worked, here's the most reliable way to restore Wi-Fi access:

  • 📞 Call your provider (the number is usually listed on your contract or the router box). A support representative can reset your password or provide it if you verify your identity.
  • 👨‍💼 Ask the network owner (neighbor, office administrator) to temporarily grant access or reset the password.

Providers often store passwords for routers rented from them. For example, Rostelecom, Beeline or MTS can restore access using the contract number.

FAQ: Frequently asked questions about connecting to Wi-Fi without a password

Is it possible to connect to Wi-Fi without a password if the router is not mine?

Legally, only with the owner's permission (for example, via a guest network or WPS). Unauthorized connection is illegal.

How to find out the Wi-Fi password on an iPhone?

On iPhone Without jailbreaking, the network password won't be displayed. The only way is to use another device (Mac, Windows) that's connected to the network.

What should I do if I forgot my router password?

Reset the router using the button Reset (Hold for 10-15 seconds). After resetting, use the factory login/password (indicated on the sticker).

Is it possible to hack Wi-Fi using apps from the Play Market?

No. All apps that promise to "hack Wi-Fi" are either scams or contain malicious code. They don't work with modern encryption standards.WPA3).

How to protect your network from unauthorized connections?

Use WPA3, disable WPS, change the password regularly, and hide the network SSID in the router settings.