# Error: Invalid 2FA code

## Problem

I can't pass 2FA because I encounter the **Wrong 2FA code** error.

## Possible reasons

This issue may occur due to time discrepancies between your device and Google Authenticator, or browser-related problems.

## Solution

Here are several steps that can help you resolve most common 2FA issues.

{% stepper %}
{% step %}

#### Verify the 2FA code

**Multiple accounts**: If you manage multiple accounts, ensure you're using the correct 6-digit code associated with this specific account.
{% endstep %}

{% step %}

#### Synchronize device time settings

By ensuring your device's time is accurately synchronized, you can reduce the likelihood of encountering the error during the 2FA process.

**For Windows**:

1. Right-click the time display in the taskbar and select **Adjust date/time**.
2. Ensure that **Set time automatically** is enabled.
3. Click **Sync now** under **Synchronize your clock**.

**For macOS**:

1. Go to **System settings** > **General** and select **Date & Time**.
2. Ensure that **Set date and time automatically** is checked.
3. If adjustments are needed, click the **lock icon** to make changes.

**For Android**:

1. Go to **Settings**.
2. Scroll to **System** and select **Date & Time**.
3. Ensure that **Set time automatically** and **Set time zone automatically** are enabled.

**For iPhone**:

1. Go to **Settings**.
2. Go to **General** and select **Date & Time**.
3. Enable the **Set automatically** toggle.
   {% endstep %}

{% step %}

#### Clear browser cache and cookies

Sometimes, cached data can interfere with the 2FA process.

**For Google Chrome**:

1. Click the three dots in the upper-right corner and select **Settings**.
2. Go to **Privacy and security** and click **Delete browsing data**.
3. Choose **Cookies and other site data** and **Cached images and files**, then click **Clear data**.

**For Mozilla Firefox**:

1. Click the three lines in the upper-right corner and select **Settings**.
2. Go to **Privacy & Security** and scroll to **Cookies and site data**.
3. Click **Clear data**, select both options, and confirm.
   {% endstep %}

{% step %}

#### Use Incognito/Private browsing mode

This mode disables extensions and uses default settings, which can help identify browser-related issues.

**For Google Chrome**:

* Press `Ctrl + Shift + N` to open an incognito window.

**For Mozilla Firefox**:

* Press `Ctrl + Shift + P` to open a private browsing window.
  {% endstep %}

{% step %}

#### Check the Internet connection

A stable internet connection is important for 2FA processes.

1. Ensure you're connected to a reliable network.
2. Avoid using VPNs or proxies during the authentication process, as they can cause synchronization issues.
   {% endstep %}

{% step %}

#### Remove and re-add the account in Google Authenticator

If none of the above worked, try deleting and re-adding your account in Google Authenticator.

1. **If you can access your profile settings in B2BINPAY**, disable the 2FA temporarily.
2. Open Google Authenticator and delete the existing 2FA entry for your account.
3. Re-enable 2FA on your account and scan the new QR code to add it back to Google Authenticator.
4. Test logging in with the new code.
   {% endstep %}
   {% endstepper %}

{% hint style="info" %}
If the problem persists, contact the Support Team for further assistance.
{% endhint %}

**See also:**

* [Profile menu](https://docs.b2binpay.com/get-started/explore-the-web-interface#profile-menu)
* [How to enable 2FA](https://docs.b2binpay.com/how-tos/manage-your-profile-and-system/how-to-enable-2fa)
