# Two-Factor Authentication (2FA)

You can secure your Polymarket account with **Two-Factor Authentication (2FA)** for added protection.

### Setting Up 2FA

To set up 2FA:

1. Go to [Account Settings](https://polymarket.com/settings).
2. Click **Enable 2FA**.
3. Add your 2FA key to your authenticator app (such as Google Authenticator or Authy).
4. Enter the **6-digit code** from your authenticator app.
5. Save your **Recovery Key** somewhere secure.
6. Finish setup.

<figure><img src="/files/O7L7UDkT5zcuctfTGhlr" alt=""><figcaption></figcaption></figure>

### Logging In with 2FA

To log in when 2FA is enabled:

1. Log in with your **email and password**.
2. Enter the **6-digit code** sent to your **email**.
3. Enter the **6-digit code** from your **authenticator app**.
4. You're logged in.

<figure><img src="/files/S1CzDwBbykFl024D9wCt" alt=""><figcaption></figcaption></figure>

### Turning Off 2FA (while logged in)

To turn off 2FA:

1. Go to [Account Settings](https://polymarket.com/settings).
2. Click **Enable 2FA** again (this opens the disable option).
3. Enter the **6-digit code** from your authenticator app.
4. If you don't have access to your authenticator app, use your **Recovery Key** instead.
5. 2FA will be turned off.

<figure><img src="/files/tsAhXb8xI2pcXqFtKRDg" alt=""><figcaption></figcaption></figure>

### Lost access to your 2FA?

If you lose access to your authenticator app, you can use your **Recovery Key** to log in.

Once you log in with the recovery key, **2FA will be disabled**, and you can set it up again.

<figure><img src="/files/BH6mev0MBvBRrAsTqRkY" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
**Never share your 2FA Recovery Key** — not even with Polymarket staff.&#x20;

If someone gains access to your recovery key, **they can access your account and funds**.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://polymarketguide.gitbook.io/polymarketguide/basics/signing-up/two-factor-authentication-2fa.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
