A security key is the password that stops other people from connecting to your wireless network

Your wireless router broadcasts a signal that any device nearby can detect. Without a security key, anyone within range can connect to it, use your internet, and potentially access files on your computer or phone. A security key — also called a WiFi password or passphrase — is the barrier between your network and everyone else's devices.

When you set up a security key, your router encrypts the data traveling between your devices and the router itself. This means even if someone connects to your network, they cannot read the information being sent. The key also prevents unauthorized devices from joining in the first place.

Most home routers come with a default security key printed on a sticker on the back of the device. You can change this to something you choose, and you should — default keys are often weak and widely known.

Key Takeaways

  • A security key is a password that prevents unauthorized devices from connecting to your wireless network.
  • The two main types are WPA2 and WPA3, with WPA3 being newer and more secure for devices that support it.
  • You can change your security key through your router's settings page, which you reach by typing your router's IP address into a web browser.
  • A strong security key is at least 12 characters long and mixes uppercase, lowercase, numbers, and symbols.
  • If you forget your security key, you can reset your router to factory settings, but this erases all your custom settings.

WPA2 and WPA3: The two encryption standards you will see

Your router uses an encryption standard to scramble data traveling across your network. The two standards in use today are WPA2 and WPA3. WPA2 has been the default for over a decade and works with nearly every device. WPA3 is newer, more secure, and becoming standard on recent phones, laptops, and routers.

If your router supports WPA3, use it. If some of your devices do not connect to WPA3 networks, your router may let you run both standards at once — WPA2 for older devices and WPA3 for newer ones. Check your router's settings page to see which option is available.

Older standards like WEP and WPA are no longer secure and should not be used. If your router offers only these options, the router itself is too old to be safe on a modern network.

How to set or change your security key

To change your security key, you need to access your router's settings page. Open a web browser and type your router's IP address into the address bar — this is usually 192.168.1.1 or 192.168.0.1, but check your router's manual or the sticker on the back if neither works. You will be asked to log in with a username and password, which are also on the sticker or in your manual.

Once you are logged in, look for a section labeled "Wireless," "WiFi," "Security," or "Network Settings." Find the field for the wireless password or passphrase and enter your new security key. Make sure the encryption type is set to WPA2 or WPA3, not an older standard. Save your changes — the router will restart, and your devices will need to reconnect using the new key.

Write down your new security key somewhere safe, or use a password manager to store it. You will need it every time a new device connects to your network.

What makes a strong security key

A strong security key is at least 12 characters long and includes uppercase letters, lowercase letters, numbers, and symbols. For example, Blue$Lamp7!Cat is stronger than password123. Avoid using dictionary words, names, birthdates, or anything someone who knows you could guess.

The longer your key, the harder it is to crack. A 20-character key with mixed character types would take years to break with current technology. A simple 8-character key could be broken in hours. Most routers allow keys up to 63 characters, so there is no reason to keep it short.

If you have trouble remembering a complex key, use a password manager like Bitwarden, 1Password, or the password manager built into your phone's operating system. These tools store the key securely and fill it in automatically when you add a new device.

Why your neighbors' networks show up on your device

When you look at available networks on your phone or computer, you see a list of all the wireless networks broadcasting in your area. These are your neighbors' routers, coffee shop networks, and other wireless signals nearby. Each one broadcasts its network name (called the SSID) so devices know it exists.

The security key is what stops your neighbors from actually connecting to your network. They can see that your network exists, but without the correct key, their devices cannot join it. Similarly, you can see their networks, but you cannot connect without their security key.

If you want your network to be invisible to this list, most routers have an option to hide the SSID. This does not make your network more secure — anyone determined enough can still find it — but it does remove it from casual browsing. Most people do not need to hide their network.

What to do if you forget your security key

If you have lost your security key and cannot find where you wrote it down, you have two options. The easiest is to check if your router has a label on the back or bottom with the default key printed on it. If you changed the key and forgot it, this will not help, but the default key may still work if you never saved your changes.

If the default key does not work, you can reset your router to factory settings. On most routers, this is a small button you hold down for 10 to 15 seconds while the router is powered on. After the reset, the router will use its default security key again, and you can log into the settings page to change it to something new. Be aware that resetting erases all your custom settings, including any port forwarding or device names you configured.

After a reset, you will need to reconnect all your devices to the network using the default key, then change the key to something new through the settings page.

Security keys versus other network protection

A security key protects your wireless connection, but it is not the only layer of security you need. Your router also has an admin password — the username and password you use to log into the settings page. Change this from the default as well, because someone on your network could otherwise access your router's settings and change your security key.

Beyond the router itself, keep your devices updated with the latest software patches. Your phone, computer, and other devices have their own security features that work alongside your network security. A strong security key keeps unauthorized people off your network, but your devices still need to be kept current to protect against malware and other threats.

If you run a business from home or handle sensitive information, consider adding a guest network with a separate security key. This lets visitors connect to the internet without accessing your main network or the devices on it.

Frequently Asked Questions

Can someone hack my network if they know my security key?

If someone has your security key, they can connect to your network and see traffic between your devices and the router. However, they cannot see the contents of encrypted websites or apps unless those services are also compromised. Change your key if you think it has been shared with someone you do not trust.

Should I change my security key regularly?

You do not need to change it regularly if it is strong and you have not shared it with anyone you no longer trust. Change it if someone moves out, if you suspect it has been compromised, or if you want to disconnect a device that no longer needs access.

Why does my device keep asking for the security key?

This usually means your device has an outdated or incorrect version of the key stored in its memory. Go to your device's WiFi settings, forget the network, and reconnect by entering the key again. If the problem continues, restart your router and your device.

Can I use the same security key for my 2.4 GHz and 5 GHz networks?

Yes, most routers let you use the same key for both bands, which is called a unified network. Some routers broadcast them as separate networks with different names, which requires two separate keys. Check your router's settings to see which option you have.

What if my router does not have a settings page I can access?

Some older or very basic routers have limited configuration options. Check your router's manual for the exact steps to change the security key. If the manual is lost, search online for your router model number plus "change WiFi password" to find instructions specific to your device.