You are sitting in a cafe with MacBook Air or MacBook ProYou're connected to public Wi-Fi, and a friend asks for the password—but where can you get it? Or a guest at home can't connect to your network, and you don't remember the 20-character combination. These situations are familiar, but they can be resolved in a matter of seconds. In this article, we'll look at all the current methods for sharing a Wi-Fi password. macOS (including Ventura, Sonoma And Sequoia), from standard functions to hidden features for advanced users.
The main advantage MacBook built-in tools over other devices Apple for instant password exchange. But what if a friend Android or Windows? Or what if you want to save the password in a text file? We've covered all scenarios: from AirDrop to Terminal, taking into account security and compatibility issues. You'll also learn how Retrieve password from macOS system storage without administrator rights — This life hack will help in 90% of cases when standard methods don't work.
1. Standard method: Share the password via AirDrop (Apple devices only)
The fastest and safest method is to use the built-in function AirDrop, but it works only between Apple devices (iPhone, iPad, other Mac). The algorithm is simple:
- 📱 Make sure that both devices are enabled
BluetoothAndWi-Fi, and alsoAirDrop(VControl CenterorSettings → General → AirDrop). - 🔄 On MacBook open
Finder, in the side menu, selectAirDropand set visibility"For everyone". - 🔒 On the device that requires a password, try connecting to your Wi-Fi network. MacBook A pop-up window will appear asking you to share your password.
If the window does not appear, check:
- ✅ Both devices must be unlocked.
- ✅ On MacBook must be enabled
iCloud Keychain(Settings → Apple ID → iCloud → Passwords & Keys). - ✅ The devices must be no more than 9 meters away.
⚠️ Note: If you previously manually entered the password on the receiving device, macOS won't automatically prompt you to share it.First, remove the network from the list of saved networks on the target device.
Turn on Bluetooth on both devices|
Turn on Wi-Fi on both devices|
Activate AirDrop in Control Center |
Set visibility to "Everyone" in AirDrop|
Unlock both devices-->
2. How to view and copy the Wi-Fi password on a MacBook manually
If you need to transfer the password to the device Android, Windows or just save it in a text file, extract it from the system storage macOSTo do this:
- Open
Programs → Utilities → Keychain(or find viaSpotlightupon requestKeychain Access). - In the left menu, select
System, then find the name of your Wi-Fi network in the list. - Double click on the network and check the box.
Show passwordand enter your account password MacBook.
The password will be displayed in the field. Show password. It can be copied (Cmd + C) and send via messenger or save in Notes.
What should I do if Keychain Access doesn't show my password?
If the password field remains empty or returns an error, try:
1. Reconnect to the Wi-Fi network (turn it off and on again).
2. Restart your MacBook - sometimes system keys don't load immediately after updating macOS.
3. Use Terminal (the method is described in the next section).
This method works on all versions macOS, including Monterey and newer. However, if you are using a corporate network with certificates (for example, EAP-SIM or 802.1X), the password may not be displayed - in this case, please contact your network administrator.
3. Extracting the password via Terminal (for advanced users)
If Bunch of keys didn't work or you prefer console commands, use TerminalThis method does not require administrator rights and works even on locked corporate MacBooks (provided you are connected to the network).
Open Terminal (Programs → Utilities or through Spotlight) and run the command:
security find-generic-password -ga "YOUR_NETWORK_NAME" | grep "password:"
Replace YOUR NETWORK NAME to the actual Wi-Fi name (eg. TP-Link_5G). The system will ask for your account password—enter it. In response, you will receive a string like this:
password: "your_password_here"
Copy the password from the output (without quotes). This method most versatile and works even if:
- 🔐
Bunch of keysdoes not display password. - 🖥️ You are connected to the network via
VPNor proxy. - 📡 The network uses non-standard authentication (eg.
WPA3-Enterprise).
⚠️ Warning: Do not perform this command in public places if your MacBook Unauthorized persons have access. The password will be visible in plain text in the history. Terminal.
4. Generate a QR code for quick connection (works on any device)
If you frequently share Wi-Fi access with guests, create a QR code - it can be scanned from any smartphone (Android, iPhone) or tablet. To do this:
- Find out your Wi-Fi password using one of the methods above.
- Go to a QR code generator website (for example,
qifi.orgorqr-code-generator.com). - Enter:
- 📶 Network name (
SSID). - 🔑 Password.
- 🔄 Encryption type (usually
WPA2/WPA3).
- 📶 Network name (
Advantages of the method:
- ✅ Powered by any devices (even on Windows or Smart TV).
- ✅ No need to enter a password manually – just scan the code.
- ✅ You can place the QR code on the refrigerator or wall for constant access.
| Way | Compatibility | MacBook password required | Speed |
|---|---|---|---|
| AirDrop | Only Apple | No | ⚡ Instantly |
| Bunch of keys | Any devices | Yes | 🕒 10-20 seconds |
| Terminal | Any devices | Yes | 🕒 15 seconds |
| QR code | Any devices | No (you need the password itself) | 🕓 1-2 minutes (per generation) |
AirDrop|
Keychain|
Terminal|
QR code|
Another option-->
5. Problems and Errors: Why Your MacBook Won't Share Passwords
Sometimes standard methods don't work. Let's look at common mistakes and their solutions:
Error 1: AirDrop doesn't offer to share password
Reasons and solutions:
- 🔄 The device has already connected to this network. → Delete the network in the Wi-Fi settings on the target device.
- 📵 Bluetooth or Wi-Fi is turned off → Check
Control Center. - 🔒 iCloud Keychain is disabled → Turn on
Settings → Apple ID → iCloud → Passwords & Keys.
Error 2: Keychain does not show the password
Possible reasons:
- 🖥️ Corporate network with certificates → The password is stored in
Configuration profile(contact the administrator). - 🔄 MacOS didn't save the password. → Reconnect to the network by checking the box
Remember this network. - 🛠️ Corrupted key storage → Restart your MacBook or recover your keys via
Time Machine.
Error 3: The terminal displays the error "Could not find password"
Solutions:
- 📝 Typo in the network name → Check the case and symbols (e.g.
MyWiFi≠mywifi). - 🔄 The network is not active → Reconnect to Wi-Fi.
- 🔒 No permission to access keys → Launch
Terminalas administrator (sudo su).
⚠️ Warning: If you use MacBook At work, your network administrator may have disabled the ability to view passwords through security policies. In this case, contact your IT department.
6. Alternative Methods: How to Share Wi-Fi Without a Password
If you don't want to reveal your password or it's too complex, use alternative methods:
Method 1: Modem mode (Internet Sharing)
You can share the Internet from your MacBook as from a router:
- Connect to Wi-Fi.
- Open
Settings → Sharing. - Select
Public Internet→Wi-Fi. - Set up a network name and password (or leave it without a password for an open network).
- Activate modem mode.
Now other devices will be able to connect to yours. MacBook as an access point.
Method 2: Guest network on a router
If you have access to the router settings, create guest network:
- 📡 Go to your router's control panel (usually at
192.168.1.1or192.168.0.1). - 🔧 Find the section
Guest network(orGuest Network). - 🔑 Set a simple password or leave the network open.
This is more secure than sharing the main password, as the guest network is usually isolated from local devices.
7. Security: How to share Wi-Fi without putting your network at risk
Sharing your Wi-Fi password is always a tradeoff between convenience and security. Follow these guidelines to minimize the risks:
- 🔄 Change your password regularly, especially if it is used by strangers. Use complex combinations (for example,
Tr0ub4dour&3instead of12345678). - 🛡️ Disable WPS on the router - this protocol is vulnerable to hacking.
- 📡 Use WPA3 instead of
WPA2(if the router supports it). - 👥 Limit the number of connected devices in the router settings.
If you share access frequently, consider:
- 🔧 VLAN configuration on the router for guest devices.
- 🕒 Access timer (for example, turning off Wi-Fi at night).
- 📱 Network management applications (For example, Fing or WiFi Map) to track connected devices.
Remember: even if you trust the person you're sharing your password with, their device could be infected with a virus that spreads across your local network. Always keep router software up to date!
Frequently Asked Questions
Is it possible to share a password with a Windows PC via AirDrop?
No, AirDrop works only between devices Apple. For Windows use A bunch of keys, Terminal or QR code.
Why do I get the error "Could not connect" when trying to share a password via AirDrop?
Check:
- 📵 Bluetooth And Wi-Fi enabled on both devices.
- 🔄 The devices are within range (up to 9 meters).
- 🔒 On MacBook V
Settings → SharingdisabledFirewall.
If the problem persists, restart both devices.
How do I share a Wi-Fi password if the MacBook isn't mine (for example, it's my work one)?
If you do not have administrator rights:
- 🔑 Ask the owner MacBook extract password via
A bunch of keysorTerminal. - 📡 Use modem mode (if allowed by security policy).
- 🚫 Do not attempt to circumvent restrictions as this may violate corporate policies.
Is it possible to find out the password for the Wi-Fi that my MacBook connected to a month ago?
Yes, if the network is saved in Keychain. Open Utilities → Keychain, find the network in the list and look at the password. If the network is not there, then macOS didn't save it. (for example, if the checkbox Remember this network was not supplied when connecting).
Is it safe to share a Wi-Fi password via instant messengers (WhatsApp, Telegram)?
Transferring passwords via instant messengers unsafe, If:
- 🔍 The recipient's account has been hacked.
- 📱 The recipient's device is infected with spyware.
- 🌐 The messenger does not use end-to-end encryption (for example, Viber in a group chat).
Safe alternatives:
- 🔑
AirDrop(encrypted transmission). - 📝 Transferring the password verbally or on paper.
- 🔗
QR codewith a limited time validity.