It's common to need to connect a new device to a wireless network but forget the access key. This can happen when buying a new smartphone, having guests over, or after reinstalling the operating system on a laptop. Fortunately, modern technology offers several solutions to this problem without the need for a complete reset.
Access can be restored through connected devices, the router's web interface, or a physical inspection of the device's casing. In this article, we'll cover the methods for various operating systems and router models in detail. The main goal — restore internet access with minimal time investment.
Finding a password on an already connected Windows computer
If you already have a Windows desktop or laptop connected to your network, the easiest way to recover a forgotten password is through system settings. The operating system stores the security keys of all networks you've connected to in encrypted form, but provides a convenient interface for viewing them.
First, you need to open the Network Control Panel. Press the key combination Win + R, enter the command ncpa.cpl and press Enter. In the window that opens, find the icon for your wireless connection, right-click on it, and select State. Next, go to the menu Wireless network properties and open the tab Security.
In this section, you'll see the "Network Security Key" field, where the characters are hidden by asterisks. To see the actual password, check the box next to it. Show entered charactersThe system may require administrator privileges to perform this operation.
⚠️ Attention: If the "Security" tab is missing or the fields are grayed out, this may indicate that the network profile is corrupted or your account doesn't have sufficient privileges. In this case, try running the command prompt as administrator.An alternative and faster method for experienced users is to use the command line. This method works even if the Windows graphical interface is malfunctioning or freezing.
netsh wlan show profile name="Your_Network_Name" key=clearIn the resulting report, look for the "Key Content" line. This is where the character set you need will be listed. This method is especially useful if you need to quickly copy a password without having to navigate through menus.
📊 What operating system do you use?Windows 10Windows 11macOSLinuxOtherHow to view your password on an Android smartphone or iPhone
Mobile device owners often forget their Wi-Fi passwords because their smartphones connect automatically. However, modern versions of iOS and Android allow you to view saved keys directly in the settings, eliminating the need to search for scraps of paper.
On Apple devices with iOS 16 and later, the process is extremely simplified. Go to
Settings, select a sectionWi-Fiand find the network you need to find the password for. Click the blue information icon(i)to the right of the network name. Tap the line with the hidden password (the dot), and the system will ask you to complete biometric authentication (Face ID or Touch ID). After confirmation, the password will be displayed in plain text and can be copied.Android users are also in luck, but the interface may differ depending on the manufacturer's shell (Samsung One UI, Xiaomi MIUI, etc.). Usually you need to go to
Settings→Wi-Fi, click on the gear next to the active network and select the optionQR codeorShareAfter scanning your fingerprint, a QR code will appear on the screen, and a text password is often written underneath it.
- 📱 On iPhone, the password is hidden until the owner is authenticated.
- 🤖 On Android, you can often copy the password directly from the Share menu.
- 🔒 To view data on both devices, you need to unlock the screen.
If there is no text display of the password under the QR code, you can take a screenshot and scan it with any QR code scanner app on another device. In the decrypted text after the prefix
WIFI:S:AndT:WPA;the searched key will be indicated.Restoring access via the router's web interface
The most universal method, which works for all devices, is to access the router's settings. If you've ever changed your Wi-Fi password through a browser, it's definitely saved in the router's configuration. To do this, you'll need a device connected to the router via cable or Wi-Fi (if the password is known on at least one device).
Open any browser and enter your router's IP address in the address bar. Most often, this is
192.168.0.1or192.168.1.1The exact address, as well as the username and password for accessing the admin panel, are usually located on a sticker on the bottom of the device. If you changed the administrator password and forgot it, this method, unfortunately, will not work without a reset.After successful authorization, find the section related to wireless network. It may be called
Wireless,Wi-Fi,Wireless modeorWLANLook for the subsection insideSecurity(Security) orWi-Fi settingsRight there in the fieldPassword,Pre-Shared KeyorPassphraseyour key is stored.⚠️ Attention: Don't change other settings in this section (such as encryption type or channel) unless you're sure of their meaning. Incorrect settings may result in unstable network performance or complete loss of signal.Interfaces vary widely across manufacturers, but the logic remains consistent. Below is a table showing typical navigation paths for popular brands:
Router brand Path to the menu Field name TP-Link Wireless → Wireless Security Wireless Password ASUS Additional settings → Wireless network Authentication Method / Pre-Shared Key Keenetic My Networks and Wi-Fi → Home Network Network password D-Link Wi-Fi → Security Settings PSK encryption key After you copy or write down the password, do not forget to press the button
SaveorApply, if you made any changes, although for simple viewing this is usually not necessary.What to do if the router's IP address is not accessible?
If the default addresses 192.168.0.1 or 1.1 don't work, check your network adapter settings. Press Win+R, enter cmd, then ipconfig. Find the line labeled "Default Gateway"—this is your router's address.
Using the Command Prompt and PowerShell for Advanced Users
For those who prefer text-based interfaces or work with remote systems, there's a powerful command-line tool. This method not only allows you to find out the password but also manage network profiles, which is useful for clearing out old connections.
First, you need to find out the exact profile name if it differs from the network name (SSID). Enter the command
netsh wlan show profilesYou'll see a list of all saved profiles. Then use the command to display detailed information about a specific profile by adding the parameterkey=clear, which we mentioned earlier. This will force the system to display the key in clear text.PowerShell allows for even more flexible scripting. For example, the command
(Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Where-Object {$_.Index -eq 1}).MACAddresswill help identify the adapter, but for passwords the classic one is still more effectivenetsh.This method is advantageous because it doesn't rely on Windows graphical glitches and works even in Safe Mode. However, it requires precision when entering commands, as the syntax is case-sensitive and space-sensitive.
☑️ Check before resetting your router
Completed: 0 / 6Physical inspection of the device and factory settings
If software methods fail, the only option is to turn to the hardware. Most modern routers have an information sticker on the bottom or rear panel. The manufacturer provides the standard access details on it.
Look for fields
SSID(network name) andWireless Password,WPA KeyorPINIf you've never changed your router's factory settings, the password on the sticker will still be valid. This is the fastest method and requires no technical knowledge.However, if the password has been changed previously, the sticker will no longer help. In this case, many users consider resetting the router to factory settings. To do this, you need to find a small hole.
Reseton the body, press it with a paper clip for 10-15 seconds until the indicators blink.⚠️ Attention: A full reset will erase all your settings! You'll have to re-enter your ISP credentials (PPPoE/L2TP login and password), configure your Wi-Fi name, and create a new password. Only do this if you're confident you can restore your internet connection.After resetting, the router will function as new, and the password will be the same as on the sticker. This is a radical but effective method if you've completely lost control of the device.
Specifics of macOS and Linux systems
Users of Apple computers and Linux-based operating systems may also need to recover their passwords. In macOS, this information is securely stored in Keychain Access.
To find your password on a Mac, open Spotlight search (Cmd + Space) and type "Keychain Access." Select "System" or "Login" from the list on the left, and find the name of your Wi-Fi network in the list of items. Double-click it, check the "Show password" box, and enter the password for your Mac user account. The system will display the code you were looking for.
In Linux, depending on the distribution (Ubuntu, Mint, Fedora), settings are stored in text configuration files. They are usually located at
/etc/NetworkManager/system-connections/The files may be protected from being read by a regular user, so you will need to use a terminal with superuser rights (sudo).sudo cat /etc/NetworkManager/system-connections/"Filename".nmconnectionInside the file, look for the section
[wifi-security]and parameterpskThe value of this parameter is your password. Be careful when editing these files manually, as a syntax error can disrupt the network manager.Frequently Asked Questions (FAQ)
Is it possible to find out someone else's Wi-Fi password if I'm not connected to it?
No, this is impossible to do legally. Hacking someone else's Wi-Fi network is a violation of computer security laws. You can only find out the password for a network your device has previously connected to, or if you have physical access to the router's settings.
What should I do if the password on the router sticker is illegible or has been erased?
If the sticker is damaged and you haven't accessed the router's memory, your only option is to reset it. Resetting will restore factory settings, but since the sticker is illegible, you won't know the factory password. In this case, you'll have to connect to the router via cable (LAN), which often doesn't require a password, and configure new wireless network settings through the web interface.
Is it safe to store a password in a text file on your desktop?
This is strongly discouraged. If your computer is infected with a stealer or accessed by an unauthorized person, your Wi-Fi password (and all other stored data) will be stolen. Use built-in password managers in your browser or specialized encryption apps.
Why does the router require a password even though I haven't changed it?
Most likely, the password was changed automatically during the initial router setup by the provider's technician or by you accidentally in the past. Some providers also remotely change default passwords to unique ones when the equipment is initially activated on the network.