Where your Mac stores the WiFi password

Your Mac keeps WiFi passwords in the Keychain, a built-in password manager that stores login information for networks, websites, and accounts. When you connect to a WiFi network, macOS saves the password automatically so you don't have to type it in again. You can retrieve that password through Keychain Access, a utility that comes with every Mac.

The password is encrypted and protected — only you can see it if you know your Mac's login password. This is why macOS asks for your account password when you try to view a stored WiFi password. It's a security feature that prevents someone else from sitting down at your Mac and stealing all your network credentials.

Key Takeaways

  • WiFi passwords are stored in Keychain Access, which you can open by searching for "Keychain Access" in Spotlight.
  • You must know your Mac's login password to view a stored WiFi password — macOS will ask you to authenticate before showing it.
  • Search for your network name in Keychain, double-click it, check the "Show password" box, and enter your Mac password when prompted.
  • If you can't find the network in Keychain, your Mac may not have saved the password, or you may need to reconnect to the network first.

Opening Keychain Access on your Mac

Press Command + Space to open Spotlight search, then type "Keychain Access" and press Enter. The Keychain Access window will open. You'll see several categories on the left side — ignore those for now. At the top right, make sure you're looking at the "Passwords" category (it should be selected by default).

If Keychain Access doesn't open, you can also find it by going to Applications > Utilities > Keychain Access. Either method takes you to the same place.

Finding your WiFi network in Keychain

In the search box at the top right of the Keychain Access window, type the name of your WiFi network exactly as it appears on your device list. For example, if your network is called "Smith_House_5G", type that. The list below will filter to show only matching entries.

Your network name should appear in the results. It will show as a "AirPort network password" or similar entry. If you don't see it, your Mac may not have saved the password — this happens if you've never successfully connected to that network on this Mac, or if you cleared your Keychain. Try connecting to the network again and then search again.

Viewing the password itself

Double-click the network name in the list. A window will pop up showing details about that network connection. Near the bottom, you'll see a checkbox labeled "Show password" — it will be unchecked. Click that checkbox.

macOS will ask you to enter your Mac's login password (the password you use to unlock your Mac when you start it up). Type it in and click "Allow". The WiFi password will now appear in plain text in the "Password" field. You can now read it, write it down, or copy it to share with someone else.

Copying the password to share it

Once the password is visible, you can highlight it with your mouse and press Command + C to copy it. Then you can paste it into a message, email, or document. Close the window when you're done — your Mac will automatically re-lock the password field.

If you're sharing the password with guests or family members, consider using a password manager or a shared note app instead of texting it in plain text. This keeps the password from sitting in message history where it could be seen later.

What to do if the password isn't there

If you search for your network name and nothing appears, your Mac hasn't saved that password. This usually means you've never connected to that network on this particular Mac. The solution is to connect to the network now: go to the WiFi menu in the top right corner of your screen, select your network, enter the password, and click "Join".

Once you've successfully connected, wait a few seconds, then go back to Keychain Access and search again. The password should now appear. If it still doesn't show up after connecting, try restarting your Mac and searching again — sometimes Keychain takes a moment to sync.

Changing a password you've found

If you want to change your WiFi password itself (not just view the stored one), you'll need to log into your router's settings, not Keychain. The steps vary depending on your router brand. Generally, you open a web browser, go to your router's IP address (usually 192.168.1.1 or 192.168.0.1), log in with your router's admin password, and look for a WiFi settings or security section.

Once you change the password on the router, your Mac will forget the old one. The next time you try to connect, macOS will ask you for the new password, and it will save that instead. You don't need to manually update Keychain — it happens automatically.

Frequently Asked Questions

What if I forgot my Mac's login password?

You won't be able to view the WiFi password without it — macOS requires your account password for security. You'll need to reset your Mac password through System Settings or use your Apple ID to reset it. Once you can log in again, you can view the WiFi password in Keychain.

Can I see WiFi passwords for networks I'm not currently connected to?

Yes, as long as your Mac has connected to that network before and saved the password. Keychain stores passwords for all networks you've ever joined, whether you're currently connected or not. Just search for the network name and follow the same steps.

Is it safe to write down my WiFi password after viewing it?

Yes, writing it down is fine. The main security risk is someone accessing your Mac without permission — once they're logged in, they can see all your passwords. If your Mac itself is find, writing down the WiFi password doesn't create a new vulnerability.

Why does my network appear twice in Keychain?

Networks sometimes appear multiple times if you've connected to them on different bands (like 2.4 GHz and 5 GHz) or if your router broadcasts multiple names. Both entries should have the same password. If they don't, your router may have been misconfigured at some point.