Where Android stores your WiFi password

Android keeps WiFi passwords in a file called WPA Supplicant, which lives in your phone's system settings. The password itself is encrypted, so you cannot straightforward open Settings and read it in plain text the way you might on a computer. To see it, you need either root access (which gives you administrator-level control of your phone) or you need to use a method that works within Android's normal permissions.

Most people do not have root access, and getting it requires technical steps that can void your warranty or cause problems if something goes wrong. The good news is that there are simpler ways to recover a password you have already connected to, and they work on any Android phone without special permissions.

Key Takeaways

  • If you are already connected to a WiFi network, you can see the password by opening the QR code in your WiFi settings on Android 10 and newer.
  • On older Android versions, you can use a file manager app to view the password if your phone is rooted, but this requires technical knowledge and carries risks.
  • If you cannot see the password on your phone, your router's admin panel is the most reliable place to find it — you log in with the router's default credentials.
  • Resetting your router to factory settings will erase all your custom WiFi settings and force you to set up the network again from scratch.

Viewing the password through a QR code (Android 10 and newer)

If your phone runs Android 10 or later and you are already connected to the WiFi network, the fastest way to see the password is through a QR code. Open Settings, go to Network and Internet (or WiFi, depending on your phone brand), and tap the network name you are connected to. You should see a QR code displayed on the screen.

Point another device's camera at that QR code and scan it. The QR code contains the network name and password in a format that other devices can read and use to connect automatically. This method does not show you the password as text, but it lets you share the network without speaking the password aloud or typing it out.

If you need to see the actual password as text, this method will not work. You will need to use one of the other approaches below.

Checking your router's admin panel

Your router stores the WiFi password and can show it to you without any special permissions on your phone. To access it, open a web browser on any device connected to the network and type your 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 number entirely.

When you reach the login page, enter the router's default username and password. These are usually printed on a sticker on the back or bottom of the router itself — often something like "admin" and "admin" or "admin" and "password". Once you log in, look for a section called Wireless, WiFi Settings, or Network Settings. The password will be listed there, usually labeled as "Passphrase" or "Pre-Shared Key".

If you have changed the router's default login credentials and cannot remember them, you will need to reset the router to factory settings. This erases all your custom settings, including the WiFi password you set, so use this only as a last resort.

Using a file manager on a rooted phone

If your phone is rooted (which means you have given yourself administrator access to the system files), you can view the password directly. Open a file manager app and navigate to /data/misc/wifi/. Look for a file called wpa_supplicant.conf. This file contains all the networks your phone has ever connected to, along with their encrypted passwords.

The passwords in this file are encrypted, so you will see a long string of characters rather than the actual password. To decrypt it, you would need additional tools and technical knowledge. Most people find it easier to use the router method instead.

Rooting your phone can cause problems: it may void your warranty, break security features, or make your phone unstable if something goes wrong during the process. Only attempt this if you are comfortable with technical risk and have researched the specific steps for your phone model.

What to do if you cannot connect to the router

If you cannot reach your router's admin panel because you are not connected to the network, you have a few options. First, try connecting to the router using a cable if you have an adapter — most routers have an Ethernet port on the back. If you connect by cable, you can access the admin panel even without the WiFi password.

If you do not have a cable, you can try the router's default WiFi network, which is often broadcast separately from your main network. Check the sticker on the router for a network name and password labeled "default" or "setup". Some routers also have a reset button that you can hold for 10 seconds to restore factory settings, which will reactivate the default network.

Once you reset the router, you will need to set up your WiFi network again from the beginning, including choosing a new password. This is a time-consuming process, so only do it if you have no other way to access the router.

Keeping your password safe after you find it

Once you have your password, do not share it over text message, email, or social media. If someone else needs to connect, either give it to them in person or use the QR code method to let them scan it directly. Change your password if you think someone has seen it without permission.

If you are setting up a new network, choose a password that is at least 12 characters long and mixes uppercase letters, lowercase letters, numbers, and symbols. Avoid using your name, address, or anything that appears on the router itself. A strong password makes it much harder for someone nearby to connect without your permission.

Frequently Asked Questions

Can I see the password if I am not connected to the WiFi?

Not through your phone's settings. You would need to access your router's admin panel instead. If you cannot reach the router, try connecting by Ethernet cable, or reset the router to factory settings to reactivate its default network.

What if my phone does not show a QR code in WiFi settings?

Your phone is probably running Android 9 or older. The QR code feature was added in Android 10. Use your router's admin panel instead, or ask whoever set up the network to share the password with you.

Is it safe to let someone scan the QR code?

Yes. The QR code contains only the network name and password — the same information they would need to connect anyway. Once they scan it, their phone will connect to your network automatically.

What happens if I reset my router?

All your custom settings are erased, including your WiFi network name and password. The router returns to its factory defaults, and you will need to set up the network again from scratch using the router's setup wizard or admin panel.

Can I recover a password from a network I used to connect to but deleted?

Only if your phone is rooted and you can decrypt the WPA Supplicant file. For most people, the easiest option is to ask the network owner for the password, or reset the router and set it up again.