Forgot your home Wi-Fi password or want to update it for security? MacBook, iMac or Mac mini This can be done in several ways - through the router settings, a utility AirPort (for older models) or even with the help of TerminalIn this article, we will examine all current methods, taking into account the specific features macOS Sonoma and newer, and we will also give recommendations on choosing a strong password.
It is important to understand that Mac itself doesn't store your Wi-Fi password. - it only connects to the network, storing the key in the keychain (Keychain Access). To change your password, you will need access to settings. router (router) that distributes the Internet. If you rent a router from a provider (for example, Rostelecom or MTS), some parameters may be blocked - we will also discuss this below.
1. Preparation: What you need to know before changing your password
Before changing your Wi-Fi password Mac, make sure that:
- 🔌 Your computer is connected to the network via Ethernet cable or via Wi-Fi (but in this case, after changing the password, the connection will be broken).
- 🖥️ You have access to router web interface - usually at the address
192.168.0.1or192.168.1.1. - 🔐 Do you know the current router administrator login and password (often this is
admin/adminor indicated on the device sticker). - 📱 Have another device (smartphone, tablet) handy to test the new connection after changing the password.
If you don't remember your router login details, try:
- Turn the router over and look at the sticker with the factory settings (usually the IP address, login, and password are indicated there).
- Reset the router to factory settings using the button
Reset(hold for 10-15 seconds), but keep in mind that all settings will be reset, including the network name (SSID) and password.
⚠️ Note: If your router is provided by your ISP, resetting the settings may result in loss of internet access. In this case, it's best to contact technical support to verify your login details.
2. Method 1: Changing the password via the router's web interface
This is a universal method that works on any router - from TP-Link to KeeneticThe instruction is suitable for macOS Ventura, Sonoma and newer.
Steps:
- Open your browser Safari or Chrome and enter the router's IP address in the address bar. Typically, it's:
192.168.0.1192.168.1.1192.168.8.1(for some models TP-Link)
If the address is not suitable, find it through Terminal, by entering the command:
netstat -nr | grep default
admin/admin or admin/password).Wireless (Wireless network), Wi-Fi Settings or similar (the name depends on the router model).SSID— network name (can be left the same or changed).Security— type of protection (recommended)WPA2-PSKorWPA3-PSK).Password/Passphrase— current password (enter new one).- Save settings (button
Save,ApplyorOK). - Open
Programs → Utilities → AirPort. - Select your router from the list of devices and click
Change. - Go to the tab
Wireless network. - In the field
Wireless network passwordEnter a new key. - Click
Refreshto apply the changes. - Open
Terminal(Programs → Utilities). - Log in to your router (replace
ADMIN_PASSWORDto your password):curl -d "login_username=admin&login_passwd=ADMIN_PASSWORD" http://192.168.1.1/login.cgi - Submit a request to change your Wi-Fi password (replace
NEW_WIFI_PASSWORD):curl -d "wl0_ssid=MyNetwork&wl0_key=NEW_WIFI_PASSWORD&action=Apply" http://192.168.1.1/apply.cgi
After saving, the router will reboot and all devices will be disconnected from Wi-Fi. Reconnect them with the new password.
Make sure the security type is WPA2/WPA3|
The password must be at least 8 characters long (preferably 12+)|
The network name (SSID) does not contain personal information|
Settings for 2.4 GHz and 5 GHz (if the router is dual-band) are saved|
-->
⚠️ Attention: If the Internet is lost after changing the password, check if the settings have been reset WAN (connection to the ISP). This applies to routers with manual PPPoE/L2TP configuration.
3. Method 2: Using AirPort Utility (for Apple routers)
If you have a router Apple AirPort Extreme, AirPort Express or Time CapsuleYou can change your Wi-Fi password using the proprietary utility. AirPortIt is pre-installed on all Mac With macOS Mojave and older.
Instructions:
Utility AirPort automatically syncs settings with iCloud, if you have the feature enabled Family SharingThis makes it easier to connect other devices. Apple (iPhone, iPad) to the updated network.
| Router model | Supported macOS version | Peculiarities |
|---|---|---|
| AirPort Extreme (6th generation) | Mojave and newer | Supports 802.11ac, dual-band Wi-Fi |
| AirPort Express (2nd generation) | High Sierra — Sonoma | Compact size, audio jack |
| Time Capsule | Mojave and newer | Built-in hard drive for backup |
What should I do if the AirPort utility doesn't see the router?
If the router is not displayed in the utility, try:
1. Reboot the router (turn off the power for 30 seconds).
2. Connect to it via Ethernet cable.
3. Update macOS to the latest version (in Sonoma Compatibility bugs have been fixed).
4. Reset the router using the Reset button and configure it again.
4. Method 3: Changing the password via Terminal (for advanced users)
This method is suitable if you prefer to work with the command line or the router's web interface is unavailable. We will use curl to send requests to the router.
Attention: this method requires knowledge Router API and may not work on all models. The example provided applies to routers ASUS with firmware Asuswrt-Merlin.
Steps:
If the command is successful, the router will reboot. This method not recommended for beginners, as errors in commands can lead to failure of the settings.
5. How to create a strong Wi-Fi password
A weak Wi-Fi password is like an open door for hackers. Here are the criteria for a strong key:
- 🔢 Length not less than 12 characters (preferably 16+).
- 🔤 Letter combination (
A-Z, a-z), numbers (0-9) and special characters (!@#$%). - 🚫 Lack of personal information (name, date of birth, address).
- 🔄 Regular change (every 3–6 months).
Examples of strong passwords:
Green$Tree7!Moon2026Coffee#Lover42@ParisWiFi-Secure$99!MacBook- Open
Programs → Utilities → Keychain. - Find your Wi-Fi network in the list.
- Double-click on the entry and enter the new password in the field.
Show password. - 🔌 Is the cable from the provider connected to the router?
- 📡 Is Wi-Fi enabled on the router (the wireless network indicator should be on).
- 🔄 Doesn't it block? macOS firewall network access (check in
System Preferences → Security & Privacy). - Go to the provider's website and log in.
- Find the section
Router managementorWi-Fi settings. - Change your password and save your settings.
- The device stores the old password in memory (delete the network in the settings and connect again).
- The new password contains special characters that are not supported by some devices (for example, older printers).
- The router has the function enabled
MAC filtering, and the device address is not whitelisted. - Change Wi-Fi channel (try manually selecting a channel with less interference in your router settings).
- Turning on guest network, which limits the speed.
- Router malfunction (reboot it).
To avoid forgetting your password, save it in macOS Keychain:
6. Common mistakes and their solutions
When changing the Wi-Fi password to Mac Users often encounter problems. Let's look at the most common ones:
| Problem | Cause | Solution |
|---|---|---|
| After changing the password, the Internet disappeared. | WAN or DHCP settings are corrupted | Check the section Internet or WAN in the router settings |
| Unable to access the router's web interface | Invalid IP address or ports are blocked | Try it 192.168.0.1, 192.168.1.1 or reset the router |
| The new password does not work when connecting. | Typo or case inconsistency | Make sure that Caps Lock disabled, and enter the password again |
| The router does not save settings | Out of memory or firmware failure | Update your router firmware or reset it. |
If after all these steps Wi-Fi still doesn't work, check:
7. How to change the Wi-Fi password on a Mac if the router is from a provider
Many providers (eg Beeline, MTS, Rostelecom) block access to some router settings. In this case:
Option 1: Use provider's personal account:
Option 2: Call technical support and ask them to change your password. You'll need to provide your contract details.
⚠️ Note: Some providers charge a fee for changing router settings through their carrier. Check the rates beforehand.
FAQ: Answers to Frequently Asked Questions
Is it possible to change a Wi-Fi password without accessing the router?
No. The password is stored in the router settings, and without access to its web interface or management utility (for example, AirPort) It's impossible to change it. If you've forgotten your login details, your only option is to reset your router to factory settings.
Why don't some devices connect to Wi-Fi after changing the password?
This can happen for several reasons:
How do I find the current Wi-Fi password on my Mac if I forgot it?
Open Bunch of keys (Programs → Utilities), find your Wi-Fi network, double-click on the entry and check the box Show password. The system will ask for your account password Mac.
Is it possible to change Wi-Fi password on iPhone or iPad?
Yes, if the router supports control via a mobile application (for example, TP-Link Tether, ASUS Router or My Keenetic). For routers Apple AirPort use the utility AirPort on Mac or application Apple AirPort For iOS (available in App Store for older models).
What should I do if my Wi-Fi speed drops after changing my password?
This may be due to:
Check the speed on the website Speedtest.net and compare with the figures before changing the password.