Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Locked out of iPhone and MacBook after logging out — Apple ID won't send OTP to any number (but browser login works)

Hey everyone, I’m stuck in a really frustrating Apple ID loop and need some advice.


I recently logged out of my Apple ID on both my iPhone and my MacBook. Now, I am completely unable to log back into either device as the primary account because Apple is failing to send the OTP (One-Time Password) / SMS verification code to my phone number.


Here is the weird part and what I’ve tried so far:


  • Browser login works fine: I can log into discussions.apple.com via a web browser without any issues.

  • Trusted devices are gone: Because I logged out of both the Mac and iPhone, I can't receive the standard 6-digit pop-up verification code on my devices.

  • Account Recovery loop: When I click "Didn't get a code?" and choose the option for when your phone number is inaccessible, it takes me through verification steps. I successfully verify my email and my linked credit card.

  • The final roadblock: Right after verifying my card, Apple asks me to provide a trusted phone number to proceed. But when I enter my number (or even try a completely new number), Apple still fails to send the OTP to it. It just gets stuck.



[Edited by Moderator]




2 replies

Hi there

Please try this


Use the Web Portal: Navigate to iforgot.apple.com on your browser where your login already works.

Initiate Account Recovery: Select the option to reset your password or recover your account when you do not have access to your trusted device or phone number.

Avoid Other Devices: Turn off your iPhone and Mac or keep them completely disconnected from the internet while the account recovery request is processing. Using another active device with the same Apple ID can cancel or reset the recovery timer. 

Check Your Email: Apple will send an update via email with a specific time frame (which can take a few days) detailing when you will regain access. 

Contact Support: If the web recovery page remains frozen after entering your credit card details, reach out directly through Apple Support to verify your identity via alternative manual methods.

Just use same number as the hotspot and connect to that hotspot and it work