Forgot your home or office Wi-Fi password, but your MacBook or iMac automatically connects to the network? This situation is familiar to many: the router has been configured for a long time, the sticker with the password has been lost, and you need to grant access to guests or a new device. Luckily, macOS stores all saved Wi-Fi passwords in a secure storage and can be retrieved without resetting the router.
In this article you will find 5 proven methodsHow to view your Wi-Fi password Mac — from standard tools like Keychain Access to commands in Terminal and third-party utilities. These methods work on all current versions of the system: Sonoma, Ventura, Monterey and even on older devices (provided the software is updated). Important: some methods require administrator rights.
If you've never changed security settings on a Mac, the process will take no more than a minute. In more complex cases (such as when using corporate networks with certificates), additional steps may be required—we'll cover those as well.
Method 1: Keychain Access – the standard macOS method
The most reliable and recommended Apple method - use the built-in utility Bunch of keys (Keychain Access). It stores all passwords, including Wi-Fi network data, in encrypted form. To find a password:
- Open Keychain Access:
- 🔍 Through
Spotlight: clickCommand + Space, type "Keychain" and select the app. - 📁 Through
Launchpad: folderUtilities→Bunch of keys.
- 🔍 Through
- Find your Wi-Fi network:
- In the left menu, select
System(orLocal elements, if the password is saved only for your user). - In the search bar (upper right corner) enter the name of your Wi-Fi network (SSID).
- In the left menu, select
- Double-click on the found network → check the box
Show password. - Enter your account password Mac (required to confirm rights).
- The password will be displayed in the field.
Show password.
If the password field is empty or gray, then the network is using another type of authentication (For example, 802.1X (for corporate networks). In this case, try other methods from this article.
Make sure you are looking for the correct network name (SSID)
Make sure your Mac has connected to this network at least once.
Try logging into Keychain Access as an administrator.
Please restart your Mac and try again-->
⚠️ Warning: If you use Mac At work or school, the Wi-Fi password may be hidden by the network administrator. In this case, it can only be obtained from the IT department.
Method 2: Terminal - for experienced users
If Bunch of keys didn't work or you prefer the command line, use TerminalThis method is faster, but requires precise command entry. Here are the step-by-step instructions:
- Open Terminal:
- 🔍 Through
Spotlight:Command + Space→ "Terminal". - 📁 Through
Launchpad: folderUtilities→Terminal.
- 🔍 Through
security find-generic-password -wa "NAZVANIE_VASHIEI_SETI"
Replace NAZVANIE_VASHIEI_SETI on the exact name of your Wi-Fi network (case important!).
- After entering the command, the system will ask for your account password. Mac - enter it.
- The Wi-Fi password will be displayed on the next line after
password:.
If the network name contains spaces, enclose it in quotation marks:
security find-generic-password -wa "My Wi-Fi"
If the command returned an error Could not find any matching items, Means:
- 📛 The network name was entered incorrectly (check the case and characters).
- 🔒 The password is not saved in the keychain (for example, if connecting via
WPS). - 🛡️ The network uses non-standard authentication (eg.
EAP-SIMfor mobile operators).
security dump-keychain -d login.keychain | grep "airport"
This will help you find the exact network name if you have forgotten it.-->
Method 3: macOS System Preferences (for newer versions)
IN macOS Ventura And Sonoma Apple has simplified access to Wi-Fi passwords. Through system settings. Now you don't need to dig through Keychain Access—just a few clicks:
- Open System Preferences:
- 🍎 Click on the logo Apple in the upper left corner →
System Preferences. - 🔍 Or through
Spotlight:Command + Space→ "System Preferences".
- 🍎 Click on the logo Apple in the upper left corner →
- Go to the "Wi-Fi" section:
- In the side menu, select
Wi-Fi. - Click on
Additionally…in the lower right corner.
- In the side menu, select
- In the tab
Wi-FiFind your network in the listWell-known networks. - Click on it → check the box
Show password. - Enter your account password Mac for confirmation.
This method the easiest for beginners, but it only works on macOS 13 Ventura and newer. On older versions (for example, Monterey or Big Sur) use Keychain Access or Terminal.
⚠️ Attention: If the button Show password inactive, which means the network is using dynamic password (For example, in hotels or airports). In this case, the password changes every time you connect and cannot be saved.
Bunch of keys
Terminal
System Preferences
Third-party utilities-->
Method 4: Third-party utilities (for advanced users)
If standard methods don't work, you can use specialized programsThey're convenient if you need to regularly view passwords (for example, for network administration). Here are some proven utilities:
| Utility | Peculiarities | Link (App Store) | Price |
|---|---|---|---|
| WiFi Password | Shows all saved Wi-Fi passwords, export to CSV | Delivers | For free |
| Keychain Access Pro | An expanded version of Keychain with category search | Delivers | 199 ₽ |
| Network Password Manager | Manage Wi-Fi, VPN, and email account passwords | Delivers | For free |
| MacPass | Open source, support KeePass |
Delivers | For free |
Advantages of third-party utilities:
- 🔍 Convenient search across all saved networks.
- 📤 Opportunity export passwords to a file (for example, for backup).
- 🛡️ Additional features: password strength check, new password generation.
Flaws:
- 💰 Some programs are paid (although there are free analogs).
- 🔒 The risk of installing unsafe software — Download utilities only from the official App Store or from developer websites.
How to check a utility for security?
Before installation, check:
1. Rating and reviews in the App Store (must be 4+ stars and at least 100 reviews).
2. Date of the last update (current programs are updated at least once every 6 months).
3. Availability of a developer website with support contacts.
4. The rights the program requests (if a password utility requests access to the camera or microphone, this is suspicious).
Method 5: Viewing the password on the router (alternative option)
If none of the methods Mac didn't work, you can Find out the password directly from the routerThis is a universal method that works regardless of device. Here's how to do it:
- Connect to the router:
- 🌐 Open your browser and enter in the address bar
192.168.0.1or192.168.1.1(standard IP of most routers). - 🔑 Enter your login and password to log in (usually
admin/admin, if you haven't changed it).
- 🌐 Open your browser and enter in the address bar
- Find the Wi-Fi settings section:
- 📡 Go to
Wireless(orWi-Fi,Wireless network). - 🔐 To the submenu
Security(Security) find the fieldPassword(PasswordorKey).
- 📡 Go to
- 📋 The password may be hidden behind asterisks - click
Show(orShow). - 🖱️ Copy it or write it down.
If you don't know your router's IP address:
- 🍎 On Mac open
System Preferences → Network → Wi-Fi → Advanced → TCP/IPThe router's IP will be listed next toRouter. - 📱 On iPhone or iPad:
Settings → Wi-Fi → (i) next to your network → Router.
⚠️ Attention: If the router is rented from a provider (for example, Rostelecom, MTS, Beeline), access to its settings may be restricted. In this case, the password can only be obtained through support.
Common problems and solutions
Sometimes users encounter errors when trying to view their Wi-Fi password. Here common problems and ways to solve them:
| Problem | Possible cause | Solution |
|---|---|---|
| The password is not displayed in Keychain. | The network is connected via WPS or temporary access |
Try reconnecting manually (enter the password when connecting) |
| "No access rights" error in Terminal | You are not logged in as administrator. | Log in to an account with administrator rights |
| The "Show Password" button is inactive | The network uses 802.1X (corporate authentication) |
Contact your network administrator or check the certificates in Keychain Access. |
The terminal gives an error Could not find any matching items |
Incorrect network name or password not saved | Check the exact network name (including case) or reconnect to it. |
If you use guest network (for example, in a cafe or an airport), her password is usually:
- 📋 Printed on the receipt or at the reception desk.
- 🔄 Changes every day (check with staff).
- 🚫 It is not saved on devices (therefore it cannot be extracted).
FAQ: Answers to frequently asked questions
Is it possible to find out the Wi-Fi password that another user connected to on this Mac?
Yes, but only if you have administrator rights. Passwords are saved in Keychain for all users, but to view other people's data you will need to enter the password for their account (if it is protected).
If your Mac is used in a family or office setting, it's best to ask the network owner directly for the password.
Do these methods work on Macs with M1/M2 chips?
Yes, all the methods described work on MacBook Air/Pro With Apple Silicon (M1, M2, M3) and on older models with processors IntelThere's no difference in the procedure—the main thing is that the current version of macOS is installed.
What should I do if I forgot my Mac account password?
Without your account password, you won't be able to view saved Wi-Fi passwords. Solutions:
- Reset your password via
Recovery mode(holdCommand + Rwhen you turn on your Mac). - If the Mac is tied to Apple ID, use the function
Reset passwordthrough iforgot.apple.com. - Contact us Apple Support with proof of ownership of the device.
Is it possible to find out the Wi-Fi password from an iPhone if I have the same Apple ID?
No, Wi-Fi passwords are not synchronized between Mac And iPhone through iCloudHowever, you can:
- 📲 On iPhone With iOS 16+: go to
Settings → Wi-Fi, tap on your network →Copy password(Face ID/Touch ID required). - 💻 Connect iPhone to Mac and use
Quick Startto transfer the password (does not work for all networks).
Is it safe to use third-party password viewers?
Most of the utilities from App Store safe, but there are risks:
- 🔍 Before installing, check the reviews and rating of the program.
- 🛡️ Don't download software from unverified sites—only from official sources.
- 🔑 Some utilities may request access to
Keychain- Provide it only to trusted programs.
For maximum security, use macOS's built-in tools (Bunch of keys or Terminal).