Online safety · 3 SIMPLE STEPS

How do I clear a computer before selling or giving it away?

A computer can look empty while still holding photographs, documents or saved sign-ins. Deleting a few files or choosing a reset that keeps personal files is not enough for a new owner. First keep a checked copy of what you need, then use the computer maker’s erase instructions and check the result before handover. Already sold or donated it with files still present? That does not mean anyone has opened them. Ask the recipient or selling platform about returning or clearing the device, and secure accounts that might still be signed in. What you can do to the computer depends on whether you can get it back.

ishowcrime desk
Sources checked 9 November 2026

Original pen doodle of a person backing up photographs from a home laptop to a separate drive beside a desktop computer prepared for sale, with a blank setup screen and an empty box.
ONE SMALL STEP AT A TIME

Here’s what you can do.

  1. Save what you need first

    Copy important photographs, documents and recovery information to another device or backup service, then open a few files from that copy to check it works. Note which accounts you use on the computer and make sure you can sign in from a device you are keeping, including any second sign-in step. NCSC advises doing this before erasing; a reset can remove files you cannot recover from the old computer. If it is a work or school device, ask its owner or IT team before making any change or handing it to someone else.

  2. Use the maker’s erase route

    For a Windows PC, Microsoft says to choose ‘Remove everything’ when resetting for sale or donation and turn on ‘Clean data’ to make deleted files harder to recover. Do not choose ‘Keep my files’. On a compatible Mac, Apple says to use ‘Erase All Content and Settings’; older Macs need its separate sign-out, erase and reinstall instructions. Follow the current instructions for your exact model and system version. These actions delete local data and apps, so do them only after checking your backup. A consumer reset reduces risk but does not guarantee that a determined expert cannot recover any data; especially sensitive or business devices may need a specialist sanitisation route.

  3. Check the result and deal with mistakes

    Before handing the computer over, check that it starts at a new-user setup screen and does not show your files or a signed-in account. For a Windows PC, Microsoft says to remove the reset device from your Microsoft account afterwards. If you already handed it over without erasing, contact the recipient or platform promptly and ask whether you can get it back or have it cleared. From another trusted device, check important email, banking and other accounts for unfamiliar activity. If an account may still be accessible, follow its provider’s sign-out and password guidance; NCSC advises changing a compromised password, logging out other devices and using two-step verification. Tell your employer or school promptly if their data may be involved. A remote account sign-out does not erase files left on the computer.

A LITTLE NOTE TO KEEP

Your quick checklist.

Tick what you’ve done. This stays on this page.

Preparation checklist
0 of 3 marked

Download a short text copy to read without internet. It cannot call or alert anyone.

QUESTIONS YOU MIGHT HAVE

A few things explained.

Is deleting my folders or choosing ‘Keep my files’ enough?

No. NCSC says to use the device’s erase or factory-reset process when passing it on, and warns against a choice that keeps personal files. For Windows, Microsoft describes ‘Remove everything’ plus ‘Clean data’ as the consumer option for selling or donating. This makes recovery harder, but Microsoft says it does not meet government or industry data-erasure standards.

Does a Mac need the same steps as Windows?

No. Apple says Macs with Apple silicon or a T2 chip using macOS Monterey 12 or later can use Erase All Content and Settings. If that feature is unavailable, its guide gives separate steps to sign out of services, erase the Mac in Recovery and reinstall macOS. Check the exact model and version rather than copying Windows instructions.

What if I have already handed over a computer with private files?

Ask the recipient or selling platform promptly whether it can be returned or cleared. Do not assume the files were viewed, and do not claim a remote account sign-out deleted the local drive. From a trusted device, check exposed accounts and follow their official recovery and sign-out guidance. NCSC advises changing passwords and logging out other devices if an account is compromised. Tell the employer or school if their information may be on the machine. If money or account access has been misused, contact the relevant provider and use the appropriate fraud-reporting route.