How to Set Up Two-Factor Authentication for Multiple Apple IDs on One Device - MacRumors
Skip to Content

How to Set Up Two-Factor Authentication for Multiple Apple IDs on One Device

by

As of February 27, 2019, Apple is requiring that all Developer accounts with an Account Holder role be secured with two-factor authentication in order to ensure that only the account owner is able to sign into the account.

apple 2fa
Two-factor authentication involves a pop-up code being generated on trusted devices linked to an Apple ID any time a login attempt is made unless you've logged with that same browser within the past 30 days and selected the option to trust it. That verification code from the trusted device must then be entered for the login to be approved.

The requirement has caused some confusion among developers who have multiple Apple IDs, particularly those who use a dedicated ‌Apple ID‌ for their Developer account that is separate from their primary iCloud account used on their devices.

Apple has posted a developer support document that outlines a few ways to enable two-factor authentication on a non-primary ‌Apple ID‌, but Apple's suggestion for iOS involves signing out of your primary ‌iCloud‌ account. That can be a hassle as your phone unsyncs and tries to delete content associated with that account, so it's better to use other methods if you can.

Turning on two-factor authentication for an alternate ‌Apple ID‌ and getting it to work properly with trusted iOS devices without signing out of your primary ‌Apple ID‌ requires a few steps, but once they're done the feature should work seamlessly.

Activating Two-Factor Authentication on an Alternate Apple ID

For this portion of the process, you'll need access to a Mac where you have permissions to create new user accounts.

  1. Open System Preferences and click on Users & Groups.
  2. Click the lock at the bottom left corner and enter your administrator password to allow changes.
  3. At the bottom of the user list on the left, click the + button and set up a new Standard user account, entering a name, account name, and password and clicking on "Create User."
    2fa mac new user

  4. If you have fast user switching activated, click on your name or icon near the right side of the menu bar, and choose the new user account you just set up. If fast user switching is not active, you'll need to either turn it on in the Login Options section of Users & Groups in System Preferences or completely log out of your current account and then choose the new account.
    2fa fast switching

  5. Enter the password to log into the new account, and skip through the setup steps as quickly as possible, unchecking options or selecting "set up later" for various features whenever possible.
  6. Once the user account is configured and you've reached the Mac desktop, head to System Preferences and click on ‌iCloud‌.
    2fa icloud login

  7. Sign in with the ‌Apple ID‌ you want to activate two-factor authentication for. Once you've entered the password, the system will ask if you want to set up two-factor authentication. Select Continue.
    2fa icloud setup

  8. Enter a phone number where you can receive a text message or phone call to verify your identity.
    2fa icloud phone

  9. When you receive a verification code at that number, enter it on your Mac and finish the setup steps, unchecking all options. Two-factor authentication is now up and running on your Mac for your desired ‌Apple ID‌. Keep this user account open on your Mac for the next step unless you want to use a text message verification code to the phone number you entered as a fallback.

Setting Up an iPhone or iPad as a Trusted Device

You don't want to leave this unneeded user account up and running on your Mac as the only method for approving logins that doesn't require a text message, so you'll want to set up an iPhone or iPad as a trusted device for this ‌Apple ID‌.

  1. Open the Settings app on your iOS device and tap on Passwords & Accounts
    2fa iphone login

  2. Tap on Add Account and choose ‌iCloud‌, then enter the ‌Apple ID‌ and password for the account you just set up two-factor authentication for on your Mac. You'll be prompted for verification, which should pop up on your Mac where you can allow the login and view the verification code to enter on your iOS device. (If you already logged out of or deleted the Mac user account, you can choose the "Didn't get a verification code" option and select "Text Me" to receive a code via SMS.)
    2fa mac approve

  3. Once you're authenticated, the ‌Apple ID‌ login will finish and you'll be offered a list of ‌iCloud‌ features including Mail, Contacts, Calendars, and Reminders on your iOS device. Turn all of these toggles off and tap Save.
    2fa icloud options

  4. Your Developer ‌Apple ID‌ account is now logged in on your iOS device and it can receive verification requests whenever you try to log into that ‌Apple ID‌. It will show as "Inactive" in the account list on your device because all of the ‌iCloud‌ features of the account have been toggled off.

The final step of the process is to clean up the Mac you used to turn on two-factor authentication. Log out of the account on the Mac, switch to an account with administrator privileges, head back to the Users & Groups section of System Preferences, click on the lock to allow changes, highlight the temporary account you agreed, and hit the minus button. Choose to delete the account entirely rather than archiving it, and you're done.

If you'd like to also be able to approve logins and generate verification codes from your Mac, you can log into the alternate ID from your main Mac account. The steps are similar to the ones for setting up an iPhone or ‌iPad‌ as a trusted device for a secondary ‌Apple ID‌: Go to System Preferences > Internet Accounts, and add your developer ‌Apple ID‌ as another ‌iCloud‌ account. Don't forget to uncheck all of the ‌iCloud‌ services to make it inactive so that it's only used for approving two-factor requests on that account.

Top Rated Comments

99 months ago
Here is an article that explains the process much better

https://scriptingosx.com/2019/02/apple-two-factor-authentication-for-a-secondary-apple-id/

