Apple has previously introduced two- step verification to unlock your Mac. But most recently Apple has introduced 2 factor authentication ( 2FA ), a more secure method that ensures maximum security. Even if someone knows your password he/she can’t access your iCoud, iTunes or any of your Apple devices. When you want your system to be more protected not just protecting it with the password then 2FA is the best option available.

How it Works

Whenever you want to login to your device the 2 factor authentication generates a onetime 6 digits code in one of your devices. The 2FA requires an Apple watch for auto unlock macOS. You will be required to enter the 2FA code whenever you want to login to Apple ID, iCloud, iTunes, iBooks, FaceTime, game centre or you want to make any purchase from App Store.

Disable Two Step Verification

The 2FA is required to enable on your device to use it using 6 digits verification code. When you already have two-steps verification, you have to turn if off to enable the new 2 factor authentication. You can turn if off by following the steps below.

  • Go to
  • Enter your Apple ID and Password.
  • You have to click on Edit from Security.
  • Now Click on Turn off Two-Step Verification.

Enable 2 Factor Authentication

When you have your two step verification turned off you can now enable 2 Factor authentication. The devices should have latest version of iOS and Mac OS on iPhone and Mac respectively to enable 2 factor authentication. To turn on 2FA on your iPhone and Mac you have to,

  • For Mac you have to go to System Preference. Click on iCloud and click Account Details and under Security tab Turn on the Two-Factor Authentication.
  • In iPhone you have to go to the Settings.
  • Tap on iCloud.
  • Now go to your Apple ID.
  • Now click on Password & Security.
  • Tap on Set Up Two-Factor Authentication and click Continue.
  • A warning appears about the device compatibility click on Turn On Anyway.
  • Verify your mobile number.
  • Select either text message or phone call for verification and click Next.
  • Enter your Passcode.
  • Click on Continue when you get message that your Passcode will replace your iCloud Security Code.

Get Two Factor Authentication Code

Whenever you are trying to login to a new device with Apple ID, sign in to iCloud, iTunes or making any purchase from App Store you will require two-factor authentication. A push up notification  will show that someone is trying to login to your Account with a map showing where the login attempt has been carried out. When it is you who has tried to login then,

  • Click Continue.
  • Enter the six digit code to signin.
  • To generate a new six digit verification code you have to click on Settings.
  • Go to the iCloud.
  • Now tap on your ID at the top.
  • Now you have to click on Password & Security.
  • Select Get Verification Code.
  • You can enter the Six digit verification code on other device to sign-in.

For Mac you have to,

  • Go to System Preferences and click on Account Details.
  • Click iCloud and tap on Get Verification Code under the Security tab.