With online account hacking becoming increasingly widespread, all users should make sure they're taking every security measure available to them. If you use Apple devices, consider using Apple verification codes to protect your accounts. Keep reading to learn how it works.

Generic iOS 18 Passwords Feature
With iOS 18, Apple introduced its first dedicated Passwords app, which corrals all of your saved logins and passwords within a simple interface and secures them behind Face ID or Touch ID authentication.

In addition to storing your passwords and login credentials, the Passwords app can also generate verification codes for additional sign-in security.

ios 18 passwords app
The use of verification codes is known as two-factor authentication (2FA). 2FA offers hardened security during login attempts by requesting that the user provides an extra piece of information only they would know – such as a randomly generated code from a third-party.

However, thanks to Apple’s Passwords app, if a site offers 2FA, you can set up verification codes for it without downloading a third-party app. Verification codes are backed up via iCoud, and once set up, the codes will autofill when you sign into the site using any Apple device linked to your Apple Account.

Enable 2FA on the Account or Service

Here we'll explain how to set up and use verification codes on ‌iPhone‌ and ‌iPad‌. You'll first need to enable the use of a 2FA app on whichever website or service you are trying to secure. (It's easier to complete this initial step on a desktop computer, as it may well involve scanning a QR code displayed on the screen using your ‌‌iPhone‌‌ or ‌‌iPad‌‌'s camera.)

x
Some sites have text message 2FA enabled by default, so you'll likely need to explore the security or privacy settings to enable the use of an authenticator app instead. On X (Twitter) accounts, for example, the option is found in the Settings and Support menu, under Settings and privacy ➝ security and account access ➝ Security ➝ Two-factor authentication.

Using Setup Keys

Once you've enabled 2FA on the account or service in question, you'll be asked to either enter a setup key on your device or scan a QR code using your device's camera. Whichever option you are given, the following steps explain what to do next.

  1. Open the Passwords app on your ‌iPhone‌ or ‌iPad‌.
  2. Using the search input field, type in the name of the account/service.
  3. Select the account/service, then tap Set Up Verification Code….
  4. Depending on the option you were given, either tap in the Setup Key or choose Scan QR Code with Camera, then follow the onscreen instructions.

passwords

If you have been given a QR code, give the Passwords app permission to use your device’s camera, then scan the code. Once you've followed the above steps, the Passwords app is ready to generate verification codes on the fly that are valid for 30 seconds.

This means that when you come to log in to the site or service and you're prompted for a verification code, your device will automatically display the latest code above the virtual keyboard. All you need to do is tap the code to enter it into the input field, and away you go.

Popular Stories

15 New Things Your iPhone Can Do in iOS 18

15 New Things Your iPhone Can Do in iOS 18.1

Friday September 27, 2024 6:14 am PDT by
Apple is set to release iOS 18.1 in October, bringing the first set of Apple Intelligence features to iPhone 15 Pro and iPhone 16 models. This update marks a significant step forward in Apple's AI integration, offering a new Siri contextually-aware experience and a range of additional capabilities powered by on-device machine learning and large language models. There are a couple of handy new...
AirPods Pro Firmware Feature

Apple Releases New AirPods Pro 2 Firmware

Thursday September 26, 2024 11:16 am PDT by
Apple today released a new firmware update for the AirPods Pro 2, with the software available for both the USB-C and Lightning models. The AirPods Pro 2 firmware has a build number of 7A305, up from the 7A302 firmware released earlier in September. There is no word yet on what's included in the firmware, but Apple is planning to add hearing aid and hearing test features to the AirPods Pro 2...
ipad pro new blue

Best Buy Takes Up to $1,000 Off M2 iPad Pro With Record Low Prices

Thursday September 26, 2024 10:15 am PDT by
Best Buy is back this week with big discounts on the M2 11-inch and 12.9-inch iPad Pro, providing up to $1,000 off select models. A My Best Buy Plus/Total membership is not required to see these discounts. You'll find both Wi-Fi and cellular tablets on sale at Best Buy, with a particular focus on the larger capacity 1TB and 2TB models. All deals listed below represent record low prices on...
m3 mbp space black

What to Expect From an Apple Event in October: iPad Mini 7, Redesigned Mac Mini, and More

Friday September 27, 2024 11:47 am PDT by
Apple will likely hold another event in October this year to announce new Macs and iPads. If so, it would be the fourth time in the last five years that Apple has held an event in October. Last year, Apple held a virtual event on Monday, October 30 to announce new MacBook Pro and iMac models with the M3 series of chips. Subscribe to the MacRumors YouTube channel for more videos. Below, we...
iPhone 17 Slim Feature Single Camera 2

10 Reasons to Wait for Next Year's iPhone 17

Monday September 23, 2024 2:00 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we sometimes get rumored feature leaks so far ahead of launch. The iPhone 17 series is no different – already we have some idea of what to expect from Apple's 2025 smartphone lineup. If you plan to skip...
Generic iOS 18

Apple Preparing iOS 18.0.1 Update for iPhone Following Several Bugs

Thursday September 26, 2024 9:34 am PDT by
Apple appears to be internally testing iOS 18.0.1 for the iPhone, based on evidence of the software update in our website's analytics this week. Our logs have accurately revealed many iOS versions before they were released. We expect iOS 18.0.1 to be a minor update focused on bug fixes. Issues that could be addressed with the update include touchscreen issues affecting the iPhone 16 series...
maxresdefault

AirPods 4 With ANC vs. AirPods Pro 2

Saturday September 28, 2024 7:02 am PDT by
Apple last week released the AirPods 4, and one version of the new earbuds has Active Noise Cancellation included. ANC means the AirPods 4 have a feature set that rivals the AirPods Pro 2, so we thought we'd compare the two for those undecided on which to get. Subscribe to the MacRumors YouTube channel for more videos. The AirPods 4 are Apple's first open-ear earbuds to include ANC, and the...
iPhone 15 Pro lineup

Apple's 80% Charging Limit for iPhone: How Much Did It Help After a Year?

Tuesday September 24, 2024 2:09 pm PDT by
With the iPhone 15 models that came out last year, Apple added an opt-in battery setting that limits maximum charge to 80 percent. The idea is that never charging the iPhone above 80 percent will increase battery longevity, so I kept my iPhone at that 80 percent limit from September 2023 to now, with no cheating. My iPhone 15 Pro Max battery level is currently at 94 percent with 299 cycles....
maxresdefault

iPhone 16 Pro Max: One Week Camera Review

Friday September 27, 2024 11:10 am PDT by
It's been a full week since the new iPhone 16 models launched, and we've now had enough time to give the Camera Control button and the camera setup a more in-depth look. We tested the iPhone 16 Pro and Pro Max, which have triple-lens rear camera setups with 48-megapixel Fusion lens, 48-megapixel Ultra Wide lens, and 5x Telephoto lens. Subscribe to the MacRumors YouTube channel for more videos. ...