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

MacBook Neo 2 on Yellow Feature

Apple Reportedly Plans to Release These Products in February or March

Sunday November 22, 2026 7:32 am PST by
Apple plans to unveil an iPhone 18e, iPhone 18, updated entry-level iPad, and new MacBook Neo and MacBook Air models around February or March next year, according to the latest word from Bloomberg's Mark Gurman. In his Power On newsletter today, Gurman said Apple has some additional products planned for the first half of 2027, including the iPhone Air 2 and new iPad Air and iPad Pro models,...
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 -...
Black Friday Deals 26 4

Apple Black Friday Deals Available Now: AirPods, Apple Watches, MacBooks, and More

Saturday November 21, 2026 9:17 am PST by
Black Friday is almost here, taking place on Friday, November 27 in 2026. As always, this will be the best time of the year to shop for great deals, including popular Apple products like AirPods, iPad, Apple Watch, and more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site ...
Latest Stories
Apple Bringing Back (PRODUCT)RED With Red HomePod Mini 2 and AirPods Max 2
Apple Bringing Back (PRODUCT)RED With Red HomePod Mini 2 and AirPods Max 2
20 minutes ago
Best Black Friday Streaming Deals on Apple TV, Peacock, HBO Max, and More
Best Black Friday Streaming Deals on Apple TV, Peacock, HBO Max, and More
48 minutes ago
Threads is Getting an iPad App
Threads is Getting an iPad App
53 minutes ago
Developer Turns MacBook Trackpad Into a Speaker Using Haptic Motor
Developer Turns MacBook Trackpad Into a Speaker Using Haptic Motor
2 hours ago
A Decade Later, Apple Remains Berkshire's Biggest Stock Bet
A Decade Later, Apple Remains Berkshire's Biggest Stock Bet
3 hours ago
Black Friday Video Game Deals Include Rare Sale on Nintendo Switch 2 Mario Kart World Bundle
Black Friday Video Game Deals Include Rare Sale on Nintendo Switch 2 Mario Kart World Bundle
4 hours ago
M5 MacBook Air Now Starts at $989.10 for Black Friday, Get Up to $310 Off
M5 MacBook Air Now Starts at $989.10 for Black Friday, Get Up to $310 Off
4 hours ago
Apple Wallet Driver's License Feature Coming to Connecticut
Apple Wallet Driver's License Feature Coming to Connecticut
4 hours ago
Coalition of 55,000 EU Businesses Challenges Apple
Coalition of 55,000 EU Businesses Challenges Apple
4 hours ago
Apple Watch Series 12 Drops to $299 on Amazon
Apple Watch Series 12 Drops to $299 on Amazon
5 hours ago
Apple May Be Stuck With Samsung for iPhone Duo Screens
Apple May Be Stuck With Samsung for iPhone Duo Screens
5 hours ago
Jensen Huang Reinstated as Nvidia CEO
Jensen Huang Reinstated as Nvidia CEO
5 hours ago
iPhone Air 2 May Not Feature Smaller Dynamic Island
iPhone Air 2 May Not Feature Smaller Dynamic Island
6 hours ago
iPad Mini 8 Gets First Major Discount for Black Friday at $100 Off
iPad Mini 8 Gets First Major Discount for Black Friday at $100 Off
7 hours ago
AirPods Pro 3 Plunge to $149 for Black Friday ($100 Off)
AirPods Pro 3 Plunge to $149 for Black Friday ($100 Off)
7 hours ago
Apple Explores Using Light to Move Data Between Server Chips
Apple Explores Using Light to Move Data Between Server Chips
7 hours ago
iPhone Sales Ban in India Sought by Startup Over NameDrop Feature
iPhone Sales Ban in India Sought by Startup Over NameDrop Feature
8 hours ago
MacBook Neo Could Get New Colors and Upgrades Every Year
MacBook Neo Could Get New Colors and Upgrades Every Year
9 hours ago
AirPods Pro 3 Drop to $169.99 in Amazon Black Friday Sale
AirPods Pro 3 Drop to $169.99 in Amazon Black Friday Sale
23 hours ago
iPhone Duo Could Get More Lock Screen Widgets, Leak Suggests
iPhone Duo Could Get More Lock Screen Widgets, Leak Suggests
23 hours ago
Gurman: Siri Layoffs Spared Newer AI Systems, But Problems Persist
Gurman: Siri Layoffs Spared Newer AI Systems, But Problems Persist
23 hours ago
M6 MacBook Pro Drops to $1,799 in New Black Friday Sale ($200 Off)
M6 MacBook Pro Drops to $1,799 in New Black Friday Sale ($200 Off)
1 day ago
Apple Reportedly Plans to Release These Products in February or March
Apple Reportedly Plans to Release These Products in February or March
1 day ago
Apple Watch SE 3 Lineup Sees Record Low Prices Starting at Just $179
Apple Watch SE 3 Lineup Sees Record Low Prices Starting at Just $179
1 day ago
Apple Black Friday Deals Available Now: AirPods, Apple Watches, MacBooks, and More
Apple Black Friday Deals Available Now: AirPods, Apple Watches, MacBooks, and More
45 minutes ago
Apple Store in UK Permanently Closing Today
Apple Store in UK Permanently Closing Today
2 days ago
Siri AI Settlement: Here's How Much Apple Will Pay You
Siri AI Settlement: Here's How Much Apple Will Pay You
2 days ago
RIP, Apple Support Community
RIP, Apple Support Community
2 days ago
Top Stories: iPhone Duo Face Unlock, HomeView Tidbits, and More
Top Stories: iPhone Duo Face Unlock, HomeView Tidbits, and More
2 days ago
Amazon Takes $120 Off 46mm GPS Apple Watch Series 12 With New Record Low Price [Update: Gone]
Amazon Takes $120 Off 46mm GPS Apple Watch Series 12 With New Record Low Price [Update: Gone]
2 days ago