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 pro tell logo

Apple Launching Five New Products This Friday

Monday November 2, 2026 1:22 am PST by
Apple is releasing five new products this Friday, November 6, following pre-orders that opened last week, including its first touchscreen MacBook Pro models. The following new products will be available from Friday: iPad mini with OLED display and A20 Pro chip iMac with M6 chip 14-inch MacBook Pro with M6 chip 14-inch MacBook Pro with OLED touchscreen 16-inch MacBook Pro with OLED...
iPhone Duo Display Cracking

Apple Alerts Stores to iPhone Duo's Display Cracking Issue

Friday October 30, 2026 3:20 pm PDT by
In a memo shared with Apple Stores and Apple Authorized Service Providers this week, and later obtained by MacRumors, Apple provided technicians with guidance on how to diagnose and address the iPhone Duo's inner display cracking issue. If a customer reports the issue, Apple advised technicians to inspect the iPhone Duo and repair or replace it in accordance with their standard procedures....
Apple Logo Gradient 16x9 1

Apple Isn't Done With 2026: Here's What's Still Coming

Monday November 2, 2026 7:27 am PST by
Apple's busiest season isn't over yet. Far from it. With two hardware launch dates still to come in November, plus software updates and new smart home accessories running into December, there's more on the way from Apple before the end of 2026, so be sure to stick around. Below, we've rounded up what's still coming, along with one date in particular that's worth watching if you're a holiday...
Latest Stories
Apple Requiring Developers to Disclose Location Sharing and Dating Features in Apps
Apple Requiring Developers to Disclose Location Sharing and Dating Features in Apps
7 hours ago
Apple's Q4 2026 Earnings Call Takeaways
Apple's Q4 2026 Earnings Call Takeaways
7 hours ago
Apple Dodges Question on More Price Hikes as Memory Costs Climb
Apple Dodges Question on More Price Hikes as Memory Costs Climb
7 hours ago
Apple CEO Ternus Says iPhone Duo Shortages Have No End Date in Sight
Apple CEO Ternus Says iPhone Duo Shortages Have No End Date in Sight
9 hours ago
Apple Reports 4Q 2026 Results: $30.7B Profit on $114.5B Revenue
Apple Reports 4Q 2026 Results: $30.7B Profit on $114.5B Revenue
10 hours ago
Early Black Friday Brings Steep Price Drops on Apple's Latest iPhone Cases
Early Black Friday Brings Steep Price Drops on Apple's Latest iPhone Cases
13 hours ago
John Ternus Hosting His First Earnings Call as Apple CEO Today
John Ternus Hosting His First Earnings Call as Apple CEO Today
14 hours ago
Here's What Spotify Looks Like on Apple's HomeView
Here's What Spotify Looks Like on Apple's HomeView
14 hours ago
iOS 27.2.1 Coming Soon, iOS 27.3 Beta Likely Available Tomorrow
iOS 27.2.1 Coming Soon, iOS 27.3 Beta Likely Available Tomorrow
15 hours ago
Mark Gurman: Apple Initially Aimed to Release iPhone Duo in November
Mark Gurman: Apple Initially Aimed to Release iPhone Duo in November
16 hours ago
Best Early Black Friday Deals on Apple Products Available Now
Best Early Black Friday Deals on Apple Products Available Now
16 hours ago
Apple Isn't Done With 2026: Here's What's Still Coming
Apple Isn't Done With 2026: Here's What's Still Coming
16 hours ago
Apple 'HomeView Ultra' With 9-Inch 360º Screen Detailed in New Report
Apple 'HomeView Ultra' With 9-Inch 360º Screen Detailed in New Report
16 hours ago
Apple TV 4K Pre-Order Discount Returns at Amazon
Apple TV 4K Pre-Order Discount Returns at Amazon
17 hours ago
Zoom and These Microsoft Apps Now Optimized for iPhone Duo
Zoom and These Microsoft Apps Now Optimized for iPhone Duo
17 hours ago
Canva Brings Free All-in-One Affinity App to iPad
Canva Brings Free All-in-One Affinity App to iPad
17 hours ago
iPhone Duo: Latest Buyer Wait Times
iPhone Duo: Latest Buyer Wait Times
19 hours ago
iPhone Duo Owners Can't Change Display Zoom After Setup
iPhone Duo Owners Can't Change Display Zoom After Setup
15 hours ago
Apple HomeView Could Double as a Security Camera
Apple HomeView Could Double as a Security Camera
21 hours ago
Apple Launching Five New Products This Friday
Apple Launching Five New Products This Friday
22 hours ago
Nearly Every M5 MacBook Air Now $200 Off on Amazon
Nearly Every M5 MacBook Air Now $200 Off on Amazon
2 days ago
Apple's HomeView Ships With Six-Month-Old Software
Apple's HomeView Ships With Six-Month-Old Software
2 days ago
Three New iPads Rumored to Launch in First Half of 2027
Three New iPads Rumored to Launch in First Half of 2027
2 days ago
Apple Offers Steps to Fix Daylight Saving Time Bug on Apple Watch
Apple Offers Steps to Fix Daylight Saving Time Bug on Apple Watch
2 days ago
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
3 days ago
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
3 days ago
Here's a New Tour of Apple's HomeView Software
Here's a New Tour of Apple's HomeView Software
3 days ago
Apple Reveals New iPad Mini's Battery Capacity
Apple Reveals New iPad Mini's Battery Capacity
3 days ago
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
3 days ago
'Pluribus' Season 2 Reportedly Starts Production Today
'Pluribus' Season 2 Reportedly Starts Production Today
3 days ago