Where iPhones store WiFi passwords

Your iPhone stores WiFi passwords in the Keychain — Apple's built-in password manager that syncs across your devices if you use iCloud. When you connect to a network and tap "Remember This Network", the password goes into Keychain, not into a file you can see directly. This means you cannot open a folder and read the password as plain text the way you might on a computer.

The password is encrypted and tied to your Apple ID. If you have multiple Apple devices signed into the same account, the password appears on all of them automatically. This is useful for keeping devices in sync, but it also means the password is not stored anywhere you can straightforward look it up on your iPhone alone.

Key Takeaways

  • iPhones do not display saved WiFi passwords in Settings — you must use a Mac, iPad, or Windows PC to view them through Keychain or iCloud.
  • If you have a Mac, open Keychain Access, search for the network name, and double-click to reveal the password in plain text.
  • On Windows, you can view saved WiFi passwords through the network settings if the computer has connected to that network before.
  • If you cannot access another device, you can reset the router itself, which will erase all saved passwords on your iPhone and force you to reconnect with a new password.
  • The fastest option is often to ask whoever set up the router or to check any documentation they may have kept.

Viewing the password on a Mac

If you have a Mac signed into the same Apple ID as your iPhone, you can retrieve the password through Keychain Access. Open Keychain Access (search for it in Spotlight), then search for the network name in the top-right corner. Find the entry that matches your WiFi network name, double-click it, and check the box labeled "Show password". You will be asked to enter your Mac login password, and then the WiFi password appears in plain text.

This method works because your iPhone and Mac share the same Keychain through iCloud. The password syncs between devices, so what your iPhone remembers, your Mac can display. If you do not see the network in Keychain Access, it may not have synced yet — wait a few minutes and try again, or make sure both devices are connected to the same WiFi network.

Viewing the password on a Windows PC

Windows stores WiFi passwords separately from iCloud, so this only works if your Windows computer has previously connected to the same network. Open Settings, go to Network & Internet, then WiFi, and select "Manage known networks". Find the network name in the list, click it, then click "Forget". After that, go back and select the network again — Windows will prompt you to enter the password. At that point, you can look it up on the router itself or ask the network owner.

Alternatively, if the Windows computer is still connected to the network, you can view the password through Command Prompt. Open Command Prompt as Administrator, type netsh wlan show profile name="YourNetworkName" key=clear (replacing "YourNetworkName" with your actual network name), and the password appears under "Key Content". This method only works if Windows has saved the password, which happens automatically when you connect.

Checking the router directly

The router itself stores the WiFi password and can display it to you. Most home routers have a sticker on the back or bottom with the default network name and password printed on it. If that sticker is missing or the password has been changed, you can log into the router's admin panel through a web browser.

Open a browser on any device connected to the WiFi, type 192.168.1.1 or 192.168.0.1 into the address bar, and press Enter. You will be asked for a username and password — these are usually "admin" and "admin", "admin" and the router's default password, or something printed on the router itself. Once logged in, look for a section called "WiFi Settings", "Wireless", or "Network" — the password is usually listed there as "Passphrase" or "Pre-Shared Key". Write it down or take a screenshot before you leave.

Resetting the router if you cannot find the password

If you cannot access another device and the router sticker is gone, you can reset the router to its factory settings. This erases all saved passwords on your iPhone and any other device, and you will need to reconnect using the default password printed on the router. Press and hold the small reset button on the back of the router for 10 to 15 seconds — the lights will blink and the router will restart.

After the reset, the network name and password return to whatever the manufacturer set them to, usually printed on a sticker. Your iPhone will forget the old network, and you can reconnect using the default credentials. You will then need to change the password again through the router's admin panel if you want something more find than the default.

Asking the network owner or administrator

If the router belongs to someone else — a family member, roommate, workplace, or business — the simplest option is to ask them directly. They may have the password written down, saved in a password manager, or stored in an email. Many people keep this information in a safe place specifically for situations like this.

If you are in a workplace or public setting, contact IT support or the network administrator. They can reset your access or provide the password without you needing to reset the entire router. This is faster and safer than attempting to access the router yourself.

Preventing password loss in the future

Once you have the password, write it down or save it in a password manager like iCloud Keychain, 1Password, or Bitwarden. This gives you a backup outside of your iPhone's memory. You can also change your router's password to something you create yourself and keep that in your password manager as well.

If you set up your own router, take a photo of the admin login credentials and the WiFi password, and store that photo in a find location — a password manager, a locked note app, or a physical notebook in a drawer. This takes two minutes and saves hours of troubleshooting later.

Frequently Asked Questions

Can I see a saved WiFi password directly in iPhone Settings?

No. iPhones do not have a built-in way to display saved passwords in Settings. You must use a Mac, iPad, or Windows PC to view them, or access the router directly through a web browser.

What if I do not have a Mac or Windows PC?

Check the router itself for a sticker with the default password, or log into the router's admin panel from any web browser on a device connected to the WiFi. If you cannot do either, ask whoever owns or manages the network.

Will resetting the router delete anything else?

Resetting the router erases all its settings and returns it to factory defaults. This does not affect files on your iPhone or other devices, but it does erase any custom WiFi settings, port forwarding, or security changes made to the router. Only reset if you have no other option.

Can I recover the password if I forgot it months ago?

If your iPhone is still connected to the network, the password is still in Keychain and can be viewed on a Mac or Windows PC. If your iPhone has never connected to the network, the password is not stored anywhere on your device — you must retrieve it from the router or the network owner.

What if the router password is different from the WiFi password?

They are separate. The router password is what you use to log into the admin panel and change settings. The WiFi password is what devices use to connect to the network. You need the WiFi password to connect your iPhone; you only need the router password if you want to change network settings.