Tech products promotional banner

How to Recover Deleted Files (Windows, Mac and SD Cards)

July 30, 2026

Affiliate Disclosure: This article may contain affiliate links. If you purchase through these links, we may earn a commission at no extra cost to you.

Deleting the wrong file is one of those mistakes you notice a second too late. The good news: a deleted file is rarely erased right away. Windows and macOS simply mark the space it occupied as available, and until something new is written over that spot, the data usually survives. That window is your opportunity, and what you do in the next few minutes matters far more than which recovery tool you eventually choose to run.

This guide works through recovery in the order that gives you the best odds: the Recycle Bin or Trash first, then the backup tools already built into Windows and macOS, and finally free recovery software for files that were never backed up anywhere. There is also a dedicated section for SD cards, plus the common mistakes that most often turn a recoverable file into a permanent loss.

External hard drive, USB flash drive and SD card beside an open laptop
Stop saving anything new to the affected drive the moment you notice a file is missing — every fresh write risks overwriting the exact data you want back.

Step 1: Check the Recycle Bin or Trash

It sounds obvious, but deletions from your main drive land here first, and restoring from the bin is instant and risk-free.

  1. On Windows, open the Recycle Bin from the desktop, search for the file name, right-click the file and choose Restore to send it back to its original folder.
  2. On a Mac, open Trash from the Dock, locate the file, then right-click it and choose Put Back.
  3. Sort by deletion date if the bin is crowded — the file you just lost will sit near the top.
  4. If the file was deleted from a USB drive or a network folder, move on to the next steps: those deletions usually bypass the Recycle Bin entirely.

Our pick for this guide: Seagate Portable 2TB External Hard Drive

After recovering your files, a dedicated backup drive is the single best way to make sure you never need recovery software again.

Check price at Amazon

Step 2: Restore From File History or Time Machine

If the bin is empty, the built-in backup tools are next. Per Microsoft and Apple documentation, both must have been enabled before the file was lost — they cannot reach back in time otherwise.

  1. On Windows, search the Start menu for File History, open the restore window, browse to the folder that held your file and use the green restore button to bring back the version you need.
  2. On a Mac, connect your Time Machine drive, open the folder where the file lived, launch Time Machine from the menu bar and step back through the timeline until the file reappears.
  3. Check cloud sync services too — OneDrive, Google Drive and Dropbox each keep their own trash folder that typically holds deleted files for 30 days or longer.

If neither tool was ever set up, treat this loss as the push to fix that: our walkthrough on backing up your PC to an external hard drive covers both operating systems step by step.

Step 3: Use Free Recovery Software

No backup? Recovery software scans the drive for data that has been marked deleted but not yet overwritten.

  1. Stop installing anything to the affected drive. If the lost file was on your system drive, install the recovery tool to a USB stick or a second drive instead.
  2. On Windows, try Windows File Recovery — Microsoft’s own free tool from the Microsoft Store — or a graphical option such as Recuva.
  3. On a Mac, or for stubborn cases on any system, use PhotoRec: it is free, open source and scans the raw disk for hundreds of file types.
  4. Scan the affected drive, preview what the tool finds, and always recover files to a different drive than the one you are scanning.
  5. If the quick scan finds nothing, run the deep or thorough mode — it takes far longer but reads every sector of the drive.

Recovering Files From an SD Card

Deleted photos and videos on camera or console SD cards follow the same logic, with one twist: small cards fill and overwrite faster.

  1. Take the card out of the camera or device immediately and stop shooting new photos.
  2. Connect the card to your computer through a card reader rather than the camera’s USB cable — readers are faster and expose the card as a normal drive.
  3. Run PhotoRec or Recuva against the card and save everything it recovers to your computer, never back onto the card itself.
  4. Once your files are safe, reformat the card inside the camera for a clean file system. The same principle from our guide to formatting an external hard drive applies here: formatting wipes the index, so only do it after recovery is finished.
Internal solid state drive resting on a desk beside a computer
If files keep vanishing on their own, test the drive before trusting it again — a failing drive should be backed up once and replaced, not scanned repeatedly.

