Where Android stores your WiFi password
Android keeps WiFi passwords in a protected file on your phone, but you can only see them if you set up a screen lock (PIN, pattern, or fingerprint). The phone treats the WiFi password file the same way it treats banking apps — it stays encrypted until you unlock the device. If you have no screen lock, Android won't show you the password, even if you connected to that network years ago.
The password is stored locally on your phone only. It does not sync to your Google account, and Google cannot retrieve it for you. If you lose the phone, the passwords stay on the phone — they do not follow you to a new device.
Key Takeaways
- You must have a screen lock (PIN, pattern, or fingerprint) set up before Android will show you any saved WiFi password.
- The fastest method is to open Settings, go to Saved Networks, tap the network name, and select Show Password — this works on Android 10 and newer.
- On older Android versions, you may need to access the WiFi configuration file through a file manager or connect to a computer to view the password in plain text.
- If you forgot the password and cannot see it on your phone, you can reset the router and set a new password, or log into the router's admin panel from a computer.
Steps to view a saved WiFi password on Android 10 and newer
Open Settings and tap System or General (the exact name varies by phone maker). Look for Advanced or scroll down until you see Reset options. Tap Reset WiFi, mobile & Bluetooth — do not tap this yet, just open it to find the WiFi section. Go back and instead look for Network & Internet or Connections.
In Network & Internet, tap WiFi. You will see a list of networks you have connected to before. Tap the network name (not the connect button). A popup will appear with network details. Tap Show password or the eye icon next to the password field. Your phone will ask you to unlock it with your fingerprint, face, or PIN. Once you unlock it, the password appears in plain text.
If you do not see a Show password option, your phone may not have a screen lock enabled. Go to Settings > Security > Screen lock and set up a PIN or fingerprint first, then return to the WiFi password step.
How to find the password on Android 9 and older
Older Android versions do not have a built-in "Show Password" button in Settings. Instead, you need to access the WiFi configuration file directly. read a file manager app like Files by Google (free, from Google Play Store) or use the file manager that came with your phone.
Open the file manager and navigate to Internal Storage > Android > data > com.android.settings > files. Look for a file called wifi or wpa_supplicant.conf. This file contains all your saved WiFi passwords in a readable format. Open it with a text editor (the file manager usually offers this option). Search for the network name you want, and the password will be listed next to it as psk= followed by the actual password.
Some phones store this file in a different location. If you cannot find it in the path above, try Internal Storage > data > misc > wifi. If neither path works, your phone may require a computer connection to access the file — see the next section.
Using a computer to retrieve the password
If your phone is very old or you cannot find the file through the file manager, you can connect your phone to a Windows or Mac computer and access the files directly. Plug in your phone with a USB cable. On your phone, swipe down from the top and tap the USB notification. Select File Transfer or MTP mode.
On your computer, open File Explorer (Windows) or Finder (Mac). Your phone will appear as a removable drive. Navigate to Android > data > com.android.settings > files and look for the wifi or wpa_supplicant.conf file. Right-click it and open with Notepad (Windows) or TextEdit (Mac). Search for your network name and read the password next to psk=.
What to do if you cannot find the password
If your phone has no screen lock, you cannot view the password through Settings. Set up a PIN or fingerprint in Settings > Security > Screen lock, then try the steps above. This usually takes less than a minute.
If you set up a screen lock and still cannot find the password, the network may have been forgotten or the file may be corrupted. The fastest solution is to reset your router and create a new password. Locate the small reset button on the back of the router (usually recessed). Hold it down for 10 to 15 seconds while the router is powered on. The router will restart and return to factory settings. Log into the router's admin panel (usually 192.168.1.1 or 192.168.0.1 in a web browser) using the default username and password printed on the router label, then create a new WiFi network and password.
Why Android hides WiFi passwords
Android encrypts WiFi passwords to prevent malware or other apps from stealing them. If someone gains physical access to your unlocked phone, they could see the password. By requiring a screen lock, Android ensures that only you — or someone who knows your PIN or can unlock your face — can view it.
This is also why you cannot see the password for networks you did not set up yourself. If a friend connects their phone to your WiFi, their phone stores the password, but you cannot view it on their device without their permission. The password stays private to each phone.
Frequently Asked Questions
Can I see a WiFi password for a network I never connected to?
No. Android only stores passwords for networks your phone has actually joined. If you want to connect to a network you have never used before, you need the password from whoever set it up — usually the router owner or network administrator.
What if I forgot my screen lock PIN?
You will need to reset your phone to factory settings, which erases all data including saved WiFi passwords. Go to Settings > System > Reset options > Erase all data. After the reset, you can set up a new PIN and reconnect to your networks — but you will need the WiFi password again.
Does viewing the password on my phone let me share it securely with someone else?
Once you can see the password, you can share it by typing it to someone else or reading it aloud. Android does not have a built-in "share password" feature like some other devices do. The safest way is to tell the person the password verbally or through a private message, not through email or public chat.
Will resetting my router erase my other settings?
Yes. A factory reset returns the router to its original state — all custom settings, port forwarding rules, and connected devices are erased. You will need to set up the WiFi network name and password again from scratch. If you have other devices connected, they will lose connection and need to reconnect with the new password.
Can I recover a password if I reset my phone?
No. A factory reset erases all stored WiFi passwords. Once the phone is reset, those passwords are gone permanently. You will need to obtain the password from the network owner or reset the router to create a new one.