If you are giving away or selling your iPhone or iPad, you need to make sure that your Apple ID is no longer present on the device. You can find below the steps to completely remove Apple ID from iPhone and iPad.
Remove Apple ID from iPhone or iPad
As you must be aware, an Apple ID and Password is required to sign-in to Apple Services like App Store, iTunes, iCloud, Find My iPhone and others.
Hence, it is really important to make sure that your Apple ID is completely removed from your iPhone or iPad, before selling or giving it away to someone.
If you are concerned, removing Apple ID from iPhone or iPad will not delete or invalidate your Apple ID in any way, it only unlinks that particular device from your Apple ID.
If you are trying to remove the Apple ID of a previous owner, you can refer to this guide: iPhone Asking Password For Previous or Unknown Apple ID
1. Completely Remove Apple ID from iPhone
If you are selling or giving away your device, the only way to completely remove Apple ID from iPhone or iPad is to Factory Reset your device.
Go to Settings > General > Transfer or Reset iPhone > on the next screen, select Erase All Content and Settings option.
On the next screen, tap on the Continue button > Enter the Lock Screen Password > On the confirmation pop-up, tap on Erase iPhone to confirm.
Once the Reset process is completed, you will find iPhone starting with “Hello” screen. Follow the onscreen instructions to Set up iPhone, until you reach “Apps & Data” screen.
On this screen, select Set Up as New iPhone (If you are selling or giving away iPhone) and follow the instructions to set up iPhone as a New Device.
2. Remove Apple ID Without Erasing Data
To remove Apple ID from iPhone or iPad without erasing data, you will have to unlink the device from Apple ID and sign out of Apple ID.
Open the App Store on your iPhone and tap on the Profile Icon.
On the Account screen, tap on your Name and wait for the screen to load. Once that is done, tap on your Apple ID and this will take you to appleid.apple.com.
On the next screen, scroll down a bit and tap on Sign In > enter your Apple ID and Password > Answer 2 security questions > On the next screen, tap on the Down Arrow and select the Devices tab.
On Devices screen, select the iPhone that you want to remove > scroll down and tap on Remove from Account option.
After the device is removed, close the screen and Sign out from your Apple ID Account.
After this go to Settings > Apple ID > scroll down and tap on Sign Out.
On the pop, enter your Apple ID Password and tap on Turn OFF. On the next pop-up, tap on the Sign Out option located at the top right corner.
On the confirmation pop-up, tap on Sign Out option to completely sign-out of Apple ID on your iPhone.
The above steps should completely remove Apple ID from iPhone or iPad.