iOS 18: Generate Verification Codes With the Passwords App - MacRumors
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

macOS 27 next to MacBook Pro Running macOS 27

Apple Announces 'Full Disk Access' Changes on macOS Due to AI Agents

Friday October 2, 2026 12:59 pm PDT by
In a post on its developer news website today, Apple announced that it will be introducing "additional controls" for the "Full Disk Access" setting on macOS due to new risks posed by AI agents. This announcement comes amid the rise of always-on AI agents like Meta's Muse and OpenAI's Dots, which have prompted privacy concerns. "Some developers are using Full Disk Access in ways that could...
iPhone 18 Pro Max Glacier Camera

Apple Says iPhone 18 Pro Max Users With AT&T Cellular Issue Need to Have Device Replaced

Friday October 2, 2026 8:21 pm PDT by
Apple today confirmed that a "small number" of iPhone 18 Pro Max users on the AT&T network have experienced an issue that causes the device to lose cellular service, thereby preventing phone calls, text messages, and data from working. Thousands of users complained about the issue across the Apple Support Community and other platforms. Apple said it released iOS 27.0.1 earlier this week and...
iPhone 18 Pro Max ATT

AT&T Acknowledges iPhone 18 Pro Max Issues: Update 'Immediately'

Thursday October 1, 2026 8:42 pm PDT by
In a text message sent to customers today, AT&T acknowledged that some iPhone 18 Pro Max devices on its network are experiencing cellular issues. AT&T said that customers should immediately update to iOS 27.0.1, despite the fact that many affected users have said that the update does not resolve the issues. There are now at least thousands of users that have experienced this problem,...
Latest Stories
Apple's Newest Macs Just Got Their Biggest Price Cuts Yet on Amazon
Apple's Newest Macs Just Got Their Biggest Price Cuts Yet on Amazon
2 hours ago
Apple Watch Prime Day Deals Arrive With New All-Time Low Prices for Series 12 and Ultra 4
Apple Watch Prime Day Deals Arrive With New All-Time Low Prices for Series 12 and Ultra 4
2 hours ago
Apple Releases MagSafe 3 Charging Cable Firmware Update
Apple Releases MagSafe 3 Charging Cable Firmware Update
2 hours ago
AirPods Max 2 Drop to $429 in All Colors for Prime Day
AirPods Max 2 Drop to $429 in All Colors for Prime Day
2 hours ago
Apple Quietly Triples iCloud Mail Alias Limit to Nine
Apple Quietly Triples iCloud Mail Alias Limit to Nine
3 hours ago
Mac Users Reclaim 12GB+ of Storage With Apple Intelligence Removal Tool
Mac Users Reclaim 12GB+ of Storage With Apple Intelligence Removal Tool
48 minutes ago
iPhone Duo Makes Focus Modes Easier to Toggle From the Lock Screen
iPhone Duo Makes Focus Modes Easier to Toggle From the Lock Screen
5 hours ago
EU iPhone and iPad Users Could Still Face Months-Long Wait for Siri AI
EU iPhone and iPad Users Could Still Face Months-Long Wait for Siri AI
5 hours ago
Today Marks the 15th Anniversary of Steve Jobs' Death
Today Marks the 15th Anniversary of Steve Jobs' Death
6 hours ago
iPhone 18 Pro's Triple Live Activity Support Comes With a Catch
iPhone 18 Pro's Triple Live Activity Support Comes With a Catch
7 hours ago
Apple's New CEO John Ternus is Making Product Design a 'Major Priority'
Apple's New CEO John Ternus is Making Product Design a 'Major Priority'
12 hours ago
Apple Hiring 'iCup' Specialist
Apple Hiring 'iCup' Specialist
13 hours ago
MacBook Pro With OLED Display Rumored to Be 'Significantly Lighter'
MacBook Pro With OLED Display Rumored to Be 'Significantly Lighter'
14 hours ago
Apple Event Reportedly Planned for October 13
Apple Event Reportedly Planned for October 13
15 hours ago
Amazon Launches Early Prime Day Discounts on AirPods, iPad, MacBook Air, and More
Amazon Launches Early Prime Day Discounts on AirPods, iPad, MacBook Air, and More
2 hours ago
AirPods Pro 3 Hit Record Low $179 Price During Early Prime Day Sale
AirPods Pro 3 Hit Record Low $179 Price During Early Prime Day Sale
1 day ago
Top Stories: Apple Smart Home Launch on October 13, iPhone Duo Production Issues, and More
Top Stories: Apple Smart Home Launch on October 13, iPhone Duo Production Issues, and More
2 days ago
Apple Says iPhone 18 Pro Max Users With AT&T Cellular Issue Need to Have Device Replaced
Apple Says iPhone 18 Pro Max Users With AT&T Cellular Issue Need to Have Device Replaced
3 days ago
Apple Announces 'Full Disk Access' Changes on macOS Due to AI Agents
Apple Announces 'Full Disk Access' Changes on macOS Due to AI Agents
3 days ago
AT&T and Apple Just Took Steps Toward Fixing iPhone 18 Pro Max Issue
AT&T and Apple Just Took Steps Toward Fixing iPhone 18 Pro Max Issue
3 days ago
AT&T on iPhone 18 Pro Max Issues: 'We Are Working With Apple'
AT&T on iPhone 18 Pro Max Issues: 'We Are Working With Apple'
3 days ago
Upgrading From an Older Apple Watch? Here's How the New Features Stack Up
Upgrading From an Older Apple Watch? Here's How the New Features Stack Up
3 days ago
Beats 360 Cushion Kits and Apple Accessories See Early Prime Day Price Drops
Beats 360 Cushion Kits and Apple Accessories See Early Prime Day Price Drops
3 days ago
Apple Store in UK Reopening on iPhone Duo Launch Day
Apple Store in UK Reopening on iPhone Duo Launch Day
3 days ago
AT&T Acknowledges iPhone 18 Pro Max Issues: Update 'Immediately'
AT&T Acknowledges iPhone 18 Pro Max Issues: Update 'Immediately'
3 days ago
New 'AirFly Drive' Accessory Turns Wired CarPlay Into Wireless CarPlay
New 'AirFly Drive' Accessory Turns Wired CarPlay Into Wireless CarPlay
4 days ago
Apple Shares Photos Shot on iPhone Duo
Apple Shares Photos Shot on iPhone Duo
4 days ago
Apple Says iPhone Duo Has Replaceable 'Cover Layer'
Apple Says iPhone Duo Has Replaceable 'Cover Layer'
4 days ago
Apple's Smart Home Camera Will Apparently Have 'No Video Recording'
Apple's Smart Home Camera Will Apparently Have 'No Video Recording'
4 days ago
Apple TV Just Updated Its Selection of 'Bonus' Movies
Apple TV Just Updated Its Selection of 'Bonus' Movies
4 days ago