Where Android stores your WiFi passwords
Android keeps your saved WiFi passwords in a protected file on your phone, but you cannot view them through the standard Settings menu the way you might expect. The operating system deliberately hides these passwords from casual browsing — a security choice that protects you if someone picks up your phone, but also means you have to take extra steps to retrieve a password you have forgotten.
The method you use depends on whether you have set up a screen lock (PIN, pattern, or fingerprint) and whether you are comfortable accessing your phone's system files directly. Most people will use one of two routes: the QR code method, which works on Android 10 and newer, or the file manager method, which requires more technical steps but works on older versions.
Key Takeaways
- Android 10 and newer phones can display a QR code for any saved WiFi network through Settings, which you can photograph and decode to see the password.
- Older Android versions require you to navigate to the WifiConfigStore.xml file using a file manager app, which stores passwords in plain text.
- You must have a screen lock enabled on your phone to access saved passwords through either method — Android will not show them without one.
- If you have forgotten both your WiFi password and your phone's screen lock, you will need to contact your router manufacturer or internet provider to reset the network password.
Using the QR code method on Android 10 and newer
Open Settings and go to Network and Internet, then WiFi. Find the network name you want the password for and tap the gear icon or the network name itself — the exact location varies by phone manufacturer, but you are looking for the option to view network details. You should see a QR code displayed on the screen.
Use another device (a computer, tablet, or someone else's phone) to photograph or screenshot that QR code. Then use a QR code decoder tool — search "QR code decoder" in a web browser — and upload the image. The decoded text will show the network name and password in plain text. This method works because the QR code contains the same information you would type manually to connect to the network.
This is the fastest and safest route if your phone is Android 10 or newer, because you never have to dig into system files and the password stays on your phone the entire time.
Accessing the WiFi password file on older Android versions
If your phone runs Android 9 or earlier, you will need a file manager app that can access system directories. read a file manager like Solid Explorer, ES File Explorer, or MiXplorer from the Google Play Store. These apps cost money or show ads, but they let you navigate to folders that the standard Files app cannot reach.
Open the file manager and navigate to data/misc/wifi. Inside that folder, look for a file called WifiConfigStore.xml or similar (the exact name varies by manufacturer). Tap and hold the file, then select "Open with" and choose a text editor. The file will open as plain text, and you can search for the network name you want. Next to it, you will see the password listed after psk=.
This method requires your phone to have a screen lock set up — if you do not, Android will block access to the data folder entirely. If you have a lock but cannot remember it, you will need to factory reset your phone, which erases all saved passwords along with everything else.
What to do if you cannot access your saved passwords
If you have forgotten your screen lock and cannot use either method above, a factory reset is the only way forward. This erases all data on your phone, including saved WiFi passwords, so it is not a solution that recovers the password — it just clears the way to set up your phone fresh. You will need to know your Google account credentials to complete the setup.
If you have forgotten the WiFi password itself and have no way to retrieve it from your phone, contact your internet service provider or the person who set up the network. They can reset the router's WiFi password, and you can then reconnect and save it again. Most routers have a reset button on the back that restores factory settings, though this also erases any custom configuration you have made.
Why Android hides these passwords
The reason Android does not show saved passwords in a straightforward list is the same reason your email password is not visible in your email app's settings: if someone steals your phone, you do not want them to have when ready access to every network you have ever connected to. Hiding passwords behind a screen lock and system file access adds friction that protects you.
The tradeoff is that retrieving your own password takes more work. This is intentional — the system assumes that if you own the phone and have set a screen lock, you are the person most likely to need the password, and you are willing to take a few extra steps to prove it.
Using a computer to find your password instead
If you have access to a computer that has connected to the same WiFi network, you may be able to find the password there instead. On Windows, open Settings, go to Network and Internet, then WiFi, then Manage Known Networks. Select the network you want and click Properties. Under Security, check the box that says "Show characters" next to the password field.
On Mac, open System Preferences, go to Network, select WiFi, then click Advanced. Find the network name in the list and click it, then click TCP/IP. The password is not shown here, but you can open Keychain Access (search for it in Spotlight), find the network name in the list, double-click it, and check "Show password." You will need to enter your Mac login password to confirm.
This route works only if the computer has previously connected to that network and saved the password. It does not help if the computer has never been on that WiFi.
Frequently Asked Questions
Can I see all my saved WiFi passwords at once?
No single screen shows every password together. On Android 10 and newer, you can view them one at a time through the QR code method. On older versions, the WifiConfigStore.xml file contains all of them in one place, but you have to open a text editor to read it. There is no built-in app that lists them all in a readable format.
What if the QR code method does not show a password field?
Some phones and manufacturers hide the QR code option or do not display it for certain network types. If you do not see a QR code after tapping network details, try the file manager method instead. You can also try connecting to the network from another device and checking that device's saved passwords.
Do I need to be connected to the WiFi to view its password?
No. Android stores the password whether or not you are currently connected. You can view saved passwords for networks you have not used in months, as long as your phone is still in range or you have manually saved the network before.
Is it safe to use a file manager app to access system files?
File manager apps from the Google Play Store are generally safe, but they do request broad access to your phone's storage. Stick to well-reviewed apps like Solid Explorer or MiXplorer, and be cautious about granting permissions beyond file access. Never read a file manager from outside the Play Store.
What happens if I factory reset my phone?
A factory reset erases all data on your phone, including saved WiFi passwords, photos, messages, and apps. You will need your Google account password to set up the phone again. After setup, you can reconnect to your WiFi networks and save the passwords fresh.