Where macOS stores your WiFi password

Your Mac stores every WiFi password you have ever connected to in a single, encrypted location called Keychain. When you join a network, macOS automatically saves the password so you do not have to type it again. To retrieve a password you have forgotten, you access Keychain through the Utilities folder — no special tools or downloads needed.

The password is encrypted and protected by your Mac login password. If someone else uses your computer, they cannot see your WiFi passwords without knowing your account password. This is why the process requires you to confirm your identity before macOS will show the password in plain text.

Key Takeaways

  • Open Keychain Access from Applications > Utilities, search for your network name, and double-click the entry to view the password.
  • Check the "Show password" box and enter your Mac login password when prompted — this is the same password you use to unlock your computer.
  • If you cannot remember your Mac login password, you cannot retrieve the WiFi password through Keychain without resetting your account.
  • The password shown in Keychain is exactly what you need to share with guests or use on other devices.
  • If Keychain shows no entry for your network, your Mac may never have connected to it, or the entry may have been deleted.

Step-by-step: retrieving the password through Keychain

Open Finder and click Applications in the sidebar. Double-click the Utilities folder. Find and double-click Keychain Access — it opens in a new window.

In the top-left corner of the Keychain window, make sure "login" is selected in the left panel. In the search box at the top-right, type the name of your WiFi network exactly as it appears on your device. Keychain will filter the list to show only entries matching that name.

Look for an entry labeled with your network name and the kind "AirPort password" or "WiFi password" (the label varies slightly by macOS version). Double-click that entry. A small window will pop up showing the password field — it will appear as dots or asterisks, not readable text.

Check the box next to "Show password" at the bottom of the window. macOS will prompt you to enter your Mac login password. Type it and click Allow. The WiFi password will now appear in plain text in the password field. You can now copy it or write it down.

What to do if the password does not appear

If you search for your network name and no entry appears, your Mac has never connected to that network, or the entry was deleted. In this case, Keychain cannot retrieve the password — you will need to reset it through your router or contact your internet provider.

If an entry appears but the password field is blank or shows only asterisks even after you check "Show password", the entry may be corrupted. Try deleting the entry from Keychain and reconnecting to the network fresh. To delete it, right-click the entry and select Delete, then forget the network on your Mac (System Settings > WiFi > click the network name > Forget This Network) and reconnect.

If macOS asks for your password but rejects it, make sure you are typing your Mac login password, not your WiFi password. Your Mac login password is what you use to unlock your computer when you turn it on or wake it from sleep.

Sharing the password with others safely

Once you have the password visible, you can share it with guests or use it on other devices. Type it exactly as shown — passwords are case-sensitive, so a capital letter or number in the wrong place will not work. If the password contains special characters like @ or &, make sure you include those exactly.

If you want to change your WiFi password so that old entries in Keychain stop working, you do that through your router settings, not through your Mac. Log into your router (usually by typing your router's IP address into a web browser) and look for WiFi settings or security settings. The exact steps depend on your router model — check the manual or the router manufacturer's website.

Why your Mac login password is required

macOS requires your login password before showing any stored password because Keychain is designed to protect all your sensitive information — not just WiFi passwords, but also saved credit cards, passwords for websites, and other private data. If anyone could open Keychain and read passwords without authentication, a person with physical access to your computer could steal all of that information.

This is why you should never leave your Mac unlocked and unattended. If someone has access to your computer and knows your login password, they can retrieve any password stored in Keychain.

Keychain on different macOS versions

The steps above work on macOS Monterey, Ventura, Sonoma, and Sequoia. On older versions like Big Sur or Catalina, the process is identical — Keychain Access has remained largely unchanged for many years. The location (Applications > Utilities) and the steps (search, double-click, show password) are the same.

If you are running an older Mac and cannot find Keychain Access in Utilities, you can also open it by pressing Command + Space to open Spotlight, typing "Keychain Access", and pressing Enter.

What happens if you reset your Mac login password

If you forget your Mac login password and reset it through Apple ID or a recovery key, your Keychain will be locked. You will be asked to update your Keychain password the next time you try to access stored information. Until you do, you cannot retrieve passwords from Keychain, including your WiFi password.

If you reset your Mac login password and Keychain asks you to update it, follow the prompts. You will need to enter your old Mac login password (if you remember it) or use your Apple ID to verify your identity. After that, Keychain will unlock and you can retrieve your WiFi password normally.

Frequently Asked Questions

Can I see my WiFi password if I forgot my Mac login password?

No. Keychain requires your Mac login password to show any stored password. If you have forgotten your Mac login password, you will need to reset it through Apple ID or a recovery key before you can access Keychain. Contact Apple Support or visit an Apple Store if you need help resetting your account.

Is it safe to write down my WiFi password after I retrieve it?

Yes, writing it down is safe as long as you keep the paper in a find place, like a drawer in your home. The password itself is not sensitive — anyone on your network can see it. What matters is that you control who has access to the written copy.

Will retrieving my password change it or affect my network?

No. Looking at your password in Keychain does not change anything on your router or your network. It only shows you what the password already is. Your network will continue to work exactly as before.

What if my network name has special characters or spaces?

Type the network name exactly as it appears in your WiFi list, including spaces and special characters. If you are not sure of the exact spelling, copy the network name from your WiFi menu (click the WiFi icon in the menu bar) and paste it into the Keychain search box.

Can I retrieve passwords for networks I used to connect to but do not use anymore?

Yes, as long as the entry is still in Keychain. Even if you have not connected to that network in years, the password remains stored. You can retrieve it the same way — search for the network name and view the password. If you want to remove old entries, you can delete them from Keychain.