SD cards and USB sticks – data recovery after accidental formatting of the memory card

SD Card Accidentally Formatted – Rescuing Photos and Videos

Accidentally formatted the SD card – and all photos and videos are gone? Don't panic: when formatting, the device only creates an empty file system on the memory card; the actual files remain intact at first. Whether the data can be restored is decided in the minutes after formatting. We explain step by step what to do now, where the limits of data recovery via software lie, why rescued files belong only on a hard drive or SSD – and when professional data recovery brings the formatted footage back completely.

What Really Happens When an SD Card Is Formatted

Whether in the digital camera via the menu, on the computer via right-click or on the phone after the message “SD card damaged”: in almost all cases the device performs a quick format – without any physical damage to the card. Only the table of contents of the partition is created anew – FAT32 on cards up to 32 GB, exFAT on larger ones, rarely NTFS. The areas of the memory card where your photos and videos are stored are not deleted, merely marked as “free” – the storage looks empty to the operating system, but it is not.

This is exactly why the chances of recovery are high immediately after formatting – and drop with every new photo. The operating system and the camera now regard the space as free and gradually overwrite the old content with new files. Only then are the old files really gone – what has been overwritten once cannot be brought back from any storage device in the world.

Three special cases worsen the situation from the start:

  • Full format (on the computer without the “Quick format” option ticked): depending on the version, Windows overwrites whole areas sector by sector with zeros – this damage is permanent, the affected sectors are lost for good.
  • Android “internal storage”: if the phone formats the microSD card as internal storage, it is encrypted bound to the device. Without the original phone and its key, no data recovery is possible – not even in the lab.
  • Card used after formatting: every new shot, every saved video overwrites old files. After a whole holiday on the same card, usually nothing of the old content can be rescued.

Immediate Measures: The First Minutes Decide

USB stick and memory card on the lab bench

For the formatted files to stand a chance, only one thing counts now: no more write access to the memory card. The quick guide, step by step:

  1. Take the SD card out of the device immediately – no further photo, no video, no app installation. The camera also writes in the background (databases, preview images) as soon as the card is inserted.
  2. Activate the write protection: on SD cards, set the small slider on the side to “Lock”. MicroSD cards have no slider – there, only discipline helps.
  3. Do not format again, even if a prompt asks for it – the “OK” or “Format” button in such dialogs is off-limits. Every further operation worsens the starting position.
  4. Do not copy or “test-save” anything onto the card – the most common mistake of all.
  5. Connect the card read-only from now on: if at all, the card now belongs in a card reader on a PC or Mac – not back into the recording device. Whether it is recognised correctly is shown by Disk Management (right-click Start): if FAT32/exFAT with full size and a drive letter appears there, the preconditions are good. If the drive letter is missing or the card does not appear in Disk Management at all, the guide in the article above helps.

The second-biggest mistake after continuing to shoot: saving found files onto the same SD card during the recovery attempt. That way the recovery software overwrites exactly the photos it is trying to rescue. Rescued files always belong on a different drive – an external hard drive, SSD or a USB stick.

What Are the Chances? An Honest Assessment

SituationChances of recoveryRecommendation
Quick format in camera or on the PC, card not used afterwardsVery good – photos and videos are almost always fully reconstructableSecure the card, start or commission the rescue
A few new shots after formattingGood for older files – the most recently written areas are overwrittenRemove the card immediately, have the rest rescued
Full format on the computerLow to none – overwritten areas are irretrievableAnalysis clarifies which areas were spared
Formatted as “internal storage” in an Android phoneNone without the original phone – content is encryptedCan only be checked with the original device
Card used for weeks afterwardsVery low for old contentHave a file list created by analysis
Card defective AND formatted (errors, wrong capacity)Lab only – software fails at the damaged controllerRead SD card not recognized, hand the card in

Hands off chkdsk and the command prompt. After formatting there is no repair for chkdsk to do – the new file system (FAT32, exFAT or NTFS) is flawlessly empty. But the command from the command prompt (or even diskpart via the command line) writes to the card and thereby overwrites rescuable files. The same applies to any “error checking” via the Tools tab in the drive properties of Windows – it calls the same chkdsk in the background, just without a command prompt. “Repair” sounds good, but it writes to the card.

The same logic, with different details, applies to hard drives – we have described it in the article Hard drive data recovery after formatting; for internal and external SSDs, separate rules apply once again. On SSDs the TRIM command drastically worsens the chances; SD cards in a card reader know no TRIM – whether under Windows, macOS or Linux – and therefore cause far fewer problems during rescue.

Professionelle Diagnose – kein Risiko

Wir analysieren Ihren Datenträger im Labor. Kosten entstehen nur bei erfolgreicher Datenrettung.

Data Recovery With Recovery Software: Possibilities and Limits

The recovery process many users try first works similarly with every data recovery software, whether free recovery software or a paid product: during the scan, the recovery program reads the memory card, searches for remnants of the old file system and for file signatures – the typical first bytes of every file type, such as JPG, MP4 or RAW formats. A preview then shows the results of the file recovery; you choose the export option, click the corresponding button, and the images, videos and documents end up on another storage device – for example an external hard drive.

