Where Android stores your WiFi password

Android keeps WiFi passwords in a protected file on your phone, but you cannot read them through the normal Settings app the way you might on a computer. The password is encrypted and hidden from view — this is intentional, to prevent someone who picks up your phone from seeing every network you have ever connected to.

To see a password you have already saved, you have three real paths: check your router's admin panel (the most reliable method), use your phone's built-in QR code feature if you are on Android 10 or later, or access the encrypted file directly if you are willing to enable developer mode. The first two work for most people. The third requires more steps but does not depend on remembering your router password.

Key Takeaways

  • Android does not display saved WiFi passwords in Settings, but Android 10 and newer can generate a QR code you can scan with another device instead of typing the password.
  • Your router's admin panel (usually accessed at 192.168.1.1 or 192.168.0.1 in a web browser) shows the WiFi password if you know the router's admin username and password.
  • If you have enabled Developer Options on your phone, you can view the encrypted WiFi file directly through a file manager or Android Debug Bridge.
  • Resetting your router to factory settings will erase the current password and force you to set a new one, which you will then know.

Using the QR code method on Android 10 and newer

If your phone runs Android 10 or later, the fastest way to share or view your WiFi password is through a QR code. Open Settings, tap Network and Internet (or Connections, depending on your phone brand), then WiFi. Find the network name you want the password for and tap it — do not tap to connect, but tap the name itself or the gear icon next to it.

Look for a QR code option on the screen that appears. Tap it, and your phone will display a QR code that contains the password. You can take a screenshot of this code or let someone else scan it with their phone to join the network without typing anything. This method does not show you the actual password in text form, but it solves the real problem: getting the password to another device.

Finding the password through your router's admin panel

Your router stores the WiFi password in its own settings, and you can view it from any device on the network — phone, tablet, or computer. Open a web browser on your Android phone and type the router's IP address into the address bar. Most home routers use 192.168.1.1 or 192.168.0.1. If neither works, check the bottom or back of your router for a sticker that lists the correct address.

The router will ask for a username and password. These are different from your WiFi password — they control access to the router itself. The default is often admin for both username and password, but if you changed it, you will need that password. Once you log in, look for a section called Wireless, WiFi Settings, or Security. The WiFi password (sometimes called the passphrase or pre-shared key) will be listed there in plain text.

If you do not remember the router admin password, you can reset the router to factory defaults by holding the reset button on the back for 10 to 15 seconds. This erases all your settings, including the WiFi password, so you will have to set up the network again from scratch — but you will then know the new password you create.

Accessing the WiFi file through Developer Options

Android stores WiFi passwords in an encrypted file at /data/misc/wifi/wpa_supplicant.conf. You can view this file if you enable Developer Options on your phone, though the passwords inside are still encrypted and not readable as plain text. This method is useful if you want to back up your WiFi networks or transfer them to another phone, but it will not show you the actual password.

To enable Developer Options, open Settings, go to About Phone, and tap Build Number seven times. You will see a message saying you are now a developer. Go back to Settings and look for Developer Options (usually under System or Advanced). Turn on USB Debugging if you plan to use Android Debug Bridge on a computer, or use a file manager app that can access system files.

Open a file manager that supports root access (such as MiXplorer or Solid Explorer) and navigate to /data/misc/wifi/. The wpa_supplicant.conf file contains your network names and encrypted passwords. You can copy this file to view it, but decrypting the passwords requires additional tools and is beyond what most people need to do.

What to do if you cannot remember your router password

If you do not know the router admin password and cannot reset it (for example, if someone else set it up), you have limited options. You can ask whoever set up the router. You can contact your internet service provider — they sometimes have a record of the default password or can walk you through a reset. Or you can perform a factory reset on the router itself, which erases all settings and returns it to the state it shipped in.

A factory reset means you will lose any custom settings you made to the router, such as port forwarding or parental controls. After the reset, you will log in with the default credentials (usually printed on the router), and you can then set a new WiFi password that you will know.

Why Android hides WiFi passwords

Android encrypts saved WiFi passwords to protect your network security. If anyone could tap into Settings and see every password your phone has ever connected to, they could use that information to access your home network or any other network you have joined. By hiding the passwords, Android makes sure that only you (or someone with physical access to your phone and knowledge of your PIN or biometric) can retrieve them.

The QR code method and the router admin panel are the intended ways to recover a password. They both require either physical access to your phone or knowledge of your router's admin credentials — a reasonable security barrier.

Frequently Asked Questions

Can I see my WiFi password if I forgot it?

Yes. The easiest method is to check your router's admin panel by typing 192.168.1.1 or 192.168.0.1 into a web browser. If you do not know the router admin password, you can reset the router to factory settings by holding the reset button, which will erase the current WiFi password and let you create a new one.

Does the QR code show the actual password?

No. The QR code contains the password in encoded form, but when you look at the screen, you see only the code itself, not the text password. The code is designed to be scanned by another device to join the network. If you need to see the password as text, use the router admin panel instead.

What if my phone does not have a QR code option?

Your phone is running Android 9 or earlier. The QR code feature was added in Android 10. Use the router admin panel method instead, or check if your phone manufacturer added the feature in their own version of Android.

Is it safe to reset my router?

A factory reset erases all your custom settings, including the WiFi password, network name, and any port forwarding rules you set up. It is safe in the sense that it will not damage the router, but you will need to set everything up again from scratch. Only do this if you cannot access the router admin panel any other way.

Can I view WiFi passwords from other networks my phone has connected to?

Only for networks you are currently connected to or have saved on your phone. You cannot view passwords for networks you are not connected to. The QR code and router methods both work only for the network you are asking about.