Apple introduced two-factor authentication (2FA) in 2015 to provide an enhanced level of security when accessing Apple ID accounts. With 2FA enabled, you'll be the only person who can access your account, regardless of whether someone learns your password – as the result of a hack or a phishing scam, for example – so it's well worth taking the time to enable the feature. In this article, we'll show you how.

How Two-Factor Authentication Works

2FA offers hardened security during login attempts by requesting that the user provides an extra piece of information only they would know.

2fa verification on ios
With 2FA enabled on your Apple ID account, the next time you try to log in you will be automatically sent a six-digit verification code to all the Apple devices you have registered to that Apple ID. If you try to access the account from an unknown device or on the web, 2FA also displays a map on all registered devices with an approximate location of where the Apple ID login attempt occurred.

In basic terms, this is an improved version of Apple's older two-step verification method, which prompted users to send a four-digit code to a registered SMS-capable device. Apple automatically upgraded most two-step verification users to 2FA as of iOS 11 and macOS High Sierra, but if you're still on two-step verification for some reason, follow the steps below to manually upgrade to 2FA.

How to Turn Off Two-Step Verification

  1. Open a browser and go to appleid.apple.com
  2. Enter your Apple ID and password in the login fields.
  3. In the Security section of your account page, click the Edit button on the right.
  4. Check to make sure two-step verification is enabled rather than two-factor authentication, and click Turn off two-step verification.

How to Turn On Two-Factor Authentication in iOS

To turn on 2FA using an iPhone or iPad, it needs to be running iOS 9 or later. Note that if you're running iOS 10 or later and you have any other, older devices tied to your Apple ID that aren't compatible with 2FA, you'll receive a compatibility warning during the setup process.

On top of that, you'll also be asked to append a six-digit code to the end of your password whenever you authenticate a login on your older devices in future. You can potentially avoid this hassle by updating those devices to the latest version of iOS or macOS where possible.

