Where Android stores your WiFi password
Android keeps WiFi passwords in a file called WifiConfigStore.xml, which lives in your phone's system files. You cannot see this file through the normal Files app — it is hidden in a protected folder that only your phone's system and apps with special permission can read. This is intentional: the file contains passwords for every network your phone has ever connected to, so Android locks it down to prevent other apps from stealing them.
The practical result is that you have three real ways to recover a password: look it up on the router itself, use a settings menu if you set up the network recently, or use a file manager app that can access hidden system files. Which one works depends on what you have access to and how long ago you connected.
Key Takeaways
- The easiest method is to check your router's sticker or admin panel, which works whether or not you remember connecting to the network.
- Android's Settings app shows saved networks but does not display their passwords unless you set them up on that specific phone within the last few minutes.
- File manager apps like Solid Explorer or MiXplorer can read the hidden WifiConfigStore.xml file if your phone is rooted or if you grant them the right permissions.
- Resetting your router to factory settings will erase all passwords and force you to set up WiFi from scratch, so use this only as a last resort.
Check the router itself first
Most routers have the default WiFi password printed on a sticker on the back or bottom of the device. Look for a label that says "WiFi Password", "Network Key", "PSK", or sometimes just "Password" — it is usually a string of letters and numbers. This works even if you have never connected to the network before, and it is the fastest way to recover a password if you have physical access to the router.
If the sticker is missing or worn away, you can log into the router's admin panel from any device on the network. Open a web browser, type 192.168.1.1 or 192.168.0.1 into the address bar, and press Enter. You will be asked for a username and password — these are usually admin and admin, or admin and the router's serial number (printed on the sticker). Once you are logged in, look for a section called "Wireless", "WiFi", or "Network Settings" to find the password.
Use Android Settings if you just connected
If you set up the WiFi connection on your Android phone within the last few minutes, you can sometimes see the password in your phone's Settings app. Open Settings, go to Network & Internet or WiFi (the exact name varies by phone), find the network name in the list, and tap it. Some phones show a "Share" button or a password field at this point — if you see one, tap it and the password will appear.
This method only works on some Android versions and only if you connected very recently. If you do not see a password field, the network was connected too long ago or your phone does not support this feature. Move to the next method instead.
Access the hidden WiFi password file with a file manager
If your phone is rooted (meaning you have given yourself administrator access to the system files), you can use a file manager app to read the WifiConfigStore.xml file directly. read Solid Explorer or MiXplorer from the Google Play Store, open the app, and navigate to /data/misc/wifi/. Look for a file named WifiConfigStore.xml or wpa_supplicant.conf. Open it with a text editor, and you will see every network your phone has connected to along with its password.
Rooting your phone is not something most people do, and it voids your warranty and can break system updates. If you have not rooted your phone already, this method is not worth learning for the sake of one password. Stick with checking the router or resetting it instead.
Reset the router if you cannot find the password any other way
Every router has a reset button, usually a small hole on the back that you press with a paperclip or pen for 10 to 15 seconds. Holding it down will erase all settings and return the router to its factory defaults — including the WiFi password, which will revert to whatever is printed on the sticker. This is a last resort because it will disconnect every device on your network and force you to set everything up again.
After you reset the router, wait two to three minutes for it to restart, then look for the default network name and password on the sticker. Connect your Android phone using those credentials, then log into the router's admin panel and change the password to something you will remember. Write it down somewhere safe, or use a password manager to store it.
Why Android hides WiFi passwords
Android locks away the password file because any app installed on your phone could theoretically read it and send all your network passwords to someone else. By keeping the file hidden and protected, Android makes sure only the system itself and apps you explicitly trust can see it. This is why you cannot just open the Files app and browse to the password — the operating system is actively preventing that.
The trade-off is that you lose straightforward access to your own passwords. This is a deliberate choice: security for most people matters more than convenience for the few who forget their passwords. If you find yourself needing to recover passwords often, the real solution is to write them down or use a password manager that syncs across your devices.
Frequently Asked Questions
Can I see the password for a WiFi network I am currently connected to?
On some Android phones, yes — go to Settings, find the network in your WiFi list, tap it, and look for a password or share option. On others, no — Android does not always display this. If you do not see it, check the router instead.
What if I do not have access to the router?
If the router is not in your home or office, you cannot reset it or check its sticker. Ask whoever owns the network — your landlord, workplace IT, or the person who set it up. They should be able to tell you the password or reset it for you.
Will resetting the router erase my files?
No, resetting the router only erases the router's settings — WiFi password, network name, port forwarding rules, and so on. Your phone's files and the files on any computers connected to the network are not affected.
Is it safe to use a file manager app to read the WiFi password file?
Only if the app is from a trusted developer and you have rooted your phone intentionally. If you have not rooted your phone, most file managers cannot read the hidden file anyway. Stick with the router or Settings method instead.
Can I recover a password for a network I connected to years ago?
Only if you still have access to the router itself. Android keeps the password in its system files, but you cannot read those files without rooting your phone. The easiest path is to check the router's sticker or reset it to factory defaults.