How to Securely Wipe iPhone or Android Phone Before Selling It
This guide provides comprehensive, step-by-step instructions for securely wiping both iOS and Android devices to protect your personal data when you sell or donate your smartphone.
Direct Diagnostic & Remediation Summary
- For iPhone (iOS): Ensure Find My is off, sign out of iCloud, and perform a full factory reset via Settings > General > Transfer or Reset iPhone > Erase All Content and Settings.
- For Android: Remove Google Account credentials first, then navigate to Settings > System > Reset options > Factory data reset. Confirm the wipe on the device itself.
Preparation: Backups, Sign Outs, and Data Removal
Before wiping any device, the absolute first priority is to back up all necessary data (photos, contacts, messages) to a cloud service or computer. Following this, you must remove your personal accounts to prevent activation locks.
For iPhone Users (iOS):
- Backup Data: Ensure your latest backup is on iCloud or connected computer.
- Sign Out of Accounts: Navigate to
Settings> tap your name/Apple ID > scroll down and selectSign Out. Follow the prompts to confirm signing out, which may require your Apple password.
For Android Users (Samsung, Google Pixel, etc.):
- Backup Data: Use Google Photos or manufacturer tools (like Samsung Smart Switch) for a full backup.
- Remove Accounts (Crucial!): Go to
Settings> search forAccountsorUsers & accounts. Tap on your Google account and selectRemove Account. This removes the Factory Reset Protection (FRP) lock associated with your primary email.
Security Measures: Disabling Device Locks
This step prevents the new owner from being locked out by Apple or Google's security protocols. This is non-negotiable for a safe sale.
For iPhone Users (iOS):
- Navigate to
Settings>Face ID/Touch ID & Password. - Temporarily disable the passcode or set a simple temporary one if required by the OS version, but primarily ensure you are logged out of iCloud in Step 1.
- If prompted during sign-out, explicitly turn off
Find My iPhonebefore exiting the process.
For Android Users (General):
- Check Screen Lock: Verify that the device is not locked with a pattern or PIN that you intend to keep for troubleshooting, as this can confuse the next owner.
- Disable Biometrics: Go through
Settings> Security and remove all fingerprint/face recognition data.
The Wipe Process: Factory Reset
This action erases all user data, settings, and accounts from the device's storage. Be absolutely certain you have completed Step 1 first.
For iPhone Users (iOS):
- Return to
Settings>General. - Scroll down and tap
Transfer or Reset iPhone. - Select
Erase All Content and Settings. Confirm the action using your passcode if prompted. The device will restart and begin the erasure process.
For Android Users (General):
- Return to
Settings. - Navigate to
System>Reset options(or similar wording depending on the manufacturer, e.g., 'Erase all data' on Samsung). - Select
Factory data resetorErase all data. - Confirm the action multiple times, acknowledging that this is irreversible and will delete everything.
Verification, Results & Preventative Maintenance
Once the device restarts after the wipe, it should present you with a "Welcome" screen (or similar initial setup prompt), indicating that all user data has been successfully removed. Do not attempt to restore backups onto the device.
- Verification Check: The phone must boot up to its out-of-the-box setup screen, asking for language selection or Wi-Fi credentials, with no personal photos, apps, or account identifiers visible.
- Physical Inspection: Check the SIM tray slot and any external ports (USB-C/Lightning) for physical debris to ensure full functionality.
- Preventative Tip (Future Devices): When using a device long-term, enable strong biometrics AND use an encrypted password manager. Always log out of primary accounts before handing off the phone. \
N/A
Frequently Asked Questions
Does wiping the phone also remove my IMEI number?
No. Wiping removes user data and software configurations. The physical hardware identifiers (like IMEI) remain unchanged.
What if I don't know my Apple ID password?
If you cannot sign out due to forgotten credentials, your best option is often to have the original purchaser/owner accompany you to an authorized service provider who can assist with account removal or reset procedures.
Is a factory reset enough protection against advanced forensic recovery?
For standard resale, yes. However, for government-grade data destruction, physical destruction of memory chips is required. For typical users, following the steps above provides excellent security.
What if I only want to wipe photos but keep apps?
If you are using cloud services (like Google Photos or iCloud), simply ensure those syncs are paused and delete the local copies from the device gallery before initiating a full factory reset.
Need help implementing this solution?
Our cybersecurity and infrastructure engineers can audit, harden, or configure your systems directly.
Community Discussion & Confirmations (2)
Technical questions, hardware findings, and verified fix reports.