> For the complete documentation index, see [llms.txt](https://guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guardian.hedera.com/security-identity-and-privacy/password-management/4108-multifactor-authentication-2fa.md). Agents can also search and read this documentation through its [MCP server](https://guardian.hedera.com/~gitbook/mcp).

# Multifactor Authentication (MFA)

How to enable multifactor authentication in your profile?

## Enable

To enable multifactor authentication, click **Set up** in your profile:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-dddb1ff10577046f7858caa8c872b7615a335db8%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Guardian shows a modal with setup instructions:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-bc42918db087075ac5ccf2f0e2caf960f0694c4b%2Fimage-1%20(12).png?alt=media" alt=""><figcaption></figcaption></figure>

After you enable multifactor authentication, you can download recovery codes to restore access to your account. You can copy them or download them as a `.txt` file.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-d6bf6f525e48e83e3fb28536c227d0964d525c62%2Fimage-2%20(9).png?alt=media" alt=""><figcaption></figcaption></figure>

## Log in

Every time you log in to Guardian, the system shows a modal to verify the login attempt:

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-e29bb1fb3c0f5660b4f995e75c06144fa0f78d96%2Fimage-3%20(6).png?alt=media" alt=""><figcaption></figcaption></figure>

If you lose access to your authentication app, send your recovery code to someone with database access.

## Disable

You can disable multifactor authentication by clicking **Deactivate** in your profile:

<div><figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-af3f54246f5dfd8f2c61e797a2274a7806069561%2Fimage-5%20(2).png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fgit-blob-a8c0af5fa4000b5eba5b0e2c1ff33569320c2f57%2Fimage-4%20(4).png?alt=media" alt=""><figcaption></figcaption></figure></div>

## Related Issues

* [https://github.com/hashgraph/guardian/issues/4108](https://github.com/hashgraph/guardian/issues/1987)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guardian.hedera.com/security-identity-and-privacy/password-management/4108-multifactor-authentication-2fa.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
