Sub topic 13
Viewing saved Wi-Fi passwords
This chapter assumes you have read the earlier chapters on iCloud Keychain syncing and on unlocking the Passwords app. You should know that the app asks for authentication before showing secrets, and that entries sync through your Apple Account. Here you will learn where Wi-Fi networks appear, what the app shows for each one, and what to do when a network is missing.
Where Wi-Fi passwords come from
When you join a password-protected Wi-Fi network on your Mac, macOS stores the network name and its password. If iCloud Keychain is on, that entry syncs to your other Apple devices. The Passwords app is a viewer for those stored entries. It does not create them by connecting to anything.
The Wi-Fi category therefore reflects what your devices have joined. It is not a list of every network you have used. The common cases are:
- A network you joined on this Mac or another signed-in device while iCloud Keychain was on appears in the list.
- An open network with no password has nothing to store, so it does not appear.
- A network you joined before you turned on iCloud Keychain may not have synced. It can still show up if the device that holds it syncs later.
- Enterprise networks that sign you in with a username and certificate (often called 802.1X or WPA Enterprise) use different credentials. Do not expect a single shared password for them.
Finding the Wi-Fi section
Open the Passwords app and look at the sidebar. Besides All, Passkeys, Codes, Wi-Fi, Security, and Deleted, you will also see any shared groups you belong to. Click Wi-Fi.
The list shows saved network names. Click one to see its details in the right pane. The password is hidden at first. To reveal it, you must have unlocked the app with Touch ID, your Apple Watch, or your Mac password. If the app has auto-locked, you will be asked again.
The details for a network include:
- The network name (the SSID).
- The password, shown after authentication.
- The security type, such as WPA2 or WPA3 Personal.
Use the search field at the top of the window to find a network by name, the same way you search logins. Search works from the All view, and also while a category is selected.
Typical tasks
Reading a password to give to a guest
This is the most common reason to open the section. Select the network, authenticate, and read the password out or copy it. Copying is safer than retyping because it avoids confusing characters such as a capital O and a zero.
To copy, Control-click the password field and choose the copy command, or select the text and use Command-C. Remember that the clipboard can be read by other apps, and it can be shared with your other Apple devices through Universal Clipboard. Paste it quickly and then copy something harmless over it if you are concerned.
Joining a network on a new device
You usually do not need to read the password at all. When a new device signs in with the same Apple Account and has iCloud Keychain on, it can join known networks automatically once the entries sync. Read the password in the app only when a device cannot sync, for example a game console or a laptop that is not signed in.
Checking which security type a network uses
A network that shows an older security type is a reason to look at the router's settings. The Security category of the app does not currently audit Wi-Fi networks, so this check is manual. If your router offers WPA3 or at least WPA2 with AES, switch to it, then rejoin from each device and let the entry update.
Updating a changed password
When someone changes the router password, your Mac still holds the old one. The Mac then fails to join, or keeps asking for a password. Fix it in this order:
- In System Settings, open Wi-Fi and click the network you want to rejoin.
- Enter the new password when asked.
- Reopen the Passwords app and confirm that the Wi-Fi entry shows the new value.
- Wait for the other devices to sync, or join the network once on each one.
If an old entry will not go away, open System Settings, choose Wi-Fi, click Advanced, and find the network in the known networks list. Use the menu beside it to remove it from the list. Then join it again so a fresh entry is created.
Optional: reading a password in Terminal
Advanced users sometimes read a Wi-Fi password from the command line, for example when scripting a device setup. The security tool queries the keychain. macOS will show a prompt asking for an administrator name and password before it returns anything.
# Replace HomeNetwork with the exact network name (SSID).
security find-generic-password -wa "HomeNetwork"The -w option prints only the password, and -a matches the account name, which for Wi-Fi is the network name. If the name does not match exactly, the command prints an error that the item could not be found. Names are case-sensitive and may contain spaces, so keep the quotes.
Edge cases and common mistakes
| Situation | What you see | What to do |
|---|---|---|
| Network joined only on an old device | Entry missing on the Mac | Make sure iCloud Keychain is on for both devices and wait for sync. Join it once on the Mac if needed. |
| Two networks with the same name | One entry or the wrong password | Check the router model, then rejoin the one you want. Rename your own router's network to something unique. |
| Hidden network | Entry present but only after you joined it manually | Join it again using **Other…** in the Wi-Fi menu, with the exact name. |
| Managed or school Mac | Section is empty or the password cannot be revealed | A profile from your organization controls these networks. Ask the administrator. |
| Authentication prompt keeps appearing | The app auto-locks quickly | Unlock again, copy what you need, then close the window. |
A few points are worth remembering.
- The Wi-Fi password that appears here is the one your device uses. If it is wrong, joining will fail, even though the entry looks fine. The Passwords app shows what is stored, not whether it works.
- Some guest or hotel networks use a web sign-in page after you join. That sign-in is not a Wi-Fi password and is not stored in the Wi-Fi category.
- A shared Wi-Fi password is not the same as a shared group entry. Sharing a group sends login entries to contacts. To let a guest join your network, give them the password directly, or use the sharing prompt that appears on an iPhone near their device.
- Anyone who can unlock your Mac as you can read the saved Wi-Fi passwords. Keep a strong login password and keep auto-lock on.
Good habits
- Give guests a separate guest network on the router, with its own password. Then you never need to reveal the main one.
- Change the router password if you gave it to someone you no longer trust. Update each of your devices afterwards.
- Do not store the Wi-Fi password in a Notes entry or a text file as a backup. The Wi-Fi category is already the backup.
- Treat a screenshot of the password the same way you would treat any exported secret, and delete it after use.
Exercise
A friend visits and asks for the password to your home Wi-Fi. Your Mac is already joined to it. Describe how to find the password in the Passwords app, and name one thing that could prevent the network from appearing in the list.
Show answer
Open the Passwords app, click Wi-Fi in the sidebar, select the network, and authenticate with Touch ID, Apple Watch, or your Mac password to reveal the password, then read or copy it. The network might be missing because it is an open or enterprise network with no stored shared password. It might also be missing because iCloud Keychain was off when it was joined.
Exercise
Your router password was changed yesterday. Your Mac now cannot join the network, although the Passwords app still lists the network. Why, and how do you fix it?
Show answer
The entry still holds the old password, and the app shows what is stored, not whether it works. Join the network from the Wi-Fi settings and type the new password, then check that the entry in the Passwords app has the new value. If the old entry stays, remove the network from the known networks list in Wi-Fi Advanced settings and join again.