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

iphone duo standby

Apple Retail Staff Told to Warn Against iPhone Duo Walk-In Purchases

Saturday October 17, 2026 2:30 pm PDT by
Some Apple retail employees have been told to warn customers against visiting to purchase an iPhone Duo without a pre-order on Friday, October 23. Apple Store employees told MacRumors that they have been advised that there will likely be no iPhone Duo stock available for walk-in purchases on launch day. Staff have been instructed to discourage customers without pre-orders from coming in...
iphone duo feature

Mark Gurman: Apple Made 'Major Mistake' With iPhone Duo Pre-Orders

Sunday October 18, 2026 7:33 am PDT by
Despite knowing that the iPhone Duo would face "severe supply constraints" due to manufacturing challenges, Apple chose to begin iPhone Duo pre-orders on Friday instead of waiting until it had more inventory ready, according to Bloomberg's Mark Gurman. In his Power On newsletter today, he called this decision a "major mistake." "Let me cut to the chase: Apple made a major mistake here," he...
iPhone Handoff Feature

Verizon Will Charge $10 a Month for iPhone Handoff

Friday October 16, 2026 4:37 pm PDT by
Verizon plans to charge customers $10 per month for the iPhone Handoff feature that Apple added in iOS 27. iPhone Handoff allows one phone number to be shared across two separate iPhones. Pricing was included in Verizon's iPhone Duo announcement today, with the carrier confirming iPhone Handoff will work with the iPhone Duo and the iPhone 18 Pro models. Verizon will support iPhone Handoff,...
Latest Stories
EFF's Privacy Badger Anti-Tracking Extension Expands to Safari
EFF's Privacy Badger Anti-Tracking Extension Expands to Safari
58 minutes ago
HomePod 27.2 Adds Sound Glow to Existing HomePod Models
HomePod 27.2 Adds Sound Glow to Existing HomePod Models
2 hours ago
Apple Starts Moving Up iPhone Duo Delivery Dates
Apple Starts Moving Up iPhone Duo Delivery Dates
3 hours ago
tvOS 27.2 RC Lays Groundwork for HomePod Surround Sound
tvOS 27.2 RC Lays Groundwork for HomePod Surround Sound
3 hours ago
Apple Says iPhone Duo Not Available on Walk-In Basis in Two Countries
Apple Says iPhone Duo Not Available on Walk-In Basis in Two Countries
4 hours ago
Apple Seeds macOS Golden Gate 27.2 Release Candidate to Developers
Apple Seeds macOS Golden Gate 27.2 Release Candidate to Developers
5 hours ago
Apple Releases iOS 27.2 Release Candidate
Apple Releases iOS 27.2 Release Candidate
5 hours ago
Apple Seeds watchOS 27.2, tvOS 27.2 and visionOS 27.2 Release Candidates
Apple Seeds watchOS 27.2, tvOS 27.2 and visionOS 27.2 Release Candidates
5 hours ago
Samsung Slashes Prices on Frame TVs With Biggest Savings Yet for 2026 Models
Samsung Slashes Prices on Frame TVs With Biggest Savings Yet for 2026 Models
5 hours ago
RIP, MacBook Ultra
RIP, MacBook Ultra
6 hours ago
Apple Announcing New Products Next Week: 'Pro and Tell'
Apple Announcing New Products Next Week: 'Pro and Tell'
6 hours ago
GM Says Apple Wallet Car Keys Coming to These Vehicles
GM Says Apple Wallet Car Keys Coming to These Vehicles
8 hours ago
Amazon Offers $900 Off 2026 16-Inch MacBook Pro With M5 Max Chip
Amazon Offers $900 Off 2026 16-Inch MacBook Pro With M5 Max Chip
9 hours ago
Amazon Discounts New Mac Mini by Up to $149, Mac Studio by $200
Amazon Discounts New Mac Mini by Up to $149, Mac Studio by $200
1 day ago
Apple Expected to Release New Products on Next Four Fridays
Apple Expected to Release New Products on Next Four Fridays
1 day ago
Apple Reveals iPhone Duo's Battery Capacity
Apple Reveals iPhone Duo's Battery Capacity
1 day ago
Apple Planning 'HomeView Max' With 9-Inch, 360-Degree Screen
Apple Planning 'HomeView Max' With 9-Inch, 360-Degree Screen
1 day ago
Mark Gurman: Apple Made 'Major Mistake' With iPhone Duo Pre-Orders
Mark Gurman: Apple Made 'Major Mistake' With iPhone Duo Pre-Orders
1 day ago
Apple Retail Staff Told to Warn Against iPhone Duo Walk-In Purchases
Apple Retail Staff Told to Warn Against iPhone Duo Walk-In Purchases
2 days ago
Apple Hires Former Meta Lawyer to Oversee Global Litigation
Apple Hires Former Meta Lawyer to Oversee Global Litigation
2 days ago
Top Stories: Apple HomeView, New Apple TV and HomePod mini, and Sold-Out iPhone Duo
Top Stories: Apple HomeView, New Apple TV and HomePod mini, and Sold-Out iPhone Duo
2 days ago
Verizon Will Charge $10 a Month for iPhone Handoff
Verizon Will Charge $10 a Month for iPhone Handoff
3 days ago
Apple Calls iPhone Duo Demand 'Extraordinary' After Orders Slip to 2027
Apple Calls iPhone Duo Demand 'Extraordinary' After Orders Slip to 2027
3 days ago
New App Store Rules Target AI Deepfakes and Nudify Apps
New App Store Rules Target AI Deepfakes and Nudify Apps
3 days ago
Didn't Pre-Order Apple's HomeView? Here's How Long the Wait is Now
Didn't Pre-Order Apple's HomeView? Here's How Long the Wait is Now
3 days ago
Apple's $79 iPhone Duo Case Sticks On With Adhesive
Apple's $79 iPhone Duo Case Sticks On With Adhesive
3 days ago
Apple TV 4K and HomePod Mini Price Increases 'Much More Striking' Than New Features
Apple TV 4K and HomePod Mini Price Increases 'Much More Striking' Than New Features
3 days ago
The MacRumors Show: Was HomeView Worth the Wait?
The MacRumors Show: Was HomeView Worth the Wait?
3 days ago
Apple Refers to HomeView as 'HomePodDevice' in Legal Document
Apple Refers to HomeView as 'HomePodDevice' in Legal Document
3 days ago
Apple Pre-Orders Kick Off With First Discounts on HomeView and Apple TV 4K
Apple Pre-Orders Kick Off With First Discounts on HomeView and Apple TV 4K
3 days ago