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

Apple TV Sans Remote Feature

New Apple TV 4K Leaked

Friday September 25, 2026 8:16 am PDT by
MacRumors contributor Aaron Perris has uncovered an image file from Apple for an unreleased Apple TV 4K, suggesting that a new model will finally be released soon. The image is specifically for an "Apple TV 4K (4th generation)" model. Apple TV 4K (4th generation) image (on a gradient) The image reveals that the Apple TV will have the same external design as the current model, with all of its...
HomePod minis Apple TV and iPad mini Leak Feature

iPad Mini With A20 Pro, New HomePod Mini Colors, and New Apple TV 4K All Just Leaked

Friday September 25, 2026 8:18 am PDT by
The next iPad mini, HomePod mini, and Apple TV 4K models have all leaked, just a few weeks before the devices are expected to be announced. Specifically, MacRumors contributor Aaron Perris discovered a few of Apple's official images of the devices, confirming their existence and some new features that are planned. The most notable iPad mini details revealed in today's leak include an A20 Pro ...
iPad mini 7 feature

iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More

Friday September 25, 2026 8:18 am PDT by
Apple's next-generation iPad mini will feature the A20 Pro chip, a rearranged front-facing camera, and a new speaker system, leaked code reveals. The information originates from Apple's own code (spotted by MacRumors contributor Aaron Perris) and also shows clear product images of the new iPad mini. Although images of the device only show the front, leaving any design changes of the rear or ...
Latest Stories
Amazon Just Knocked $900 Off Apple's Latest 16-Inch MacBook Pro
Amazon Just Knocked $900 Off Apple's Latest 16-Inch MacBook Pro
14 hours ago
Top Stories: Apple Leaks, Siri AI Settlement, and More
Top Stories: Apple Leaks, Siri AI Settlement, and More
2 days ago
watchOS 27: 12 New Things To Check Out on Your Apple Watch
watchOS 27: 12 New Things To Check Out on Your Apple Watch
2 days ago
Banks and Credit Unions to Team Up Against Apple Pay Fees
Banks and Credit Unions to Team Up Against Apple Pay Fees
2 days ago
Apple Finally Shares tvOS 27 Release Notes With List of New Features
Apple Finally Shares tvOS 27 Release Notes With List of New Features
2 days ago
Amazon's $199 Discount on Apple Watch Ultra 3 Returns to Help Clear Stock
Amazon's $199 Discount on Apple Watch Ultra 3 Returns to Help Clear Stock
2 days ago
MacRumors Giveaway: Win an Apple Watch Ultra 4 From Lululook
MacRumors Giveaway: Win an Apple Watch Ultra 4 From Lululook
3 days ago
Apple Code Confirms iPad 12 Specs: A19, 8GB RAM, N1, C1X Modem
Apple Code Confirms iPad 12 Specs: A19, 8GB RAM, N1, C1X Modem
3 days ago
Some iPhone 18 Pro Max Users Experiencing AT&T Cellular Issues
Some iPhone 18 Pro Max Users Experiencing AT&T Cellular Issues
3 days ago
Launch Week Deals Hit Latest Macs, Apple Watch Ultra 4, and Apple Accessories
Launch Week Deals Hit Latest Macs, Apple Watch Ultra 4, and Apple Accessories
3 days ago
The MacRumors Show: Tyler Stalman Talks iPhone 18 Pro's Camera
The MacRumors Show: Tyler Stalman Talks iPhone 18 Pro's Camera
3 days ago
iPad Mini With A20 Pro, New HomePod Mini Colors, and New Apple TV 4K All Just Leaked
iPad Mini With A20 Pro, New HomePod Mini Colors, and New Apple TV 4K All Just Leaked
3 days ago
iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More
iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More
3 days ago
Exclusive: First Look at HomePod Mini 2 in Three New Colors
Exclusive: First Look at HomePod Mini 2 in Three New Colors
3 days ago
New Apple TV 4K Leaked
New Apple TV 4K Leaked
3 days ago
Create a Custom Pass in the Wallet App on iPhone
Create a Custom Pass in the Wallet App on iPhone
3 days ago
How to Check Your Mac's Manufacture Date in macOS 27
How to Check Your Mac's Manufacture Date in macOS 27
3 days ago
What's Gone in macOS Golden Gate and What's Next in macOS 28
What's Gone in macOS Golden Gate and What's Next in macOS 28
3 days ago
TestFlight App Gets New iOS 27 Features
TestFlight App Gets New iOS 27 Features
3 days ago
Google Photos Wardrobe Feature Comes to iOS
Google Photos Wardrobe Feature Comes to iOS
3 days ago
Apple Music to Host Free Head Trip Festival Livestream
Apple Music to Host Free Head Trip Festival Livestream
3 days ago
watchOS 27.2 Code Hints at iPhone-Style Screenshot Previews
watchOS 27.2 Code Hints at iPhone-Style Screenshot Previews
4 days ago
Beats 360 Headphones Now Available in Apple Stores
Beats 360 Headphones Now Available in Apple Stores
4 days ago
Apple Shares New Video Promoting iOS 27 Parental Controls
Apple Shares New Video Promoting iOS 27 Parental Controls
4 days ago
Apple Has Announced 12 New Products in the Past Month
Apple Has Announced 12 New Products in the Past Month
4 days ago
Apple Watch Ultra 2 vs. Ultra 4 Buyer's Guide: Should You Upgrade?
Apple Watch Ultra 2 vs. Ultra 4 Buyer's Guide: Should You Upgrade?
4 days ago
Here's When Apple TV is Airing Free 'Peanuts' Holiday Specials This Year
Here's When Apple TV is Airing Free 'Peanuts' Holiday Specials This Year
4 days ago
Square Announces Apple Business Integration
Square Announces Apple Business Integration
4 days ago
AirPods Pro 3 on Sale for $199 This Week on Amazon
AirPods Pro 3 on Sale for $199 This Week on Amazon
4 days ago
Qualcomm Announces Renewed Agreement With Apple
Qualcomm Announces Renewed Agreement With Apple
4 days ago