Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Recover Deleted DNG Files

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can often recover deleted DNG files, but only if you stop using the storage device immediately. DNG (Adobe Digital Negative) files are raw image files, and when you delete them, the data isn't erased instantly—the space is simply marked as available. As long as you don't write new data over that space, recovery software can usually bring them back. This guide covers the exact steps for Windows, Mac, and memory cards, plus what to do when recovery doesn't work.

What You'll Need

  • The storage device where the DNG files were (memory card, external drive, internal drive, or camera)
  • A computer with a card reader or USB port
  • Recovery software (free options: PhotoRec, Recuva for Windows; paid options: Disk Drill, R-Studio, EaseUS Data Recovery Wizard)
  • A separate storage device with enough free space to save the recovered files
  • Time and patience—large raw files take a while to scan and recover

Step-by-Step

  1. Stop using the device immediately. If the DNGs were on a memory card, remove it from the camera. If they were on a hard drive, disconnect it. Do not install recovery software on the same drive you're recovering from—use a different drive or a second computer.
  2. Connect the device to your computer. Use a card reader for memory cards, or a USB cable for external drives. For internal drives, connect them via a USB-to-SATA adapter or an external enclosure.
  3. Download and install recovery software. Choose a reputable program. For Windows, Recuva is free and works well for photos. PhotoRec is free and runs on Windows, Mac, and Linux. Disk Drill and R-Studio are paid but more powerful. Install the software on your computer's main drive, not on the device you're recovering from.
  4. Launch the software and select the device. In most programs, you'll see a list of drives. Choose the one that held your DNG files. Make sure you pick the correct one—recovering from the wrong drive could overwrite your files.
  5. Run a deep scan. A quick scan might find recently deleted files, but DNGs are often fragmented or partially overwritten. Choose the "Deep Scan" or "Full Scan" option. This can take anywhere from 20 minutes to several hours depending on drive size.
  6. Filter for DNG files. After scanning, most software lets you filter by file type. Look for a filter or search bar and type ".dng". Some programs also have a "Pictures" or "Raw" category. This narrows down the results and makes it easier to find your files.
  7. Preview the files. Many programs show thumbnails or a preview pane. Click on a few DNGs to verify they're intact. If a file is corrupted, it might not preview correctly—but that doesn't mean it's unrecoverable; sometimes preview fails but the file is still recoverable.
  8. Select and recover. Check the boxes next to the DNGs you want, then click "Recover" or "Restore." Choose a destination folder on a different drive. Do not save the recovered files back to the same device you're recovering from—that could overwrite other deleted files.
  9. Verify the recovered files. Open a few DNGs in your photo editor (Lightroom, Photoshop, etc.) to make sure they open correctly. If they don't, you may need to try a different recovery tool or a more advanced scan.

Common Mistakes

  • Continuing to shoot on the same card. Every new photo you take can overwrite the deleted DNGs. Stop using the card immediately.
  • Installing recovery software on the same drive. The installation process writes new data, which can overwrite your deleted files. Always install on a different drive.
  • Saving recovered files to the same device. This is a classic mistake. Always save to a different drive or partition.
  • Using a quick scan instead of a deep scan. Quick scans only find files that haven't been touched at all. DNGs often need a deep scan to be found.
  • Formatting the card or drive before recovery. Formatting doesn't erase data, but it does reset the file system, making recovery much harder. Never format until you've recovered what you need.
  • Using unreliable or pirated recovery software. Some free tools are full of malware or don't actually work. Stick to well-known programs from official sources.

Tips

  • Use a card reader instead of a camera connection. Cameras sometimes interfere with the recovery process or don't expose the full storage.
  • If the card is physically damaged, stop. If the card makes clicking sounds, isn't recognized, or shows errors, do not keep trying to read it. Send it to a professional data recovery service.
  • Recover in batches. If you have many DNGs, recover them in small groups to avoid overwhelming the software or running out of disk space.
  • Keep a backup of your recovery scans. Some software lets you save a scan session. If the software crashes, you can resume without rescanning.
  • Write-protect the device. If your memory card has a physical lock switch, enable it before connecting to your computer. This prevents any accidental writes.

Troubleshooting

If the software doesn't find any DNG files: Try a different recovery tool. Some tools handle raw files better than others. Also, run a full scan instead of a quick one, and make sure you're scanning the correct device.

If the recovered DNGs are corrupted or won't open: This usually means the file was partially overwritten. Try a deeper scan or a different recovery tool. Some tools have a "repair" feature for corrupted files, but it's not always effective. You can also try opening the file in a raw converter like Adobe DNG Converter, which might be able to salvage some data.

If the device isn't recognized by your computer: Try a different USB port or card reader. For memory cards, try cleaning the contacts with a soft cloth. If it still isn't recognized, the device may be damaged—consider professional recovery.

If the scan takes too long: Deep scans on large drives can take hours. Let it run overnight. If it's stuck on a specific sector, it might be a bad sector on the drive—stop the scan and try a different tool or professional service.

If you accidentally saved recovered files to the same drive: Stop using that drive immediately. The recovered files you saved may have overwritten other deleted files. You might still be able to recover the remaining ones, but act fast.

Frequently Asked Questions

Can I recover DNG files from a formatted memory card?

Yes, formatting doesn't erase the data—it only removes the file system index. Recovery software can often find and rebuild the files. However, if you've taken new photos after formatting, those may have overwritten the old data.

Is it possible to recover DNG files from a camera's internal memory?

Yes, but it's trickier. Connect the camera to your computer via USB and set it to "Mass Storage" mode. The camera's internal memory will appear as a drive. Some cameras don't expose the internal memory fully, so you may need to remove the memory card and recover from that instead.

How long does DNG recovery take?

It depends on the size of the drive and the scan type. A quick scan on a 32GB card might take 10 minutes. A deep scan on a 1TB hard drive can take several hours. Be patient.

Will recovery software damage my DNG files?

No, recovery software only reads the data. It doesn't modify the original files. The only risk is if you save recovered files to the same drive, which could overwrite other deleted files.

Can I recover DNG files from a dead hard drive?

If the drive is physically dead (clicking, not spinning), recovery software won't help. You'll need a professional data recovery service, which can be expensive. If the drive is just not recognized but spins, you might be able to recover it with software.

What's the best free DNG recovery software?

PhotoRec is free, open-source, and works well for raw files. Recuva is also free for Windows and has a user-friendly interface. Both are good starting points, but paid tools like Disk Drill or R-Studio have higher success rates for complex recoveries.