How to find network security key on my Android phone

Android Help

Sign in

Google Help

  • Help Center
  • Community
  • Android
  • Privacy Policy
  • Terms of Service
  • Submit feedback

Send feedback on...

This help content & information

General Help Center experience

  • Help Center
  • Community
  • Get started with Android


A network security key is a password used to connect devices to a wireless network. It is used to protect a Wi-Fi network from unauthorized users. Only those with the correct key may access a wireless network.

Your network security key comes in various forms, from passphrases to digital signatures and biometric data. The keys are used for different services you enjoy daily, such as online shopping and online banking.

Types of Network Security Key

There are different types of network security keys, which provide varying levels of security. Some options are insecure.

WEP Security Key

WEP (Wired Equivalent Privacy) security key uses a 40-bit key to encrypt data between devices such as a router and computer. Over the years, it has become much easier to crack the encryption of connections with WEP keys. This is a major reason why most devices no longer use WEP.

WPA/WPA2 Security Key

WPA (Wi-Fi Protected Access) uses integrity checks and a packet mixing function to protect the network. WPA2 is an updated version of WPA. Network security keys encrypted with WPA2 are known to be much more secure. Its security protocol is comprised of a pre-shared key (PSK) authentication.

Now that you know what a network security key is, you may be wondering how to find the network security key. The answer to this will depend on the device you use.

Here are the different methods you can use to find your network security key to connect your devices to the internet.

Finding the Network Security Key on a Router

Without the network security key, you may not be able to access internet services as the key ensures that your devices can connect to the router. The network security key for a router is usually found on a label on the device's bottom or back. The key on the label of a router may be marked as "security key," "WEP key," "WPA key," or "passphrase."

The network security key on a router can usually be found close to the wireless network name. It is advisable to change the default key after the key is used to access the network. It is important to set a strong password as your wireless network is broadcasted to everyone.

If you are not able to find the network security key, you could try and find it through the network control panel on your browser by using the following steps:

  1. Type the IP address of your WiFi router into a browser.
  2. Enter the username and password that was provided to you by the supplier of the router.
  3. Look for options in the control panel related to wireless security, which should show your password.

It may not always be possible to use the online control panel to find the security key. For this reason, other options may need to be considered, such as the operating system on a desktop device and mobile devices.

Finding the Network Security Keys From Operating Systems on a Desktop Device

You may be able to find your network security key on your device, but how you find it depends on the operating system you use.

Windows 10

Windows Button

There are different methods you can use to find the network security key on Windows OS. One method of finding the network security key on Windows OS involves using the control panel.

Here's how to find your network security key on Windows 10.

  1. Go to Control Panel > Network & Internet > View Network Status & Tasks.
  2. Select Manage Wireless Networks.
  3. Right-click on the network you are looking for and choose Properties.
  4. A security tab that shows the password will be available. Clicking on Show Characters will reveal the password, which you can use to add devices to the network.

Another method of finding the network key on a Windows OS is to use the Command Prompt. Here's how you find your network security key via the Command Prompt.

  1. Type cmd in your Start menu search bar, then select Run as administrator.
  2. Input netsh wlan show profile into the Command Prompt to display all networks connected with your device.
  3. After the name of the network you plan to use is returned, input netsh wlan show profile ApprovedModems key=clear, replacing "ApprovedModems" with the name of your network.

Upon inputting the command, the desktop should return all the Wi-Fi network details, including the key.


Command Line

You can get the network security key on a Linux (Ubuntu) operating system by using the terminal. To find the network security key on Linux, you may use these steps:

  1. Change your directory to system connections with the command cd /etc/NetworkManager/system-connections/. Files of WiFi connections saved with the name of the WiFi will be in the location.
  2. Check for your WiFi file in the directory by typing ls.
  3. Providing the file is present, input "cat FILE_NAME" to see its content.
  4. Replace the FILE_NAME with the name of WiFi.

