---
title: "ChatGPT Two-Factor Authentication: MFA Setup and Phone Migration"
description: "How to turn on MFA for a ChatGPT account with an authenticator app, back up your recovery options, move to a new phone, and who secures third-party logins."
url: https://cdnping.org/en/blog/chatgpt-two-factor-authentication-setup
language: en
published: 2026-11-10
category: "Service updates"
tags: ["ChatGPT","two-factor authentication","MFA","account security","OpenAI"]
source: cdnping.org
license: Free to quote and summarize with a link to the url above.
---
# ChatGPT Two-Factor Authentication: MFA Setup and Phone Migration

## Should you turn on two-factor authentication for ChatGPT?

Yes. If you sign in with an email and password, you can enable multi-factor authentication (MFA) in the security section of your settings. After that, signing in requires a one-time code from an authenticator app in addition to your password. Even if your password leaks, nobody can log in with it alone.

This article covers MFA at the OpenAI account level. Interface names, supported verification methods and recovery options change between releases, so the steps below are a general path. Check the current OpenAI Help Center for the exact details.

## How do you enable MFA?

Prerequisite: your account was created with an email and password.

1. Sign in to ChatGPT on the web, click your avatar, and open Settings.
2. Find the security-related section and look for "Multi-factor authentication". The entry name is whatever your interface shows.
3. Turn the toggle on. The page shows a QR code and a secret key.
4. On your phone, add the account in an authenticator app that supports TOTP (Google Authenticator, Microsoft Authenticator, 1Password and similar).
5. Back on the web page, enter the 6-digit code shown in the authenticator and confirm. MFA is now on.
6. Sign out and sign back in once to confirm the flow really works.

The secret key shown in step 3 is your second factor. Don't screenshot it and leave it in your photo library or a chat history.

## How should you store recovery codes?

One point is easy to get wrong: whether recovery codes are offered, and what they look like, depends on OpenAI's current design. If the settings page gives you recovery codes or a backup method, save it. If it doesn't, you need another way to avoid locking yourself out. Use this checklist:

| What to back up | Suggested approach |
| --- | --- |
| Recovery codes from the settings page (if any) | Write them down or store them in a password manager. Don't keep them in the same unencrypted note as your account password |
| The secret key behind the QR code | Only needed when adding an authenticator. If you want a backup, store it as an encrypted entry in a password manager |
| A backup of the authenticator app itself | If your app supports encrypted cloud backup or export, turn it on in advance and test it |
| Your registration email | Make sure you can still receive mail there, and that the mailbox has two-step verification too |
| The account recovery path | Note where the "can't sign in" instructions live in the OpenAI Help Center |

After saving everything, run a drill: if your phone were lost, could you get back in using only your backups? If the drill fails, the backup isn't good enough yet.

## How do you migrate MFA when you change phones?

The safest order is to migrate first and swap devices second. Don't wait until the old phone is unusable.

1. While the old phone still works, check whether your authenticator app has an official transfer or export feature and whether it supports encrypted cloud backup. If so, move the accounts to the new phone following the app's instructions.
2. After the transfer, sign in to ChatGPT once on the new phone using a fresh code. Only then deal with the old phone.
3. If the app doesn't support transfers, turn MFA off in ChatGPT settings first, then re-enable it by scanning the QR code with the new phone. This step requires that you can still verify with a code from the old phone.
4. Before factory-resetting the old phone, confirm the new phone generates codes reliably.

If the old phone is already lost and you have no backup, your only route is OpenAI's account recovery or support process. The required materials and outcome are up to OpenAI. This is a different situation from appealing a restricted account; for that, see [How to write a ChatGPT account appeal: where to submit, what to prepare, how long it takes](/en/blog/chatgpt-account-appeal-process-guide).

## If you sign in with Google, Apple or Microsoft, who is responsible for security?

If your account was created through Google, Apple or Microsoft sign-in, the identity provider performs the authentication step. According to OpenAI's current guidance, MFA for these accounts should be set up with the identity provider, not inside ChatGPT. Whether there are exceptions is something to confirm in the official Help Center.

This has a few consequences:

- If your Google, Apple or Microsoft account is compromised, your ChatGPT account goes with it. Protecting the two-step verification on those accounts matters more than hunting for a switch inside ChatGPT.
- Each of those accounts has its own recovery codes, passkeys and similar mechanisms. Run the backup checklist again under each provider's rules.
- Don't mix sign-in methods. Using both password and third-party sign-in with the same email makes it hard to know where your security settings actually live.

## What else should you watch after enabling MFA?

- MFA lowers the risk of account takeover, but it can't tell you whether a particular use is compliant. For which usage patterns may get an account restricted, see [Why ChatGPT accounts get banned: a point-by-point check against OpenAI's official terms](/en/blog/chatgpt-account-banned-official-reasons).
- A failed login isn't necessarily a code problem. First work out whether it's a service outage or your own network: see [Is ChatGPT down? Three steps to tell a service outage from your own network problem](/en/blog/is-chatgpt-down-or-my-network), or open cdnping's [/en/down/chatgpt](/en/down/chatgpt) and [/en/status/openai](/en/status/openai) to check current status.
- Authenticator codes depend on your phone's clock. If codes are always rejected, check that the phone's time is set to sync automatically.
- Supported regions also affect whether you can use the service at all. See [Which countries and regions does OpenAI support: how to check the official list and what it means for you](/en/blog/openai-supported-countries-regions-explained).

## If you only want models inside coding tools, do you need to deal with the account?

Not necessarily. MFA on a ChatGPT account protects the subscription account used in the web app and mobile apps. If your main need is calling models from command-line tools such as Codex or Claude Code, you can connect through an API key instead, and the account and subscription can be considered separately. The differences are explained in [ChatGPT Plus vs. the OpenAI API: accounts, billing and quotas are separate](/en/blog/chatgpt-plus-vs-openai-api-difference).

AGI Plan is one optional route: a multi-provider LLM aggregation gateway sold as a monthly subscription, paid in RMB with no overseas credit card required. Tools like Claude Code and Codex only need one endpoint URL changed, and the same subscription quota can be switched between different capability groups. Codex access through it does not require a ChatGPT account. Note that some models are marked as available only outside mainland China; check the [AGI Plan models page](https://agiplan.dev/models) for specifics. The service also states that it is not an officially authorized channel. AGI Plan is a commercial partner of cdnping. To see how to connect, read [Getting started with AGI Plan](https://agiplan.dev/startup).

## What should you do next?

Three things you can do today, in order:

1. Check whether your ChatGPT account uses password sign-in or third-party sign-in.
2. If it's password sign-in, follow the steps above to enable MFA and run a backup drill. If it's third-party sign-in, go to the identity provider, enable two-step verification and back up its recovery options.
3. Review the security settings on your registration email as well.

This article does not cover ways to bypass any platform's restrictions. If your account is restricted, handle it through official policy and the appeal channels.
