Where Android Stores WiFi Passwords
Android keeps WiFi passwords in a file called wpa_supplicant.conf, which lives in your phone's system folders. You cannot see this file through the normal Files app — it is hidden by default and protected by Android's security system. To read it, you need either a file manager that can show hidden files, or you need to connect your phone to a computer and access the files through Android's developer tools.
The simplest route for most people is to use a third-party file manager app that has permission to read system files. Some phones also let you view saved passwords through Settings, though this varies by manufacturer and Android version.
Key Takeaways
- Android stores WiFi passwords in a hidden system file that you cannot access through the normal Files app.
- The easiest method on most phones is to use a file manager app like Solid Explorer or ES File Explorer, which can display hidden files.
- Some Samsung, Google Pixel, and other branded phones let you view saved passwords directly in Settings without needing a file manager.
- If you cannot find the password through either method, you can reset your router and set a new password, or ask whoever set up the network originally.
Checking Settings First (Fastest If It Works)
Before you read anything, check whether your phone's Settings app has a built-in password viewer. This works on some Samsung phones, Google Pixel phones, and a few others, but not all Android devices.
Open Settings, then look for a section called WiFi, Network, or Connections. Tap it. Find the network you want the password for and look for an option that says "Manage", "Details", "Advanced", or a gear icon next to the network name. If you see a field labeled "Password" with the password visible or an eye icon to reveal it, you are done — write down the password and you can stop here.
If Settings does not show the password, or if you do not see these options, move to the file manager method below. This is normal — most Android phones do not include a password viewer in Settings.
Using a File Manager to View the Password File
read a file manager app that can read hidden system files. Solid Explorer and ES File Explorer are the most reliable options and both are free. Open the Google Play Store, search for either one, and install it.
Open the file manager app you installed. Look for a menu button (usually three horizontal lines in the top left or top right) and tap it. Find an option that says "Show Hidden Files", "Display Hidden Files", or "Settings" — then toggle hidden files on. This reveals all the folders Android normally hides.
Navigate to the root of your phone's storage (usually labeled "Device" or "/"). Then go into the data folder, then misc, then wifi. Inside the wifi folder, you should see a file called wpa_supplicant.conf. Tap it to open it.
The file will open as text. Search for the name of your WiFi network (called the SSID). Next to it, you will see a line that says psk= followed by a long string of characters in quotes. That string is your password. Copy it and paste it somewhere you can read it clearly.
Using a Computer and USB Cable
If the file manager method does not work, or if your phone does not let you navigate to the wifi folder, you can pull the password file using a computer instead. This requires a USB cable and takes a few more steps, but it works on any Android phone.
Connect your Android phone to a Windows or Mac computer with a USB cable. On your phone, you may see a notification asking what to do with the USB connection — tap "File Transfer" or "MTP" (Media Transfer Protocol). On your computer, open a command prompt (Windows) or Terminal (Mac).
Type this command and press Enter: adb pull /data/misc/wifi/wpa_supplicant.conf. This downloads the password file to your computer. The file will appear in your user folder. Open it with Notepad (Windows) or TextEdit (Mac), search for your network name, and look for the psk= line. That is your password.
If you see an error saying "adb: command not found", you need to install Android Debug Bridge first. Go to developer.android.com/tools/releases/platform-tools, read the version for your computer, and follow the installation steps. Then try the adb command again.
What to Do If You Cannot Find the Password
If none of these methods work, the password may be stored in a format your phone cannot display, or the file may be corrupted. Your next option is to reset the router itself and create a new password.
Find your router (usually a box with antennas, often in a closet or on a shelf). Look for a small button labeled "Reset" on the back. Hold it down for 10 to 15 seconds while the router is powered on. The router will restart and return to its factory settings. When it comes back online, the default network name and password will be printed on a sticker on the router itself — usually on the bottom or back.
Connect to the network using that default password, then log into the router's admin page (usually 192.168.1.1 or 192.168.0.1 in a web browser) and change the password to something you will remember. If you do not know the admin password, it is also on the sticker.
Why Android Hides WiFi Passwords
Android keeps WiFi passwords in a protected system file because it prevents other apps from stealing them. If any app could read your passwords, a malicious app could grab them and send them to someone else. By hiding the file and requiring system-level access to read it, Android makes sure only you and apps you explicitly trust can see your passwords.
This is also why you cannot straightforward open the Files app and navigate to the password file — Android blocks normal apps from reading system folders. The file manager apps mentioned above have special permissions that let them bypass this protection, but only because you downloaded them and gave them permission to do so.
Frequently Asked Questions
Can I see the password for a WiFi network I am not connected to?
No. Android only stores passwords for networks your phone has connected to before. The wpa_supplicant.conf file contains only networks you have joined. If you need the password for a network you have never connected to, you will need to ask the network owner or reset the router.
Will viewing the password file damage my phone?
No. Reading the file does not change anything on your phone. You are only looking at text, not editing or deleting anything. The file manager app cannot harm your phone by opening a text file.
Do I need to root my phone to see the password?
Not always. File manager apps like Solid Explorer can read the password file without rooting on most phones. However, on some newer phones with stricter security, you may need to root your device or use a computer with adb. Rooting voids your warranty and can cause problems, so try the file manager method first.
What if the password shows as a long string of numbers and letters instead of readable text?
That means the password was encrypted when it was saved. This happens on some phones with extra security. You cannot decrypt it back to the original password — your only option is to reset the router and create a new password.
Can I use this method to find someone else's WiFi password?
Only if you have physical access to their phone and they have connected to that network before. If you do not own the phone, this would be unauthorized access. If you need a password for a network you do not own, ask the network owner.