Autofill credit card info in Safari on Mac
With AutoFill, you can easily fill in your previously saved credit card information, contact information from the Contacts app, passwords, and more. You can also have a strong password created for you when you set up a password on a website. Fields where information has been entered for you are highlighted in yellow.
Add or remove a stored credit card
In the Safari app on your Mac, choose Safari > Preferences, then click AutoFill.
Select “Credit cards,” click Edit, then follow the onscreen instructions.
Fill in your credit card info
In the Safari app on your Mac, click in a credit card field when making a purchase.
Choose from a list of your stored credit cards.
If your Mac or Apple keyboard has Touch ID, you can use Touch ID to fill in the stored information for the selected credit card. To set up Touch ID to use with Safari AutoFill, see Change Touch ID preferences.
For security, Safari doesn’t store the credit card security code. You must enter it manually each time you use the card on a website.
If any other field is empty or showing the wrong type of information, click in the field, then click the credit card icon and choose the correct information (or use the Touch Bar).
Tip: If you use iCloud Keychain to keep information safe on your Mac and other devices, you can use AutoFill to enter previously saved credit card info on all those devices.
If you can’t autofill credit card info
Try the following:
In the Safari app on your Mac, choose Safari > Preferences, click AutoFill, then make sure “Credit cards” is selected.
If your Mac or Apple keyboard has Touch ID, and you want to use Touch ID to fill in credit card information, make sure you select Password AutoFill in the Touch ID pane of System Preferences. See Change Touch ID preferences.
How Safari keeps your credit card info secure
Credit card information is encrypted in your macOS keychain. It’s also encrypted in your iCloud Keychain if it’s set up on your Mac.
If you remove credit card information in Safari, it’s deleted from your macOS keychain. It’s also removed from your other devices if your Mac and other devices are set up for iCloud Keychain.
For security, set up your Mac to display the login window when it starts up and to require a password after sleep or a screen saver begins. Set up your iPhone, iPad, and iPod touch to require a passcode to unlock the screen: Go to Settings > Face ID & Passcode (or Touch ID & Passcode), then tap Turn Passcode On.
Important: Safari autofills your information for anyone who uses your Mac with your user login. It also autofills your information for anyone who uses your other devices, if those devices and your Mac have iCloud Keychain set up.