Needing to connect a new device to the home network but losing or forgetting the password is one of the most common problems in maintaining a home IT infrastructure. This can happen after purchasing a new smartphone, having guests over, or simply because there's been no need to manually enter a password for a long period of time. Fortunately, Windows and macOS operating systems, as well as mobile platforms, often cache this data for the user's convenience.
There are several proven methods for restoring access to a wireless network, ranging from viewing saved keys on an already connected computer to physically inspecting the router's casing. The choice of a specific method depends directly on whether you have access to at least one device that is already successfully logged into the network, or whether network access has been completely lost.
In this article, we'll detail the steps for various scenarios, including using the command line, the router's web interface, and provider mobile apps. It's important to understand that the security of your network depends on the strength of this password, so after recovering it, we recommend checking your encryption settings.
Finding a password on a computer running Windows
If you already have a Windows laptop or desktop computer connected to your wireless network, finding the key is much easier. The operating system stores information about all previously used networks in a special profile, which can be accessed through the graphical interface or command line.
The easiest way is to use the standard network settings menu. To do this, right-click the Wi-Fi icon in the system tray and select "Network and Internet settings." Next, go to "Network and Sharing Center" or directly select "Change adapter settings."
In the window that opens, find your active wireless connection, double-click it, and select "Wireless Network Properties." In the new dialog box, click the "Security" tab.
⚠️ Note: The "Network Security Key" field is hidden by asterisks by default. To see the characters, check the "Show entered characters" box.If the graphical interface is unresponsive or you prefer to work with the console, Windows provides a powerful tool netshThis method is especially useful if you need to find out the password for the network your computer is currently connected to, or for a network it has connected to previously.
Open the command prompt (cmd) with administrator privileges. Enter the following command to list all saved profiles:
netsh wlan show profilesFind your network name (SSID) in the list. Then use the following command, substituting your profile name:
netsh wlan show profile name="Your_Network_Name" key=clearIn the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This method works on all modern versions of Windows, starting with Windows 7.
📊 What method have you used to find your Windows password?Via the Wi-Fi properties menuVia the command lineI never looked for the passwordI have a Mac or LinuxHow to find the password on Apple devices (macOS and iOS)
Users of the Apple ecosystem have their own unique way of storing network settings. Unlike Windows, where data is stored in the registry and profiles, macOS uses the secure Keychain Access storage, while iOS has long hidden this data from the user.
On Mac computers with macOS Monterey and later, and on iPhones with iOS 16 and later, the process has become much more transparent. You can now view the password directly in the Wi-Fi settings without using Terminal.
For iOS 16+: Go to
Settings → Wi-FiTap the blue information icon (the letter "i" in a circle) next to the name of the network you're connected to or saved. Tap the "Password" field, which will be hidden by dots. The system will ask you to authenticate using biometrics (Face ID or Touch ID) or enter your device passcode. The key will then be displayed and can be copied.The situation is similar on macOS, but there's also a classic method via Keychain Access, which works on all versions of the operating system. Open the Keychain Access app (via Spotlight or in the Applications/Utilities folder). Select the "Passwords" category in the list on the left.
Find your Wi-Fi network name in the list. Double-click it. In the properties window that opens, check the "Show password" box. The system will prompt you for your computer administrator password or Touch ID. Once confirmed, the password will appear in the text field.
It's worth noting that on devices running older versions of iOS (15 and below), viewing the saved password using standard tools was impossible without jailbreaking or having a previously synced Mac. In such cases, the only solution was to reset the router or use a different device.
Viewing the key through the router's web interface
The most universal method, regardless of the operating system of the connected device, is to access the router's settings. To do this, you'll need any device (smartphone, tablet, or PC) connected to the router via cable or Wi-Fi.
The first step is to find out the gateway's IP address. On Windows, this can be done via the command line with the command
ipconfig, finding the "Default Gateway" line. On Android and iOS, the gateway address is often listed in the Wi-Fi connection details. The most common default addresses are:192.168.0.1,192.168.1.1or192.168.31.1.Enter the address in the browser's address bar. A login page will open. Here you will need to enter your administrator login and password. By default, this is often
admin/adminoradmin/password, but this data can be changed during the initial setup.
Router brand Standard address Default login Default password TP-Link 192.168.0.1 / tplinkwifi.net admin admin Asus 192.168.1.1 / router.asus.com admin admin Zyxel Keenetic 192.168.1.1 / my.keenetic.net admin 1234 Tenda 192.168.0.1 / tendawifi.com admin admin Xiaomi 192.168.31.1 / miwifi.com admin (set during setup) After successful authorization, the interface may look different depending on the model routerYou need to find the section related to the wireless network. It's usually called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN."
Within this section, look for the "Wireless Security" subsection or simply "Basic Settings." There you'll find a "Password" field (Password, PSK Key, WPA Pre-Shared Key). There's often an "eye" icon next to the input field, allowing you to see the characters.
⚠️ Note: Firmware interfaces are constantly being updated. If you can't find the tab you need, use the menu search or refer to the documentation on the official website of your model's manufacturer.What should I do if the web interface doesn't open?
Make sure your device is connected to the correct router. Check if you're using mobile data (3G/4G) instead of Wi-Fi. Try a different browser or incognito mode. If the router is corporate, access to settings may be blocked by the administrator.
Using mobile apps from providers
Modern internet providers and equipment manufacturers are actively introducing mobile apps for home network management. Apps such as "My Rostelecom," "MTS Home Internet," "My Tinkoff," "Keenetic," or "Tenda WiFi" often offer direct access to router configuration.
If you've previously installed and logged in to such an app, you can find your password in just a few clicks. The main screen typically displays a network map or connection status. Tapping the name of your Wi-Fi network will reveal details, including the security key.
The advantage of this method is that it doesn't require knowing the gateway IP address or the web interface administrator password, as app authorization is often done through the provider's personal account. This is especially relevant for rented routers, where the default passwords are changed automatically by the provider.
However, if the app wasn't installed beforehand or you've changed your phone, this method may not work without re-authorization, which may require the very data you forgot. Nevertheless, it's one of the most convenient methods for users. smart routers.
☑️ Check via app
Completed: 0 / 4Physical inspection of the hull and documentation
The most basic, yet often overlooked, method is to look at the sticker on the device's body. Factory settings, including the network name (SSID) and connection password, are printed by default on a label located on the bottom or back of the router.
This method only works if you or the previous owner haven't manually changed the wireless network settings. If the password has been changed, the sticker will be useless, as it contains the factory settings.
The password may also be written in the documentation included with the device or on the customer card issued when connecting to the internet. Many users keep these documents in a folder with their contracts, not realizing that the Wi-Fi key might be there.
Pay attention to the password format on the sticker. It may be labeled "PIN," "Wireless Key," "WPA Key," or simply "Password." Be careful: sometimes there are two different codes on the sticker—one for WPS (often 8 digits) and one for WPA2 (a long string of characters). You need the WPA key.
Resetting the router to factory settings (Hard Reset)
If none of the above methods help, and access to the web interface is impossible due to a forgotten administrator password, the last resort is a complete reset. This will return the router to its "as-is" state.
Most models have a recessed button on the body. Reset or RestoreTo activate the reset, turn on the router, locate the hole, and press it with a thin object (paperclip, toothpick) for 10-15 seconds until the indicators blink simultaneously.
⚠️ Important: After resetting, your router will lose all settings, including internet connection information (PPPoE, L2TP, or VLAN login and password) that your ISP may have provided. Make sure you have your ISP contract handy to reconfigure your internet access.After rebooting, the network will be named as shown on the sticker, and the password will match the factory default. You'll be able to connect, access the settings using the default login (admin/admin), and configure new security settings known only to you.
This method guarantees 100% success, but it does require time for reconfiguration. If you're unsure, it's best to contact your provider's technical support—they can guide you through the setup process remotely or provide the factory default settings for your contract.
Frequently Asked Questions (FAQ)
Is it possible to hack someone else's Wi-Fi password?
Technically, there are vulnerabilities in encryption protocols (especially the older WEP), and there are programs for brute-forcing passwords. However, using such methods to access other people's networks without their permission is illegal and violates computer security laws. This article only discusses methods for restoring access to your own networks.
What to do if the Reset button does not work?
If the button sticks or doesn't respond, it may require a longer press (up to 30 seconds). Also, on some models (for example, certain TP-Link or Asus models), a reset can be performed using a power-on combination: hold down the Reset key, turn on the power, and hold for 10 seconds. If this doesn't help, you may need to reflash the firmware via TFTP, which is a complex procedure for experienced users.
Where can I find the WPS password on my router?
The WPS code (often 8 digits) is usually found on the same sticker as the Wi-Fi password. It may also be called a "PIN Code." However, for security reasons, modern routers often disable WPS by default or lack a physical button to activate it. Using WPS is considered a less secure connection method.
Can a virus steal a Wi-Fi password?
Yes, malware that infects one of your connected devices can read saved passwords and transmit them to attackers. Therefore, it's important to have antivirus software installed and avoid connecting to suspicious open networks. Regularly changing your password and using complex WPA3 encryption minimize the risks.