For this to go well, follow these rules strictly – and know the limits of the method:

  • Work read-only: the card belongs in a card reader on the computer (under Windows, macOS or Linux alike), not back in the camera. Never download or install data recovery software onto the affected card, never save restored files there – but on hard drives, SSDs or another storage medium.
  • Have it search for file system remnants instead of only file signatures: if the program finds the old table of contents during the scan, folders, file-type sorting and file names are preserved. With pure signature search, the results are just called “IMG_0001.jpg” – no names, no folders, no capture date.
  • Fragmentation is the Achilles heel: if the card was well filled before formatting, large files lie in scattered fragments. Signature-based tools like PhotoRec often reassemble them wrongly – the result is damaged, half-grey JPEG images and videos that stop after seconds.
  • One single attempt: if the scan runs for hours and delivers broken results, do not scan the card again with five more tools and recovery software variants – every operation of the card carries risk, and the result will not improve without a different method.
When no data recovery software in the world is the right way: if the card additionally shows errors (wrong capacity, “No media”, very slow reading – see SD card not recognized), if irreplaceable footage is at stake – weddings, one-off journeys, professional shoots – or if 4K videos are to be restored. Then the rule is: put the card aside and leave the rest to the professionals. This applies all the more to formatted RAID and NAS storage systems – there, consumer solutions fail at the distribution of data across several storage devices.

Why Videos Are Harder to Rescue Than Photos

Photos and images are rarely larger than 10–20 MB and often lie in one piece on the card. A 4K video from the digital camera or smartphone, on the other hand, quickly spans several GB – and is spread across hundreds of fragments during recording, because the camera writes preview and metadata in parallel. For data recovery this is the most difficult starting position: after formatting, the map connecting these fragments is missing.

In the simple recovery process, this produces MP4 files that cannot be played or stop after a few seconds. Professional reconstruction, however, reassembles videos based on their internal structure: container formats like MP4/MOV contain timestamps and reference tables that allow the correct order of the fragments to be determined. This is manual work with specialised tools – and the main reason why, for important videos, privately or in companies, the trip to the lab pays off.

Professional Data Recovery After Formatting

Cleanroom workstation in the data recovery lab

In the lab, the data recovery of formatted memory cards always starts with a write-protected sector image – from this moment on, nothing more can break on the card, regardless of size and storage capacity. The reconstruction then follows step by step:

  1. Evaluate remnants of the old file system: even after formatting, fragments of the previous table of contents can almost always be found on the partition – with original file names, folders and timestamps. They reveal exactly what is to be restored, no matter which operating system formatted the card.
  2. Fragment analysis for large files: videos and burst shots are reassembled correctly based on their structure instead of being blindly concatenated.
  3. Signature search as the last level of file recovery: for all sectors and documents that the first two paths do not capture. The process runs entirely on the copy – without risk for the original.
  4. File list for review: before commissioning, you see which photos and videos have been restored in what quality – only then do you decide. Instructions for sending in the card are given directly on the phone.
Memory card data recovery is carried out at a fixed price; the analysis is non-binding, and costs are only incurred on success. This applies to SD and microSD cards just as to USB sticks and all other flash storage media.

FAQ: Frequently Asked Questions About the Formatted SD Card

How much time do I have after formatting?
Time is not the critical factor – every write access is. For the file recovery it makes no difference whether the storage medium arrives at the lab today or in a month; choose the moment at your leisure. A formatted card in a drawer loses no data, even after months. A card that keeps being used loses rescuable files with every photo.

The camera asked “Format?” and I tapped the wrong button – is everything deleted now?
No, no permanent damage is done. The camera performs a quick format; your footage is therefore most likely still complete on the card, even if the camera display shows “0 images”. Remove the SD card before the camera writes new data, and the chances are very good.

The recovery attempt only produced damaged photos – is that it?
Usually not – and scanning the card again and again does not make it better. Broken results come from wrongly reassembled fragments, not from missing data; that applies to whichever data recovery software was used for the attempt. As long as the card has not been written to since formatting, professional data recovery from the original can deliver complete files in many cases – see also our article on corrupt JPEG files.

Prevention: So That Formatting Is No Longer a Drama

  • Only format the card after the backup has been verified – not the other way round. Two copies on separate drives are the standard; how to achieve this effortlessly is shown in Preventing data loss. That is the simplest of all solutions against data loss.
  • Format in the camera instead of on the computer or in the card reader – this avoids the accidental full format and compatibility problems. The instructions are in the camera manual under “Format card”.
  • Use separate cards for separate occasions instead of filling one large card over months – this reduces fragmentation and the risk of loss at the same time. In companies, every important storage device additionally belongs in the regular backup routine.

Conclusion

An accidentally formatted SD card is not a total loss: the quick format only deletes the table of contents; photos and videos remain intact at first. What matters is taking the memory card out of the device immediately and allowing not a single further write access. Rescue via recovery software – on a Windows PC as on a Mac, always via a card reader – works in simple cases, but regularly fails at fragmentation and videos; and every failed attempt with data recovery software can overwrite data on the storage. That applies from the single USB stick to the large storage system. For important footage, the safe path leads directly to professional analysis.

We help immediately: 0800-881 12 25 (free of charge, around the clock) or via the online cost estimate.

Jan Bindig and Lars Müller - Datenrettungsspezialist.de

Do you have a problem with your storage device?

The team at Datenrettungsspezialist.de, led by Jan Bindig and Lars Müller, is at your side – free initial consultation, no obligation.

Call Message