How to Find Your Wi-Fi Password on a Mac: A Complete Guide

It's quite common to need to connect a new device to the network but lose the password. Apple device owners may encounter this if they've forgotten their access details but have previously connected their computer to the router. Fortunately, the operating system macOS has built-in tools for managing saved credentials.

Restoring access does not require installing third-party software, as all encryption keys are stored in the system's secure storage. Security Data here is a priority, so viewing will require confirmation of administrator rights or biometric authorization via Touch ID.

There are several effective methods for retrieving saved keys. The choice of a specific method depends on the operating system version installed and the user's personal preference between the graphical interface and the command line.

⚠️ Important: To complete the steps below, you must have physical access to a Mac that has previously successfully connected to the target Wi-Fi network and know the password for the user account.

Using Keychain Access in newer versions of macOS

Since version macOS Ventura And in more recent updates, Apple has significantly simplified the process of viewing passwords. Now you don't need to search through complex system utilities, as the functionality is built right into the main settings.

To begin, open System Preferences via the Apple menu in the upper left corner of the screen. Select System Preferences from the sidebar menu. Wi-Fi, which displays a list of known networks. A special icon or button for managing details will appear next to an active or previously connected network.

By clicking the "More Details" button or the information icon, you'll see a field with a masked password. Simply click on the hidden dots or the "Copy" button, and the system will ask you to confirm your identity. After entering your Mac password or scanning your fingerprint, access key will be shown in clear text.

📊 What version of macOS are you using?
Ventura or newer
Monterey or older
I don't know the version
I use Windows

This method is the safest and most convenient for the average user. The interface is fully customized, eliminating the risk of accidentally changing critical system settings.

Finding a password using the classic Keychain

If you're using an older version of the operating system or prefer the classic approach, Keychain Access will come to the rescue. This tool manages all saved passwords, certificates, and encryption keys on your device.

You can launch the application through Spotlight search by pressing the key combination Command + Space and enter the program name. In the window that opens, select "System" in the "Keys" category on the left, and find the name of your wireless network in the list of objects.

  • 🔍 Find your network name (SSID) in the list and double-click on it.
  • 🔓 In the properties window that opens, check the box next to "Show password."
  • 🆔 Enter your computer administrator password in the dialog box that appears to confirm.
  • 👁️ After successful authorization, the required access key will be displayed in the text field.

It's worth noting that in some cases, the network name in the list may differ from the actual SSID if specific settings were used during the connection. Make sure you select the correct entry, based on the "AirPort network password" entry type.

This method is universal and works on almost all models. MacBook And iMac, released over the last decade. It allows you to not only view but also edit or delete saved entries.

Using the Terminal command line

For experienced users who prefer speed and precision, using the command line is an excellent option. Terminal Allows you to access hidden system data without having to navigate through graphical menus.

Open the Terminal app via the Applications → Utilities folder or via Spotlight search. To retrieve the password, enter a special command, specifying the network name. The command syntax is as follows:

security find-generic-password -wa "YourNetworkName"

After entering the command, press the key EnterThe system will ask for permission to access the key in Keychain Access. Click "Always Allow" or enter your administrator password. The password will then be displayed in the text field below.

☑️ Check before entering a command

Completed: 0 / 4
⚠️ Important: When entering the network name in the command, be sure to maintain capitalization. If the name contains spaces, enclose it in quotation marks, as shown in the example above.

The advantage of this method is the ability to quickly copy the result. Furthermore, this method is often used in automation scripts or for remote computer administration.

Syncing passwords via iCloud Keychain

Apple's ecosystem allows devices to share saved passwords via the cloud. If you have iPhone or iPad, connected to the same account, you can find out the password through your mobile device.

On the device with iOS 16 or newer (or iPadOS 16) You need to go to your Wi-Fi settings. By tapping the information icon next to the network, you'll see the "Password" field. Tapping it will prompt your device to perform biometric verification (Face ID or Touch ID) and display a code.

Once viewed on iPhone, the password is automatically synced to Mac via iCloud KeychainThis means you can use your computer to connect other devices or access your router settings without having to search again.

Device Minimum OS version Necessary conditions Authorization method
MacBook / iMac macOS Ventura Sign in to iCloud Touch ID / User Password
iPhone / iPad iOS 16 / iPadOS 16 Sign in to iCloud Face ID / Touch ID
Mac (older versions) macOS 10.11+ Local access Administrator password
Apple Watch watchOS 9+ Paired iPhone Watch password code

This synchronization provides a high level of convenience. You don't need to remember complex character combinations, as the devices will do it for you, while still providing a high level of encryption transmitted data.

What to do if syncing doesn't work?

If passwords aren't updating between devices, check that Keychain is enabled in iCloud settings on both devices. Also, make sure both devices are running the latest operating systems and that two-factor authentication for your Apple ID is enabled.

Reset network settings and search on the router

If the Mac has never been connected to the network or the Keychain data is corrupted, recovering the password through the system will not be possible. In this case, physical access to the router will be required.

Most modern routers have a sticker on the case with factory data. It lists the default SSID and Wi-Fi password. If you didn't change this information during the initial setup, the problem is resolved in a second.

If the default data has been changed, you can try connecting to the router via an Ethernet cable or temporarily connecting to it from a device that already knows the password (for example, a friend's phone). Then, in the router's web interface (usually at 192.168.0.1 or 192.168.1.1) In the wireless network section, you can view or change the security key.

  • 🔌 Connect your computer to the router using a LAN network cable.
  • 🌐 Open your browser and enter the gateway IP address in the address bar.
  • 🔑 Log in to the control panel using the router administrator login and password.
  • 📡 Go to the "Wireless" or "Wi-Fi" section to see the current password.
⚠️ Note: Router interfaces from different manufacturers (ASUS, TP-Link, Keenetic) vary significantly. If you're unsure, it's best to consult the instructions for your specific model to avoid messing up your provider's settings.

This method takes more time, but is the only correct one,