After you follow the steps outlined, the network details should be displayed by the system. The details include the security key.


Apple Devices

The steps used to find the password of your router on macOS are the same across versions of macOS:

  1. First, you will need to search for "Keychain Access." This can be done by either clicking on Launchpad to complete a search or pressing command and space.
  2. Use the search option at the top-right hand corner of the Keychain Access utility to find the network you want to use.
  3. Once the network you are looking for shows up on the screen, you can right-click on it to reveal the option to "Copy password to clipboard."

The key found through the Keychain Access utility can be used to add a new device to your current network.

Chrome OS

Acer Chromebook

You will need to enter developer mode to find the network security key on Chrome OS. It is important to note that entering developer mode will restore the Chromebook to factory settings. Backup your data before entering developer mode.

Here's how to enter developer mode on a Chromebook.

  1. Press Esc, Refresh, and Power simultaneously.
  2. Press Ctrl + D on the first screen.
  3. Press Enter on the second screen.

After you have entered developer mode, you will be able to enter the Chrome Shell (or crosh, for short) and type the commands needed to get the network security key:

  1. Press Ctrl + Alt + T to enter crosh.
  2. Type "shell" followed by "sudo su", "cd home/root", and "ls".
  3. The system will return a code string that you must copy. Type "cd" and paste the string, then press Enter.
  4. Type "shill/shill.profile".
  5. After finding your network's name, look for random text close to a line that says "Passphrase=rot47".
  6. Enter "echo > yourtexthere | tr ‘!-~’ ‘P-~!-O’." to decrypt the text.

Using a Mobile Device to Find the Network Security Keys

You can also find your network security key on your mobile devices, too.


Android Phone and Toy

To establish a mobile hotspot on your Android phone, you will need a network security key. The key is required to pair an Android phone with other devices to access the internet using the phone network.

The following steps can be followed to enable the mobile hotspot and find  the network security key:

  1. Access the Wireless & Networks settings on the Android phone.
  2. Select the Tethering and Portable hotspot option.
  3. Select the WLAN or Wi-Fi hotspot option and enable the WLAN hotspot mode.
  4. Select the WLAN hotspot option.

Upon selecting the WLAN hotspot option, the Android phone network name and network security key will be displayed.



To find the network security key on an iPhone, follow these steps:

  1. Go to iPhone Settings > iCloud > Keychain
  2. Enable Keychain.
  3. Go back to Setting.
  4. Turn on Personal Hotspot.
  5. Set up a new password or take note of the randomly generated password

Once you have obtained the password, you can input it into the password prompt on the device you wish to connect to the network.

Safety First

The steps required to access network security keys are usually straightforward, even when some scripting is required. The security keys are typically marked on labels that are placed on the bodies of routers. Even if a network security key is not on the body of the router, it may be found through connected devices or the online control panel for your network provider.

It is important to take extra care when trying to access and use your network security key. It is very easy to find and use the key from any device connected to your network. Extra layers of protection, such as a guest wireless network, could be considered to protect your main network.

How do I find my network security key on my mobile?

On an Android Device.
Install ES File Explorer and access Root Explorer. ... .
Access the root folder, and navigate to misc > wifi to see the Wi-Fi security key in the wpa_supplicant. ... .
Alternatively, install an Android terminal emulator and issue the cat /data/misc/wifi/wpa_supplicant..

Where is the network security key located?

A network security key is often labeled on the exterior of a router. You should look for a small sticker at the back or the bottom of the device. If it's not available there, check its packaging box or the manual that came with it from the manufacturer.

What is a security key on Android?

Security keys can be used with 2-Step Verification to help you keep hackers out of your Google Account. Important: If you're a journalist, activist, or someone else at risk of targeted online attacks, learn about the Advanced Protection Program.

What is security key for hotspot?

The network security key is simply the password to your phone's hotspot. It's generally viewable within the hotspot settings on your phone.