How to Recover a Forgotten WiFi Password on Android

Ever been in that moment where a friend asks for your WiFi password and your mind goes blank? You know you’ve connected to it hundreds of times, but that string of characters is just gone. Don’t worry—if you’re using an Android phone, you’ve already got the password saved. You just need a way to dig it out. This guide is for anyone who’s ever forgotten a WiFi password and wants to recover it from their Android device without needing a degree in computer science. By the end, you’ll have your password in hand, ready to share or save.


We’ll cover multiple methods—from the built-in QR code trick on Android 10 and up, to using free apps, and even a command-line approach for the more adventurous. No root? No problem. Most methods work on stock Android. If you’ve already tried general recovery tips, check out our wifi password recovery for beginners guide for more context. Otherwise, let’s dive in and get that password back.


What You’ll Need


  • An Android device that is currently connected (or has been connected) to the WiFi network you want to recover.
  • Android 10 or later for the easiest QR code method (most phones from 2019 onward).
  • A third-party app if your phone doesn’t have QR sharing (we’ll recommend a safe one).
  • Optional: a USB cable and a computer if you want to try the ADB method.
  • Optional: root access if you want the absolute easiest route (but we won’t require it).


Step 1: Use the Built-in QR Code (Android 10+)


This is the quickest method and doesn’t require any extra apps. On Android 10 and later, Google added a way to share WiFi passwords via QR code, which also lets you view the plain-text password. Here’s how:


1. Open Settings on your phone.2. Tap Network & Internet (or Connections on Samsung).3. Select WiFi. You’ll see a list of saved networks. Tap the gear icon next to the network you want to recover.4. On the network details page, look for a Share button or a QR code icon (often at the bottom). Tap it.5. You’ll be asked to verify your identity—fingerprint, PIN, or pattern. Enter it.6. A QR code will appear on screen. Below the QR code, you’ll see the password in plain text (e.g., “Network password: MyPassword123”). Write it down or take a screenshot.


forgotten wifi password recovery android Android WiFi share QR code password recovery settings screenshot

Step 2: Use a Third-Party App (No Root, Android 9 and Below)


If your phone is on Android 9 or earlier, or the QR code option isn’t available, don’t sweat it. There are a bunch of apps that can read saved WiFi passwords without root. The safest bet is a well-reviewed open-source app like WiFi Password Viewer or WiFi Key Recovery. These apps simply display the passwords stored in your system. For a reliable wifi password recovery software setup, follow these steps:


1. Go to the Google Play Store and search for “WiFi password viewer” or download a trusted app. We recommend one with high ratings and no ads.2. Install and open the app.3. Grant the app permission to access your location (this is required to see nearby networks). Don’t worry—it’s a system limitation.4. The app will show a list of saved networks. Tap on the one you need.5. The password will be displayed in plain text. Copy it or write it down. For a more comprehensive list of apps, check our wireless password recovery android guide.


forgotten wifi password recovery android Android WiFi password viewer app showing saved network password list

Step 3: Use ADB (Advanced, No Root)


If you’re comfortable connecting your phone to a computer, you can use Android’s built-in ADB tool to pull the WiFi configuration file. This works on any Android version, no root needed. Here’s the wifi password recovery no root android method:


1. Enable Developer options on your phone: Go to Settings > About phone, tap Build number 7 times.2. Go to Developer options (under System) and enable USB debugging.3. Connect your phone to your computer via USB. Accept the debugging prompt on your phone.4. On your computer, open a command prompt or terminal and type: adb shell.5. Then type: su (if you don’t have root, this won’t work—skip to next command). If you don’t have root, type: adb shell cat /data/misc/wifi/WifiConfigStore.xml.6. You’ll see a large XML output. Look for the network name (SSID) and the password (usually next to “PreSharedKey”). The password is between quotation marks. This method is a bit technical but very powerful. For more tips, see our wifi password recovery after system crash guide.


forgotten wifi password recovery android ADB command prompt WiFi password recovery Android XML file

Step 4: Use Root Access (If You Have It)


If your phone is rooted, you have the easiest path of all. Root gives you direct access to the system file that stores all WiFi passwords. Simply use a file explorer that can access root directories (like Root Explorer or Solid Explorer) and navigate to /data/misc/wifi/. Open the file wpa_supplicant.conf for older Android versions, or WifiConfigStore.xml for newer ones. The passwords are stored in plain text under each network block. For a full walkthrough, check out our wifi password recovery free guide.


forgotten wifi password recovery android Root file explorer Android wpa_supplicant.conf password display

Common Pitfalls


  • QR code not showing password: On some Samsung phones, the QR code only appears without the plain-text password below it. In that case, you can scan the QR code with another phone’s camera to get the password (it’s stored in the QR data as a string like ‘WIFI:S:MyNetwork;T:WPA;P:MyPassword;;’).
  • Third-party app not working: Many apps have been removed from the Play Store due to policy changes. Try an alternative from a trusted source like F-Droid, or use the ADB method instead. Avoid apps that ask for unnecessary permissions.
  • Forgot the network entirely: If your phone has never connected to that network, you cannot recover the password from it. You’ll need to ask the network owner or reset the router. For other devices, see our wifi password recovery for beginners guide.


Where to Next


Now that you’ve recovered your WiFi password, consider backing it up so you never lose it again. You can save it in a password manager or write it down in a secure place. If you have multiple devices, learn how to recover passwords on other platforms—whether it’s a Mac, Windows PC, or iPhone. And if you ever run into a system crash, our wifi password recovery after system crash guide has you covered. Stay connected!

Leave a Reply

Your email address will not be published. Required fields are marked *