Where Android Stores Your WiFi Password

Android keeps your WiFi password in a settings file, but the path to it depends on whether your phone is rooted and which Android version you have. On most unrooted phones running Android 10 and newer, you cannot view the actual password text through the standard Settings app — Google removed that visibility as a security measure. Instead, Android shows you a QR code that another device can scan to connect.

If you need the password as text, you have three realistic routes: use a file manager to find the WiFi configuration file (requires root access), use the Google Home app if the network is connected to a Google Home device, or export the password through your phone's backup settings if you have a Google account linked.

Key Takeaways

  • Android 10 and newer do not display WiFi passwords as text in Settings on unrooted phones, only as QR codes.
  • The Google Home app can show you a stored password if your WiFi network is connected to a Google Home speaker or display.
  • Rooted phones can access the WiFi configuration file directly through a file manager, but rooting voids your warranty and creates security risks.
  • Your phone's backup settings may contain the password if you have a Google account synced, though this is not a reliable method for all networks.

Using Google Home to Retrieve Your Password

If you have a Google Home speaker, Google Home Mini, Google Nest Hub, or any other Google Home device connected to your WiFi network, the Google Home app on your phone can display the password. Open the Google Home app, tap the device that is connected to your network, then go to Settings and look for the WiFi section. The password should appear in plain text.

This method works only if the device is actually connected to that network and you have the Google Home app installed. If you do not have a Google Home device, this route is not available to you. The advantage is that it requires no special permissions or rooting — the app is designed to show this information to the account owner.

Accessing WiFi Files on a Rooted Phone

If your Android phone is rooted, you can use a file manager app to navigate to the WiFi configuration files directly. The files are stored at /data/misc/wifi/WifiConfigStore.xml or /data/misc/wifi/ depending on your Android version. Open a file manager with root permissions (such as ES File Explorer or Solid Explorer), navigate to that folder, and open the XML file with a text editor.

The file contains all your stored networks and their passwords in plain text. Search for the network name (SSID) you need, and the password will be listed next to it as psk=. Rooting your phone, however, removes manufacturer support, voids your warranty, and creates security vulnerabilities if you do not keep your phone updated carefully. This method is a last resort, not a routine solution.

Checking Your Google Account Backup

Android phones with a Google account linked can back up WiFi network information to your Google account. To see if your password is in that backup, go to Settings, then System, then Backup, and check whether WiFi passwords are included in your backup data. If they are, you can view them by signing into your Google Account on a computer and checking your account recovery options, though Google does not make this particularly straightforward to access.

This method is unreliable because not all networks are backed up, and Google's interface for viewing backup data changes frequently. It is worth checking if you are already in your backup settings, but do not count on it as your primary method.

Why Android Hides the Password

Starting with Android 10, Google removed the ability to view stored WiFi passwords as plain text on unrooted phones. The reason is security: if someone gains physical access to your phone, they cannot straightforward open Settings and read every password your phone has ever connected to. The QR code approach is safer because it lets another device connect without exposing the text password on your screen.

This design choice frustrates people who forget their own passwords, but it protects you from someone who borrows your phone or steals it briefly. If you genuinely need the password and cannot use the Google Home method, your actual best option is to reset the router and set a new password that you write down somewhere safe.

Resetting Your Router to Set a New Password

If you own the router and cannot retrieve the password any other way, you can reset it to factory settings. Press and hold the reset button on the back of the router for 10 to 15 seconds while it is powered on. The router will restart and return to its default password, which is usually printed on a sticker on the device itself or in the manual.

After the reset, log into the router's admin panel (usually at 192.168.1.1 or 192.168.0.1 in your phone's browser), change the default password to something you choose, and reconnect your phone. This takes about five minutes and is far simpler than rooting your phone or hunting through backup files. Write down the new password somewhere you will not lose it.

What to Do If You Do Not Own the Router

If the WiFi network belongs to someone else — your workplace, school, apartment building, or a friend — you cannot reset the router yourself. Your only options are to ask the network owner for the password, use the Google Home method if one is connected to that network, or have the owner scan a QR code from their phone and send it to you (though the QR code itself is not the password, just a way to connect).

Many workplaces and schools use enterprise WiFi that does not use a straightforward password at all — it uses a username and password or a certificate. In those cases, there is no single password to retrieve. Contact your IT department or network administrator for the correct login method.

Frequently Asked Questions

Can I see the WiFi password if I have Android 9 or older?

Yes. On Android 9 and earlier, go to Settings, then WiFi, long-press the network name, tap Manage, then Advanced, and the password appears in plain text. Android 10 removed this feature for security reasons.

Does the QR code contain the actual password?

The QR code encodes the network name and password, but it is not human-readable. Another phone can scan it to connect, but you cannot decode it back to text without special software. It is not a substitute for the actual password.

Is rooting my phone safe?

Rooting gives you full control but removes security protections and manufacturer support. You become responsible for keeping the system updated, and one mistake can brick the phone. It is not recommended unless you have specific technical knowledge and understand the risks.

What if I forgot the password and do not have a Google Home device?

Reset the router if you own it, or ask the network owner for the password. Those are your practical options. Rooting is possible but risky for a single forgotten password.

Can I retrieve a password from a network I used to connect to but am no longer connected to?

Yes, if your phone still has that network saved. Use the Google Home method if available, or on a rooted phone, the saved networks in the WiFi configuration file include all networks your phone has ever connected to, not just the current one.