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

100 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
100 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)
100 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 4K HomeView HomePod Mini tweaked

New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked

Sunday October 11, 2026 12:56 pm PDT by
Just two days before Apple's "Welcome home" experience in New York, Bloomberg's Mark Gurman has leaked several details about the new products set to be unveiled, including an all-new smart home hub, a HomePod mini 2, and a new Apple TV 4K. Here is an all-in-one summary of the details shared by Gurman:Apple's home hub with a touch-enabled display will be named HomeView, seemingly confirming a ...
Apple HomeView lineup feature1

Apple Announces 'HomeView' Smart Home Hub

Tuesday October 13, 2026 6:00 am PDT by
Apple today announced the "HomeView," an all-new kind of smart home hub featuring a 7-inch Liquid Retina display and Siri AI. Apple's senior vice president of Worldwide Marketing Greg Joswiak said: Apple HomeView is designed to be shared by everyone in the home yet feel completely personal to each user. It recognizes your face to shift from a household screen to your own experience,...
Apple TV 4K 4th Generation feature4

New Apple TV 4K Announced With A19 Chip, Updated Siri Remote, More

Tuesday October 13, 2026 6:08 am PDT by
Apple today announced the fourth-generation Apple TV 4K, with key features including an A19 chip, Siri AI support, an updated Siri Remote that has Find My support with Precision Finding, built in far-field microphones, support for surround sound with four HomePods in front and rear pairs, and more. The A19 chip in the new Apple TV 4K delivers up to 50% faster CPU performance and up to twice...
Latest Stories
HomePod Mini 1 Will Also Support Siri AI Later This Year, Says CNET
HomePod Mini 1 Will Also Support Siri AI Later This Year, Says CNET
22 minutes ago
iPhone Duo Compromises: Everything You Have to Give Up
iPhone Duo Compromises: Everything You Have to Give Up
50 minutes ago
Apple HomeView Has These 15 Apps, Some CarPlay Apps and Widgets Also Supported
Apple HomeView Has These 15 Apps, Some CarPlay Apps and Widgets Also Supported
56 minutes ago
iPhone Duo: Apple Charging $49 for New Cover Layer, $229 for Battery
iPhone Duo: Apple Charging $49 for New Cover Layer, $229 for Battery
2 hours ago
iPhone Duo: Skipping AppleCare+ Could Be $1,499 Mistake
iPhone Duo: Skipping AppleCare+ Could Be $1,499 Mistake
2 hours ago
Ready for HomeView? Don't Miss These Smart Home Accessory Deals
Ready for HomeView? Don't Miss These Smart Home Accessory Deals
3 hours ago
Apple Says HomePod 2 Also Works as Default Speaker With Select Macs
Apple Says HomePod 2 Also Works as Default Speaker With Select Macs
3 hours ago
HomePod Mini 2: All the New Features
HomePod Mini 2: All the New Features
3 hours ago
WhatsApp Now Lets Anyone Join Calls, No Account Needed
WhatsApp Now Lets Anyone Join Calls, No Account Needed
3 hours ago
AppleCare+ Launched 15 Years Ago Today
AppleCare+ Launched 15 Years Ago Today
3 hours ago
Apple Reportedly Planning Large iPhone 18 Production Run
Apple Reportedly Planning Large iPhone 18 Production Run
3 hours ago
Apple Says These Products Are Now Obsolete
Apple Says These Products Are Now Obsolete
4 hours ago
First Pre-Order Discounts Now Available for HomeView
First Pre-Order Discounts Now Available for HomeView
4 hours ago
Apple Launched iPhone 4S With Siri 15 Years Ago Today
Apple Launched iPhone 4S With Siri 15 Years Ago Today
4 hours ago
Apple HomeView Includes Temperature and Humidity Sensors
Apple HomeView Includes Temperature and Humidity Sensors
5 hours ago
HomePod Mini vs. HomePod Mini 2 Buyer's Guide: All Differences Compared
HomePod Mini vs. HomePod Mini 2 Buyer's Guide: All Differences Compared
5 hours ago
Apple Watch Sleep Apnea Notifications Launch in China
Apple Watch Sleep Apnea Notifications Launch in China
6 hours ago
HomeView's Faces Include Snoopy, Photos, and Interactive Artwork
HomeView's Faces Include Snoopy, Photos, and Interactive Artwork
6 hours ago
Apple's HomeView Repair Fees Revealed
Apple's HomeView Repair Fees Revealed
16 hours ago
Everything Apple Still Has Coming in October
Everything Apple Still Has Coming in October
17 hours ago
Welcome Home: Everything Apple Announced on October 13
Welcome Home: Everything Apple Announced on October 13
19 hours ago
Will the Full-Sized HomePod Get Siri AI? Apple's Website Offers a Clue
Will the Full-Sized HomePod Get Siri AI? Apple's Website Offers a Clue
19 hours ago
Apple Releases Third Public Betas of iOS 27.2 and macOS Golden Gate 27.2
Apple Releases Third Public Betas of iOS 27.2 and macOS Golden Gate 27.2
19 hours ago
iOS 27.2 Adds New Apple Music Icon
iOS 27.2 Adds New Apple Music Icon
19 hours ago
HomePod Mini 2 Works as Default Speaker With Select Macs
HomePod Mini 2 Works as Default Speaker With Select Macs
20 hours ago
Elevation Lab Pulls AirTag Silencer After Stalking Concerns
Elevation Lab Pulls AirTag Silencer After Stalking Concerns
20 hours ago
iOS 27.2 Beta 4 Removes New Health App
iOS 27.2 Beta 4 Removes New Health App
20 hours ago
iPhone Duo Will Have Day-One iOS 27.1 Update
iPhone Duo Will Have Day-One iOS 27.1 Update
21 hours ago
Where to Pre-Order Apple's New HomeView, HomePod Mini 2, and Apple TV 4K
Where to Pre-Order Apple's New HomeView, HomePod Mini 2, and Apple TV 4K
21 hours ago
Apple Releases New AirPods Beta Firmware
Apple Releases New AirPods Beta Firmware
23 hours ago