Skip to content
Essential Data Recovery

Files disappeared from your external hard drive: why it happens

When files vanish from an external drive that still opens normally, they are usually not gone: they are hidden, sitting in a bin nobody checked, moved by a sync client, or lost as recent writes after an unplugged cable. This page walks the causes in order of likelihood and shows how to tell which one you have.

Written by Essential Data RecoveryPublished 2026-09-13Owner-reviewedRevision 1
An open blank paper notebook with several blank pages fanned mid-turn on pale oak wood, a closed portable drive out of focus behind

When files disappear from an external hard drive that still opens normally, the cause is usually one of six things: the files were deleted, they are hidden rather than gone, a sync client moved them, the drive lost its most recent writes when it was unplugged, you are looking at the wrong volume, or malware is hiding them. Most of these end with your files exactly where you left them. Windows even hides files by default, so an empty-looking folder proves less than it seems. Working through the causes in order, which takes a few minutes, tells you which one you have.[1][2]

First question: deleted or hidden

Start by separating two very different situations. Hidden files are still on the drive; both Windows and macOS hide some files by default, so a folder window that looks empty does not prove anything is missing. Deleted files are different: the folder stopped listing the file, and whether it is sitting in the Recycle Bin or Trash depends on how it was deleted, which is less reliable than most people expect. The fastest check is to reveal hidden files, look again, then check the bin. If the files are neither hidden nor binned, the causes below explain where they went.[3][4][1]

Hidden files on Windows and Mac

Windows ships with file hiding turned on, so a drive can hold thousands of files and still look empty in the wrong view. On Windows 11, open File Explorer and select View, then Show, then Hidden items. On Windows 10, select View, then Options, then Change folder and search options, open the View tab, and select Show hidden files, folders, and drives. Hidden and visible are flags on each file, not a property of the drive, and the attrib command displays, sets, or removes them: +h sets the Hidden attribute, +s sets the System attribute, and with the /s switch the change reaches matching files in the current directory and every subdirectory, with /d covering the directories themselves.[1][5]

The combination that confuses people most is a drive that reports gigabytes used while every folder looks empty. That is the signature of hidden files: the files are still there, still counted in used space, but skipped by the folder view. Windows also keeps a tier of protected system files behind a separate advanced setting, so one toggle may not reveal everything on the drive.[5]

On a Mac, press Shift-Command-Period in the Finder window: normally hidden files appear, dimmed, and pressing it again hides them. Deletion on a Mac is a separate check, and it is more forgiving than it looks: Command-Delete moves the selected item to the Trash, and the Trash holds it until a separate empty step, so a file missing from an external drive may still be sitting in the Trash of the Mac it was deleted from.[3]

Why files vanish without the Recycle Bin

People often report that they deleted nothing on purpose, checked the Recycle Bin, and found it empty. An empty bin proves less than it seems. On Windows, a delete on an external drive often never lands in the Recycle Bin at all, so a file can be gone from the folder and absent from the bin at the same time. Treat the bin as one place to look, not the whole story.[4]

Sync services add a second wrinkle. Microsoft confirms that files deleted from OneDrive's cloud, or files that were online-only, do not appear in your computer's Recycle Bin or Trash. OneDrive keeps its own recycle bin instead: items sit there for 30 days on personal accounts, or 93 days on work and school accounts unless an administrator changed the setting, and restoring puts the file back in its original folder.[4]

If the files are genuinely deleted and the bins are empty, what happens next depends on what a delete actually does to the drive, which is less destructive than it feels.

What happens when you delete a file

Sync clients and moves

If a folder on the external drive has ever been inside a synced location, treat the sync client as a suspect in its own right. Syncing can move, rename, or replace the local copy, so the files may exist under the sync service's own folder or in its web view rather than at the path you remember. Open the sync client, check its folder on the drive and its recycle bin on the web, and search the synced folder by filename before concluding the drive lost anything.[4]

Unsafe removal and lost writes

Unplugging a drive without ejecting it can lose recent writes, and how much risk that carries depends on a Windows setting. With Quick removal, the default since Windows 10 version 1809, Windows does not cache disk write operations and the drive is ready to remove at any time. With Better performance, Windows can cache writes to the external device, and Microsoft warns that removing the device without the safe removal process risks losing data; Safely Remove Hardware exists to make sure every cached operation finishes first.[2]

The pattern an unsafe removal leaves is characteristic. The copy progress bar finished on screen, but the data was still in the computer's write cache, so the files copied in the last stretch before the unplug are the ones missing while older content survives untouched. If your report is that some of the newest files are gone rather than everything, this is the likeliest cause. If the entire folder is gone, look at the other causes first.[2]

If recent files are missing after an unplug, stop copying anything else to the drive and do not reformat it or let a repair tool at it. Writes that never reached the drive cannot be recovered by writing more, and a format or repair pass makes whatever survives harder to get back. From now on, eject the drive properly and let every copy finish before removing it.[2]

When it is something else

External drives can carry more than one partition, and Windows gives each volume its own letter and label, which is why Microsoft's own walkthrough has users identify the letter or label associated with the device, for example USB Drive (D:). A folder that looks empty may simply be a different volume than the one holding your files. Check which letter and label the drive has now, and whether the device shows a second volume, before concluding anything is missing.[2]

Some malware hides files instead of destroying them, flipping them to hidden so the drive looks emptied out while the computer keeps running normally. Because hidden is an attribute any program can set, an unexplained mass-hiding event across many files at once is worth treating as a security signal: clean the computer before restoring anything, then clear the hidden attributes.[5]

One boundary worth naming: everything above assumes the drive opens normally. If the drive shows error messages, asks to be formatted, or does not appear at all, the diagnosis is different and the safe order matters more.

External drive detected but not accessible

What to do next

Working through the causes in order

  1. Reveal hidden files: Hidden items on Windows 11, the View tab setting on Windows 10, Shift-Command-Period in Finder on a Mac. If the files appear, nothing was lost.
  2. Check every bin: the Recycle Bin or Trash, the sync service's own web recycle bin, and the sync client's folder for copies it moved.
  3. Confirm the volume: check the drive's letter and label, and whether the device holds more than one partition.
  4. If the files are still missing, stop writing to the drive. Every new write can land on top of the data you want back.
[2][4][1][3]

Related reading

Deleted files: first steps

What happens when you format a drive

Not sure which situation you are in? Try guided help

Sources

Facts on this page are cited to the publishers’ own documentation.

  1. [1] MicrosoftFile Explorer in Windows - Microsoft Support. captured 2026-09-13.
  2. [2] Microsoft LearnWindows default media removal policy. captured 2026-09-13.
  3. [3] AppleMac keyboard shortcuts - Apple Support. captured 2026-09-13.
  4. [4] MicrosoftRestore deleted files or folders in OneDrive. captured 2026-09-12.
  5. [5] Microsoftattrib | Microsoft Learn. captured 2026-09-13.

Something wrong or outdated on this page? Report a correction. We publish what we fix.

Need the steps rather than the background? The guides walk through each situation, and guided help points you at the right one.