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

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

Apple Launches Two Products Today

Friday November 13, 2026 2:37 am PST by
Apple is releasing two new products today, Friday, November 13: the all-new Apple HomeView and the fourth-generation Apple TV 4K, both of which have been available to pre-order since mid-October. Apple HomeView: Apple's new smart home display, powered by Apple Intelligence with Siri AI, for entertainment and managing the home. Available in tabletop and wall-mounted models, it can recognize up...
iPhone Duo Outer Display Hand

Apple Aiming to Upgrade the iPhone Duo in Four Ways

Sunday November 15, 2026 8:42 am PST by
Bloomberg's Mark Gurman today said Apple has four goals for future iPhone Duo models: Face ID, an Action button, a telephoto camera, and a thinner-and-lighter design. Gurman said Apple has already developed iPhone Duo 2 prototypes with Face ID on the outer display, but it is "running out of time" to finalize the feature for that model, so it might not arrive until the iPhone Duo...
Black Friday Deals 26 3

Apple Black Friday Starts Early: Save on Apple Watch, MacBook Air, and More

Saturday November 14, 2026 7:25 am PST by
Black Friday is now less than two weeks away, 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 ...
Latest Stories
Didn't Order Apple's HomeView Yet? Wait Times Are Significant Now
Didn't Order Apple's HomeView Yet? Wait Times Are Significant Now
58 minutes ago
Apple Pushes Back Against Canada's Plan to Access User Data
Apple Pushes Back Against Canada's Plan to Access User Data
1 hour ago
Black Friday TV Deals Include Year's Best Prices on Samsung, Sony, LG, and Many More
Black Friday TV Deals Include Year's Best Prices on Samsung, Sony, LG, and Many More
2 hours ago
Adobe's Black Friday Sale Takes 57% Off Creative Cloud Pro for Your First Year
Adobe's Black Friday Sale Takes 57% Off Creative Cloud Pro for Your First Year
3 hours ago
Apple's New HomeView Smart Home Hub Has Issues, Say Owners
Apple's New HomeView Smart Home Hub Has Issues, Say Owners
3 hours ago
'Slow Horses' to Hit 10-Season Milestone With Apple TV Renewal
'Slow Horses' to Hit 10-Season Milestone With Apple TV Renewal
3 hours ago
Apple Watch SE 3 Black Friday Deals Arrive With $50 Off Every Model
Apple Watch SE 3 Black Friday Deals Arrive With $50 Off Every Model
4 hours ago
Apple Confirms iOS 27.3 Beta 2 Coming Today
Apple Confirms iOS 27.3 Beta 2 Coming Today
4 hours ago
'iPhone 20 Pro' Rumored to Be Based on iPhone Air
'iPhone 20 Pro' Rumored to Be Based on iPhone Air
4 hours ago
iPhone 20 Pro Rumored to Feature New 17nm Camera Sensor
iPhone 20 Pro Rumored to Feature New 17nm Camera Sensor
5 hours ago
New Apple TV 4K's A19 Chip Has One Core Switched Off
New Apple TV 4K's A19 Chip Has One Core Switched Off
6 hours ago
Apple Seeks 200,000 People for AI Health Study
Apple Seeks 200,000 People for AI Health Study
6 hours ago
Apple TV App to Get Video Podcasts Section Today
Apple TV App to Get Video Podcasts Section Today
7 hours ago
Early Apple Watch Black Friday Deals Arrive With Series 12 Hitting New Record Lows
Early Apple Watch Black Friday Deals Arrive With Series 12 Hitting New Record Lows
1 day ago
Apple's Smart Glasses Strategy Hinges on Siri and iPhone Apps
Apple's Smart Glasses Strategy Hinges on Siri and iPhone Apps
1 day ago
AirPods Pro 3 Discounted to $179.99 in Early Black Friday Sale
AirPods Pro 3 Discounted to $179.99 in Early Black Friday Sale
1 day ago
Apple Aiming to Upgrade the iPhone Duo in Four Ways
Apple Aiming to Upgrade the iPhone Duo in Four Ways
1 day ago
Apple Black Friday Starts Early: Save on Apple Watch, MacBook Air, and More
Apple Black Friday Starts Early: Save on Apple Watch, MacBook Air, and More
1 day ago
Top Stories: Apple's New Software Approach, iPhone Duo-Optimized Apps, and More
Top Stories: Apple's New Software Approach, iPhone Duo-Optimized Apps, and More
2 days ago
HomeView Tidbits: Mirror, Sleep Timer, and Other Details
HomeView Tidbits: Mirror, Sleep Timer, and Other Details
3 days ago
Siri AI Still Not Enabled on HomePod Mini 2 With Latest Software Update
Siri AI Still Not Enabled on HomePod Mini 2 With Latest Software Update
3 days ago
Apple Releases tvOS 27.2.1 With Siri AI for Older Apple TVs
Apple Releases tvOS 27.2.1 With Siri AI for Older Apple TVs
3 days ago
Microsoft 365 Outage Resolving After Nearly 24 Hours
Microsoft 365 Outage Resolving After Nearly 24 Hours
3 days ago
iPhone Duo Survives 450,000 Folds, but Hinge is Weakening
iPhone Duo Survives 450,000 Folds, but Hinge is Weakening
3 days ago
Apple TV 4K Launch Day Deal Arrives at Amazon
Apple TV 4K Launch Day Deal Arrives at Amazon
3 days ago
The MacRumors Show: HomeView and Apple TV 4K First Impressions
The MacRumors Show: HomeView and Apple TV 4K First Impressions
3 days ago
YouTube App Not Working on Your New Apple TV? Here's the Fix
YouTube App Not Working on Your New Apple TV? Here's the Fix
3 days ago
Apple Meets Thai Officials Over iPhone Spyware Warnings
Apple Meets Thai Officials Over iPhone Spyware Warnings
3 days ago
Apple Shares HomeView 27.2 Release Notes With List of Features
Apple Shares HomeView 27.2 Release Notes With List of Features
3 days ago
HomeView in Québec: Apple Says Canadian French Support to Arrive in Software Update
HomeView in Québec: Apple Says Canadian French Support to Arrive in Software Update
3 days ago