Skip to content

Valencay

Blog

Safe Computer Recycling: How to Erase Your Data Before Taking It to a Recycling Center

Before taking a computer to a recycling center, the step most people forget is wiping the hard drive. Simply emptying the…

Hombre de mediana edad borrando datos de un ordenador antiguo antes de reciclarlo, sentado en su escritorio en casa

Before taking a computer to a recycling center, the step most people forget is wiping the hard drive. Emptying the recycle bin or deleting folders isn’t enough: the data is still there and can be accessed with basic recovery tools. Securely erasing data before recycling a device isn’t just a personal precaution; it is also part of the technical requirements for preparing equipment for reuse, as set out in Annex IX of Spain’s Royal Decree on WEEE.

What happens to your data when the computer won’t start

Have you ever tried to turn on an old computer only to be met with a black screen? That makes things more complicated, because you can’t run an erasure program or verify that the drive is clean.

When a computer won’t start, the hard drive or SSD still contains all its information. Saved passwords, tax documents, personal photos, online banking credentials: everything remains intact on the storage device, even if the motherboard or power supply has stopped working.

In this situation, there are two possible options. If the drive itself works but the computer doesn’t, you can remove the drive and connect it to another computer using a USB-to-SATA adapter. Once connected, you can erase it from the other computer as if it were an external drive.

If you don’t even know whether the drive works, the safest option is to remove it from the computer before handing it in. A laptop hard drive can usually be removed by taking off a bottom cover with a Phillips screwdriver. For M.2 SSDs, you just need to remove one screw. After that, safe computer recycling can proceed as usual: take the computer without the drive to a recycling center and handle the storage device separately.

The final option is physical destruction of the drive, which INCIBE recommends when the storage device will not be reused. Drilling through a hard drive’s magnetic platter or bending and breaking an SSD makes the data irretrievable.

Woman handing an old laptop to a technician at an electronic waste recycling center for safe recycling

Secure erasure on HDDs and SSDs: important differences

A common mistake is to treat a mechanical hard drive (HDD) and a solid-state drive (SSD) the same way. The erasure method differs, and using the wrong one can leave data recoverable.

Mechanical hard drives (HDDs)

On an HDD, data is written to magnetic platters. Free tools such as DBAN (Darik’s Boot and Nuke) let you boot the computer from a USB drive and overwrite the entire disk with random data. A single overwrite pass is enough to make data unrecoverable on modern drives, although programs such as DBAN offer multiple-pass options for anyone who wants extra peace of mind.

The process can take several hours on large drives, but it doesn’t require advanced technical knowledge. Download the image, write it to a USB flash drive, and boot from it.

Solid-state drives (SSDs)

SSDs work differently. They have flash memory cells and a controller that redistributes data internally (wear leveling). This means a conventional overwrite program may not reach every cell.

For an SSD, the most reliable method is to use the Secure Erase command or the manufacturer’s utility. Samsung has Samsung Magician, Crucial offers Storage Executive, and Western Digital provides Dashboard. These tools send a direct instruction to the SSD controller to erase all cells, including reserved ones.

If you can’t find your manufacturer’s tool, resetting the operating system to factory settings and selecting the option to clean the drive (available in Windows 10 and 11) provides an acceptable level of erasure for home users.

Storage devices to check before handing in your computer

The computer isn’t the only place where data can be left behind. Before going to a recycling center, check that you haven’t left anything on these storage devices:

  • SD or microSD cards that sometimes stay in a laptop’s side slots for months without anyone remembering they’re there.
  • USB flash drives forgotten in the rear ports of desktop towers, where they may contain work documents or old backups.
  • External hard drives handed in with the computer, even if they appear to be empty: a quick format doesn’t erase the data, it only removes the index.

Data protection regulations make no distinction between the main drive and these storage devices. The AEPD has stated that waste management involving personal data must comply with the GDPR and Organic Law 3/2018, regardless of the type of storage device.

Recycling centers and other drop-off options in Spain

Once the data has been erased, the computer can be handed in as WEEE. The local municipal recycling center is the most common option, but it isn’t the only one.

  • Retailers with a sales area of at least 400 m² for electrical and electronic equipment must accept very small WEEE free of charge (up to 25 cm in every dimension), without requiring a purchase. A large laptop may not meet this size limit, but a standalone hard drive does.
  • When buying an equivalent new device, you can hand in the old one at the same store through the one-for-one take-back scheme, at no extra cost.
  • If the computer still works after erasure, donating it to a social organization or selling it second-hand can extend its useful life and reduce waste.

Physically destroying a computer that still works isn’t the best option. Regulations prioritize reuse over recycling, and a properly wiped computer can have a second useful life.

The most important step happens before you leave home: spending half an hour wiping the drive helps prevent banking information, passwords, or personal documents from falling into the wrong hands. If the computer won’t start, remove the drive and handle it separately. Recycling centers don’t check the contents of the drives they receive.

Safe Computer Recycling: How to Erase Your Data Before Taking It to a Recycling Center