---
title: How to Erase Data Securely: Drives, SSDs, Phones and the GDPR
url: https://recdata.lu/en/guides/how-to-erase-data-securely/
description: Formatting and factory resets do not erase data. How to really erase hard drives, SSDs, phones and USB sticks before selling, recycling or returning them, and what the GDPR expects from companies.
language: en
---

Business

# How to erase data securely

Every week we recover data from drives that were 'formatted' and phones that were 'reset' before being sold or thrown away. Deleting is not erasing. The right method depends on the type of media and on whether you want to reuse it.

Published 18 November 20262 min readBy [Mirush Murataj](https://recdata.lu/en/about-us/#author)

Formatting and deleting leave the data readable.

In short

- Formatting and deleting leave the data readable.
- Hard drives: full overwrite. SSDs and phones: encryption plus secure erase or reset.
- For companies, keep proof of erasure for each device.

## What does not erase data

- **Deleting files** and emptying the Recycle Bin.
- **A quick format**: it only writes a new, empty index.
- **Drilling a single hole** in a hard drive: large parts of the platters remain readable in a lab.

## Hard drives

A **full overwrite** of every sector makes the data unrecoverable with any known method. On Windows, a full (not quick) format writes zeros on the whole volume; dedicated tools overwrite the whole disk, including hidden areas, and verify the result. One verified pass is enough on modern drives.

## SSDs, USB sticks and memory cards

Overwriting is **not reliable** on flash memory: the controller keeps spare blocks you cannot address, and old copies of data can remain there. Use instead:

- The manufacturer's **Secure Erase** or **Sanitize** command, from the SSD maker's tool or the computer's firmware.
- **Encryption from the start** (BitLocker, FileVault): destroying the key makes the data unreadable (cryptographic erase).
- For cheap USB sticks and cards, **physical destruction** is often the only certain method.

## Phones and tablets

Modern iPhones and Android phones are encrypted. A **factory reset** destroys the encryption key, which makes the old data unreadable. Before the reset, sign out of your Google or Apple account, remove the memory card and the SIM.

## For companies: the GDPR

The GDPR requires personal data to be erased securely when it is no longer needed, and the company must be able to **show how**. Keep an inventory of the devices with their serial numbers, the method used and the date. A **certificate of destruction** from a specialised provider is the simplest proof. Physical destruction (degaussing or shredding) is recommended for media that held sensitive data or that no longer work.

See [secure data destruction](https://recdata.lu/en/data-recovery/secure-data-destruction/) and [Accidentally formatted a drive: what you can still recover](https://recdata.lu/en/guides/accidentally-formatted-drive/).

## Frequently asked questions

Is a factory reset enough before selling a phone?

On a modern encrypted iPhone or Android phone, yes: the reset destroys the encryption key. Sign out of your accounts and remove the cards first.

How many overwrite passes does a hard drive need?

One verified pass is enough on modern drives. Multiple passes date from much older technologies.

## Official sources and useful links

- [Commission nationale pour la protection des données (CNPD)](https://cnpd.public.lu/): The Luxembourg data protection authority: data breach notification and GDPR guidance.
- [General Data Protection Regulation (EUR-Lex)](https://eur-lex.europa.eu/legal-content/FR/TXT/?uri=CELEX:32016R0679): Official text of the GDPR.
- [SuperDrecksKëscht](https://www.sdk.lu/): National programme for problematic waste: where to drop off batteries and electronic devices.
- [Ecotrel](https://www.ecotrel.lu/): Collection and recycling of waste electrical and electronic equipment in Luxembourg.

Share this guide

- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frecdata.lu%2Fen%2Fguides%2Fhow-to-erase-data-securely%2F)
- [Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Frecdata.lu%2Fen%2Fguides%2Fhow-to-erase-data-securely%2F)
- [WhatsApp](https://wa.me/?text=https%3A%2F%2Frecdata.lu%2Fen%2Fguides%2Fhow-to-erase-data-securely%2F)
- [Email](mailto:?body=https%3A%2F%2Frecdata.lu%2Fen%2Fguides%2Fhow-to-erase-data-securely%2F)
-

Cite this article

Murataj, Mirush. "How to erase data securely". RecData, 18 November 2026. https://recdata.lu/en/guides/how-to-erase-data-securely/

Is your data important?

Do not try anything that could make the fault worse. The diagnosis is free and you get a fixed quote before any work starts.

[Request a free diagnosis](https://recdata.lu/en/free-diagnosis/) [Secure data destruction data recovery](https://recdata.lu/en/data-recovery/secure-data-destruction/)

Need a diagnosis?

Free, no obligation, reply within 2 hours.

[Free diagnosis](https://recdata.lu/en/free-diagnosis/)[+39 389 965 7366](tel:+393899657366)

## Read next

- [Digital forensics: how an expert report is builtEmails, files, messages and logs are often the key evidence in a dismissal, a fraud, a commercial dispute or…](https://recdata.lu/en/guides/digital-forensics-expert-report/)
- [Ransomware attack: what to do in the first hoursFiles renamed with an unknown extension, a ransom note on every desktop, backups that have disappeared. The…](https://recdata.lu/en/guides/ransomware-what-to-do-in-luxembourg/)
- [Recovering deleted files on WindowsA file deleted on Windows is rarely gone at once. Depending on where it was and how it was deleted, it may be…](https://recdata.lu/en/guides/recover-deleted-files-windows/)
- [Recovering deleted photos and files on AndroidAndroid phones keep more copies than people think: trash folders, Google backups, WhatsApp backups, memory…](https://recdata.lu/en/guides/recover-deleted-files-android/)
- [Recovering deleted photos on iPhoneOn an iPhone, a deleted photo first goes to the Recently Deleted album, where it stays for 30 days. After…](https://recdata.lu/en/guides/recover-deleted-photos-iphone/)
- [Bad sectors: can they be repaired?A warning about bad sectors is one of the most common messages a hard drive gives before it fails. The word…](https://recdata.lu/en/guides/hard-drive-bad-sectors/)

Your device has stopped responding? Switch it off and talk to us.

[Request a free diagnosis](https://recdata.lu/en/free-diagnosis/)
