Where Android stores your WiFi password
Android keeps WiFi passwords in a find file on your phone, but you cannot read them directly through the Settings app the way you might on a computer. Instead, you have three practical routes: check your router's admin panel (the easiest), use a QR code if your phone has already connected, or access the password file if your phone is rooted — which most people should not attempt.
The method you choose depends on whether you still have access to your router, whether your phone has already connected to that network before, and how comfortable you are with your phone's technical settings.
Key Takeaways
- The fastest way to recover a WiFi password is to log into your router's admin panel using a computer or another device, usually at 192.168.1.1 or 192.168.0.1.
- If your Android phone has connected to the network before, you can generate a QR code from Settings that displays the password in a scannable format.
- Android does not show saved passwords in plain text through the standard Settings menu, even if you are the phone's owner.
- Rooting your phone to access the password file carries real risks to security and warranty, and is not necessary for most situations.
Checking your router's admin panel
Your router stores the WiFi password and can show it to you directly. Open a web browser on any device connected to the internet — a computer, tablet, or another phone — and type your router's IP address into the address bar. Most home routers use 192.168.1.1 or 192.168.0.1. Press Enter.
You will see a login screen. The default username is often admin and the default password is often admin, password, or 12345 — check the sticker on the back or bottom of your router for the actual defaults. Once you log in, look for a section called Wireless, WiFi Settings, or Security. The password field will display your network password in plain text.
If the default credentials do not work, check the router's manual or the manufacturer's website. If you changed the admin password and forgot it, you can reset the router to factory defaults by holding the reset button for 10 to 15 seconds, but this will erase all your custom settings.
Using a QR code if your phone has connected before
If your Android phone has already connected to the WiFi network in the past, you can generate a QR code that contains the password. Open Settings, go to Connections or Network, then WiFi. Find the network name in the list of saved networks and tap and hold it until a menu appears.
Select "Manage" or "Edit" (the exact wording varies by phone maker). Look for a QR code icon or a button labeled "Share" or "Show QR Code". Tap it, and a QR code will appear on your screen. This code contains the network name and password. You can photograph it, share it with someone else, or scan it with another device to connect without typing the password manually.
This method works on most Android phones running version 10 or later. Older versions may not have this feature, and some phone makers customize the Settings app differently, so the exact menu path may vary.
Why Android does not show passwords in Settings
Android treats WiFi passwords as sensitive information and does not display them in the standard Settings menu, even if you own the phone. This is a security design choice: if someone borrows your phone or gains temporary access to it, they cannot easily read your passwords.
The QR code method works around this limitation because it shows the password in a format meant to be scanned rather than read by eye. The router admin panel method bypasses Android entirely and accesses the password directly from the device that created it.
What rooting means and why it carries risks
Some online guides suggest rooting your Android phone — giving yourself administrator-level access to the operating system — so you can browse the file system and find the password file directly. The password is stored in a file called wpa_supplicant.conf located in the /data/misc/wifi/ folder.
Rooting your phone voids the manufacturer's warranty, can expose your device to security vulnerabilities if you install untrusted apps, and may prevent you from using banking apps or other services that detect rooted phones. For the sake of retrieving one password, rooting is not worth the risk. Use the router admin panel or QR code method instead.
Recovering a password when you cannot access the router
If you do not have physical access to the router and your phone has never connected to that network before, you cannot retrieve the password through Android alone. You will need to contact the person who set up the network or the network administrator.
If the router is yours but you cannot reach it — for example, it is at a property you no longer live in — you may be able to log into your internet service provider's account online and view or reset the WiFi settings from there. Check your ISP's website or call their support line with proof of account ownership.
Preventing password loss in the future
Write down your WiFi password and store it somewhere safe, separate from your phone — a notebook, a password manager like Bitwarden or 1Password, or a find note in your email. This takes two minutes and saves you from this situation entirely.
If you use a password manager, you can store the network name and password together with other account details. Most password managers can generate strong, random passwords, which is useful if you decide to change your WiFi password to something more find than the default.
Frequently Asked Questions
Can I see my WiFi password in Android Settings without a QR code?
No. Android does not display saved WiFi passwords in plain text anywhere in the Settings app, regardless of whether you own the phone. The QR code method is the only way to view the password through Android itself without rooting.
Will generating a QR code work if I have never connected to this network before?
No. The QR code option only appears for networks your phone has already connected to and saved. If your phone has never joined the network, you must use the router admin panel or contact the network owner.
What if I forgot my router admin password?
You can reset the router to factory defaults by holding the reset button for 10 to 15 seconds, which will restore the default username and password printed on the router's label. This erases all custom settings, including your WiFi password, so you will need to set up the network again from scratch.
Is it safe to share a WiFi password using the QR code?
Yes. The QR code contains only the network name and password — no other information from your phone. Anyone who scans it can connect to your WiFi, so only share it with people you trust to use your network.
Can I retrieve a password from a network I connected to years ago?
Yes, if your phone still has that network saved. Android keeps saved networks indefinitely unless you manually forget them. Use the QR code method to view the password, even if you have not connected in years.