SD Card Shows All Zeros After Format? Fix It
In this article
If your formatted SD card now reads all zeros (or shows as empty with 0 bytes of data), the card's file system or partition table has been corrupted or the card has failed. This guide explains why it happens and walks you through the steps to recover your data and restore the card to working order.
What Does "All Zeros" Mean?
When you format an SD card, the device writes a fresh file system structure (like FAT32 or exFAT) over the card. If that write is interrupted or the card's controller malfunctions, the file system can be left in an incomplete state. The computer then sees the card as having no valid file system, often displaying it as RAW or showing all sectors as zeros. This is different from a normal empty card, which has a valid file system with no files.
Common Causes of a Zeroed SD Card
- Interrupted formatting – Removing the card or losing power mid-format.
- File system corruption – From unsafe ejection, sudden power loss, or a device crash.
- Fake or counterfeit cards – These often have a smaller real capacity than labeled; when they fail, they can read as all zeros.
- Physical damage or wear – Flash memory has a limited number of write cycles; a worn card can become unreadable.
- Virus or malware – Some malware can wipe or corrupt the file system.
Step-by-Step: Try These Fixes in Order
- Re-insert the card – Remove it, clean the contacts with a soft cloth, and reinsert. Sometimes a poor connection causes the zeros.
- Try a different card reader – The reader might be faulty. Use the built-in slot or a USB adapter.
- Use Windows Disk Management – Press Win + X and select Disk Management. Find your card (usually removable). If it shows as RAW or unallocated, you can try to format it there.
- Use DiskPart (Windows) – Open Command Prompt as administrator, type
diskpart, thenlist disk, select your card withselect disk X(replace X with the correct number), thenclean,create partition primary,format fs=fat32 quick(or exFAT for cards over 32GB). - Use macOS Disk Utility – Open Disk Utility, select the card, click Erase, choose a format (exFAT or MS-DOS FAT), and erase.
- Try a dedicated formatting tool – The SD Association offers a free SD Card Formatter that often fixes cards that Windows/macOS can't.
Can I Recover Data from a Zeroed Card?
Yes, often you can. When a card reads as all zeros, the data is usually still physically present but the file system that points to it is gone. Stop using the card immediately to avoid overwriting data. Use a recovery tool like Recuva, PhotoRec, or TestDisk. These scan the raw sectors and rebuild file structures. Recovery is more likely if the card was only formatted (not overwritten) and if you haven't written new data to it.
How to Prevent This in the Future
- Always eject safely – Use the “Safely Remove Hardware” option on Windows or drag to Trash on macOS.
- Use a quality card – Buy from reputable brands and avoid suspiciously cheap cards.
- Don't remove the card during read/write – Wait for the activity light to stop.
- Back up important data – Store copies on a computer or cloud service.
- Format periodically – Reformatting every few months can help maintain the card's file system.
When to Replace the Card
If the card still shows zeros after trying all the fixes above, it is likely physically damaged or worn out. Flash memory has a limited lifespan (typically 10,000–100,000 write cycles for SLC, fewer for MLC/TLC). If the card is old or has been heavily used, replacement is the safest option. Continuing to use a failing card risks losing data permanently.
Frequently Asked Questions
Why does my SD card show 0 bytes but has files?
This usually means the file system is corrupted. The card's directory structure is damaged, so the OS can't see the files, even though they may still be on the card. Recovery software can often scan the raw data and find them.
Can a formatted SD card be recovered?
Yes, if the card was formatted normally (quick format) and not overwritten with new data, recovery tools can usually restore most or all files. The more you use the card after formatting, the lower your chances.
Is a zeroed SD card permanently dead?
Not necessarily. A zeroed card often just has a corrupted file system, which can be fixed by reformatting. If the card's controller is damaged, it may be dead, but that's less common than file system issues.
How do I know if my SD card is fake?
Fake cards often show a capacity larger than their actual size. Use a tool like H2testw (Windows) or F3 (Mac/Linux) to test the real capacity. If the card fails the test, it's likely counterfeit and should be replaced.
What's the difference between quick format and full format?
A quick format only creates a new file system, leaving the data recoverable. A full format also scans for bad sectors and overwrites the entire card, making data recovery nearly impossible. For a zeroed card, try quick format first; if that fails, try full format.