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

iphone 18 pro max prepare

iPhone 18 Pro Max Requires 'Prepare to Ship' Battery Drain Before Shipping

Friday September 18, 2026 4:27 pm PDT by
The iPhone 18 Pro Max has a battery capacity over 20 watt-hours, which means there are additional shipping requirements. If an iPhone 18 Pro Max needs to be shipped somewhere, its maximum battery capacity has to be limited through firmware. According to Apple, the iPhone 18 Pro Max uses an "innovative battery-firmware solution" that limits battery capacity to below 20Wh between when the...
8 CarPlay Features in iOS 27 Feature

Which iOS 27 CarPlay Features Actually Work in Your Car?

Thursday September 17, 2026 4:17 am PDT by
In iOS 27, available now, CarPlay gets its biggest update in years, but some features depend on what type of car you have rather than your iPhone model. Some of the biggest additions won't do anything in the vast majority of vehicles on the road today. Here's how the new features pan out. Works in Any CarPlay Vehicle Custom widgets: In iOS 27, CarPlay is no longer limited to Apple's handful ...
imac video apple feature

Apple Releasing Two New Macs Next Week

Friday September 18, 2026 10:07 am PDT by
Last month, Apple announced new Mac mini and Mac Studio models, and the computers are finally set to launch this coming Tuesday, September 22. The new Mac mini is available with M6 and M5 Pro chip options, while the new Mac Studio can be configured with M5 Max or M5 Ultra chips. To learn more, read our coverage:Apple Announces New Mac Mini With M6 and M5 Pro Chips and More Apple Unveils ...
Latest Stories
M6 Pro Chip Result on Geekbench is Likely Fake
M6 Pro Chip Result on Geekbench is Likely Fake
10 hours ago
Apple Watch Ultra 4 Sees First Discount After Launch, Now $779.99 on Amazon
Apple Watch Ultra 4 Sees First Discount After Launch, Now $779.99 on Amazon
13 hours ago
Top Stories: iOS 27 and macOS Golden Gate Out Now, Siri AI Waitlist, and More
Top Stories: iOS 27 and macOS Golden Gate Out Now, Siri AI Waitlist, and More
15 hours ago
Apple Exec Says 'Hold Us Accountable' on iPhone Duo Crease
Apple Exec Says 'Hold Us Accountable' on iPhone Duo Crease
23 hours ago
iPhone 18 Pro Max Requires 'Prepare to Ship' Battery Drain Before Shipping
iPhone 18 Pro Max Requires 'Prepare to Ship' Battery Drain Before Shipping
1 day ago
Hands-On With the Apple Watch Series 12
Hands-On With the Apple Watch Series 12
1 day ago
M5 Ultra and M6 Chip Benchmark Results Reveal Graphics Performance
M5 Ultra and M6 Chip Benchmark Results Reveal Graphics Performance
1 day ago
iPhone 18 Pro Max in U.S. Has Qualcomm's Snapdragon X80 Modem
iPhone 18 Pro Max in U.S. Has Qualcomm's Snapdragon X80 Modem
1 day ago
Apple Releases Xcode 27.1 Beta With iPhone Duo Support
Apple Releases Xcode 27.1 Beta With iPhone Duo Support
1 day ago
Apple Watch Series 12 vs. Ultra 4 Buyer's Guide
Apple Watch Series 12 vs. Ultra 4 Buyer's Guide
1 day ago
MacRumors Giveaway: Win an iPhone Duo From iMazing
MacRumors Giveaway: Win an iPhone Duo From iMazing
1 day ago
'Shop Different': Apple Retail Pioneer Ron Johnson Shares the Inside Story
'Shop Different': Apple Retail Pioneer Ron Johnson Shares the Inside Story
1 day ago
Apple Teams Up With ROSÉ for iPhone 18 Pro Camera Ad
Apple Teams Up With ROSÉ for iPhone 18 Pro Camera Ad
1 day ago
The MacRumors Show: Is the iPhone Duo Actually Worth It?
The MacRumors Show: Is the iPhone Duo Actually Worth It?
1 day ago
Apple Designers Explain the Thinking Behind iPhone Duo
Apple Designers Explain the Thinking Behind iPhone Duo
1 day ago
Are iPhone 17 Pro Cases Compatible With iPhone 18 Pro? Here's What Apple Says
Are iPhone 17 Pro Cases Compatible With iPhone 18 Pro? Here's What Apple Says
2 days ago
Apple Supplier Subsidiary Considering U.S. Flash Memory Factory
Apple Supplier Subsidiary Considering U.S. Flash Memory Factory
2 days ago
Apple Launch Day Deals on iPhone 18 Pro, AirPods 5, Apple Watch Series 12, and More
Apple Launch Day Deals on iPhone 18 Pro, AirPods 5, Apple Watch Series 12, and More
2 days ago
iPhone 18 Pro Teardown Reveals How Apple Shrunk the Dynamic Island
iPhone 18 Pro Teardown Reveals How Apple Shrunk the Dynamic Island
2 days ago
iPhone 18 Pro Demand Stronger Than Expected
iPhone 18 Pro Demand Stronger Than Expected
2 days ago
Fan Site Lets You 'Design the Next iPhone'
Fan Site Lets You 'Design the Next iPhone'
2 days ago
Apple Stores Have a New 'Hello' Easter Egg, Here's Why
Apple Stores Have a New 'Hello' Easter Egg, Here's Why
2 days ago
iPhone 18 Pro: The New Features You Should Try First
iPhone 18 Pro: The New Features You Should Try First
2 days ago
iPhone 18 Pro: Using the New Variable Aperture Lens
iPhone 18 Pro: Using the New Variable Aperture Lens
2 days ago
Forgot to Pre-Order iPhone 18 Pro? Apple Store Pickup Available Today at Most Locations
Forgot to Pre-Order iPhone 18 Pro? Apple Store Pickup Available Today at Most Locations
2 days ago
Apple CEO John Ternus Teases iPhone 18 Pro Launch Day
Apple CEO John Ternus Teases iPhone 18 Pro Launch Day
2 days ago
First iPhone 18 Pro, Apple Watch Series 12, Apple Watch Ultra 4 and AirPods 5 Orders Arriving to Customers
First iPhone 18 Pro, Apple Watch Series 12, Apple Watch Ultra 4 and AirPods 5 Orders Arriving to Customers
2 days ago
iPhone 18 Pro Launching Tomorrow With These 10 New Features
iPhone 18 Pro Launching Tomorrow With These 10 New Features
2 days ago
How to Get the New 3-Month Trial of Apple One Premier ($120 Value)
How to Get the New 3-Month Trial of Apple One Premier ($120 Value)
2 days ago
New iPhone 18 Pro Models Will Have Day One Update
New iPhone 18 Pro Models Will Have Day One Update
2 days ago