logo
search
MFA & Verification Issues

How to Fix Microsoft Authenticator Code Incorrect on iPhone and Mac

Bushra ParveenBushra Parveen Sep 25, 2026 869 views

Question details

The user is unable to log in to their Microsoft 365 email because the Microsoft Authenticator app continuously rejects verification codes.

How to Fix Microsoft Authenticator Code Incorrect on iPhone and Mac
Product
Microsoft Authenticator
Device & OS
iPhone and Mac
Scenario
Attempting to sign in to a Microsoft 365 email account using multi-factor authentication (MFA).
Observed behavior
The Authenticator app throws an incorrect code error despite entering the right numbers, leading to an endless authentication loop even after changing the account password.
Before you start

Make sure your iPhone and Mac are connected to a stable cellular or Wi-Fi network, as the Authenticator app requires an active internet connection to synchronize properly with Microsoft servers.

Solution 1Recommended

Set Device Date and Time to Automatic

Time desynchronization is the most common reason time-based authenticator codes are rejected.

Authenticator codes are generated using the current time. If your device's internal clock is off by even a few seconds compared to Microsoft's servers, the codes will be considered invalid. Synchronizing your clock automatically usually resolves this instantly.

1
Sync time on iPhone

Open the Settings app, tap 'General', then select 'Date & Time'. Toggle the 'Set Automatically' switch to the ON position. If it is already on, turn it off for 10 seconds and turn it back on.

2
Sync time on Mac

Click the Apple menu, select 'System Settings' (or System Preferences), and click 'General' followed by 'Date & Time'. Ensure the 'Set time and date automatically' option is enabled.

3
Restart the app

Force close the Microsoft Authenticator app on your device, reopen it, and attempt to log in to your Microsoft 365 account again.

Set Device Date and Time to Automatic
Quick Tip: Restarting your iPhone or Mac after adjusting the time settings helps ensure all system services recognize the corrected timezone and time data.
Free Microsoft Office alternative

Bypass Complex Login Loops with WPS Office

Tired of dealing with endless Microsoft Authenticator loops just to access or edit your documents? Switch to WPS Office. It provides a robust, offline-friendly environment where you can work on your files locally without being forced through mandatory cloud authentication hurdles.

  1. 1. Download the installer: Visit the WPS Office website and download the free version for your Mac or Windows PC.
  2. 2. Install quickly: Run the installer and complete the setup in minutes without needing an IT administrator.
  3. 3. Open files directly: Double-click your existing Microsoft formats to start editing locally without complex cloud sign-ins.
Access and edit your documents locally without frustrating multi-factor authentication loops.Fully compatible with Microsoft Office formats including Word, Excel, and PowerPoint files.Free, lightweight, and fast—saving both your system resources and your time.Familiar interface that makes switching from Microsoft 365 seamless.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Authenticator say my code is incorrect when I type it perfectly?

Authenticator codes are Time-based One-Time Passwords (TOTP). If your phone's internal clock is out of sync with Microsoft's servers by even 30 seconds, the code generated will be considered expired or incorrect by the server, regardless of typing it correctly.

Will changing my Microsoft 365 password bypass the Authenticator loop?

No. Changing your password only resets the first factor of authentication. Multi-factor authentication is an independent second layer. If the app is desynchronized or corrupted, you will still face the same block after entering the new password.

What should I do if I am the sole administrator and the authenticator fails?

If you are the only global admin for your organization's Microsoft 365 tenant and you are locked out, you cannot reset your own MFA. You must contact the Microsoft Data Protection team via their official phone support to verify your identity and regain access to the tenant.