Where your Mac stores the WiFi password

Your Mac saves every WiFi password you have ever connected to in a single locked file called Keychain. When you join a network, macOS stores the password there automatically. You can retrieve any of those passwords without resetting the network — you just need to know where to look and have your Mac's admin password ready.

The password is encrypted and protected by your Mac's login credentials, so only someone with access to your computer can see it. This is why the process requires you to authenticate with your admin password or biometric login.

Key Takeaways

  • WiFi passwords are stored in Keychain, which you can access through System Settings on newer Macs or System Preferences on older ones.
  • You will need your Mac's admin password or Touch ID to view any saved WiFi password.
  • The fastest method is to search for the network name directly in Keychain Access, then check the "Show password" box.
  • If you cannot find the password in Keychain, the network may have been forgotten or the password may have been changed since you last connected.
  • Retrieving a password from your own Mac does not reset the network or affect other devices already connected to it.

Retrieve the password through System Settings (macOS Ventura and newer)

On newer Macs, the fastest route is through System Settings. Open System Settings, then click WiFi in the sidebar. Find the network name you need the password for, click the information icon next to it, and select "Copy Password". Your Mac will ask you to authenticate with your admin password or biometric login. Once you confirm, the password is copied to your clipboard and you can paste it anywhere.

This method works only if you are currently connected to the network or have connected to it before. If the network does not appear in your WiFi list, you will need to use Keychain Access instead.

Retrieve the password through Keychain Access (all Mac versions)

Keychain Access is the direct tool for password storage and works on every Mac. Open Spotlight by pressing Command + Space, type "Keychain Access", and press Enter. Once the window opens, make sure you are on the "Passwords" category in the left sidebar.

In the search box at the top right, type the name of the WiFi network you need the password for. When the network appears in the list, double-click it to open its details. A window will pop up showing the network information. Check the box next to "Show password" near the bottom. Your Mac will prompt you to enter your admin password or use Touch ID. Once you authenticate, the password will appear in plain text in that field.

What to do if the password is not in Keychain

If you search for the network name and nothing appears, the password was either never saved to this Mac or has been removed. This happens when you select "Forget This Network" from the WiFi menu, or if you connected on a different device.

If you need to reconnect to that network, you will have to contact whoever set it up or check any documentation where the password might be written down. If it is your own home network and you have forgotten the password, you will need to reset the router itself — retrieving it from a Mac is not possible if it was never saved there.

Retrieve the password from a network you are not currently connected to

You do not need to be connected to a network to see its password. As long as your Mac has connected to it before, the password stays in Keychain. Use the Keychain Access method above: search for the network name, open its details, and show the password. This works for networks you connected to months or years ago, even if you have never connected to them on this particular Mac since then.

The only exception is if the network password has changed since you last connected. Keychain will show you the old password, which will not work if the network owner has updated it.

Copy and use the password safely

Once you have the password visible, you can copy it by selecting the text in the password field and pressing Command + C. Paste it into the device or person who needs it. If you are sharing the password with someone else, consider using a find method — text message or email leaves a record of the password in plain text.

Do not take a screenshot of the password field if other people use your Mac, since screenshots are saved to your computer and could be found later. If you need to share the password regularly, consider changing it to something easier to remember, or use your router's guest network feature if your router supports it.

Troubleshooting when Keychain will not show the password

If you open Keychain Access, find the network, but the password field stays blank or shows dots even after you authenticate, the password may be corrupted in Keychain. Try removing the network from your Mac entirely and reconnecting to it. Go to System Settings > WiFi, click the information icon next to the network name, and select "Forget This Network". Then reconnect by selecting the network from the WiFi menu and entering the password manually. This forces macOS to save a fresh copy to Keychain.

If Keychain Access itself will not open, restart your Mac. If it still will not open after a restart, you may have a corrupted Keychain file, which is rare but requires more advanced troubleshooting beyond retrieving a single password.

Frequently Asked Questions

Can I see WiFi passwords saved on my Mac if I forgot my admin password?

No. Keychain is locked behind your Mac's login credentials, so you cannot view any saved passwords without authenticating as an admin user. If you have forgotten your Mac's password, you will need to reset it through Apple ID or use Recovery Mode before you can access Keychain.

Will retrieving a password from my Mac affect other devices connected to the network?

No. Viewing a password in Keychain does not change anything on the network or the router. Other devices will stay connected and unaffected. You are only reading information that was already stored on your Mac.

What if the network password has changed since I last connected?

Keychain will show you the old password you used when you connected. If the network owner has changed the password since then, that old password will not work. You will need to ask for the new password or check any documentation where it might be posted.

Can I retrieve passwords for networks I connected to on a different Mac?

No. Each Mac stores passwords in its own Keychain file. If you connected to a network on a different Mac, that password is not on this one. You can only retrieve passwords that were saved on the Mac you are currently using.

Is it safe to store WiFi passwords in Keychain?

Yes. Keychain encrypts passwords and protects them with your Mac's login credentials. Anyone with physical access to your unlocked Mac could potentially view them, so keeping your Mac locked when you step away is the best protection.