How to view saved Wi-Fi passwords in macOS

Updated: 03/10/2024 by Computer Hope
macOS Big Sur

After accessing a Wi-Fi network for the first time, most users choose to save the password so they don't have to enter it each time they connect. While this feature is helpful, it can make remembering the password more difficult for those times when you want to share network access with friends or family, or use a different device.

Luckily, macOS users, such as those on a MacBook or iMac, have several ways to view saved Wi-Fi passwords. To proceed, select your preferred method from the list below and follow the instructions.

Using System Settings

The steps below show you how to view saved Wi-Fi passwords by going through the System Settings menu in macOS.

  1. At the top of the screen, on the far-left side of the menu bar, click the Apple icon.
  2. Select System Settings from the Apple menu.

System Settings selector in macOS.

  1. In the sidebar, click the Network selector (A), and then click the Wi-Fi entry at the top of the section on the right (B).

Wi-Fi section under Network in macOS.

  1. Scroll to the bottom of the Wi-Fi section and then click the Advanced button.

Advanced button under Networks in macOS.

  1. Under Known Networks, locate the appropriate Wi-Fi connection and click the kebab menu to the right of the connection entry.

Known Networks list in macOS.

  1. Select Copy Password from the drop-down menu.

Copy Password selector in macOS.

  1. Paste the password in any text field or document to view it.

Using Keychain Access

The Keychain Access utility allows users to view any account and password information that was entered in macOS. The steps below show you how to view your Wi-Fi passwords using this program.

  1. In the Dock at the bottom of your screen, click the Finder icon.

Finder icon in the Dock.

  1. On the left side of the screen, under the Favorites section, click the Applications selector in macOS. selector.
  2. After clicking Applications, click the Utilities shortcut in the section to the right.

Utilities folder icon in macOS.

  1. Locate and double-click the Keychain Access icon.

Keychain Access icon in macOS.

  1. If prompted, click the Open Keychain Access button.

Open Keychain Access button in macOS.

  1. In the sidebar, select Local Items (A). Then, click the Passwords tab near the top of the window (B). Finally, double-click the network connection with the password you want to view (C).

Selecting a network to view in Keychain Access.

  1. In the bottom-left corner of the window that opens, click the checkbox next to Show password.

Checking the Show password box in macOS.

  1. Enter your account password and click the OK button.

Entering macOS password for Keychain Access.

  1. The Wi-Fi connection's password is displayed in the Show password field.

Wi-Fi network password displayed in macOS.

Using Terminal

If you know the name of your network connection, use the Terminal utility to view a saved Wi-Fi password.

  1. In the Dock at the bottom of your screen, click the Finder icon.

Finder icon in the Dock.

  1. On the left side of the screen, under the Favorites section, click the Applications selector in macOS. selector.
  2. After clicking Applications, click the Utilities shortcut in the section to the right.

Utilities folder icon in macOS.

  1. Locate and double-click the Terminal icon.

Terminal icon in macOS.

  1. Enter the command below, but replace "NETWORK NAME" with the network having the password you want to view.
security find-generic-password -ga NETWORK NAME | grep "password:"
  1. Enter your username and password, then click the Allow button.

Entering a username and password for admin access in Terminal.

  1. The Wi-Fi password for the network is displayed in the Terminal window.