How to Remove Your Apple ID From an iPhone on iOS 26 and Earlier
People often make two mistakes here, and they are opposites.
Signing out does not delete your account or anything in iCloud. Many people worry about this, but there is no need.
If you leave your account on the phone when you sell it, the phone becomes unusable. It stays locked to you, and no one else can set it up.
Advertisement
So it is important to do this and to do it right. It takes a minute.
Disclosure: Cashkr is our own device buyback service. We buy used iPhones, so we see what happens when this step is skipped. It is the most common reason a phone arrives in a state nobody can use.
Yaskar Jung Shah leads content at Cashkr, an Indian device buyback service. He writes about resale value, data safety and what actually happens to a device after it is sold. He checks every figure against a dated, named source, and says so when a number cannot be verified.
Apple changed how this works, but most guides still show the old steps. The new process asks you a question the old one did not.
On iOS 26 or later
Open Settings, tap your name at the top, scroll down and tap Sign Out.
You will then see two options: Erase this iPhone, or Sign Out But Don't Erase.
If you are asked which account to sign out of, tap Sign out of iCloud and Store.
On iOS 18 or earlier
Open Settings, tap your name, scroll down and tap Sign Out. Enter your Apple Account password, then tap Turn Off.
Which option you choose depends on your situation, and the next two sections explain both cases.
If You Are Keeping the Phone
Choose the sign out option that does not erase the phone. Your content stays on the phone, but it is no longer linked to your account.
Nothing in iCloud is affected. Your photos, your Drive files, your purchases and your backups all stay in your Apple Account. Sign in again on the same phone, or any other device, and they are there.
The phone will lose access to any services that require you to be signed in, which is exactly what you want.
If You Are Selling or Giving It Away
Here signing out is just one step in a sequence, and the order you do things in matters more than the specific taps.
Sign out of iCloud first, using the steps above.
Then erase the phone from its own Settings. Go to Settings, then General, then Transfer or Reset iPhone, then Erase All Content and Settings.
The second step is what actually releases the phone. Erasing an iPhone this way turns off Find My and Activation Lock, as Apple explains on its own page. The phone comes out clean and ready for the next owner.
Signing out first is an extra precaution. It takes thirty seconds and it removes any doubt.
One reassurance, because many people worry about this. Erasing the phone does not delete anything from iCloud. You are only clearing the handset, not your account.
Where the lock actually bites
This part is often explained wrongly, so here is how it really works.
The issue is not resetting while signed in. The real problem is wiping the phone some other way: through recovery mode, through the bootloader, from a computer because the passcode was forgotten, or giving it away without erasing it at all. In those cases the phone stays linked to your Apple Account, and nobody can set it up without your password.
So the rule is simple. Erase the phone yourself, from Settings, before you give it to anyone else.
The rest of the handover
Signing out is just one step on a longer checklist, and two of the others cannot be undone.
Back up the phone and open the backup to check it worked. If you are moving to a new iPhone, our guide on transferring data from iPhone to iphone covers all four methods, and transfer whatsapp to new phone is a separate job that has to happen during setup rather than after it.
Move your authenticator codes. Those do not come back from any backup, which makes them the most damaging thing on the phone to lose, and our guide on transfer google authenticator to new phone sets out how.
Unpair your Apple Watch if one is paired. This matters because erasing a watch on the watch itself does not clear its activation lock, and our guide on selling an old smartwatch explains why.
If you are switching to Android, deregister iMessage. Then remove the SIM, sign out and erase the phone.
You can fix this from a browser, and it is better to do it today than to wait.
Sign in to Find My on iCloud.com, find the device in your list, and remove it. Apple documents this route for exactly this situation, including when you no longer have the phone or it is no longer paired.
Until you remove the device, the person with your old iPhone cannot set it up. If a buyer contacts you about this, respond and help them. It takes two minutes and it is the only thing that will fix it.
A Separate Setting Worth Knowing About
There is a related switch called Find My, and it does two opposite jobs depending on your situation.
If you are selling, Apple's advice is to turn it off: Settings, your name, Find My, then Find My iPhone. Turning it off removes Activation Lock, which is what lets the next owner set the phone up.
If the phone was stolen, do the opposite. Apple warns directly against removing a stolen device from Find My, "even if you remotely erase it", because that removes Activation Lock and makes the phone easier for a thief to unlock and resell.
Same switch, opposite instruction. Which one you want depends entirely on whether you meant to part with the phone. Our guide on how to find my iPhone covers both sides of it, including what Apple's Find My network can still do when the phone is offline.
The Case Nobody Can Fix for You
If you are holding an iPhone that asks for an Apple Account you do not have the password to, only the owner of that account can release it. There is no legitimate way around it.
That is deliberate. A phone that anyone could unlock would be worth stealing.
If the account is yours, use Apple's own account recovery to get back in, then sign out properly.
If you bought the phone second-hand, go back to the seller. They can remove it from Find My on iCloud.com in two minutes.
If the seller will not help, that is a dispute with the seller rather than a technical problem. If you paid by UPI or card, raise it with your payment provider.
And no service can clear it for you legitimately, including us. Anyone charging a fee to unlock a phone from somebody else's Apple Account will either fail or do something you should not want to be part of.
So check before you pay. Ask the seller to erase the phone in front of you and take it through the first setup screen. If it asks for an account, walk away. Check the IMEI while you are there, because that catches the other problem, and our guide on checking an IMEI number in India explains how.
And Then the Old iPhone
This is where our interest sits, so weigh it accordingly.
An iPhone properly released from your account is worth what the model, age, condition and battery health say it is worth. One that still asks for an Apple Account is worth almost nothing to anyone, in any condition, because it cannot be set up.
On iOS 26 or later, open Settings, tap your name, scroll down and tap Sign Out, then choose Erase this iPhone or Sign Out But Don't Erase. On iOS 18 or earlier, tap Sign Out, enter your Apple Account password and tap Turn Off. If asked which account, choose Sign out of iCloud and Store.
2. Does signing out delete my iCloud photos?
No. Signing out disconnects the phone from your account. Your photos, files, purchases and backups stay in your Apple Account, and signing in on any device brings them back. Erasing the phone later clears the handset, not the account.
3. Do I need to sign out before erasing the phone to sell it?
Erasing from Settings is what releases the handset, because Apple says it turns off Find My and Activation Lock. Signing out first is belt and braces, it takes thirty seconds, and it removes any doubt. Do both.
4. What actually locks a phone to my account?
Not resetting while signed in. The lock causes problems when a phone is wiped another way, through recovery mode or the bootloader, from a computer because the passcode was forgotten or handed over without being erased at all. Erase it yourself fromSettings before it leaves your hands.
5. I sold my iPhone and forgot to sign out. What now?
Sign in to Find My on iCloud.com, find the device and remove it. Do it quickly, because until you do, the buyer cannot set the phone up at all.
6. Should I turn Find My off before selling?
Yes. Settings, your name, Find My, then Find My iPhone. Turning it off removes Activation Lock, which is what allows the next owner to set the phone up.
Sources
Apple, "What to do before you sell, give away or trade in your iPhone or iPad", for the iOS 26 and iOS 18 sign out paths, the Sign out of iCloud and Store option, the Erase All Content and Settings path, the statement that erasing turns off Find My and Activation Lock, the Apple Watch unpairing and iMessage deregistration steps, and the note that erasing does not delete iCloud content
Apple, "Turn off Find My on your devices and items", for the Find My iPhone toggle path, the statement that turning it off removes Activation Lock, and the advice to do so before selling, giving away, trading in or servicing a device
Apple, "If your iPhone or iPad was stolen", for the warning not to remove a stolen device from Find My even after a remote erase, because doing so removes Activation Lock
Apple, "How to find your lost iPhone or iPad", for the Find My on iCloud.com route to remove a device you no longer have