It's a familiar situation: you're visiting someone, visiting a cafe, or visiting an office with Wi-Fi, but the hosts don't remember the password—or simply don't want to share it. Or you've forgotten your home router credentials after a factory reset. It is possible to connect to Wi-Fi without a password or login., but it is important to do this legally and without violating laws on unauthorized access to networks.
In this article we will look at 5 proven methods, which work on Android And iPhone in 2026. Some methods require prior preparation (such as a stored QR code or access to another device on the network), while others rely on standard operating system features. None of the methods involve hacking the network. — we are talking only about legal connections with the consent of the router owner or through official mechanisms.
⚠️ Warning: Unauthorized connection to other people's Wi-Fi networks without the owner's permission may be classified as a violation of Article 272 of the Russian Criminal Code ("Unauthorized access to computer information"). All methods in the article are applicable only to connecting to your network or with the administrator's permission.
Why does my phone ask for my Wi-Fi login and password, and what does it mean?
When you try to connect to Wi-Fi and instead of the usual password request, a window with fields appears Login And Password, this means that the network is using additional authentication through captive portalThis mechanism is often found in:
- 🏨 Hotels and hostels (for guest accounting)
- ☕ Cafes and restaurants (linked to the receipt)
- 📚 Libraries, universities, schools (for students/pupils)
- 🏢 Office centers (with corporate authorization)
In this case Wi-Fi password - it's not the same as login/password for the portalThe first is needed to connect to the access point, and the second is to confirm your right to use the network. If you don't know either, your options are limited:
⚠️ Attention: Networks with captive portal Internet access is often blocked until authentication is completed. Bypass this without login information. almost impossible legally — you will need to contact the network administrator (for example, at the hotel reception or the office manager).
If we are talking about home networkIf you've simply forgotten your password but have previously connected to it from this phone, read on. We'll start with the simplest methods.
Method 1: Use a saved QR code from the network (if available)
Many modern routers (TP-Link, Keenetic, ASUS, Xiaomi) allow you to generate QR code for connecting to Wi-FiIf you or the network owner saved it previously (for example, on another phone or in the cloud), you can connect in 10 seconds:
- Open
Settings → Wi-Fion the phone. - Click on the icon
QR code(on Android It's usually in the upper right corner, iPhone - next to the list of networks). - Point the camera at the saved QR code.
✅ Advantages of the method: no need to enter a password manually, works even if the network is hidden (SSID is not broadcast).
❌ Cons: The QR code must be generated and saved in advance. If it's not there, the method won't work.
| Router brand | Where to find a QR code | Is authorization required? |
|---|---|---|
| Keenetic | Web Interface → Wi-Fi → Main Network |
Yes (admin username/password) |
| TP-Link Archer | More → Network QR code |
Yes |
| Xiaomi Mi Router | Mi Wi-Fi mobile app → Network settings |
No (if connected via Bluetooth) |
| ASUS RT | Admin Panel → Wireless Network → QR Code |
Yes |
Method 2: Connect via WPS (if the function is enabled on the router)
WPS (Wi-Fi Protected Setup) — is a technology for quickly connecting to a network without entering a password. It works on most routers released after 2010, but is often disabled by default due to security vulnerabilities.
To connect via WPS:
Make sure your router supports WPS (the button has a 🔄 sign or icon)
Press the WPS button on the router (usually you need to hold it for 2-3 seconds)
On your phone, select the network from the Wi-Fi list and wait for it to connect.
If it asks for a PIN, enter the 8 digits from the sticker on the router-->
⚠️ Important: On iPhone (iOS) WPS support is missing - this method only works on Android. Also, some manufacturers (for example, Google Pixel removed WPS support due to security risks.
If there is no WPS button on your router, try:
- Go to the router's web interface (usually at
192.168.1.1or192.168.0.1). - Find a section
WPSorFast connection. - Enable the feature and generate a PIN (if required).
Why is WPS insecure?
This method is vulnerable to brute-force attacks: an attacker can guess the PIN in a few hours, as only the first four digits of the eight are checked. Many routers use standard PIN codes (e.g., 12345670), making it easier to hack.
Method 3: Recover your password using another connected device
If another phone, tablet, laptop or PC is already connected to the same Wi-Fi network, you can find out the saved password and use it for a new connection. Instructions vary depending on your operating system:
On Windows 10/11:
- Open
Settings → Network and Internet → Wi-Fi. - Click
Managing known networks→ select the desired network. - Click
Propertiesand in the sectionSecurity parameterscheck the boxShow entered characters.
On macOS:
- Open
Programs → Utilities → Keychain. - Find the name of the Wi-Fi network in the list.
- Check the box
Show passwordand enter your Mac account password.
On Android (root required):
Without root access, you can't view saved passwords. With root:
- Install a file manager with access to system files (for example, Root Explorer).
- Go to
/data/misc/wifi/. - Open the file
WifiConfigStore.xmland find the line<string name="PreSharedKey">....
Method 4: Share Password (iPhone and Mac only)
If you have iPhone or Mac, and the network owner uses the device Apple with the same account iCloud - you can use the built-in function Share PasswordIt works like this:
- The owner of the network brings his iPhone/Mac to your device (distance up to 1 meter).
- A pop-up window will appear on his screen asking him to share the password.
- After confirmation, your phone will automatically connect to Wi-Fi.
⚠️ Restrictions:
- 📱 Both devices must be running iOS 11/macOS High Sierra or later.
- 👤 The network owner must have Bluetooth and Wi-Fi enabled.
- 🔒 The devices must be in each other's contacts (or linked to the same Apple ID).
On Android There is no similar function, but some manufacturers (for example, Samsung And Xiaomi) added their own solutions for exchanging passwords through Quick Share or Mi Share.
Method 5: Reset your router (last resort)
If we are talking about your home networkIf you can't remember your password and other methods haven't helped, the only option left is to reset your router to factory settings. To do this:
- Find the button on the back of the router.
Reset(usually it is recessed into the body). - Press and hold it for 10-15 seconds (until the indicators flash).
- After rebooting, connect to the network with the router name (for example,
TP-Link_1234). - The default password is located on a sticker under the router (usually
adminor an empty field).
⚠️ Consequences of the reset:
- 🔧 All settings (including network name, password, device priorities) will be deleted.
- 📡 You may need to reconfigure your ISP (PPPoE, VLAN, etc.).
- 🔒 All connected devices will be disconnected from the network.
⚠️ Attention: On corporate or provider routers (for example, from Rostelecom or Beeline) Resetting your account may block internet access until you reactivate it through your personal account. Check with your provider for details.
What to do if nothing helps: alternative options
If you've exhausted legal options and still need to connect to Wi-Fi, consider these alternatives:
- 📶 Mobile Internet: Use 4G/5G on your phone or share the Internet from another device.
- 🔌 Ethernet adapter: For Android You can buy an adapter
USB-C/Lightning → Ethernetand connect to the router via cable. - ☎ Call the provider: If this is a home internet connection, technical support can reset the Wi-Fi password using the contract number.
- 🏢 Public networks: Some cities have free municipal Wi-Fi (for example, MTS Connect or Mosmetro).
❌ What you shouldn't do:
- Use Wi-Fi hacking programs (for example, Aircrack-ng or Wifi WPS WPA Tester) is a violation of the law.
- Connect to other people's networks with suspicious names (for example,
Free_WiFi_Hack) - there is a high risk of data theft. - Try to "guess" the password using standard combinations (for example,
12345678orqwerty) - modern routers block such attempts.
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 network is hidden (not visible in the list)?
Yes, but for this you need to know the exact network name (SSID). On Android: go to Settings → Wi-Fi → Add network and enter the SSID manually. iPhone: Settings → Wi-Fi → Other networkA password will still be required if the network is secured.
Why does my phone connect to Wi-Fi, but the internet doesn't work?
This may be due to:
- 🔌 Lack of internet access from the router (check the cable or connection to the provider).
- 🛡️ MAC address blocking (the router can allow access only to certain devices).
- 📡 Incorrect DNS settings (try manually entering
8.8.8.8or1.1.1.1).
How can I find out the Wi-Fi password in a public place (cafe, airport)?
Usually the password is specified:
- ☕ On the receipt or table in a cafe/restaurant.
- 📋 At the reception desk at the hotel/airport.
- 📱 In the establishment's mobile app (for example, McDonald’s or Aeroexpress).
If there is no password, the network may require authorization via captive portal (see the first section of the article).
Is it possible to connect to my neighbors' Wi-Fi if they don't mind but don't know the password?
Technically yes, but to do this:
- They need to go into the router settings (
192.168.1.1or192.168.0.1) and generate a new password. - Or turn on
WPS(if the router supports it) and connect your device using the button. - Or create
Guest networkwith a separate password (available on most routers).
Why didn't the internet work after resetting the router?
Resetting the router returns it to factory settings, but does not automatically configure:
- 📡 Connection type (PPPoE, L2TP, Dynamic IP - depends on the provider).
- 🔑 Login/Password from the provider (specified in the contract).
- 🔢 VLAN ID (if required, for example, Beeline or MTS).
This data must be entered manually in the router's web interface or verified with your provider's support team.