Skip to content
Minute Campus.

Everyday computer scienceLesson 101 min

Why does deleting a file not delete it?

Deleting a file does not erase it. The computer removes the entry that says where the data is, like a library card, and marks the space as free. The data often stays until something new overwrites it, and Microsoft's recovery tool relies on this. After a mistake, stop using that disk. Before selling a computer, use an erase option.

Remember

Deleting is not erasing: use a proper erase option before selling a computer.

Sources

Checked at the source.

Every claim in the lesson was checked against these before it was recorded.

  1. 1Windows File RecoveryMicrosoft Support · read 4 Oct 2026A deleted file's space is marked free, so its data can still exist and be recovered.

Transcript

The lesson, word for word.

Read it at your own pace, or search the page for a term.

Delete a file, empty the bin, and the file is often still on the disk. Deleting does not erase it. Think of a disk as a library. The books are your data. At the front is a catalogue that says which shelf each book is on. When you delete a file, the computer does not burn the book. It removes the card from the catalogue and marks the shelf as free. The data stays until something new is written on that shelf. Microsoft's own recovery tool depends on this. In its words, the space used by a deleted file is marked as free space, which means the file data can still exist and be recovered. Two things follow. If you delete something by mistake, stop using that disk, because new files may overwrite it. And before you sell a computer, deleting is not enough. Use the erase option built for that.

Questions? Comment on the lesson on YouTube

New lessons every day.

Follow Minute Campus where you already scroll.