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

MacBook Neo 2 on Yellow Feature

Apple Reportedly Plans to Release These Products in February or March

Sunday November 22, 2026 7:32 am PST by
Apple plans to unveil an iPhone 18e, iPhone 18, updated entry-level iPad, and new MacBook Neo and MacBook Air models around February or March next year, according to the latest word from Bloomberg's Mark Gurman. In his Power On newsletter today, Gurman said Apple has some additional products planned for the first half of 2027, including the iPhone Air 2 and new iPad Air and iPad Pro models,...
apple design award 2025

Apple Announces 2025 Design Award Winners Ahead of WWDC 2025

Tuesday June 3, 2025 10:14 am PDT by
As we wait for WWDC to kick off next Monday, Apple today announced the winners of its annual Apple Design Awards, recognizing apps and games for their innovation, ingenuity, and technical achievement. The 2025 Apple Design Award winners are listed below, with one app and one game selected per category: Delight and Fun - CapWords (App) and Balatro (Game) Innovation - Play (App) and PBJ -...
streaming black friday 2025

Best Black Friday Streaming Deals on Apple TV, Peacock, HBO Max, and More

Monday November 23, 2026 10:58 am PST by
We've been focusing on deals on physical products over the past few weeks, but Black Friday is also a great time of year to purchase a streaming membership. Some of the biggest services have great discounts for new and select returning members this week, including Apple TV, HBO Max, Paramount+, Peacock, and more. Note: MacRumors is an affiliate partner with some of these vendors. When you...
Latest Stories
1Password Security Breach: What Was Accessed and What Wasn't
1Password Security Breach: What Was Accessed and What Wasn't
54 minutes ago
WhatsApp Finally Adds Scheduled Messages
WhatsApp Finally Adds Scheduled Messages
1 hour ago
Get Apple's Cheapest iPad for $379 During Amazon's Black Friday Sale
Get Apple's Cheapest iPad for $379 During Amazon's Black Friday Sale
2 hours ago
Rumor: iOS 28 to Revamp Notifications
Rumor: iOS 28 to Revamp Notifications
2 hours ago
iPhone 18 Pro Max Battery Exhausts a Toy Cyclops in New Apple Ad
iPhone 18 Pro Max Battery Exhausts a Toy Cyclops in New Apple Ad
5 hours ago
$799 Smart Glasses Promise Vision Pro-Style Controls in a 45g Frame
$799 Smart Glasses Promise Vision Pro-Style Controls in a 45g Frame
5 hours ago
AirPods Pro 3 for $149 is One of The Best Black Friday Deals This Year
AirPods Pro 3 for $149 is One of The Best Black Friday Deals This Year
6 hours ago
How To Get an iPhone Duo or iPhone 18 Pro at No Cost Through T-Mobile for Black Friday
How To Get an iPhone Duo or iPhone 18 Pro at No Cost Through T-Mobile for Black Friday
6 hours ago
Apple Has an iPhone Notifications Problem
Apple Has an iPhone Notifications Problem
6 hours ago
Amazon Sweetens Black Friday Deals on PROLED MacBook Pro
Amazon Sweetens Black Friday Deals on PROLED MacBook Pro
7 hours ago
Apple Has iPads Running macOS Internally, Says Gurman
Apple Has iPads Running macOS Internally, Says Gurman
9 hours ago
Apple Is Far From Done With 2026: Here's What's Still Coming
Apple Is Far From Done With 2026: Here's What's Still Coming
9 hours ago
Threads App for iPad Now Available
Threads App for iPad Now Available
11 hours ago
Claude Now Lets You Install Artifacts as Desktop Apps
Claude Now Lets You Install Artifacts as Desktop Apps
12 hours ago
Tidal Bans AI Music, While Apple Music Sticks to Labels
Tidal Bans AI Music, While Apple Music Sticks to Labels
22 hours ago
Add Holiday Lights and Snow to Your Mac With Festivitas
Add Holiday Lights and Snow to Your Mac With Festivitas
23 hours ago
Meta's Muse AI Agent Comes to Instagram DMs
Meta's Muse AI Agent Comes to Instagram DMs
1 day ago
Google Says Apple's iOS Browser Rules Offer 'Choice on Paper, Not in Practice'
Google Says Apple's iOS Browser Rules Offer 'Choice on Paper, Not in Practice'
1 day ago
Walmart App Rolls Back Apple Pay Support After Just Weeks
Walmart App Rolls Back Apple Pay Support After Just Weeks
1 day ago
Black Friday Discount Hits 512GB MacBook Neo at $699 ($100 Off)
Black Friday Discount Hits 512GB MacBook Neo at $699 ($100 Off)
1 day ago
Disney+ Black Friday Deal is Here: Bundle With Hulu for Just $4.99/Month for a Year
Disney+ Black Friday Deal is Here: Bundle With Hulu for Just $4.99/Month for a Year
1 day ago
Signal Now Blocks AI Screen Access to Protect Chats
Signal Now Blocks AI Screen Access to Protect Chats
1 day ago
Things 3.25 for Mac Gains Touch Gestures
Things 3.25 for Mac Gains Touch Gestures
1 day ago
AirTag in (PRODUCT)RED?
AirTag in (PRODUCT)RED?
1 day ago
M6 iMacs Get First Major Discounts With Up to $111 Off at Amazon
M6 iMacs Get First Major Discounts With Up to $111 Off at Amazon
1 day ago
Apple to Celebrate 20 Years of (RED) With Special Event in New York
Apple to Celebrate 20 Years of (RED) With Special Event in New York
1 day ago
Hidden Coupon Deal Knocks M6 MacBook Pro to $1,779 on Amazon
Hidden Coupon Deal Knocks M6 MacBook Pro to $1,779 on Amazon
1 day ago
Apple to Release Four (RED) Products by Next Week
Apple to Release Four (RED) Products by Next Week
1 day ago
iPhone Air 2 and iPhone 18 Rumored to Feature Thicker Cameras
iPhone Air 2 and iPhone 18 Rumored to Feature Thicker Cameras
1 day ago
EU in Talks With Apple Over Barriers to Rival iPhone Browsers
EU in Talks With Apple Over Barriers to Rival iPhone Browsers
1 day ago