How to Use Two-Factor Authentication When Logging In to a New Device

Using two-factor authentication helps ensure that the accounts associated with your Apple ID are safe. Even if someone has your login name and password, they won't be able to access your accounts without a verification code from a trusted phone number or one of your trusted devices. Once you verify a new device, you won't need to use two-factor authentication again unless you sign out of it completely, erase your device, or change your password. Similarly, when signing in on the web, you can choose to trust that browser so that you don't have to go through the verification process each time you sign into your account on your computer. Let's go over the steps of signing in to a new device or iCloud account with two-factor authentication.

Related: How to Turn Off Apple Two-Factor Authentication for iPhone in iOS 11

Master your iPhone in one minute a day:

Sign up to iPhone Life's Tip of the Day Newsletter and we'll send you a tip each day to save time and get the most out of your iPhone or iPad.

For this to work, you'll need to make sure two-factor authentication is enabled on your iPhone. Apple has made two-factor authentication the default for a while now. But some people may still have chosen to opt out. If you aren't sure whether you have two-factor authentication enabled, please follow this link to get started. For this example, I'll log in to Messages on a Mac. To begin: 

  • When you attempt to log in to an account such as Messages on your Mac with your Apple ID and password, a notification like the one below will pop up.

two factor authentication apple​   

  • You will now receive a notification like this one on a trusted device. Tap Allow.

verify new device with two factor authentication

  • You'll receive a message on your iPhone like the one below.

two factor authentication iphone

  • Now you can enter your Apple ID  and your password plus the Apple ID Verification Code you received added on to the end of the password and tap sign in.

2 factor authentication apple

  • You'll receive a notification like the one below on your trusted device; tap OK.

2 factor authentication iphone

Top image credit: sergey causelove / Shutterstock.com

Master your iPhone in one minute a day: Sign up here to get our FREE Tip of the Day delivered right to your inbox.

Leanne Hays is a Feature Web Writer at iPhone Life.  She loves reading and blogging, and is never without a book in her purse or an audiobook on her phone. Short-term goals include finishing painting her house and starting an aquaponics farm, long-term goals include a bike tour of Italy and writing a novel.