AI Reset Alert

GuidesUpdated

Codex Phone Verification: Phone number is required and Not Receiving Codes

Logging into Codex requires phone verification, and neither device code nor API Key login gets around it. +86 numbers in China and virtual numbers are not supported. The most reliable option is a physical SIM card from a supported region that you keep long term (such as UK giffgaff) to receive SMS, or choosing WhatsApp. Temporary numbers from code-receiving platforms also work, but bind 2FA right after verifying so you don't get locked out later when you can't receive a code.

Why it redirects to phone verification, and why there's no way around it

When you log into Codex with a ChatGPT account, whether you run codex login or codex login --device-auth from the command line, or log in on the desktop app, the browser redirects to auth.openai.com/add-phone and shows "Phone number is required". You can't get in without filling it in.

The same account works fine on the ChatGPT website with no phone number required, but the block only appears at the Codex login step. Both free accounts and paid plans like Plus have run into this, and these common workarounds don't get around it:

  • Enabling device code login doesn't help: Turning on "Enable Codex Device Code Authorization" in ChatGPT Settings → Security and then running codex login --device-auth still redirects to the phone verification page.
  • Switching to API Key login doesn't get around it either: Creating an API Key for the first time on the OpenAI API platform also requires phone verification, so the API Key route gets stuck at the same step.
  • No alternative verification method exists: Codes are sent only by SMS, or by WhatsApp in supported regions. You can't receive them by email or phone call, and email verification and an authenticator app can't replace this step.

How to solve it: what works and what to avoid

For long-term use, the most reliable option is a real carrier number from a supported region that you own. If you just want to get past this step, a temporary number from a code-receiving platform works too, but bind 2FA immediately afterwards.

  • Receiving SMS on a physical overseas SIM card (most reliable): Users in China commonly use physical SIM cards like UK giffgaff, which can be mailed to China and cost little to keep active. Once the card arrives, insert it in China with roaming on and you can receive verification SMS directly, and receive future codes at any time.
  • Receiving the code via WhatsApp: If you already have a real number from a supported region registered with WhatsApp, you can choose WhatsApp on the verification page and skip the hassle of SMS roaming.
  • Temporary number from a code-receiving platform (works, but bind 2FA right away): Temporary numbers are one-time, so you won't receive SMS if verification is required again. Right after passing verification, enable two-factor authentication (2FA, using an authenticator app) in ChatGPT Settings → Security. Future logins then use the code in the app, so you won't be locked out by missing SMS.
Number typeWorks?Reality
Physical SIM card from a supported region (e.g. UK giffgaff)YesReal carrier number; can be mailed to China, cheap to keep active, and receives SMS in China with roaming on
Overseas real number already registered with WhatsAppYesIn supported regions you can choose to receive the code via WhatsApp, and you still need to keep the number long term
+86 number in ChinaNo+86 isn't on the supported list, so you can't enter it and won't receive a code
Virtual numbers (e.g. Google Voice)NoInternet-based virtual numbers like these are rejected; you need a real carrier number
Temporary number from a code-receiving platformYes, but bind 2FAThe number is one-time and won't receive SMS later; enable 2FA right after verifying so you don't get locked out

Already verified, but your old number changed or is no longer in use

If your account was verified before but the original phone number has since changed or been deactivated, Codex sometimes asks you to re-verify the number on the account. You can't change the phone number yourself in settings right now; you have to contact OpenAI support:

  • Submit a ticket: Go to the OpenAI Help Center ↗ (help.openai.com) and submit a ticket.
  • Send an email: Email support@openai.com directly.

When contacting support, state your account email clearly and explain that the original phone number is no longer in use. Support is slow, so once submitted you can only wait for an official reply.