Forgot your home Wi-Fi password and there's no sticker with the code on your router? Or need to connect a new device but can't be bothered to look for the settings? You can find your Wi-Fi password from your computer in 2-3 minutes—no hacking, no special software, and no network access loss. The key is that your PC or laptop must already be connected to this Wi-Fi network (at least once).
In this article - 5 proven methods For Windows, MacOS, and a universal method via router settings. We'll discuss how to retrieve the password from the system if it's saved, and what to do if the computer has never connected to the desired network. All instructions are valid for 2026. and work on modern OS versions.
⚠️ Important: Extracting passwords from other people's networks without the owner's permission is illegal (Article 272 of the Criminal Code of the Russian Federation on unauthorized access to computer information). This article is intended only to restore access to your network, to which you already have legal rights.
1. How to view your Wi-Fi password on Windows 10 or 11
If your computer or laptop has connected to the required network at least once, the password is saved in the system. You can retrieve it via Control Panel or Command lineLet's consider both options.
Method 1: Via the graphical interface
- Open
Control Panel(clickWin + R, entercontroland press Enter). - Go to the section
Network and Internet → Network and Sharing Center. - Select on the left
Managing wireless networks(in Windows 11 the path may differ:Changing adapter settings). - Find the required network in the list, right-click on it and select
Properties. - In the tab
Securitycheck the boxShow entered characters— the password will become visible.
Method 2: Via the command line (if the graphical method didn't work)
netsh wlan show profile name="NETWORK_NAME" key=clear
Replace NETWORK_NAME with the name of your Wi-Fi network (case-sensitive!). In the command results, find the line Key content - this is the password.
Check that your computer is connected to the correct network|Make sure you have administrator rights|Try restarting your PC|Use an alternative method (see below)-->
⚠️ Attention: If you see the message "Unable to find a profile for the specified network", then the computer was not connected to it. In this case, proceed to method via router.
2. How to find out the Wi-Fi password on MacOS (MacBook, iMac)
On computers Apple Wi-Fi passwords are stored in the keychain Keychain AccessTo extract them:
- Open
Spotlight(clickCmd + Space) and enterKeychain Access. - In the left menu, select
System(orLogin, if the password is saved for your user). - In the search bar, enter the name of the Wi-Fi network.
- Double-click on the found entry and check the box.
Show password. - Enter your account password MacOS - after this the Wi-Fi password will be displayed.
If Keychain Access doesn't open, try running it as an administrator: right-click on the icon → Intelligence → check the box Open as administrator.
🔹 Alternative method for terminal:
security find-generic-password -wa "NETWORK_NAME"
After executing the command, the system will ask for your account password. Enter it, and the Wi-Fi password will appear in the terminal.
3. Universal method: through the router settings
If the computer did not connect to the network or the previous methods did not work, there is one reliable option left: log in router web interfaceIt works on any device - TP-Link, ASUS, Keenetic, MikroTik and others.
Step 1: Find your router's IP address
- 🖥️ On Windows: open
Command lineand enteripconfig. Look for the lineMain gateway- this is the IP of the router (usually192.168.0.1or192.168.1.1). - 🍎 On MacOS: open
Terminaland enternetstat -nr | grep default.
Step 2: Log in to your Control Panel
- Open your browser and enter the router's IP address in the address bar.
- Enter your login and password (usually
admin/admin, if you haven't changed it). If it doesn't fit, check the sticker on the back of the router. - Go to the Wi-Fi settings section (names may vary):
- 📡
Wireless → Security(For TP-Link) - 🔒
Wireless Network → Security(For ASUS) - 🌐
Wi-Fi → Hotspot(For Keenetic)
- 📡
Password, Key or PSK — the current password is displayed here.What should I do if I can't access my router?
If the IP address doesn't open, check the cable connection (Wi-Fi may be disabled in the settings). If you forgot your router login/password, reset it to factory settings using the button Reset (hold for 10 seconds).
| Router model | Standard IP | Default login/password |
|---|---|---|
| TP-Link Archer, TL-WR | 192.168.0.1 or 192.168.1.1 |
admin/admin |
| ASUS RT, TUF | 192.168.1.1 |
admin/admin |
| Keenetic | 192.168.1.1 |
Unique password on the sticker |
| MikroTik | 192.168.88.1 |
Empty login, no password required |
| Zyxel Keenetic | 192.168.1.1 |
admin/1234 |
⚠️ Attention: If you reset your router to factory settings, all user passwords (including Wi-Fi) will be deleted. You'll have to set up your network again.
4. How to find out the Wi-Fi password if the computer has not connected to the network
If your PC has never connected to the desired Wi-Fi network, the previous methods won't work. Three options remain:
- Ask the network owner for the password (the easiest and most legal way).
- Connect to the router via cable and take advantage via the web interface.
- Use WPS (if the function is enabled on the router):
- 🔄 Click the button
WPSon the router (usually located on the back panel). - 💻 On your computer, select the network marked
WPSand connect - no password required. - 🔍 After connecting, retrieve the password using one of the methods described above.
- 🔄 Click the button
🔹 What won't help:
- ❌ Programs for "hacking" Wi-Fi (most of them are viruses or do not work on modern routers with
WPA3). - ❌ Brute-force password cracking – modern routers block such attempts.
- ❌ "Secret commands" from old instructions (for example,
netsh wlan show hostednetwork(It only works for distributing Wi-Fi, not for extracting passwords).
5. How to save your Wi-Fi password so you don't forget it
To avoid searching for the password every time you need to connect a new device:
- 📝 Take a photo of the sticker on the router (the factory password is usually indicated there).
- 🔐 Use password managers (For example, KeePass or 1Password) to store codes in encrypted form.
- 📱 Sync passwords via Google/Microsoft account:
- On Android:
Settings → Google → Manage Google Account → Security → Passwords. - On Windows:
Settings → Accounts → Sign-in options → Credential manager.
- On Android:
- 🖨️ Print the QR code for quick connection (many routers can generate it in the web interface).
🔹 Advice for router owners: If you change your password frequently, set a combination that is easy to remember (but not 12345678!). For example:
Dom@2026!(network name + year + symbol)Kot_Pes@WiFi(word + word + separator)
Such passwords are easy to remember but difficult to guess.
6. Common mistakes and how to avoid them
When trying to find a Wi-Fi password, users often encounter common problems. Let's look at the most common ones:
| Problem | Cause | Solution |
|---|---|---|
Team netsh gives an error "Profile not found" |
The computer was not connected to this network. | Use method via router |
| There is no network entry in the MacOS keychain. | The password is not saved (for example, the connection was via WPS) | Reconnect to the network and enter the password manually. |
| The router's web interface won't open. | Invalid IP address or router is disabled | Check the cable connection and the correct IP |
| After resetting the router, Wi-Fi does not work. | All settings were reset, including the network name. | Reconfigure the router according to the manufacturer's instructions. |
⚠️ Attention: If you see a field in your router settings Password, but it is empty or filled with asterisks (), this does not mean that there is no password. Perhaps the network is operating in the mode Open (without encryption) or used WPS. Check the security type in the section Wireless → Security.
FAQ: Answers to Frequently Asked Questions
Is it possible to find out my neighbor's Wi-Fi password?
No, it's illegal. According to Article 272 of the Russian Criminal Code, unauthorized access to computer information (including Wi-Fi networks) is punishable by a fine of up to 200,000 rubles or correctional labor. If the network isn't password-protected, technically it's possible to connect, but the legality of such an action is questionable.
Why doesn't the command line display the password?
Possible reasons:
- The computer was not connected to this network (check the network name in the command).
- You are not running the command as an administrator (run
Command linethroughWin + X → Command Prompt (Administrator)). - The password is saved in a different Windows account (try logging in as the user who connected to the network).
How to find out the Wi-Fi password on Linux?
On most distributions (Ubuntu, Mint, Fedora) passwords are stored in a file /etc/NetworkManager/system-connections/NETWORK_NAMEOpen it with superuser rights:
sudo cat /etc/NetworkManager/system-connections/NETWORK_NAME | grep psk=
The password will be after psk=.
Is it possible to recover the password if the router has been reset?
No. After reset (Reset) all settings are reset to factory defaults, including the Wi-Fi password. The new password can be:
- Find out on the router sticker (if it hasn’t been changed).
- Set it again in the web interface (
192.168.1.1).
What should I do if I forgot my router password?
There are two options:
- Reset the router button
Reset(hold for 10-15 seconds). After that, enter the settings using the standard login/password (admin/admin). - Recover your password through the manufacturer's application (For example, TP-Link Tether, ASUS Router). To do this, you need to be connected to the router via cable.
⚠️ After reset, all settings (including Wi-Fi) will be deleted!