Autofill credit card info in Safari on Mac
With AutoFill, you can easily fill in your previously saved credit card information, including the security code.
Add or remove a stored credit card
Go to the Safari app on your Mac.
Choose Safari > Settings, then click AutoFill.
Select “Credit cards,” click Edit, then follow the on-screen instructions.
Fill in your credit card info
Go to 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 Touch ID & Password settings.
If a 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.
Tip: If you set up iCloud Keychain to autofill information on your Mac and other Apple devices, you can use AutoFill to enter previously saved credit card info on all those devices.
If you can’t autofill credit card info
Go to the Safari app on your Mac.
Try the following:
Choose Safari > Settings, 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, choose Apple menu > System Settings, click Touch ID & Password in the sidebar, then turn on “Use Touch ID for autofilling passwords”. (You may need to scroll down.) See Touch ID & Password settings.
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 Apple 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 Apple devices, if those devices and your Mac have iCloud Keychain set up.