0%

How to restore a deleted file on a Windows PC or Mac

Written by

in

,

· Last updated

Deleted a document or photo by mistake? First check the Recycle Bin on Windows or the Trash on a Mac. If the file is still there, you can usually put it back without installing anything.

This guide covers files in Windows 11 and the Mac’s Finder. Photos inside a photo-library app and deleted emails have their own recovery controls. Do not empty the bin or run a clean-up tool while looking. If restoring brings up a same-name file warning, do not replace an existing file unless you are sure you no longer need that copy.

On Windows: restore from the Recycle Bin

  1. Open Recycle Bin on your desktop.
  2. Find the file you want. Check its name carefully, especially if several copies look similar.
  3. Right-click that file and choose Restore.
  4. Open the folder it originally came from and check that the restored file opens.

Windows returns the item to its original folder. Avoid Restore all items when you only need one file. Microsoft describes the process in its file-restoration guide.

No Recycle Bin icon? Go to Settings → Personalisation → Themes → Desktop icon settings, tick Recycle Bin and select OK. Microsoft’s missing-bin guide also covers desktops where all icons are hidden.

On a Mac: use Put Back

  1. Click the Trash icon in the Dock. It may be called Bin, depending on your language settings.
  2. Find and select the item you need.
  3. Right-click it and choose Put Back.
  4. Check the folder it came from, then open the file to make sure it is the right one.

You can also select an item in Trash and choose File → Put Back from the menu bar. Apple explains this in its Trash guide. Do not choose Empty or Delete Immediately.

If it was in OneDrive or iCloud Drive

A missing file is not always in your computer’s bin. For example, Microsoft says deleted online-only OneDrive files do not appear there. Check the service that held the file, using the same account.

OneDrive: sign in at onedrive.com, open Recycle bin, select the file and choose Restore. Personal-account items are normally recoverable within 30 days unless permanently removed. Work or school retention can differ. See Microsoft’s recovery options.

iCloud Drive: open iCloud Drive on the web, sign in and choose Recently Deleted. Select the file, then Recover. Apple allows recovery within 30 days, but not for permanently removed files. Leave iCloud Drive files alone while recovery runs. Apple’s recovery guide explains the limits.

Still cannot find it?

If you are not sure it was deleted, check where it was saved first. A downloaded document may simply be in Downloads. If it came by email, you may be able to download the attachment again.

Otherwise, check an existing backup before trying recovery software. For an important file missing from a Windows drive, minimise use of that computer: new data can overwrite space that held the deleted file. Microsoft’s Windows File Recovery guidance explains why. Recovery tools cannot promise success; get help before experimenting with an irreplaceable file.

Sources and scope

Checked against Microsoft and Apple support information on 17 November 2026. This is a documentation-based guide, not hands-on recovery testing. Menu wording can vary by system version and language.