I have set up both my work laptop and my iPhone to have both my personal and work AppleIDs successfully.
Score: 1 Votes (Like | Disagree)
WildCowboy Avatar
99 months ago
No need to set up an entirely new user on the Mac. Just go to System Preferences > Internet Accounts and click the iCloud option on the top. Even if you already have another iCloud account as your primary (in the iCloud Pref pane), you can still add other iCloud accounts for syncing contacts, etc... *and* getting 2FA prompts.
How do you turn on 2FA on the secondary account in this scenario? When you log into it through Internet Accounts, there's no way to bring up the option to turn on 2FA.

As far as I know (and as described in Apple's instructions), it must be logged in as a primary iCloud account in order to access the option to turn on 2FA. That's why you have to either log out of your main iCloud account on iOS or set up a new user on Mac.
Score: 1 Votes (Like | Disagree)
99 months ago
No need to set up an entirely new user on the Mac. Just go to System Preferences > Internet Accounts and click the iCloud option on the top. Even if you already have another iCloud account as your primary (in the iCloud Pref pane), you can still add other iCloud accounts for syncing contacts, etc... *and* getting 2FA prompts.
Score: 1 Votes (Like | Disagree)

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...
m5 pro macbook pro launch day

Amazon Just Knocked $900 Off Apple's Latest 16-Inch MacBook Pro

Sunday September 27, 2026 8:30 am PDT by
Amazon has introduced a major discount on the 16-inch MacBook Pro with the M5 Max chip, 32-Core GPU, 36GB RAM, and 2TB SSD, now available for $3,499.00, down from $4,399.00. This is a massive $900 markdown on the high-end MacBook Pro, and it's joining a few other MacBook Pro discounts on Amazon this week. Note: MacRumors is an affiliate partner with Amazon. When you click a link and make a...
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
iPhone Duo StandBy Leak Reveals Five Unannounced Faces
iPhone Duo StandBy Leak Reveals Five Unannounced Faces
8 hours ago
Apple Releases watchOS 27.0.1 for Additional Models
Apple Releases watchOS 27.0.1 for Additional Models
11 hours ago
iPhone 18 Pro First Impressions: What Do You Think So Far?
iPhone 18 Pro First Impressions: What Do You Think So Far?
12 hours ago
iOS 26.7.1 Fixes Vulnerability Used in Targeted Attacks
iOS 26.7.1 Fixes Vulnerability Used in Targeted Attacks
13 hours ago
Early Prime Day Deals Offer Up to 65% Off Anker and Jackery Power Stations
Early Prime Day Deals Offer Up to 65% Off Anker and Jackery Power Stations
14 hours ago
Apple Releases macOS Golden Gate 27.0.1 With Bug Fixes
Apple Releases macOS Golden Gate 27.0.1 With Bug Fixes
15 hours ago
Apple Releases iOS 27.0.1 With Face ID Bug Fix
Apple Releases iOS 27.0.1 With Face ID Bug Fix
15 hours ago
Last Chance: OWC's Best Mac Accessories Are on Sale Just for MacRumors Readers
Last Chance: OWC's Best Mac Accessories Are on Sale Just for MacRumors Readers
17 hours ago
12 New Things to Expect From Apple This October
12 New Things to Expect From Apple This October
18 hours ago
AirPods 5 vs. AirPods Pro 3 Buyer's Guide: Which Should You Buy?
AirPods 5 vs. AirPods Pro 3 Buyer's Guide: Which Should You Buy?
19 hours ago
Apple Ordered to Pay $5.7 Billion Over Haptic Patent Infringement
Apple Ordered to Pay $5.7 Billion Over Haptic Patent Infringement
20 hours ago
New Vision Pro Headset: Apple Considering Four Different Concepts
New Vision Pro Headset: Apple Considering Four Different Concepts
21 hours ago
Amazon Just Knocked $900 Off Apple's Latest 16-Inch MacBook Pro
Amazon Just Knocked $900 Off Apple's Latest 16-Inch MacBook Pro
2 days ago
Top Stories: Apple Leaks, Siri AI Settlement, and More
Top Stories: Apple Leaks, Siri AI Settlement, and More
3 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
3 days ago
Banks and Credit Unions to Team Up Against Apple Pay Fees
Banks and Credit Unions to Team Up Against Apple Pay Fees
4 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
4 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
4 days ago
MacRumors Giveaway: Win an Apple Watch Ultra 4 From Lululook
MacRumors Giveaway: Win an Apple Watch Ultra 4 From Lululook
4 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
4 days ago
Some iPhone 18 Pro Max Users Experiencing AT&T Cellular Issues
Some iPhone 18 Pro Max Users Experiencing AT&T Cellular Issues
4 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
4 days ago
The MacRumors Show: Tyler Stalman Talks iPhone 18 Pro's Camera
The MacRumors Show: Tyler Stalman Talks iPhone 18 Pro's Camera
4 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
4 days ago
iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More
iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More
4 days ago
Exclusive: First Look at HomePod Mini 2 in Three New Colors
Exclusive: First Look at HomePod Mini 2 in Three New Colors
4 days ago
New Apple TV 4K Leaked
New Apple TV 4K Leaked
4 days ago
Create a Custom Pass in the Wallet App on iPhone
Create a Custom Pass in the Wallet App on iPhone
4 days ago
How to Check Your Mac's Manufacture Date in macOS 27
How to Check Your Mac's Manufacture Date in macOS 27
4 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
4 days ago