Browser Safari from Apple offers a built-in password management system via iCloud Keychain — a convenient and secure way to store logins, passwords, bank card data and other confidential information. However, many users encounter problems: passwords are not saved automatically, disappear after a system update, or are not synchronized between devices. In this article we will look at all the nuances of saving passwords in Safari on Mac, iPhone And iPad, including hidden settings, solutions to common errors and alternative protection methods.
It is important to understand that the mechanism for storing passwords in Safari closely related to Apple ecosystem. If you are using multiple devices (eg. MacBook Pro And iPhone 15), settings iCloud Keychain must be synchronized. Otherwise, passwords may be duplicated, lost, or conflicting. We'll cover not only the basic steps, but also advanced tricks, like how to manually add a password if autofill doesn't work, or how to export saved data for backup.
Why doesn't Safari save passwords automatically?
If your browser is ignoring your attempts to save your password, the problem may lie in one of three areas:
- 🔄 iCloud Keychain disabled - without this function Safari will not be able to synchronize and store passwords.
- ⚙️ Incorrect autofill settings — the saving option may be deactivated in the browser or system settings.
- 🛡️ Conflict with antivirus or VPN - Some security programs block the saving of passwords, considering this a potential data leak.
Most often, users encounter the first reason. For example, after reset iPhone or updates macOS Sonoma settings iCloud Keychain are reset, and the browser stops offering to save new passwords. The problem may also occur on sites with non-standard authorization forms (for example, where the password field is loaded dynamically via JavaScript). In such cases Safari it just “does not see” the input fields.
One more nuance: Apple limits the saving of passwords for certain types of sites - for example, banking portals or government services. This is for security reasons, but can cause confusion. If you are trying to save your password from Sberbank Online or State services, the browser may ignore the request.
- MacBook
- iPhone
- iPad
- Apple Watch
- Other
How to enable saving passwords in Safari on Mac
On computers Mac setting up password saving consists of two stages: activation iCloud Keychain in system parameters and checking the settings of the browser itself Safari. Let's look at both steps in detail.
Step 1: Enable iCloud Keychain
Open System Settings (gear icon in Dock or through the menu Apple in the upper left corner). Go to section Apple ID → iCloud. In the list of options, find Keychain (or Keys on the Russian version) and make sure the switch is active. If the option is disabled, enable it and confirm the action with your password. Apple ID.
⚠️ Attention: If you are using macOS Ventura or newer, the settings path may vary. In some versions iCloud Keychain hidden behind an additional menu - you may need to scroll down the list of options to see it.
Step 2: Set up AutoFill in Safari
Run Safari, open the menu Safari in the top bar and select Settings (or click ⌘ + ,). Go to the tab Autocomplete. The following options must be activated here:
- 🔑 Usernames and passwords — the main option for saving data.
- 💳 Credit cards — if you want to save payment information.
- 📝 Other forms — for auto-filling addresses, emails, etc.
If the checkboxes are checked, but passwords are still not saved, try resetting the settings Safari. To do this, close your browser, open Terminal and enter the command:
defaults write com.apple.Safari AutoFillMiscellaneousForms -bool true
After execution, restart Safari. This command forces autofill on all types of forms, including those that the browser may have ignored.
iCloud Keychain activated in Apple ID|
Autofill enabled in Safari settings|
Updated macOS to the latest version|
Antivirus exceptions checked (if installed) -->
Saving passwords in Safari on iPhone and iPad
On mobile devices the process is slightly different due to the interface iOS/iPadOS. Main rule: all settings are controlled via Passwords and accountsrather than directly in the browser. Here are the step-by-step instructions:
1. Open Settings → scroll down and select Passwords and accounts (on older versions iOS it may be called Passwords and accounts).
2. Make sure the option Autofill passwords included. Here you can also select what data will be used for auto-filling (only iCloud Keychain or third party password managers).
3. Return to Settings, tap your name at the top of the screen, then select iCloud → Keychain and enable synchronization.
⚠️ Attention: If you are using iPhone with iOS 16 or later, after switching on iCloud Keychain the system may request confirmation via two-factor authentication. Without this, password synchronization will not work.
To save your password in Safari on iPhone:
- Log in to the site.
- After successful login, a pop-up window will appear asking you to save your password. Tap
Save password. - If the window does not appear, enter the password manually via
Settings→Passwords and accounts→Add a password manually.
Important: On iPhone, passwords are saved only for sites opened in Safari. If you log into an application (for example, VKontakte or Instagram), the data will be stored in the application keys, and not in iCloud Keychain.
If Safari doesn't offer to save your password, try refreshing the page (pull down) or clear your browser cache through Settings → Safari → Clear history and website data.
Manually adding and editing passwords
Sometimes autofill does not work - for example, if the site uses a non-standard login form or you are logged in through a social network. In such cases, you can add the password manually. Let's look at how to do this on different devices.
On Mac
1. Open Safari and select from the menu Safari → Settings → Passwords (you will need to enter your account password Mac).
2. Click + in the lower left corner of the window.
3. Enter:
- 🌐 Website (For example,
vk.com) - 👤 Username (email or login)
- 🔐 Password (can be generated automatically by clicking on the key icon)
On iPhone/iPad
1. Go to Settings → Passwords and accounts → Passwords for sites and applications.
2. Tap + in the upper right corner.
3. Fill in the fields similar to the instructions for Mac.
To edit an existing password:
- Find the site in the list of saved passwords.
- Tap on the entry →
Edit. - Update your login or password, then click
Done.
⚠️ Attention: If you changed your password on the site, but did not update it in iCloud Keychain, Safari will substitute old data when autofilling. This may lead to account suspension due to multiple failed login attempts.
| Action | Mac | iPhone/iPad |
|---|---|---|
| Adding a password | Safari → Settings → Passwords → + |
Settings → Passwords → + |
| Editing | Double click on an entry | Tap on entry → Edit |
| Removal | Select entry → Delete | Swipe left → Delete |
| Password generation | Button "🔑" in the password field | "Suggest a strong password" option |
Sync passwords between devices
iCloud Keychain automatically syncs passwords between all your devices Apple, but for this several conditions must be met:
- 📱 All devices are linked to one Apple ID.
- ☁️ Enabled on all devices
iCloud Keychain. - 🔄 Devices are connected to the Internet (synchronization occurs via iCloud).
- 🔒 Included two-factor authentication for Apple ID.
If passwords are not synced:
- Check your internet connection on all devices.
- Update iOS/macOS to the latest version.
- Perform forced synchronization: on Mac open
System Settings→Apple ID→iCloud→Optionsnext toKeychainand pressSynchronize.
⚠️ Attention: If you reset iPhone to factory settings and did not make a backup copy iCloud Keychain, all saved passwords will be lost. They can only be restored through a backup copy. iCloud or iTunes.
What to do if passwords are duplicated?
If you see duplicate passwords in iCloud Keychain, it may be due to syncing between old and new devices. To clear duplicates:
1. Remove duplicate entries manually (click "Edit" in the password list).
2. Disable and re-enable iCloud Keychain on all devices.
3. Wait for complete synchronization (may take up to 10 minutes).
Export and backup passwords
Apple does not provide a built-in tool for exporting passwords from iCloud Keychain, but there are workarounds. On Mac can be used Terminal or third-party utilities, and on iPhone - create a backup via iTunes.
Export to Mac
1. Open Terminal and enter the command:
security dump-keychain -d login.keychain-db
This command will list all stored passwords in unencrypted form. To save them to a file, use:
security dump-keychain -d login.keychain-db > passwords.txt
⚠️ Attention: File passwords.txt will contain passwords in clear text. Keep it in a safe place and remove it after use!
Backup on iPhone
1. Connect iPhone to Mac or PC with iTunes.
2. Create encrypted backup (be sure to check the "Encrypt backup" box).
3. Passwords will be included in the backup and can be restored if necessary.
Important: Exporting passwords violates Apple's security policy. Use this method only in extreme cases (for example, to transfer data to another non-Apple device).
Solving common problems with saving passwords
Even with the correct settings, users encounter errors. Let's look at the most common scenarios and their solutions.
| Problem | Possible reason | Solution |
|---|---|---|
| Safari doesn't offer to save password | Autocomplete disabled or site blacklisted | Check your autofill settings and add your site manually |
| Passwords are not synced between devices | No iCloud connection or two-factor authentication | Turn on iCloud Keychain and check your Apple ID settings |
| Old passwords are substituted for new ones | Browser cache or not updated entry in Keychain | Clear Safari cache and update password manually |
| Passwords disappeared after system update | Sync failed or reset | Restore from backup or test iCloud Keychain on other devices |
If none of the solutions worked, try resetting iCloud Keychain:
- On Mac:
System Settings→Apple ID→iCloud→Optionsnext toKeychain→Reset warnings. - On iPhone:
Settings→ [your name] →iCloud→Keychain→Additional options→Reset Keychain.
⚠️ Attention: Reset iCloud Keychain will delete all saved passwords from all devicessync with your Apple ID. Use this method only as a last resort!
If Safari stops saving passwords after updating macOS or iOS, the first thing to do is check your iCloud Keychain settings—they're often reset to default.
FAQ: Frequently asked questions about saving passwords in Safari
Is it possible to save an application (not a website) password in Safari?
No, Safari saves passwords only for websites. Data from applications (for example, VKontakte or Telegram) are stored in application keys and do not sync via iCloud Keychain. To manage such passwords, use application-specific settings or third-party managers (for example, 1Password or Bitwarden).
How to transfer passwords from Safari to another browser (Chrome, Firefox)?
On Mac you can export passwords via Terminal (as described above) and then import them into another browser. For Chrome:
- Open
Settings→Autocomplete→Passwords. - Click on the three dots next to
Saved Passwordsand selectExport passwords. - Import the file
.csvin Chrome throughSettings→Passwords→Import.
On iPhone Direct export is not possible - you will have to use Mac or third party tools.
Why does Safari only save passwords for some sites?
Apple limits autofill for sites with increased security requirements (banks, government services) or those where login forms are implemented through JavaScript/AJAX. The problem may also be:
- Site settings (some block saving passwords through the header
autocomplete="off"). - Browser extensions (for example, ad blockers may interfere with autocomplete).
- Outdated version Safari (update your browser via App Store).
How to delete all saved passwords at once?
On Mac:
- Open
Safari→Settings→Passwords. - Enter your account password.
- Select all entries (
⌘ + A) and pressDelete.
On iPhone:
- Go to
Settings→Passwords and accounts. - Tap
Edit→ select all entries →Delete.
⚠️ Attention: This is action irreversibly! Deleted passwords cannot be recovered without a backup copy.
Can iCloud Keychain be used on Windows or Android?
Officially, no. iCloud Keychain only works on devices Apple. However there are workarounds:
- Use iCloud for Windows (official app from Apple), but it does not support password synchronization.
- Export passwords to Mac and import them into your password manager for Windows/Android (For example, Bitwarden or KeePass).
- Set up two-factor authentication for critical accounts and use Google Password Manager or LastPass for cross-platform access.