Common Mistakes That Make Data Loss Permanent

  • Recovering onto the same drive you are scanning. Every recovered file written back to the source drive can overwrite other deleted files you have not rescued yet.
  • Using the computer normally while you decide. Browsers, updates and background apps write to the disk constantly, shrinking your recovery window by the minute.
  • Ignoring signs of drive failure. If deletions or corruption keep happening on their own, the drive itself may be dying — follow our guide to checking SSD health before you rely on it again.
  • Waiting days to act on an SSD. The TRIM command quietly erases deleted blocks in the background, so on SSDs the recovery window can close within hours.
  • Forgetting the flip side. Everything in this guide also works for the next owner of your old drive. Before selling or recycling one, use our guide to wiping a hard drive properly so your deleted files stay deleted. And if you carry the only copy of sensitive documents on a keychain stick, the models in our encrypted USB flash drives roundup at least keep a lost drive from becoming a data breach.

Frequently asked questions

Can I recover files after emptying the Recycle Bin?

Often, yes. Emptying the bin removes the file’s directory entry, not the data itself. Until the operating system reuses that space, recovery software can usually bring the file back. Act quickly and avoid writing anything new to the drive, because every download, update or browser session increases the chance that the space gets overwritten.

Why is recovery so much harder on an SSD?

Modern SSDs use a command called TRIM, which clears deleted data blocks in the background so future writes stay fast. Once TRIM has processed a deleted file, the data is physically gone and no consumer software can retrieve it. Your realistic options on an SSD are the Recycle Bin, File History, Time Machine or a cloud backup.

What is the best free tool to recover deleted photos from an SD card?

PhotoRec is the most reliable free option. It is open source, runs on Windows, macOS and Linux, and recognizes hundreds of image and video formats, including RAW files from most camera brands. The interface is text-based and looks dated, but the recovery engine underneath is excellent. Just remember to save recovered photos to your computer, not back to the card.

Why do some recovered files open corrupted?

A file is stored in blocks, and recovery only succeeds if every block is intact. If part of the file was overwritten after deletion, the recovered copy will be incomplete: a photo may load halfway, a document may refuse to open. This is why you should attempt recovery as soon as possible and always save results to a different drive.

Tech deals promotional banner collage

Related Posts

Glass-side PC case with multiple case fans and a tower CPU cooler in red and blue neon lighting
August 24, 2026

How to Reduce Fan Noise on a PC (Quieter Cooling Without Overheating)

A desktop that roars under load is rarely broken. Work through dust, airflow, fan curves…
Desktop power supply unit being tested with a multimeter, neon studio lighting
August 20, 2026

How to Test a Power Supply (Paperclip Test and Multimeter Steps)

A power supply rarely announces that it is failing. It shows up as random shutdowns,…
Two laptops side by side connected for file transfer, neon studio lighting
August 12, 2026

How to Transfer Files Between Two Computers (Windows and Mac)

Moving files between two computers is easier than it looks: a USB drive, your local…
Portable external SSD with a USB-C cable on a dark reflective surface
August 11, 2026

How to Choose an External SSD (Speed, Size, and Durability Explained)

An external SSD is the quickest way to add fast, pocketable storage to a laptop,…
Internal hard disk drive standing beside a portable external drive
August 7, 2026

How to Partition a Hard Drive in Windows (Without Losing Data)

Splitting one physical drive into two or more partitions is one of the oldest tricks…
Desktop monitor showing a driver update progress ring beside a triple-fan graphics card
August 5, 2026

How to Update GPU Drivers (NVIDIA, AMD and Intel)

Graphics drivers are the software layer that lets Windows and your games communicate with your…
Multi-bay NAS enclosure beside two hard drives and a coiled network cable
July 31, 2026

How to Set Up a NAS for Home Media (Plex, Backups and Remote Access)

Network-attached storage looks intimidating from the outside: an empty metal box, a bag of screws,…
Multi-bay drive enclosure with green status lights on the front panel
July 30, 2026

Best NAS for Home Media Server in 2026: Top 5 Picks

Five multi-bay NAS units for a whole-home media server with 4K transcoding across Plex, Jellyfin…
External hard drive connected to a laptop by a cable on a dark desk
July 30, 2026

How to Recover Deleted Files (Windows, Mac and SD Cards)

Deleting the wrong file is one of those mistakes you notice a second too late….
Triple-fan graphics card positioned above an open PC case
July 29, 2026

