How to View Your Wi-Fi Password on a Mac: Complete Instructions

It's quite common to need to connect a new device to an existing wireless network but forget or lose the password. Apple device owners often find themselves in a quandary, as macOS hides this information from the user for security reasons. However, the system stores all necessary access keys in a special secure vault, and they can be retrieved using standard operating system tools without installing third-party software.

There are several proven methods for retrieving saved encryption keys, depending on the version of the operating system installed. Newer versions of macOS, such as Ventura, Sonoma, and Sequoia, have significantly updated the Preferences interface, while older versions use the classic Keychain Access approach. Below, we'll cover both options in detail, as well as a command line option for advanced users.

Using Keychain Access on older versions of macOS

For operating systems running Catalina, Big Sur, and earlier, the primary password management tool is the utility Bunch of keysThis system component securely stores not only Wi-Fi network keys but also website passwords, secure notes, and certificates. To use this method, open Finder, go to the "Applications" folder, then the "Utilities" folder, and launch the "Keychain" app.

After launching the program, you'll see a list of all categories on the left side of the window. Select the "Passwords" or "System" section to filter saved credentials. In the "Name" list, find the name of your wireless network (SSID). Please note that if you've previously connected to this network with administrator rights, a record of it is guaranteed to be present in the system database.

Double-click the found network name to open the properties window. In the dialog box that appears, find the "Show password" checkbox and enable it. The system will ask you to verify your identity by entering your Mac user account password or using Touch ID. Once successfully authenticated, the required access code will be displayed in text format in the field next to the checkbox.

It is important to understand that iCloud Keychain syncs this data across all your Apple devices using the same Apple ID. This means that if you've ever entered a password on your iPhone or iPad, it will automatically appear on your Mac, and vice versa. However, to view it locally on the computer itself, you only need the current user's permissions.

Finding your password in macOS Settings on Ventura, Sonoma, and later

With the release of macOS 13 Ventura, Apple completely redesigned the System Preferences interface, making it more iOS-like. In new versions of the operating system, including Sonoma and Sequoia, Wi-Fi password management has been moved to a separate section, making viewing saved data much more intuitive and easier for the average user.

To get started, open the Apple menu in the upper left corner of the screen and select "System Preferences." In the sidebar, find the "Wi-Fi" section and click it. Next, scroll down to the "Advanced" button or look for the list of known networks, usually located next to the wireless switch.

Find the desired connection in the list of networks. Next to the network name, you'll see an icon with three dots or a "More Details" button. Tapping it will take you to the network properties menu. The "Password" field will display a set of stars or dots. To view the hidden text, simply tap the eye icon or the "Show" button. The system will then prompt you for biometric verification via Touch ID or your password.

📊 What version of macOS are you currently using?
Catalina or older
Big Sur / Monterey
Ventura / Sonoma
Sequoia / Newer

This method is the most secure and stable for modern computers. MacBook Air And MacBook Pro with Apple Silicon processors. The interface is minimalist, and the risk of accidentally changing critical network settings is minimized, as the user interacts only with visual elements.

Using the Terminal for Advanced Users

For those who prefer the command line to the graphical interface, or in cases where the GUI is not working correctly, there is an option to extract the password via Terminal. This method requires careful command entry, but provides quick results, especially if you need to copy the password to paste into another file or configuration.

Open the Terminal app via Spotlight (Cmd + Space) or the Utilities folder. To list all saved Wi-Fi profiles, you can use a command that accesses Keychain. However, to immediately retrieve the password for a specific network, use the utility security. Enter the following construction, replacing Network_Name to the real name of your router:

security find-generic-password -wa "Network_Name"

After pressing Enter, the system will ask for permission to access Keychain. You will need to click "Always allow" or enter your administrator password. If the command is successful, the password will be displayed in cleartext on the next line in the terminal. This method is especially useful for automation scripts or quickly checking connections on servers.

What to do if the command is not found?

Make sure you correctly specified the network name in quotation marks. If the network has never connected to this Mac, there will be no entry for it in the local database, and the command will return an error.

It's worth noting that using the command line provides deeper access to the system, but requires caution. Incorrect use of command flags security may block access to other Keychain items, so it is recommended to strictly follow the syntax.

View your password on iPhone or iPad

If you can't access your Mac directly, but have an iPhone or iPad with iCloud sync enabled, you can retrieve your password from your mobile device. This feature became available in iOS 16 and iPadOS 16, and it fully mirrors the data stored on your Mac.

