You've just bought a new iPhone. You start setting it up, and it asks for your Apple Account password, then a verification code. You wait for a text. Nothing comes.
Here's the thing most people don't realize: Apple usually doesn't send that code by text at all. It sends it somewhere else first. Let's look at where, and the fixes in the order we'd try them.
The one fact that explains most of this
Apple's own guide says that the verification code is sent to the phone number associated with your Apple Account, or displayed on your trusted devices.
In practice, the code usually pops up on another Apple device you're already signed in on, like an iPad, a Mac, or your old iPhone. Text messages and phone calls are the backup for when you can't use a trusted device, and trusted phone numbers don't automatically receive codes. You have to ask for it.
Most people wait for a text that was never going to be sent.
8 fixes, in the order we'd try them
1. Check your trusted devices. Look at any other iPhone, iPad, or Mac signed in to the same account, even one in a drawer. A sign-in request with a six-digit code should appear. Wake it up and check.
2. Generate a code from Settings on a trusted device. Apple says that on a trusted device you can get a code from Settings even if the device is offline. On an iPhone or iPad, go to Settings, tap your name, then Password & Security (called Sign-In & Security on newer versions), then Get Verification Code. On a Mac, open System Settings, click your name or Apple Account, then Password & Security, then Get Verification Code.
3. Tap "Didn't get a verification code?" On the sign-in screen, tap this link and choose your trusted phone number. You'll get a text message or a phone call from Apple with the code. This is the step many people skip, because they assume the text will arrive on its own.
4. Check that the number is trusted, and still yours. Apple only sends to numbers on your trusted list. If the number is old, was reassigned, or you never added it, nothing arrives. If you can still get in on another device, go to Settings, then your name, then Password & Security (or Sign-In & Security), and look at your trusted phone numbers. You can add more than one, and remove old ones.
5. If you see "too many codes" or a similar message. This means you asked for codes too many times in a set period. You'll need to wait before you can request another. Community replies say it can take several hours, but Apple doesn't publish a fixed time. In the meantime, use a trusted device instead of asking for more texts.
6. Check the usual phone problems. If codes by text still aren't arriving:
Make sure your SIM has signal, and ask a friend to text you.
Check Messages filters, Focus, and blocked contacts. Our iPhone guide walks through each.
Set your date and time to automatic.
Apple Community replies suggest Reset Network Settings if texts have suddenly stopped (Settings, General, Transfer or Reset iPhone, Reset, Reset Network Settings). It clears saved Wi-Fi passwords, so use it as a later step.
A delay of a minute or so can be normal. See why verification texts arrive late.
7. Use Account Recovery if nothing works. If you can't sign in, reset your password, or receive codes, Apple says you can request account recovery. It exists to confirm that you really own the account, and Apple says it might take a few days or longer, depending on the information you can provide. Start it once, and then be patient. Don't keep restarting it. One practical tip from the community is to look for the small blue links under the normal sign-in options if you can't complete the requested information.
8. Contact Apple through its official support only. If you're stuck, use Apple Support from apple.com or the Apple Support app. Don't call a number from a search result. We explain why in the safety section below.
Trusted devices vs trusted phone numbers
These two get mixed up all the time.
Trusted device | Trusted phone number | |
|---|---|---|
What it is | An Apple device you're signed in on | A number you verified in your account |
Gets codes automatically? | Yes, as a sign-in prompt | No. Only when you ask |
Works offline? | Yes, Get Verification Code in Settings | No. Needs the phone network |
Best for | Everyday sign-ins | Backup when you have no device |
How to tell a real code text
Apple's code messages often end with a line that includes an @ sign, the website name, and your code, in a format like @icloud.com, then a # and the code, then a % and the website. This format helps your iPhone suggest the code automatically, and it's tied to the real website. If a text asks you to "reply with your code" or "tap this link to verify," it isn't a normal Apple verification code. Treat it as a scam.
Stay safe
Never share a verification code. Apple Support won't ask for it, and nobody else should have it.
Beware of "Your Apple Account is locked" texts and emails that ask you to tap a link. Open Settings or apple.com yourself.
Don't call a support number from a search result or a pop-up. Use Apple's own website or the Apple Support app.
A code you didn't ask for is a warning. Someone may know your password. Don't share it, and change your password right away.
Be wary of anyone offering to unlock or recover your account for a fee. Recovery through Apple is free.
Think about your phone number. A criminal who takes over your number could receive texts. See our guide to SIM swap attacks.
How to avoid this next time
Keep a trusted device you control, and don't wipe the old one until you've signed in on the new one.
Add a second trusted phone number that belongs to you, such as a partner's or a family member's, as long as you trust them completely, and keep your numbers up to date.
Check your trusted numbers once a year. Carriers recycle numbers.
Look at the recovery options in your account settings. Newer versions offer extra choices, such as a recovery contact or a recovery key. Check your own settings for what's available, and keep anything you set up somewhere safe.
Write down your Apple Account email, and keep your password in a password manager.
For how text codes compare with stronger options, see SMS codes vs authenticator apps vs passkeys.
A note about other numbers
We'll be direct. An Apple Account holds your purchases, your photos, your files, and often your payment methods. Use a phone number you own and will keep for the long term, and keep a trusted device. A temporary, rented, or shared number can leave you locked out, because recovery depends on numbers and devices you control.
TextVerification offers carrier-issued numbers for receiving SMS codes for lawful uses, but we don't recommend them, or any temporary or shared number, for an Apple Account or any other identity, email, or payment account. For help with the codes from other services, see our complete guide to verification code problems, and if you're having a similar problem with another big account, see our Microsoft guide or Google guide. And never use free public SMS sites for an account you care about, because anyone can read those codes.
Quick FAQ
Where does Apple send the verification code? To your trusted devices first, shown as a prompt, or to a trusted phone number when you ask for it.
How do I get a code without a text? On a trusted device, go to Settings, your name, Password & Security (or Sign-In & Security), then Get Verification Code. It works even when the device is offline.
What does "Didn't get a verification code?" do? It lets you choose a trusted phone number to receive the code by text or phone call.
Why do I get "too many codes"? You've asked for codes too many times in a set period. Wait, and use a trusted device meanwhile.
How long does account recovery take? Apple says it might take a few days or longer, depending on the information you can provide.
Is Apple ID the same as Apple Account? Yes. Apple has renamed Apple ID to Apple Account in its recent guides.
More answers are in our FAQ.
The takeaway
If your Apple code isn't arriving, don't wait for a text. Look at your trusted devices first, then use Get Verification Code in Settings, then "Didn't get a verification code?" for a trusted number. If none of that works, request account recovery once and be patient. And keep a trusted device and a current trusted number, so you never have to.




