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 screen crack in store

Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge

Friday October 23, 2026 11:05 am PDT by
Some iPhone Duos are already experiencing hinge issues that cause display cracks, based on photos shared on Reddit and the MacRumors forums. Almost all of the display faults are right along the hinge, and most result in a line of bright pixels across one side of the screen. An iPhone Duo owner in Australia said his device cracked after being opened fewer than 20 times, and there was no...
iphone duo screen crack

Apple Responds to iPhone Duo Display Cracking Reports

Monday October 26, 2026 10:20 am PDT by
Shortly after the iPhone Duo launched, a few users reported hinge issues that were causing cracks in the inner display. Apple has now responded to the reports in a statement to MacRumors, saying a small number of units are affected. The response to iPhone Duo from early users has been incredibly positive, and we are seeing exciting things from developers who are rapidly updating their apps...
jerryrigeverything iphone duo dust

iPhone Duo Fails JerryRigEverything's Dusty Durability Test

Saturday October 24, 2026 11:27 am PDT by
Apple's iPhone Duo has failed JerryRigEverything's latest durability test. Despite its IP68 dust-resistance rating, dust entered the hinge through several ingress points, overwhelming the magnets that hold the phone shut. The bend test then left a permanent green line across the inner display, before the screen became unresponsive. The outer screen with Ceramic Shield 2 scratched at level 7...
Latest Stories
JAŸ-Z to Headline 2027 Apple Music Super Bowl LXI Halftime Show
JAŸ-Z to Headline 2027 Apple Music Super Bowl LXI Halftime Show
14 minutes ago
Older Siri Remotes Now Show Up in Find My With iOS 27.2
Older Siri Remotes Now Show Up in Find My With iOS 27.2
2 hours ago
iOS 27.2 Features: Everything New in iOS 27.2
iOS 27.2 Features: Everything New in iOS 27.2
3 hours ago
Why Can't iPhone Duo Users Make Eye Contact on FaceTime?
Why Can't iPhone Duo Users Make Eye Contact on FaceTime?
3 hours ago
iOS 27.2 Fixes Over 160 Security Vulnerabilities
iOS 27.2 Fixes Over 160 Security Vulnerabilities
4 hours ago
iPhone AI Images and Edits Now Have a Hidden Watermark
iPhone AI Images and Edits Now Have a Hidden Watermark
5 hours ago
iOS 27.2 Lets You Watch Four Live Sports Streams on iPhone
iOS 27.2 Lets You Watch Four Live Sports Streams on iPhone
6 hours ago
iOS 27.2 Expands Dual Capture to Group FaceTime
iOS 27.2 Expands Dual Capture to Group FaceTime
6 hours ago
Here's Why Apple's Next Pre-Orders Begin on Wednesday at 10:10 AM
Here's Why Apple's Next Pre-Orders Begin on Wednesday at 10:10 AM
7 hours ago
Apple Says Siri AI Will Support Even More Languages Later This Year
Apple Says Siri AI Will Support Even More Languages Later This Year
7 hours ago
Apple Releases iOS 27.2 With New Siri AI Languages
Apple Releases iOS 27.2 With New Siri AI Languages
8 hours ago
Apple Releases macOS Golden Gate 27.2
Apple Releases macOS Golden Gate 27.2
8 hours ago
Apple Releases watchOS 27.2 With Siri AI Enhancements
Apple Releases watchOS 27.2 With Siri AI Enhancements
8 hours ago
Apple Releases HomePod 27.2 Software With Sound Glow for Existing HomePods
Apple Releases HomePod 27.2 Software With Sound Glow for Existing HomePods
8 hours ago
Apple Releases tvOS 27.2 With HomePod Surround Sound Support
Apple Releases tvOS 27.2 With HomePod Surround Sound Support
8 hours ago
Apple Releases visionOS 27.2
Apple Releases visionOS 27.2
8 hours ago
iPad Mini 2024 vs. 2026 Buyer's Guide: Should You Upgrade?
iPad Mini 2024 vs. 2026 Buyer's Guide: Should You Upgrade?
8 hours ago
Apple Responds to iPhone Duo Display Cracking Reports
Apple Responds to iPhone Duo Display Cracking Reports
9 hours ago
iPhone Duo: Watch Video Above an App in Portrait Mode
iPhone Duo: Watch Video Above an App in Portrait Mode
9 hours ago
AirPods Pro Hearing Aid Feature Launching in These Canadian Provinces
AirPods Pro Hearing Aid Feature Launching in These Canadian Provinces
10 hours ago
New iPad Mini Announced Today Has More Than 12 New Features
New iPad Mini Announced Today Has More Than 12 New Features
11 hours ago
Apple Raises iPad and Mac Trade-In Values
Apple Raises iPad and Mac Trade-In Values
11 hours ago
New iPad Mini Gains Adaptive True Tone Flash
New iPad Mini Gains Adaptive True Tone Flash
11 hours ago
Quickly Silence iPhone Duo Without a Ring/Mute Switch
Quickly Silence iPhone Duo Without a Ring/Mute Switch
12 hours ago
Anker Launches Halloween Sale With Sitewide Discounts and Labubu Bundles
Anker Launches Halloween Sale With Sitewide Discounts and Labubu Bundles
12 hours ago
OLED iPad Mini Fast Charge Needs a 35W Adapter, Sold Separately
OLED iPad Mini Fast Charge Needs a 35W Adapter, Sold Separately
12 hours ago
Apple Brings TechWoven to iPad With All-New $79 iPad Mini Smart Folio
Apple Brings TechWoven to iPad With All-New $79 iPad Mini Smart Folio
12 hours ago
All Current iPads Now Feature a Landscape Front Camera
All Current iPads Now Feature a Landscape Front Camera
12 hours ago
OLED iPad Mini Starts at $699 After Second Price Hike This Year
OLED iPad Mini Starts at $699 After Second Price Hike This Year
12 hours ago
New iPad Mini Available in Just Two Colors
New iPad Mini Available in Just Two Colors
12 hours ago