Where your phone stores WiFi passwords
Your phone remembers WiFi passwords so you don't have to type them every time you connect. The password itself is stored in your phone's settings, but where and how you retrieve it depends on whether you use Android or iPhone — and whether you set up the network yourself or joined one someone else created.
On both systems, the password is encrypted and kept separate from your regular files. You cannot straightforward open a folder and read it like a document. Instead, you access it through the network settings menu, or in some cases through a QR code that your phone can generate.
Key Takeaways
- iPhone users can view a saved WiFi password through Settings > WiFi, then tap the network name and select "Share Password" — but only if you set up that network yourself.
- Android users can generate a QR code of the saved password through Settings > Network and Internet > WiFi, then tap the network and select "Share" — the exact path varies by manufacturer.
- If you did not set up the network, your phone cannot show you the password in plain text, but you can still share the connection with another device using a QR code.
- Resetting your phone or switching devices means you will lose access to saved passwords unless you back them up first.
- If you forget the password and cannot retrieve it from your phone, you will need to reset the router itself or contact the network owner.
Retrieving a WiFi password on iPhone
On iPhone, go to Settings, then WiFi. Find the network name you want the password for and tap the information icon (a small circle with an "i" inside). If you set up that network yourself, you will see an option that says "Share Password." Tap it, and your phone will display the password in plain text.
This only works if you were the one who originally connected to that network on this iPhone. If someone else set it up on a different device and you straightforward joined their network, the password will not appear — your phone knows the password but does not show it to you. In that case, you can still share the connection with another iPhone or iPad by having that person hold their device near yours and tapping "Share Password" on their phone instead.
If you need to share the password with an Android phone or a non-Apple device, ask the person who set up the network to generate a QR code from their iPhone. You can then scan that code with any phone to join without typing the password.
Retrieving a WiFi password on Android
Android phones do not display saved passwords in plain text the way iPhones do. Instead, you generate a QR code that contains the password. Go to Settings, then Network and Internet (or just WiFi, depending on your phone brand). Find the network you want and tap it, then look for a "Share" button or icon.
Tapping Share will show you a QR code. Anyone with a phone — iPhone, Android, or other device — can scan this code to join the network without typing the password. This is often easier than trying to read a password aloud or write it down.
The exact path through Settings varies by manufacturer. Samsung phones may label it differently than Google Pixel phones, and older Android versions may have the option in a different location. If you cannot find it in WiFi settings, try searching your phone's Settings app for "QR code" or "share network."
What to do if you cannot find the password
If your phone does not show the password and you did not set up the network, the password is still stored on your phone but encrypted in a way you cannot access. Your phone can use it to connect automatically, but it cannot show it to you in readable form.
In this situation, you have two options. First, ask the person who set up the network — they can generate a QR code from their phone, or they can tell you the password directly. Second, if you have physical access to the router (the device that broadcasts the WiFi signal), you can reset it to factory settings and set up a new password. Resetting the router will disconnect everyone currently on the network and erase all saved settings, so only do this if you own the router or have permission from whoever does.
Backing up WiFi passwords before switching phones
When you get a new phone, your saved WiFi passwords do not automatically transfer over. iPhone users can restore from an iCloud backup, which will include WiFi passwords. Go to Settings > [Your Name] > iCloud and make sure WiFi Passwords is toggled on before you switch phones.
Android users have fewer built-in options. Some phones back up WiFi passwords through Google Account settings, but this is not may provide. The safest approach is to write down the passwords, take screenshots of QR codes, or ask the network owner to generate a fresh QR code that you can scan on your new phone.
Security and privacy when sharing passwords
When you share a WiFi password — whether by showing it, reading it aloud, or generating a QR code — you are giving someone access to your network. That person can see other devices on the network and, depending on how the router is configured, potentially access shared files or printers.
If you share a password with someone you no longer trust, the only way to remove their access is to change the WiFi password on the router itself. straightforward removing them from your phone's network list does not disconnect them. After you change the password, you will need to reconnect all your own devices using the new password.
QR codes are generally safer than typing passwords because they are harder to misread or accidentally share with the wrong person. If you are sharing a network with guests or temporary users, consider setting up a separate guest network on your router with its own password, rather than giving out your main network password.
Frequently Asked Questions
Can I see a WiFi password if I joined someone else's network?
No, not in plain text. Your phone stores the password but keeps it encrypted so you cannot read it. You can still share the connection with another device by generating a QR code, or by asking the network owner to share the password with you directly.
What happens to my saved WiFi passwords if I factory reset my phone?
They are deleted. Before you reset your phone, back up your data through iCloud (iPhone) or Google Account (Android). Make sure WiFi passwords are included in the backup. When you restore from that backup on a new phone, the passwords will return.
Can I retrieve a WiFi password from my phone if I forgot it?
Only if you set up the network yourself on an iPhone — then you can view it in Settings. On Android, you can only generate a QR code. If neither works, contact the network owner or reset the router to factory settings and create a new password.
Is it safe to share a WiFi password using a QR code?
Yes, QR codes are safer than typing passwords because they are harder to misread or intercept. However, anyone who scans the code gains access to your network. If you want to revoke access later, you must change the WiFi password on the router itself.
Why does my Android phone show a QR code instead of the actual password?
Android encrypts saved passwords differently than iPhone. The QR code contains the password in a format that other devices can read automatically, which is often more practical than typing it manually. You cannot view the password as text, but the QR code serves the same purpose.