TechBuzzPro

Why Deleted Files Keep Coming Back on SD Card

· 5 min read · Cameras & Drones

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

If you delete files from an SD card and they reappear later, the usual cause is that the card is write-protected (locked) or the files are stored in a hidden system folder that your device keeps re-syncing. In most cases, you can stop this by unlocking the card, clearing the hidden trash folder, or formatting the card properly. Below is a step-by-step guide to fix it for good.

What You'll Need

  • The SD card and a device to read it (phone, camera, or card reader connected to a PC)
  • A computer (Windows or Mac) for the most reliable fixes
  • Optional: a backup location for any files you want to keep

Step-by-Step

  1. Check the physical lock switch. SD cards have a small slider on the side. If it's in the "lock" position, you can't delete or write files — and some devices may show the files as "reappearing" because the deletion never actually happened. Slide it to the unlocked position (usually up or towards the metal contacts).
  2. Delete files again and verify they are gone. On your device, delete the files, then remove the SD card and reinsert it. Check if the files are still there. If they are, move to the next step.
  3. Check for hidden trash or recycle bin folders. Many cameras and phones create a hidden folder (like .Trashes on Mac or LOST.DIR on Android) where deleted files are moved instead of erased. Connect the SD card to a computer and enable "show hidden files" (on Windows: File Explorer > View > Hidden items; on Mac: press Command+Shift+. in Finder). Look for folders named .Trashes, .Trash-1000, LOST.DIR, or #recycle. Delete the contents of those folders.
  4. Clear the card's system cache. On a computer, open the SD card drive, right-click and select "Properties" (Windows) or "Get Info" (Mac). Look for a button to "Clean Up" or "Empty Trash" if available. If not, manually delete any files in the hidden folders you found in step 3.
  5. Format the SD card. This is the most reliable fix. Back up any files you want to keep, then format the card. On Windows: right-click the drive in File Explorer > Format > choose FAT32 (if card is 32GB or less) or exFAT (if larger) > Start. On Mac: Disk Utility > select the card > Erase > format as exFAT or MS-DOS (FAT) > Erase. On Android: Settings > Storage > SD card > Format. On a camera: use the camera's own "Format" menu option.
  6. After formatting, test the card. Copy a few files to the card, delete them, then eject and reinsert. If they stay deleted, the problem is solved.

Common Mistakes

  • Deleting while the card is read-only: If the lock switch is on, deletions appear to succeed but the files remain. Always check the switch first.
  • Deleting files from a phone's gallery app: Some gallery apps only remove the file from the app's view, not from the card. Use the file manager or the card's own folder structure.
  • Ignoring hidden folders: Deleted files often go to a hidden trash folder that you can't see without enabling hidden files.
  • Formatting the wrong drive: Double-check you're formatting the SD card, not your computer's hard drive. This can cause permanent data loss.

Tips

  • Use the SD card's official formatting tool (like the SD Association's SD Memory Card Formatter) for a deeper clean that removes all partitions.
  • If the card is used in a camera, format it in the camera itself at least once a month — this resets the file system and prevents hidden folders from building up.
  • Always eject the card properly (using "Safely Remove Hardware" on Windows or "Eject" on Mac) to avoid file system corruption that can cause odd behavior.
  • If the problem recurs after formatting, the card may be failing. Replace it — data loss is worse than the cost of a new card.

Troubleshooting

If the files still come back after formatting:

  • Try a different card reader or a different computer. A faulty reader can cause write errors.
  • Test the card on another device (phone, camera, or PC). If it works elsewhere, the original device may have a software issue — restart that device or update its firmware.
  • Check if the SD card is corrupted. On Windows, run chkdsk X: /f (replace X with the drive letter) in Command Prompt. On Mac, use Disk Utility's "First Aid" feature.
  • If the card is write-protected electronically (some cards have a firmware lock), try using a different card reader — some readers ignore the lock, but others enforce it.

If you can't format the card: The card may be physically damaged or counterfeit. Try a different card — if the new one works, the old card is unreliable.

Frequently Asked Questions

Why do deleted files reappear after I restart my phone?

Most likely the files are in a hidden trash folder that your phone's storage manager hasn't cleared. Empty the trash in your file manager app, or format the card from the phone's settings.

Does the lock switch on the SD card cause this?

Yes. When locked, the card is read-only. Deletion attempts are ignored, so files appear to come back. Slide the switch to the unlocked position.

Can a virus cause files to reappear?

Rarely, but some malware can recreate deleted files or hide them in system folders. Run a full antivirus scan on your computer and scan the SD card as well.

Will formatting the SD card delete everything permanently?

Yes, formatting erases all data. Back up anything you need first. After formatting, deleted files should stay deleted.

Why do files reappear only on my camera, not on my PC?

Cameras often have a "recycle bin" or "trash" feature that keeps deleted images until you empty it. Check your camera's menu for a "Delete all" or "Empty trash" option.

Is it safe to use a third-party recovery tool to remove files?

Recovery tools are designed to restore files, not remove them. If you want to permanently erase files, use formatting or a secure erase tool. Avoid unofficial apps that claim to "fix" the card — they may cause more harm.