Software & OS

How to See Recently Deleted Files on Windows and Mac

To see recently deleted files, open the Recycle Bin on the Windows desktop or click the Trash icon in the Mac Dock. Anything still listed there can be restored; if it isn't, check a backup (File History or Time Machine) or your OneDrive Recycle bin.

Where a deleted file ends up depends on how it was deleted and where it was stored. Work through the sections below in order, from the easiest check to the last resort.

See recently deleted files on Windows: the Recycle Bin

Double-click the Recycle Bin icon on the desktop. If the icon is missing, type Recycle Bin in the Start menu search and open it. Switch to the Details view if you want to see more columns for each item.

To get a file back, right-click it and choose Restore. It returns to the folder it came from. Restoring is the right first move because it needs no extra software and changes nothing else on the disk.

The Recycle Bin only holds files that were sent to it, so a permanent delete or an emptied bin leaves nothing to restore there. Our guide on how to delete a folder on Windows and Mac covers which delete methods skip the bin.

See recently deleted files on a Mac: the Trash

Click the Trash icon in the Dock. To restore an item, select it and choose File > Put Back, or drag it out of the Trash onto the Desktop or into a folder. Put Back sends the item to the place it was deleted from.

Items you move to the Trash from your Mac stay there until you empty it. Two things change that:

  • In Finder settings, under Advanced, the option Remove items from the Trash after 30 days deletes old items automatically. Apple states that items removed this way are also permanently deleted.
  • Items from iCloud Drive are automatically emptied from the Trash after 30 days, regardless of Finder settings.

If you emptied the Trash, or used Delete Immediately (Control-click an item in the Trash), Apple says the files are permanently deleted and no longer available from there. Go to the Time Machine section below.

Recover deleted files in OneDrive

If the file lived in a OneDrive folder and you deleted it from the cloud, it will not be in your computer's Recycle Bin or Trash. Microsoft says files deleted from the cloud, including online-only files, don't appear there. Instead:

  1. Go to onedrive.com and sign in.
  2. Select Recycle bin in the left navigation pane.
  3. Check the circle on each file or folder you want back, then choose Restore.

The window is limited. As of November 2026, Microsoft's page says personal accounts can restore files deleted within the last 30 days, and work or school accounts within the last 93 days, unless an administrator changed the retention setting. Items permanently removed from the OneDrive recycle bin can't be restored.

Restore deleted files from File History on Windows

File History is a backup feature that you have to turn on before the deletion. If it was on, you can see what a folder used to contain:

  1. In File Explorer, go to the folder that used to contain the missing file or folder.
  2. Right-click the folder name and select Restore previous versions. For a folder at the top level of a drive, right-click the drive instead.
  3. On the Previous Versions tab, choose a version from a date when the item still existed.
  4. Select Restore. To keep the current version as it is, expand Restore and select Restore to... and pick another folder.

Microsoft warns that a plain Restore replaces the current version on your computer, and the replacement can't be undone. For files in a library, right-click the file in its actual saved location, not inside the library view.

To switch File History on for the future, connect an external drive or set up a network location, open Control Panel, go to System and Security, select Save backup copies of your files with File History, then select Turn on.

Restore deleted files on a Mac with Time Machine

If Time Machine was backing up before the files were deleted, you can browse older backups:

  1. Open a Finder window for the folder that held the item. For items on the desktop, skip this step.
  2. Open Time Machine. Use Spotlight to find it in the Other folder. Your Mac may take a moment to connect to the backup disk.
  3. Use the arrows beside the Finder windows to move through older backups. The selected backup is highlighted in red in the timeline on the right.
  4. Select the items you want, then click Restore.

Apple says restored items return to their original location. For documents in apps that support versions, File > Revert To > Browse All Versions lets you view earlier versions of a document in Time Machine and restore the one you want.

Last resort on Windows: Windows File Recovery

Microsoft's free Windows File Recovery tool is for files that can't be restored from the Recycle Bin. It is a command-line app that you install from the Microsoft Store. Before you start, stop using the computer as much as you can. New data can overwrite the space the deleted files used.

Search for Windows File Recovery in the Start menu, open it, and approve the prompt. The command format is:

winfr source-drive: destination-drive: [/mode] [/switches]

The destination must be a different drive from the source, for example a USB drive. Microsoft's examples, here recovering from C: to E:, are:

winfr C: E: /regular /n \Users\<username>\Documents\
winfr C: E: /regular /n *.pdf /n *.docx

Microsoft recommends /regular mode for recently deleted files on NTFS drives. For older deletions, formatted disks or corrupted disks, it recommends /extensive mode, and FAT and exFAT drives require extensive mode. Here is an extensive-mode search by file name:

winfr C: E: /extensive /n *invoice*

Confirm with Y when the tool prompts you, and press Ctrl+C to stop it. Microsoft warns that recovery may fail because the free space was overwritten, especially on a solid-state drive (SSD). Treat it as a chance, not a promise.

Which method fits your situation

SituationWhere to look
Deleted from a Windows folder a moment agoRecycle Bin, then Restore
Deleted on a Mac and the Trash is not emptyTrash, then File > Put Back
Deleted from OneDrive on the web or an online-only fileOneDrive Recycle bin (30 or 93 days)
Bin or Trash emptied, File History was onRestore previous versions
Trash emptied, Time Machine was onTime Machine, then Restore
Windows, no backup, bin emptiedWindows File Recovery (winfr)

If you can't find the file anywhere

If the file is not in the bin, not in a backup, and Windows File Recovery finds nothing, the data may be overwritten. Stop writing to that drive, since every new download and install lowers the odds. Check other places a copy can hide: an email attachment, a chat app, a cloud sync folder on another device, or a shared drive.

On the other side of this, if you are deleting something sensitive on purpose and want it unrecoverable, the opposite rules apply. See how to securely delete files.

Frequently asked questions

Can I recover a file after emptying the Recycle Bin or Trash?
Sometimes. On a Mac, Apple says emptied items are permanently deleted and no longer available from the Trash, so the realistic route is a Time Machine backup. On Windows, a File History backup works if you had it on, and Microsoft's Windows File Recovery tool can try to recover files that can't be restored from the Recycle Bin. Success is not guaranteed, especially on an SSD.
How long do deleted files stay in the Recycle Bin or Trash?
On a Mac, items you move to the Trash stay there until you empty it, unless you turned on the Finder setting that removes items after 30 days. Items from iCloud Drive are emptied from the Trash after 30 days. OneDrive keeps deleted files for 30 days on personal accounts and 93 days on work or school accounts, unless an administrator changed it.
Why are my deleted OneDrive files not in the Recycle Bin on my PC?
Files deleted from the cloud, including online-only files, don't appear in your computer's Recycle Bin or Trash. Sign in at onedrive.com and open the Recycle bin in the left pane instead.
Should I keep using my computer after deleting something by mistake?
Use it as little as possible. Microsoft advises minimizing or avoiding use of the computer when you try to recover files, because new data can overwrite the space the deleted files occupied.

Sources