How to Fix Microsoft Authenticator Code Incorrect on iPhone and Mac
Question details
The user is unable to log in to their Microsoft 365 email because the Microsoft Authenticator app continuously rejects verification codes.

- 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.
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.
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.
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.
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.
Force close the Microsoft Authenticator app on your device, reopen it, and attempt to log in to your Microsoft 365 account again.

Request an Admin to Reset MFA Methods
Use this solution if your Authenticator app configuration has become corrupted or disconnected from your Microsoft account.
Seek Expert Assistance on Microsoft Learn
Consult the official Microsoft community if you are a personal user or a tenant admin locked out of your own account.
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. Download the installer: Visit the WPS Office website and download the free version for your Mac or Windows PC.
- 2. Install quickly: Run the installer and complete the setup in minutes without needing an IT administrator.
- 3. Open files directly: Double-click your existing Microsoft formats to start editing locally without complex cloud sign-ins.

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.




