Phones and Computers Guide
How to wipe a phone or tablet before you sell it or give it away
Back up, sign out of your accounts, use Erase All Content and Settings or Factory reset, and remove the device from your Apple or Google account.
Short answer
Back up anything you want to keep, sign out of your accounts, then use the phone's 'Erase All Content and Settings' or 'Factory reset' feature, which the NCSC says is the best way to make sure your data is erased [1]. Finally remove the device from your Apple or Google account and any apps that manage it [2]. On iPhone, turn off Stolen Device Protection first [3].
Step by step
- Back up. Make sure you have a copy of everything you want to keep [1].
- Turn off Stolen Device Protection (iPhone). Do this before selling or trading in [3].
- Sign out. Sign out of Apple ID or Google, WhatsApp and banking apps [2].
- Erase. Use Erase All Content and Settings (iPhone) or Factory reset (Android) [1].
- Remove it from your accounts. Take it off your Apple or Google device list and any management apps [2]. Remove your SIM and memory card.
Buying second-hand
If you buy a second-hand device, reset it before use, check it still receives security updates and install any available [2]. Without security updates a phone is easier to hack [1].
In plain words
Back up, sign out, wipe, and take the phone off your account. Then it is safe to pass on.
Questions people ask
Is deleting my photos enough?
No. Use the full reset, which removes messages, contacts, photos and more [1].
What about old laptops?
The same idea applies: back up, sign out, and use the built-in reset or reinstall.
Can I recycle a phone that will not turn on?
Use a reputable recycler that wipes data, or ask the manufacturer's trade-in scheme.
Do I need to remove my eSIM?
Yes. The reset usually offers to erase it; contact your network to move it to your new phone first.
Sources
- National Cyber Security Centre, Guidance for buying & selling second-hand devices. Accessed 2 December 2026.
- National Cyber Security Centre, Top tips for staying secure online | Protect your devices. Accessed 2 December 2026.
- Apple Support, About Stolen Device Protection for iPhone. Accessed 2 December 2026.
8 factual claims checked against 3 sources before publication.