With that in mind, perform the following steps on your iOS device:

  1. Open the Settings app and tap your Apple ID banner at the top of screen.
  2. Tap Password & Security.
  3. Tap Turn On Two-Factor Authentication, and then tap Continue on the next screen.
  4. Tap Turn On Anyway if you see a compatibility warning about older devices.
  5. Check your phone number is correct. (If it isn't, tap Use a Different Number at the bottom of the screen and input a new number.)
  6. Select Text message or Phone call for verification, and then tap Next.
  7. Enter your Passcode.

2fa ios e1517490695102

How to Turn On Two-Factor Authentication on a Mac

If it's a Mac you're using to enable two-factor authentication then make sure it's running OS X El Capitan or later. To turn on 2FA on Mac, follow these steps:

  1. Click the Apple () symbol in the menu bar at the top left of the desktop, and select System Preferences.
  2. Click the iCloud preferences pane.
  3. Click the Account Details button and select the Security tab.
  4. Click Turn on Two-Factor Authentication, and then click Continue in the drop-down pane.
  5. Check your phone number is correct and click Continue.

2fa mac 2

Verification Codes

With 2FA enabled, you'll be prompted to enter a new verification code every time you log in to your Apple ID account using iCloud.com or another Mac or iOS device. These codes will automatically appear on devices that are already logged into your Apple ID, but you can also request them manually using an iPhone or iPad, like so:

  1. Open the Settings app and tap on your Apple ID banner at the top of the screen.
  2. Tap Password & Security.
  3. Tap Get Verification Code.

2fa codes

Top Rated Comments

Primejimbo Avatar
85 months ago
User BEWARE!!
There's currently no way to recover your account using two factor authentication if you lose or forget your password and or the recovery key.
Without the recovery key the account and all its contents will be lost completely (all purchases)
The recovery key must be store in a "safe deposit box" outside the residence in case your house burns down i.e. Cal Wild Fires, floods, etc. and your recovery key was stored at home in a "safe" place.
DO NOT USE TWO FACTOR AUTHENTICATION if you do not store your password and recovery key outside the residence or in another cloud account where it can be readily accessed.
Yes there is. With the old way (2 step verification) you needed a recovery key. This way they are doing now, you don’t. I’m actually helped a person recover their data and they got a phone call in 12 days and got their account unlocked.

Personally, I rather have it so I need a recovery key.
Score: 4 Votes (Like | Disagree)
Apple_Robert Avatar
85 months ago
No way to recover if you lose your phone while travelling. Apple should allow two factor with a secondary email rather than phone number.
You can set up more than 1 trusted phone number.
Score: 3 Votes (Like | Disagree)
Weaselboy Avatar
85 months ago
You can set up more than 1 trusted phone number.
Yep... you can even add your home phone and Apple will robo call you with the six digit code.
Score: 3 Votes (Like | Disagree)
twennywonn Avatar
85 months ago
User BEWARE!!
There's currently no way to recover your account using two factor authentication if you lose or forget your password and or the recovery key.
Without the recovery key the account and all its contents will be lost completely (all purchases)
The recovery key must be store in a "safe deposit box" outside the residence in case your house burns down i.e. Cal Wild Fires, floods, etc. and your recovery key was stored at home in a "safe" place.
DO NOT USE TWO FACTOR AUTHENTICATION if you do not store your password and recovery key outside the residence or in another cloud account where it can be readily accessed.
This is obviously by design for security reasons.
Score: 3 Votes (Like | Disagree)
Apple_Robert Avatar
85 months ago
Glad to see MR posting a much needed tutorial for those who may not know all that is involved.
Score: 2 Votes (Like | Disagree)
Weaselboy Avatar
85 months ago
If you set someone up as a "trusted" number, do they get notified every single time you get an access code to get into an iCloud setting or whatever?

For whatever reason, every single time -- for example -- that I open iCloud.com in a browser I'm prompted for a code from a trusted device... even though I've checked "remember me" over and over.
No it defaults to the main iCloud account. You would need to manually tell it to use one of the other numbers for the other person to get the code.
Score: 2 Votes (Like | Disagree)

Popular Stories

iPhone SE 4 Vertical Camera Feature

iPhone SE 4 Production Will Reportedly Begin Ramping Up in October

Tuesday July 23, 2024 2:00 pm PDT by
Following nearly two years of rumors about a fourth-generation iPhone SE, The Information today reported that Apple suppliers are finally planning to begin ramping up mass production of the device in October of this year. If accurate, that timeframe would mean that the next iPhone SE would not be announced alongside the iPhone 16 series in September, as expected. Instead, the report...
iPhone 17 Plus Feature

iPhone 17 Lineup Specs Detail Display Upgrade and New High-End Model

Monday July 22, 2024 4:33 am PDT by
Key details about the overall specifications of the iPhone 17 lineup have been shared by the leaker known as "Ice Universe," clarifying several important aspects of next year's devices. Reports in recent months have converged in agreement that Apple will discontinue the "Plus" iPhone model in 2025 while introducing an all-new iPhone 17 "Slim" model as an even more high-end option sitting...
Generic iPhone 17 Feature With Full Width Dynamic Island

Kuo: Ultra-Thin iPhone 17 to Feature A19 Chip, Single Rear Camera, Semi-Titanium Frame, and More

Wednesday July 24, 2024 9:06 am PDT by
Apple supply chain analyst Ming-Chi Kuo today shared alleged specifications for a new ultra-thin iPhone 17 model rumored to launch next year. Kuo expects the device to be equipped with a 6.6-inch display with a current-size Dynamic Island, a standard A19 chip rather than an A19 Pro chip, a single rear camera, and an Apple-designed 5G chip. He also expects the device to have a...
maxresdefault

These 5 Features Will Make the iPhone 17 the Biggest Update in Years

Monday July 22, 2024 4:02 pm PDT by
The upcoming iPhone 16 models that we're expecting to see in September are going to be quite similar to the iPhone 15 models, but rumors suggest that Apple is making big changes in 2025. We've been hearing hints of an all-new device in the iPhone lineup, and it may be the most expensive iPhone Apple has offered to date. Subscribe to the MacRumors YouTube channel for more videos. New 'Slim'...
iOS 18 on iPhone Feature

Everything New in iOS 18 Beta 4

Tuesday July 23, 2024 1:08 pm PDT by
Apple released the fourth beta of iOS 18 today, introducing small changes to a number of features throughout the operating system. There are no big additions in this beta, but Apple is continuing to refine existing settings and design choices. Apple plans to continue updating iOS 18 over the next few months, with the update set to be released this fall. We've rounded up all of the changes...
iPhone SE 4 Thumb 1

iPhone SE 4 Rumored to Launch Early Next Year With OLED Display, 48MP Camera, and More

Monday July 22, 2024 7:22 am PDT by
The fourth-generation iPhone SE will offer a series of major upgrades over the current model, the leaker known as "Ice Universe" claims. The information was listed in a post on Weibo, which also detailed the specifications of the iPhone 17 lineup. As previously rumored, the fourth-generation iPhone SE is expected to feature Face ID and USB-C, marking a major upgrade from current and previous ...
iPhone 17 Plus Feature Purple

iPhone 17 Rumored to Feature Mechanical Aperture

Tuesday July 23, 2024 9:32 am PDT by
Apple is planning to release at least one iPhone 17 model next year with mechanical aperture, according to a report published today by The Information. The mechanical system would allow users to adjust the size of the iPhone 17's aperture, which refers to the opening of the camera lens through which light enters. All existing iPhone camera lenses have fixed apertures, but some Android...
iPhone 16 Pro Sizes Feature

iPhone 16 Series Is Less Than Two Months Away: Everything We Know

Thursday July 25, 2024 5:43 am PDT by
Apple typically releases its new iPhone series around mid-September, which means we are about two months out from the launch of the iPhone 16. Like the iPhone 15 series, this year's lineup is expected to stick with four models – iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max – although there are plenty of design differences and new features to take into account. To bring ...