
How to Check the Wifi Password in Mac? Detailed Walkthrough Steps
Introduction If you have ever connected your Mac to a wireless network and later forgotten the password, you are not alone. macOS usually saves Wi-Fi passwords securely, which makes reconnecting easy, but it also means the password is not always visible at fir
Introduction
If you have ever connected your Mac to a wireless network and later forgotten the password, you are not alone. macOS usually saves Wi-Fi passwords securely, which makes reconnecting easy, but it also means the password is not always visible at first glance. This guide explains How to Check the Wifi Password in Mac? using several reliable methods, from built-in macOS tools to router settings and connected devices.
Whether you are using a MacBook, iMac, Mac mini, or Mac Studio, the steps below are designed to be practical and easy to follow. Some methods require administrator access, while others are helpful when the password is not saved on your Mac at all. Read through the whole article, or use the Table of Contents to jump directly to the method that fits your situation.
Table of Contents
- Before You Start: Important Things to Know
- Method 1: Using Keychain Access
- Method 2: Using Terminal
- Method 3: Using macOS System Settings
- Method 4: Checking the Router Label or Admin Panel
- Method 5: Using an iPhone or iPad with iCloud Keychain
- What to Do If the Password Is Not Saved
- Comparison of Methods
- Troubleshooting Common Issues
- Security Tips and Best Practices
- Frequently Asked Questions
- Conclusion
Before You Start: Important Things to Know
Before trying to reveal a saved Wi-Fi password, it helps to understand how macOS stores network credentials. When you connect to a Wi-Fi network and choose to remember it, macOS saves the password in your keychain. The keychain is a secure storage system that protects passwords, certificates, and other sensitive information. Because of this, macOS will ask you to authenticate before showing the password.
What You Need
- A Mac that has previously connected to the Wi-Fi network.
- The exact network name, also called the SSID.
- Your Mac user account password, Touch ID, or administrator credentials.
- Access to the router if the password is not stored on the Mac.
Privacy and Permission Notes
macOS protects Wi-Fi passwords for good reason. If someone can view your saved passwords without permission, they could access your network and potentially other accounts. Therefore, you may see prompts such as “Keychain Access wants to use your confidential information” or “Terminal wants to make changes.” Always approve these prompts only on your own Mac and only when you understand why they appear.
If your Mac is managed by an employer or school, some keychain settings may be restricted. In that case, contact your IT administrator instead of trying to bypass security controls.
Method 1: Using Keychain Access
Keychain Access is the most common and user-friendly way to find a saved Wi-Fi password on a Mac. It stores network credentials and allows you to reveal them after authentication.
Step-by-Step Instructions
- Click the magnifying glass icon in the menu bar, or press Command + Space to open Spotlight.
- Type Keychain Access and press Return.
- In the Keychain Access window, select Login from the Keychains list on the left. If you do not see the password there, select System or choose All Items in the Category section.
- Use the search box in the upper-right corner to type the exact Wi-Fi network name.
- Look for an entry with a name matching your network. It may be labeled as an AirPort network password or a Wi-Fi network password.
- Double-click the matching entry.
- In the small window that appears, check the box next to Show password.
- When prompted, enter your Mac user password or use Touch ID.
- The password will appear in the password field.
Helpful Keychain Tips
- If multiple entries appear, check the date and network name carefully.
- If the password field remains blank, try selecting a different keychain.
- If the network name contains spaces, search for the full name exactly as it appears when connecting.
- Do not delete keychain entries unless you intentionally want to remove the saved password.
Method 2: Using Terminal
Terminal provides a faster way for users who are comfortable with command-line tools. It can query the keychain directly and display the saved password. This is especially useful when Keychain Access is slow or when you need to check several networks.
Step-by-Step Instructions
- Open Spotlight by pressing Command + Space.
- Type Terminal and press Return.
- Enter the following command, replacing
YourNetworkNamewith the exact Wi-Fi network name:
security find-generic-password -wa "YourNetworkName"
- Press Return.
- If prompted, enter your Mac password or approve the request with Touch ID.
- Terminal will display the password on the next line.
Alternative Terminal Command
If the first command does not return a result, you can try a more specific search. This command looks for an AirPort network password entry associated with the network name:
security find-generic-password -D "AirPort network password" -a "YourNetworkName" -w
As with the previous method, replace YourNetworkName with your actual SSID. If the network name includes spaces or special characters, keep it inside quotation marks.
Terminal Safety Notes
- Do not run commands from untrusted websites.
- Always verify the network name before running the command.
- Close Terminal after viewing the password, especially on a shared Mac.
Method 3: Using macOS System Settings
Depending on your macOS version, System Settings may help you identify saved networks and, in some cases, reveal or manage Wi-Fi credentials. The exact layout changes between macOS versions, but the general process is similar.
Step-by-Step Instructions
- Click the Apple menu in the top-left corner of your screen.
- Select System Settings or System Preferences, depending on your macOS version.
- Choose Wi-Fi from the sidebar.
- Review the list of known networks.
- Click the information icon or network name to view details.
- If your version of macOS offers a password reveal option, authenticate when prompted.
- If no password option appears, use Keychain Access or Terminal instead.
This method is useful for confirming which network your Mac remembers, but it may not always display the actual password. For that reason, it is best used alongside Keychain Access.
Method 4: Checking the Router Label or Admin Panel
If the password is not saved on your Mac, or if you need the original router password, checking the router itself is often the fastest solution. Many routers have a default Wi-Fi password printed on a label.
Check the Router Label
- Locate your Wi-Fi router or modem.
- Look for a label on the bottom, back, or side.
- Find the field labeled Wi-Fi Password, Wireless Key, WPA Key, or Network Key.
- Enter that password on your Mac.
This works only if the password has not been changed from the factory default. If someone changed it, the label will not help.
Use the Router Admin Panel
- Connect your Mac to the router with Wi-Fi or Ethernet.
- Open a web browser.
- Enter your router’s IP address. Common addresses include
192.168.1.1,192.168.0.1, and10.0.0.1. - Log in with the router administrator username and password.
- Navigate to Wireless, Wi-Fi Settings, or Network Settings.
- Look for the current Wi-Fi password or security key.
- Save or copy the password securely.
You can often find the router IP address on your Mac by going to System Settings, selecting Wi-Fi, clicking the information icon, and checking the router address.
Method 5: Using an iPhone or iPad with iCloud Keychain
If your Mac and iPhone or iPad use the same Apple ID with iCloud Keychain enabled, your saved Wi-Fi passwords may sync between devices. This can be a convenient way to recover a password when your Mac is not nearby or when you prefer using iOS settings.
Step-by-Step Instructions
- On your iPhone or iPad, open Settings.
- Tap Wi-Fi.
- Tap the information icon next to the connected network.
- Tap the Password field.
- Authenticate with Face ID, Touch ID, or your device passcode.
- Copy or note the password.
- Enter it on your Mac.
This method depends on iCloud Keychain being enabled and the password having synced successfully. If the password field is not available, use one of the Mac-based methods instead.
What to Do If the Password Is Not Saved
Sometimes the password is not stored anywhere accessible. This can happen if you connected as a guest, used a temporary network, or previously removed the saved credentials. In that case, you still have options.
Ask the Network Administrator
If you are connecting to a workplace, school, hotel, or public network, ask the administrator or front desk for the current password. Network administrators often change passwords for security reasons, so an old password may no longer work.
Reset the Router
If you own the router and cannot recover the password, resetting it to factory settings will restore the default Wi-Fi password printed on the label. Keep in mind that this also resets other settings, such as custom network names, port forwarding, and parental controls.
- Locate the small reset button on the router.
- Press and hold it for about 10 seconds using a paperclip or pin.
- Wait for the router to restart.
- Connect using the default password from the router label.
- Log in to the admin panel and set a new, strong password.
Check a Password Manager
If you use a password manager such as 1Password, Bitwarden, Dashlane, or iCloud Passwords, search for the network name there. Many users store Wi-Fi passwords manually in password managers for easier recovery.
Comparison of Methods
Different methods work best in different situations. The table below compares the most common ways to recover a Wi-Fi password on a Mac.
| Method | Best For | Requires Admin Access | Works Offline | Notes |
|---|---|---|---|---|
| Keychain Access | Most Mac users | Yes | Yes | Most reliable built-in option. |
| Terminal | Advanced users | Yes | Yes | Fast but requires exact command syntax. |
| System Settings | Checking saved networks | Sometimes | Yes | May not display the actual password. |
| Router Label | Factory-default passwords | No | Yes | Only works if password was never changed. |
| Router Admin Panel | Current router password | Yes | Yes | Requires router login credentials. |
| iPhone or iPad | iCloud Keychain users | Yes | No | Requires same Apple ID and synced keychain. |
Troubleshooting Common Issues
Even with the right method, you may run into problems. Here are common issues and how to address them.
No Keychain Entry Appears
If searching Keychain Access returns nothing, try the following:
- Check the spelling of the network name.
- Search under All Items instead of a single category.
- Look in both the Login and System keychains.
- Confirm that you actually saved the password when connecting.
The Revealed Password Does Not Work
If the password you found does not connect your Mac, the network password may have changed. Router administrators often update passwords for security. Try connecting with the current password from the router admin panel, or ask the network owner.
Authentication Fails in Keychain Access
If macOS rejects your password, make sure you are entering the password for your Mac user account, not the Wi-Fi password. If you use Touch ID, ensure your finger is enrolled and the sensor is working. You can also try restarting the Mac and attempting again.
Terminal Returns an Error
Terminal errors often occur because of incorrect syntax. Check these details:
- The network name must be inside quotation marks.
- Capitalization and spaces must match the SSID exactly.
- You may need to unlock the keychain first.
- Some networks are stored under a different keychain item name.
iCloud Keychain Is Not Syncing
If passwords are not syncing between your Mac and iPhone, verify that both devices use the same Apple ID. Then check that iCloud Keychain is enabled on both devices. A stable internet connection is also required for syncing.
Security Tips and Best Practices
Recovering a Wi-Fi password is useful, but protecting it is equally important. Follow these best practices to keep your network and devices secure.
- Use a strong Wi-Fi password with a mix of uppercase letters, lowercase letters, numbers, and symbols.
- Avoid using personal information such as birthdays or pet names.
- Change the default router password after setup.
- Use WPA3 if your router and devices support it; otherwise use WPA2.
- Keep router firmware updated.
- Do not share your Wi-Fi password publicly.
- Store passwords in a trusted password manager rather than a plain text file.
- Remove saved networks you no longer use.
- Lock your Mac when you step away from it.
Frequently Asked Questions
Can I check a Wi-Fi password on Mac without admin rights?
Usually no. macOS protects saved passwords, so you need administrator access, Touch ID, or your user account password. If you do not have these permissions, ask the device owner or network administrator.
Where are Wi-Fi passwords stored on a Mac?
Wi-Fi passwords are stored in the macOS keychain, most often in the Login or System keychain. Keychain Access and Terminal are the main tools used to view them.
Why can I not find my network in Keychain Access?
The network may not have been saved, the name may be slightly different, or the entry may be in another keychain. Searching under All Items and checking both Login and System keychains can help.
Does this method work on all macOS versions?
The general process is similar across modern macOS versions, but menu names and layouts may differ. Keychain Access and Terminal remain the most consistent options.
Is it safe to use Terminal to reveal a password?
Yes, if you use the correct command and trust the source. Terminal only accesses credentials you already have permission to view. Never run commands from unknown or suspicious websites.
What should I do if I forgot both the Wi-Fi password and router login?
If you cannot recover either credential, reset the router to factory settings. This restores the default Wi-Fi password and default admin login, allowing you to set new credentials.
Conclusion
Learning How to Check the Wifi Password in Mac? is straightforward once you know where macOS stores network credentials. For most users, Keychain Access is the easiest and most reliable method. Terminal is a great alternative for faster access, while router settings and iCloud Keychain can help when the password is not available on the Mac. If all else fails, resetting the router or contacting the network administrator can restore access.
By following the steps and security tips in this guide, you can recover your Wi-Fi password safely while keeping your network protected. Always handle passwords carefully, avoid sharing them unnecessarily, and update them when needed to maintain strong security.