Go to "Settings" on your mobile device and select "Wi-Fi." Find the network you need to know the password for and tap the information icon (the blue "i" in a circle). In the menu that opens, find the "Password" field and tap it. Your device will prompt you for Face ID, Touch ID, or a passcode, after which the hidden asterisks will turn into readable text.

The key advantage of this method is the ability to instantly copy. After the password appears on your iPhone's screen, you can tap "Copy" and send it to yourself via a message or paste it to your Mac via the Universal Clipboard if the devices are nearby and use the same Apple ID.

  • 📱 Open Settings on your iPhone or iPad.
  • 📡 Go to the "Wi-Fi" section and find the desired network.
  • 👁️ Click the eye icon in the password field and confirm your identity.

This scenario is ideal for situations where you need to connect a guest, but the Mac laptop itself is currently turned off or located elsewhere. Sync via iCloud Keychain happens almost instantly if you have an internet connection.

Compatibility table of methods and OS versions

To help you navigate the various access methods, we've prepared a summary table. It shows which method is most suitable for your specific situation and software version.

macOS version The main method Alternative method Access via iPhone
macOS 14 (Sonoma) and later System Preferences Terminal Yes (iOS 16+)
macOS 13 (Ventura) System Preferences Bunch of keys Yes (iOS 16+)
macOS 12 (Monterey) Bunch of keys Terminal No (iOS 16+ only)
macOS 11 (Big Sur) and later Bunch of keys Terminal No

As the table shows, Terminal remains the universal tool across all versions, but it requires some skill. For most users, a graphical interface will be preferable. If you're using an older version of macOS but have a modern iPhone, using a mobile device may be the fastest solution.

Possible problems and solutions

Sometimes users encounter situations where the described methods don't work. This is most often due to Keychain desynchronization or corruption of the system files responsible for storing login data. If the system returns an error or endlessly prompts for confirmation when attempting to view your password, try restarting your computer and trying again.

⚠️ Attention: If you reset Keychain or changed your account password, your old saved Wi-Fi passwords may be lost permanently. In this case, the system will assume you're connecting to the network for the first time.

Another common issue is guest access. If you're trying to view the password for a guest network or a corporate-level network with limited access, this data may not be stored in the user profile due to the organization's security policy. In such cases, you should contact your system administrator.

☑️ Check before resetting network settings

Completed: 0 / 4

It's also worth keeping in mind that interfaces and menu item names may vary slightly depending on your specific operating system build and regional settings. Always consult official Apple documentation if the default paths don't match what you see on your screen.

Security measures when working with passwords

While viewing saved passwords is extremely convenient, it also carries certain risks. Anyone with physical access to an unlocked Mac can easily obtain the keys to every network the device has ever connected to. Therefore, it's critical to use a strong login password and never leave the computer unlocked unattended.

We recommend regularly reviewing the list of saved networks in Keychain and deleting those you no longer use or that raise suspicions. This reduces the potential attack surface and prevents your device from automatically connecting to unsafe networks in the future.

Also, never share Wi-Fi passwords in plaintext via messaging apps or email, even if you've copied them from a Mac. Use secure communication channels or the Wi-Fi password sharing feature between Apple devices, which transmits the key encrypted.

Is it possible to view a Wi-Fi password even if my Mac isn't currently connected to the network?

Yes, you can. macOS keeps a history of all the networks you've previously connected to. Even if a network is out of range or you've removed it from your preferred list, the password entry remains in Keychain until you explicitly remove it.

What should I do if Keychain Access requires a password that I don't remember?

If you don't remember your Keychain password (which is often the same as your login password), you'll need to create a new Keychain. This will delete all old saved passwords but will allow the system to function normally. You can do this in the Keychain app by selecting File -> Reset My Primary Keychain.

Does this method work for 5GHz and 6GHz networks?

Yes, the wireless signal frequency (2.4 GHz, 5 GHz, or the new 6 GHz standard in Wi-Fi 6E) is irrelevant to the password extraction process. For the operating system, it's simply a database entry, regardless of the radio module's specifications.

Will my Keychain password disappear after updating macOS?

Usually not. During a routine operating system update, all user data, including Keychain, is preserved. However, when upgrading to a major version (for example, from macOS 14 to macOS 15), it is always recommended to have an up-to-date backup via Time Machine in case of unexpected data migration errors.