Is the app or website you are trying to log into using 2FA code from your authenticator app (such as Google Authenticator, Microsoft Authenticator or Authy) continuously showing “expired or invalid 2FA code” despite entering the correct code as displayed in your authenticator app? This post is intended to help you resolve the problem.

2FA, which stands for Two-Factor Authentication, is a modern secure login option that has been implemented in most web applications and games today to provide better account security for users. While the 2FA login option is usually optional in most websites and applications, it is highly recommended that you use it to better protect your account.

Also see: How to Auto Login Windows 11 Without Password or PIN

microsoft, android, windows, microsoft

Page Contents

Expired or Invalid 2FA Code from Microsoft or Google Authenticator

If the app or website you are trying to log into keeps returning an error message that says “invalid, incorrect, or expired 2FA code, please try again” and you are sure that you entered the exact code as shown in the authenticator app, try the following suggested solutions to resolve the problem.

microsoft, android, windows, microsoft

Check the date and time of your device

In majority of the cases, expired or invalid 2FA code issues (despite entering the correct code displayed in the authenticator app) is mainly caused by the date and time of the device on which the authenticator application (Google or Microsoft Authenticator) is installed not being in-sync with the date and time of the app’s or website’s server.

Check that the date and time of your phone where you use the authenticator app from is in-sync with the official time. Go to the date and time settings of your device (iOS or Android) and make sure it is “automatically” in-sync with a network-provided time (not manually).

microsoft, android, windows, microsoft
microsoft, android, windows, microsoft

Since 2FA code authentication is very time sensitive (as it changes every few seconds), even a difference of a few seconds may cause the 2FA code to be invalid or expire. It’s best to sync the date and time of your device with one of the official time providers.

If the app or website you are trying to sign into belongs to you (such as your own WordPress site), you may also want to check if the server time is correctly in-sync with the official time and the time on your phone where you use the authenticator app.

Once the date and time is in-sync, retry logging in the app or website with the 2FA code provided by your authenticator app again and see if the problem persists.

Note that if you entered the incorrect 2FA code for an excessive number of times, you may be blocked by the app’s or website’s login system, preventing you from retrying for a certain time period (lockout period). If you have been locked out by the app, try again after an hour or so.

Use the recovery code

If you lose access to your phone or the authenticator app, the only way you can login to your two-factor authentication protected account is to use the recovery code provided to you when you first set up the 2FA authentication.

When you first set up 2FA on a website or app using Google Authenticator or Microsoft Authenticator app, you will be provided a set of recovery codes.

These recovery codes, sometimes also known as backup codes, are a set of unique 2FA codes you can use to login to your account in case if you lose access to your authenticator app. That’s why it is utterly important to keep the recovery codes in a safe place (preferably a place you can remember).

If you are encountering expired or invalid 2FA code of if you no longer have access to the authenticator app, you can use the recovery code to log into your account again.

Reset the Two-Factor Authentication of your account

Once you have successfully logged into your account using the recovery code, try disabling and re-enabling the two-factor authentication for your account. Doing so will require you to reset the 2FA again. You will also be provided with a new set of recovery codes.

If you don’t even remember where you keep the recovery codes, the only way left is to contact the support of the app or website you are trying to log into and see if they can help. In most cases, if they can verify that you are the actual owner of the account, they may be able to help you regain access to the account.

TECH NEWS RELATED

Xiaomi phone with Samsung E6 OLED breaks Android display brightness record

Samsung recently showcased its newest OLED panel—E6 Super AMOLED—for smartphones that can reach up to 2,000 nits of peak brightness. It is the same panel used in the iPhone 14 Pro and the iPhone 14 Pro Max. Now, Android smartphone makers have started using the same panel, and Xiaomi’s ...

View more: Xiaomi phone with Samsung E6 OLED breaks Android display brightness record

Pixel 7 bug causes phone to freeze while watching YouTube and YouTube TV

Despite being one of the best Android smartphones on the market, Google’s Pixel 7 suffers from several annoying bugs and problems that users have to contend with. One such bug has actually been plaguing users since the phone launched, but complaints continue to spring up. 9to5Google reports that the ...

View more: Pixel 7 bug causes phone to freeze while watching YouTube and YouTube TV

How to Install Any Add-on in Firefox for Android

When Mozilla launched a re-designed version of Firefox for Android a few years back, it only came with support for a few add-ons – just for the sake of compatibility. Fast forward to present day and the restoration of full add-on support is not yet complete. The good news, ...

View more: How to Install Any Add-on in Firefox for Android

Newest Android version installed on a mere 5% of devices

Android 13 is out of the reach of most users. In contrast, virtually all iPhone owners can install iOS 16. Photo: Ed Hardy/Cult of Mac It’s considered somewhat controversial that iOS 16 has been installed on only about 70% of iPhones four months after its release. But that’s a ...

View more: Newest Android version installed on a mere 5% of devices

Just How Popular Is Mobile Gaming on Android Devices?

Mobile gaming exceeded any expectations regarding its profitability and popularity. Today is considered one of the fastest-growing entertainment sectors. It continues to attract new mobile gamers and expand the demographic of the gaming sector. In fact, it is one of the main reasons why gaming has become globally popular. ...

View more: Just How Popular Is Mobile Gaming on Android Devices?

Malware is Sneaking Into Google Search Ads

Malware and viruses always, always, find a way. You need to be extra careful while browsing online, but sometimes, malware can still pop up in the places you least expect it — including in Google Search ads. Hackers and malware developers have set up fake websites for popular pieces ...

View more: Malware is Sneaking Into Google Search Ads

Five months after launching, Android 13 is running on 5.2% of devices

In the past five months we’ve seen smartphone brands update their handsets to Android 13 as well as launch new models running this latest version of Android out of the box. While the likes of Samsung are leading the charge when it comes to issuing OS updates, there are ...

View more: Five months after launching, Android 13 is running on 5.2% of devices

You can now sign up for Twitter Blue on Android for $11 a month

Ahh, Twitter. Gone are the days of applying for and failing to get verification for unspecified reasons, with Musk’s vision of Twitter Blue you can now sign up and pay your way to a verified tick. And from today onwards, you can even do so via the official Twitter ...

View more: You can now sign up for Twitter Blue on Android for $11 a month

Amazon, Meta and Google are actually spending big on clean energy

Galaxy Tab S6 Lite (2020) gets Android 13 One UI 5.0 update

10 Best Android Travel Apps To Plan Your Next Trip

First post-Android 13 update to Galaxy A72 brings January 2023 security patch

Galaxy A02 gets a new update but it’s not Android 12

Google is testing way to measure distance between devices via Bluetooth

Only 5.2% of devices running Android 13 five months after launch

Galaxy S10 Lite Android 13 (One UI 5) update reaches the USA

Everything you need to know on how to unlock Bluetooth support on the Stadia Controller

How to back up and delete your Gmail so you don’t have to pay for storage

Google’s rumored AirTag rival could be an Android moment for Bluetooth trackers

US unlocked Galaxy S20 is finally getting Android 13 One UI 5

OTHER TECH NEWS

Top Car News Car News