Skip to Content

iOS 18: Generate Verification Codes With the Passwords App

by

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

apple design award 2025

Apple Announces 2025 Design Award Winners Ahead of WWDC 2025

Tuesday June 3, 2025 10:14 am PDT by
As we wait for WWDC to kick off next Monday, Apple today announced the winners of its annual Apple Design Awards, recognizing apps and games for their innovation, ingenuity, and technical achievement. The 2025 Apple Design Award winners are listed below, with one app and one game selected per category: Delight and Fun - CapWords (App) and Balatro (Game) Innovation - Play (App) and PBJ -...
Apple 2026 Black Friday Event Hero

Apple's Official 2026 Black Friday Offer Starts Rolling Out

Thursday November 26, 2026 8:37 am PST by
Apple's annual four-day Black Friday through Cyber Monday shopping event is now live in Australia, New Zealand, and Thailand, and it will continue to roll out across Europe, the U.S., and Canada as the calendar turns to Friday, November 27 around the world. In the U.S., Apple's terms and conditions say the promotion begins on November 27 at 12 a.m. Pacific Time and ends on November 30 at...
1password deal blue

1Password Security Breach: What Was Accessed and What Wasn't

Wednesday November 25, 2026 1:09 pm PST by
Popular password management app 1Password today said it experienced a security breach earlier this month. 1Password says some customer names and email addresses were accessed, but no customer vault contents were compromised. On November 19, 1Password saw indications that an employee's GitHub account had been breached and began investigating. The company says the breached GitHub account was...
Latest Stories
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
1 hour ago
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
4 minutes ago
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
11 hours ago
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
22 hours ago
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
22 hours ago
Apple Store in Brisbane Reopening Next Month With New Design
Apple Store in Brisbane Reopening Next Month With New Design
22 hours ago
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
23 hours ago
GTA VI Now (Barely) Running on Apple Silicon Macs
GTA VI Now (Barely) Running on Apple Silicon Macs
23 hours ago
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
1 day ago
Apple TV's 'Carême' Wins International Emmy for Best Drama
Apple TV's 'Carême' Wins International Emmy for Best Drama
1 day ago
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
1 day ago
The Best Black Friday AirPods Deals Still Available
The Best Black Friday AirPods Deals Still Available
17 hours ago
The Best Black Friday Deals on Apple Home Products
The Best Black Friday Deals on Apple Home Products
1 day ago
The Best Black Friday iPhone Deals Still Available
The Best Black Friday iPhone Deals Still Available
17 hours ago
The Best Black Friday iPad Deals Still Available
The Best Black Friday iPad Deals Still Available
17 hours ago
The Best Black Friday Apple Watch Deals Still Available
The Best Black Friday Apple Watch Deals Still Available
17 hours ago
The Best Black Friday AirTag Deals Still Available
The Best Black Friday AirTag Deals Still Available
17 hours ago
The Best Black Friday Mac Deals Still Available
The Best Black Friday Mac Deals Still Available
17 hours ago
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
1 day ago
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
1 day ago
Apple's Official 2026 Black Friday Offer Starts Rolling Out
Apple's Official 2026 Black Friday Offer Starts Rolling Out
2 days ago
Halide Adds Fill Light Feature for iPhone Duo
Halide Adds Fill Light Feature for iPhone Duo
2 days ago
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
2 days ago
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
2 days ago
Kodak Launches Unique AirTag Rival With E-Ink Display
Kodak Launches Unique AirTag Rival With E-Ink Display
2 days ago
Here's Why the Apple Store is Going Down
Here's Why the Apple Store is Going Down
2 days ago
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
2 days ago
iPhones Dominate China's Weak Singles' Day Smartphone Sales
iPhones Dominate China's Weak Singles' Day Smartphone Sales
2 days ago
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
2 days ago
Apple Faces Korean Regulator Review Over iPhone 16 AI Advertising
Apple Faces Korean Regulator Review Over iPhone 16 AI Advertising
2 days ago
Related Apple News: Lifestyle | South Africa | Buyers Guide | Opinion | News