Where Android stores your WiFi password

Android keeps the password for any WiFi network you have connected to before, but the location depends on whether your phone is rooted. A rooted Android phone has had its system restrictions removed, which lets you access files most users cannot see. If your phone is not rooted — which is the case for most people — you cannot view the actual password stored on the device itself.

The practical reason: Android encrypts WiFi passwords in a protected system folder. This is intentional security. Your phone remembers the password so you do not have to type it again, but it does not let you read it back out. This protects you if someone borrows your phone — they cannot easily extract passwords for networks you use.

If you need the password for a network you are already connected to, the fastest route is to check your router's settings or ask whoever set up the network. If you need to reconnect to a network you used before, you have other options that do not require accessing the encrypted file.

Key Takeaways

  • Android encrypts stored WiFi passwords and does not let you view them through normal phone settings, even if you created the network yourself.
  • If you are already connected to a WiFi network, you can find the password by logging into your router's admin panel through a web browser on any device.
  • You can reset a forgotten password directly on the router by pressing its reset button, which erases all settings and requires you to set up the network again from scratch.
  • If you need to reconnect to a network you used before, you can forget the network on your phone and reconnect by typing the password again, or ask the network owner for the password.
  • Rooted phones can access the encrypted password file, but rooting your phone voids warranties and creates security risks that outweigh the benefit of viewing a password.

Check the password through your router's admin panel

If you are already connected to the WiFi network, you can find the password by logging into the router itself. Open any web browser on your Android phone (or any other device on the same network) and type the router's IP address into the address bar. The most common address is 192.168.1.1, though some routers use 192.168.0.1 or a different address printed on the router's label.

When the login page appears, enter the router's admin username and password. These are often printed on a sticker on the back or bottom of the router — look for fields labeled "Admin" or "Username" and "Password." If you changed these credentials and cannot remember them, you will need to reset the router (see the next section). Once you are logged in, look for a section called "Wireless," "WiFi," "Security," or "Network Settings." The password is usually labeled as "Passphrase," "Pre-Shared Key," or "PSK," and it will be displayed in plain text or hidden behind a checkbox you can uncheck to reveal it.

This method works whether you set up the network yourself or someone else did, as long as you can access the router physically and know the admin password. It is also the most reliable way to confirm the exact password, since you are reading it directly from the source.

Reset the router if you cannot log in

If you do not know the router's admin password, you can reset the entire router to factory settings. This erases all WiFi settings, including the password, and returns the router to the state it came in. Look for a small reset button (usually recessed, so you need a paperclip or pin to press it) on the back or bottom of the router. Press and hold it for 10 to 15 seconds while the router is powered on, then release and wait for the lights to stop blinking — this usually takes one to two minutes.

After the reset, the router will broadcast a default WiFi network name and use a default admin password, both printed on the router's label or in the manual. Log in with these credentials, then set up a new WiFi password and admin password from scratch. This is a complete reset, so any other devices connected to the network will lose their connection and will need to reconnect using the new password.

Reset the router only if you own it or have permission from whoever manages it. Resetting a network you do not control will disconnect everyone using it and require them to reconfigure their devices.

Forget and reconnect to the network on your phone

If you need to reconnect to a WiFi network you used before but cannot remember the password, you can remove the network from your phone's memory and reconnect by typing the password again. Open Settings on your Android phone, go to WiFi (or Network and Internet, then WiFi, depending on your Android version), and find the network name in the list of saved networks. Long-press the network name until a menu appears, then tap "Forget" or "Remove."

Once you have forgotten the network, it will no longer appear in your saved list. To reconnect, open the WiFi list again, find the network name, tap it, and type the password when prompted. This does not retrieve the old password from your phone — you will need to know the password or get it from the network owner. However, this method is useful if you are trying to reconnect to a network at a location where you can ask someone for the password, such as a workplace or a friend's house.

Forgetting a network is also a troubleshooting step if your phone keeps failing to connect to a network it remembers. Sometimes the stored connection information becomes corrupted, and forgetting and reconnecting fixes the problem.

Why Android does not show stored passwords

Android's design choice to hide stored WiFi passwords is a security feature, not a limitation. If anyone with physical access to your phone could read every password you have ever used, they could connect to your home network, your work network, or any other network you have visited. By encrypting the passwords and not displaying them in settings, Android protects you even if someone steals your phone or uses it without permission.

This is why rooting your phone to access the encrypted password file is not a practical solution. Rooting removes the security restrictions that protect your data, voids your phone's warranty, and can expose your device to malware. The security risk of rooting outweighs the convenience of viewing a password you can retrieve through other means.

What to do if you set up the network yourself

If you created the WiFi network on your own router, the easiest way to find the password is through the router's admin panel, as described above. Write down the password and store it somewhere safe — a password manager, a notebook, or a note on your computer — so you do not have to log into the router every time you need it.

If you have multiple devices at home and want them all to use the same password, change the WiFi password through the router's admin panel to something you can remember and type easily. Make sure the new password is at least 12 characters long and includes a mix of letters, numbers, and symbols for security. After you change it, you will need to reconnect all your devices to the network using the new password.

Frequently Asked Questions

Can I see the WiFi password on my Android phone if I created the network?

No. Android encrypts all stored WiFi passwords the same way, regardless of who created the network. Your phone remembers the password so it can reconnect automatically, but it does not let you view it through settings. You can see the password through your router's admin panel instead.

What if I forgot the password and the router label is worn off?

Reset the router by holding the reset button for 10 to 15 seconds. This returns it to factory settings and lets you log in with the default credentials printed in the router's manual or on the manufacturer's website. After login, you can set a new WiFi password.

Will rooting my phone let me see the WiFi password?

Yes, rooting removes the encryption restrictions and lets you access the password file. However, rooting voids your warranty, disables security features, and exposes your phone to malware. It is not worth the risk for a password you can retrieve through the router instead.

Can I see passwords for networks I used in the past but am not connected to now?

No. Android only stores passwords for networks you have connected to, and you cannot view them through phone settings. If you need to reconnect to an old network, you will need to get the password from the network owner or reset the router.

What should I do if my phone keeps forgetting the WiFi password?

Try forgetting the network in your WiFi settings, then reconnect by typing the password again. If the problem continues, restart your phone and router, or check that your phone's date and time are set correctly — some routers reject connections if the device time is far off.