Authenticator App ©by IntelliVision

How to enable 2FA for your Microsoft account

Updated August 4, 2026

Two-factor authentication (2FA) protects your Microsoft account even if your password leaks. Follow the steps below to generate Microsoft verification codes with the Authenticator App on your iPhone, iPad or Mac.

  1. Download Authenticator App

    Download Authenticator App from the App Store on your iPhone or iPad.

    Get the Authenticator App

    Scan the QR code from Microsoft and generate secure one-time codes on iPhone, iPad and Mac. Free, no account required.

    Download on the App StoreDownload on the Mac App Store
  2. Open your Microsoft account menu

    Sign in to your Microsoft account, click your account icon in the top-right corner, and choose My Microsoft account from the drop-down.

    Open your Microsoft account menu
  3. Go to the Security dashboard

    Find the Security section of your account page and click the Security dashboard button to open your security settings.

    Go to the Security dashboard
  4. Open "Manage how I sign in"

    Under Account security, click Manage how I sign in to see all the ways you can verify your identity.

    Open "Manage how I sign in"
  5. Turn on Two-step verification

    In the Additional security section, find Two-step verification and click the Turn on link to start setup.

    Turn on Two-step verification
  6. Begin Two-step verification setup

    Read the intro screen and click Next to continue through the setup wizard.

    Begin Two-step verification setup
  7. Choose to set up a different Authenticator app

    Select "Set up a different Authenticator app" so you can use your own Authenticator App rather than the Microsoft one.

    Choose to set up a different Authenticator app
  8. Reveal the QR code

    Microsoft displays a QR code that holds your secret key. Leave this page open on your computer while you pick up your phone.

    Reveal the QR code
  9. Scan the QR code with your Authenticator App

    Open the Authenticator App on your iPhone, tap the + button, and point your phone at the screen to scan the QR code Microsoft shows. If you can't scan it, choose "I can't scan the bar code" and enter the secret key manually instead.

    Scan the QR code with your Authenticator App
  10. Save the account in your Authenticator App

    After scanning, the Authenticator App fills in the Microsoft account name and secret key automatically. Tap Save to store the new entry, which then begins generating codes.

    Save the account in your Authenticator App
  11. Enter the 6-digit verification code

    Back on the Microsoft page, type the current 6-digit code from your Authenticator App into the field, then click Next.

    Enter the 6-digit verification code
  12. Continue to the final step

    Once the code is accepted, click Next to move on to the last screen.

    Continue to the final step
  13. Finish setup

    Click Finish to complete setup. Your Authenticator App is now a sign-in and verification method, and you'll use it whenever you log in. Microsoft doesn't show backup codes here, so afterward consider going back to Manage how I sign in to generate a single 25-digit recovery code and store it somewhere safe.

    Finish setup

Backup & recovery

Click Finish to complete setup. Your Authenticator App is now a sign-in and verification method, and you'll use it whenever you log in. Microsoft doesn't show backup codes here, so afterward consider going back to Manage how I sign in to generate a single 25-digit recovery code and store it somewhere safe.

That's it — your Microsoft account is now protected with two-factor authentication. Keep your recovery information safe and follow the service's official documentation if its interface changes.