How to Install a Graphics Card (First-Time GPU Upgrade Guide)

A graphics card swap delivers a bigger jump in gaming performance than almost any other…
Multi-bay NAS enclosure with front drive bays and status lights
July 27, 2026

Best NAS for Plex in 2026: Top 5 Picks

For most people the Synology DS224+ is the best all-round pick thanks to its Quick…
Memory modules and a solid state drive beside a glass dome of data blocks
July 27, 2026

How to Free Up Disk Space in Windows (Without Deleting Files You Need)

A full system drive slows down Windows in ways you notice every day: updates fail…
Two upright tower devices with pink and cyan glowing top panels
July 26, 2026

Best DDR5 RAM for Gaming PCs 2026

The best DDR5 RAM kits for gaming PCs in 2026, compared for speed, timings, and…
White-fronted PC tower case with a dark side panel
July 26, 2026

Best White PC Cases 2026

The best white PC cases of 2026, compared for airflow, cooling support, and looks….
Computer processor standing upright showing its metal heat spreader
July 26, 2026

Best CPUs for 1080p Gaming 2026

The best CPUs for 1080p gaming in 2026, from flagship 3D V-Cache chips to budget…
All-in-one liquid cooler radiator with three ringed fans beside a PC case
July 26, 2026

How to Install a CPU Cooler (Air and AIO, Step by Step)

Installing a CPU cooler looks intimidating the first time, but it is one of the…
Dual-fan graphics card leaning on a reflective dark surface
July 23, 2026

Best Budget Graphics Cards for 1080p Gaming 2026

1080p is still the most popular gaming resolution, and it is where budget graphics cards…
M.2 NVMe solid state drive with a ribbed metal heatsink
July 23, 2026

Best 4TB NVMe SSDs 2026

Game installs, 4K video projects, and photo libraries keep getting larger, and a 4TB NVMe…
Motherboard standing upright with an open CPU socket and heatsinks
July 23, 2026

Best B760 Motherboards for Intel Gaming 2026

For Intel gamers who do not need CPU overclocking, a B760 motherboard is the smart…
Power supply unit with a large fan and braided cables attached
July 23, 2026

Best 850W Power Supplies for Gaming PCs 2026

850 watts has become the sweet spot for modern gaming PCs. It comfortably powers a…
Compact SFX power supply showing its fan and modular ports
July 23, 2026

Best SFX Power Supplies for Small Form Factor Builds 2026

Small form factor builds live and die by the power supply. An SFX unit is…
Slim PC tower with a dual-fan graphics card mounted vertically
July 22, 2026

Best Vertical GPU Mount Kits 2026

Turning your graphics card sideways is the single most effective way to show it off…
Three case fans with pink and cyan illuminated RGB rings
July 22, 2026

Best White PC Case Fans 2026

A white build lives and dies by its fans. They are the most visible moving…
Internal hard disk drive standing beside a portable external drive
July 20, 2026

How to Wipe a Hard Drive Before Selling or Recycling It (Windows & Mac)

Selling, donating, or recycling an old computer is a smart move, but the drive inside…
USB flash drive standing upright with a ribbed grip
July 20, 2026

Best Encrypted USB Flash Drives 2026

An encrypted USB flash drive is the simplest way to carry sensitive files without the…
Finned aluminium heatsink lying on a reflective surface
July 20, 2026

Best M.2 SSD Heatsinks 2026

As NVMe drives get faster, they also get hotter, and a modern PCIe 5.0 SSD…
Single case fan with pink-lit blades in a square frame
July 20, 2026

Best 140mm PC Case Fans 2026

Larger 140mm case fans have become the default choice for builders who want strong cooling…
Three case fans with purple and cyan illuminated rings
July 19, 2026

Best RGB Case Fans 2026

RGB case fans do double duty: they keep your components cool while turning your build…
Syringe of thermal paste beside a processor on a circuit board
July 19, 2026

Best Thermal Paste 2026

Thermal paste is a small purchase that has an outsized impact on your CPU and…
Memory module standing upright on a motherboard
July 17, 2026

How to Install an M.2 NVMe SSD (Desktop & Laptop Guide)

Adding an M.2 NVMe SSD is one of the highest-impact upgrades you can make to…