> For the complete documentation index, see [llms.txt](https://dev.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://dev.guardian.hedera.com/security-identity-and-privacy/password-management/4108-multifactor-authentication-2fa.md).

# 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://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%2Fuploads%2Fgit-blob-dddb1ff10577046f7858caa8c872b7615a335db8%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Guardian shows a modal with setup instructions:

<figure><img src="https://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%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://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%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://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%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://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%2Fuploads%2Fgit-blob-af3f54246f5dfd8f2c61e797a2274a7806069561%2Fimage-5%20(2).png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%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)
