
Chances are you have a Wi-Fi network at home, or live close to one (or more) that tantalizingly pops up in a list whenever you boot up your laptop or look at the phone.
The problem is, if there’s a lock next to the network name (AKA the SSID, or service set identifier), that indicates security is activated. Without a password or passphrase, you’re not going to get access to that network, or the sweet, sweet internet that goes with it.
Perhaps you forgot the password on your own network, or don’t have neighbors willing to share the Wi-Fi goodness. You could just go to a café, buy a latte, and
Here are some tips to help get that password back, courtesy of
However, there are other ways to get back on the wireless. Some require such extreme patience that the café idea is going to look pretty good. Read on if you can’t wait.
Windows Commands to Get the Key
This trick works to recover a Wi-Fi network password (AKA network security key) only if you’ve forgotten a previously used password.
It works because Windows creates a profile of every Wi-Fi network to which you connect. If you tell Windows to forget the network, it also forgets the password. In that case, this won’t work. But few people ever explicitly do that.
It requires that you go into a
netsh wlan show profile

Credit: PCMag
The results will bring up a section called User Profiles—those are all the Wi-Fi networks (aka WLANs, or wireless local area networks) you’ve accessed and
netsh wlan show profile name=”XXXXXXXX” key=clear
In the new data that comes up, look under Security Settings for the line Key Content. The word displayed is the Wi-Fi password or key you are missing. (If you don’t like the command line, there’s third-party password recovering software like
On macOS, open up the Spotlight search (Cmd+Space) and type Terminal to get the Mac equivalent of a command prompt. Type the following, replacing the Xs with the network name.
security find-generic-password -wa XXXXX
Reset the Router
This won’t work on someone else’s Wi-Fi in the apartment next door. You need physical access to the router for this. However, before you do a full
That’s not possible if you don’t know the password for the router. (The Wi-Fi password and router password are not the same—unless you went out of your way to assign the same password to both). Resetting the router only works if you have access via Wi-Fi (which we’ve just established you don’t have) or physically, utilizing an Ethernet cable.
If you’ve got a router that came from your internet service provider (ISP), check the stickers on the unit before a reset—the ISP might have printed the SSID and network security key right on the hardware.
Here’s the nuclear option: Almost every router in existence has a recessed reset button. Push it with a pen or unfolded paperclip, hold it for about 10 seconds, and the router will reset to the factory settings.

Credit: JaysonPhotography/Getty Images
Once a router resets, you’ll need that other username/password combo to access the router itself. Again, do this via a PC attached to the router via Ethernet; resetting the router probably killed any Wi-Fi connection for the moment. The actual access is typically done with a web browser, though many routers and whole home
Some routers may also have a sticker displaying that default Wi-Fi network name (SSID) and network security key (password) so you can indeed go back on the Wi-Fi after a reset.
The URL to type into the browser to access a router’s settings is typically 192.168.1.1 or 192.168.0.1, or some variation. Try them randomly; that generally works. To determine which one on a PC is connected to the router via Ethernet, open a command prompt and type ipconfig. Look among the gobbledygook for an IPv4 Address, which will start with 192.168. The other two spaces, called octets, are going to be different numbers between 0 and 255. Note the third octet (probably a 1 or 0). The fourth is specific to the PC you’re using to log into the router.
In the browser, type 192.168.x.1, replacing the X with the number you found in the ipconfig search. The 1 in the last octet should point at the router—it’s the number one device on the network. (For full details, read
At this point, the router should then ask for that username and password (which, again, is probably not the same as the Wi-Fi SSID and network security key). Check your manual, assuming you didn’t throw it away. Or go to

Credit: PCMag
You will quickly discern a pattern among router makers of utilizing the username of “admin” and a password of “password,” so feel free to try those first. Since most people are lazy and don’t change an assigned password, you could try those options even before hitting the reset button. Once you’re in the Wi-Fi settings, turn on the wireless network(s) and assign
Make that Wi-Fi password easy to type on a mobile device, too. Nothing is more frustrating than trying to get a smartphone connected to Wi-Fi with some cryptic, impossible-to-key-in-via-thumbs nonsense, even if it is the most secure password you’ve ever created.
Crack the Code
You didn’t come here because the headline said “reset the router,” though. You want to know how to crack the password on a Wi-Fi network.
Searching on “wi-fi password hack,” or other variations, nets you a lot of links—mostly for software on sites where the adware and bots and scams pour like snake oil. The same goes for the many, many YouTube videos promising you ways to crack a password by visiting a certain website on your phone.
Download those programs or visit those sites at your own risk. Many are
Kali Linux
You could create a system just for this kind of thing, or maybe dual-boot into a separate operating system that can do what’s called “penetration testing”—a form of offensive approach security, where you examine a network for any and all possible paths of a breach.
You can run Kali Linux off a CD or USB key without even installing it to your PC’s hard drive. It’s free and comes with all the tools you’d need to crack a network. It even has an app for Windows in the
If you don’t want to install a whole OS, then check out the tried-and-true tools of Wi-Fi hackers.
Aircrack
Aircrack has been around for years, going back to when Wi-Fi security was only based on WEP (Wired Equivalent Privacy). WEP was weak even back in the day; it was supplanted in 2004 by WPA (Wi-Fi Protected Access).
To crack a network, you need to have the right kind of Wi-Fi adapter in your computer, one that supports packet injection. You need to be comfortable with the command line and have a lot of patience. Your Wi-Fi adapter and Aircrack have to gather a lot of data to get anywhere close to decrypting the passkey on the network you’re targeting. It could take a while.
Here’s a how-to on doing it
Reaver-wps
Cracking the much stronger WPA/WPA2 passwords and passphrases is the real trick.
WPS is the feature where you can push a button on the router and another button on a Wi-Fi device, and they find each other and link auto-magically, with a fully encrypted connection. It’s the “hole” through which Reaver crawls.
Even if you turn off WPS, sometimes it’s not completely off, but turning it off is your only recourse if you’re worried about hacks on your own router via Reaver. Or, get a router that doesn’t support WPS.
Hacking Wi-Fi over WPS is also possible with some tools on Android, which only work if the Android device has been rooted. Check out
When you’re really in a pinch for Wi-Fi, cracking the code will probably take too long. But you can almost always
This article originally appeared on