Data Recovery

Fix Corrupt SD Cards and Recover Data

Summary: Is your SD card corrupt or damaged? A corrupted SD card may not open, show error, or have missing files. Read this article to know how to fix corrupt SD card of any class, capacity, and brand used in cameras and other devices. It shares the 10 workable solutions to repair SD card and recover its data in different situations.

The small SD card is the most convenient and inexpensive storage media that provides suitable storage capacities for DSLRs, camcorders, music players, Android phones, tablets, digital cameras, and other portable devices.

However, SD cards are prone to corruption, accidental formatting, or damage, leading to loss of stored photos, videos, audio files and other data. Also as memory cards have a limited lifespan, after a certain period of usage they can get corrupt or damaged. Here you will learn how to repair corrupted SD cards, SDHC, SDXC, microSD cards, memory sticks, CF cards and others. These methods are applicable to SanDisk, Panasonic, Sony, Kingston, Lexar, Olympus, and all other brands of memory cards.

Table of content

Signs & symptoms of a Corrupt SD Card

Checks before troubleshooting SD Card Corruption

How to fix Corrupted SD Card – Top 10 Useful solutions

Top 13 Tips to Protect SD Cards from Corruption


Common signs & symptoms of a corrupt SD card

Usually, the situation of SD card not working initiates with an error message. If not handled properly, it may lead to permanent data loss in which SD card recovery gets difficult. A corrupted SD card doesn't let you access files from it. The files may get disappear, the card may not open or isn't recognized by your computer.Here we have shared some of the common signs that indicate SD card is failing and you are on the verge of data loss:

SD card is not formatted Unable to format SD card or "SD Card is Damaged. Try Reformatting it.
error Black screen appears along with an error message 'SD card is not accessible. The file or directory is corrupted and unreadable.
write protected You can view the files of your SD card in camera as well as on computer but unable to add, delete, save, or copy them and may get an error message –'disk is write-protected.'
photos on your SD cards are missing All or some photos on your SD card are missing.
photos on your SD cards are missing 'Read / Write error on SD card' , 'Unreadable SD card'.
photos on your SD cards are missing 'Memory card error' or 'corrupt memory card'. Read more on Memory Card Recovery.
SD card is not formatted SD card shows the message 'SD card is not formatted. Do you want to format it now?
SD card is not formatted You receive error message 'SD card unexpectedly removed'.
SD card is not accessible Error messages stating 'SD card is blank or has unsupported file system'.
SD card is not accessible "SD Card Locked" or "SD Card Read Only" Error.
memory card error Any other SD card Error message like "bad sectors", "0 bytes" "wont mount""SD Card full " etc .

Checks before troubleshooting SD card corruption:

Are the connecting devices working?

Your SD card may not be corrupt. At times, a device may not read an SD card due to incompatibility or driver-related issues. In such cases, try to connect your SD card to another computer or use a different card reader.

Is your SD card write-protected?

You won't be able to open, edit, copy, or save your photos, videos, and other files in the SD card, if it is write-protected. Slide upward the switch on left side of SD card to disable write-protection.Once you made these checks and if still SD card is not accessible, then it's probably a logical issue. You can follow the below methods to fix corrupted SD card and recover corrupted photos from memory card.

How to fix corrupted SD card – Top 10 useful solutions

How to fix corrupted SD card – Top 10 useful solutions

Method 1: Unhide hidden files stored in corrupt SD card

Method 2: Try chkdsk command to check for memory card errors

Method 3: Assign a new drive letter, if SD card is not detected by PC

Method 4: Reinstall the driver

Method 5: Use Windows Troubleshooter to fix Corrupted SD Card

Method 6: Use SD card repair solution provided by manufacturer

Method 7: Use drive 'Error Checking' feature

Method 8: Use Diskpart in CMD command

Method 9: Format to repair corrupted SD Card

Method 10: Nothing worked? Quickly recover your data

Fix 1: Unhide the hidden files stored in a corrupt SD card

When you connect an SD card to a virus infected PC, the virus may hide all photos, videos or other files and folders in the media. The size of the disk would appear unchanged but you won't be able to see the data stored on it as its attributes get changed to "hidden" and "read only". Follow the below steps to recover the hidden photos, videos etc., from SD card:

  • Connect SD card to your system
  • Open Windows Explorer, click and follow Tools > Folder options > View
  • Check in Show hidden files, folders & drives option.
  •  Uncheck Hide protected operating system option.
  • Click OK.

Now you should be able to see all the hidden photos, videos, audio files and folders in the memory card.

Fix 2: Try chkdsk command to check for memory card errors

Try chkdsk command to check for memory card errors
Figure: Command Prompt window

Connect the affected SD card with the PC via card reader and follow the below steps to fix SD card errors using chkdsk command:

  • Click on the Start option from Windows taskbar and select Computer.
  • Search for your SD card under Devices with Removable Storage and note the drive letter assigned.
  • Click the Start option again. Type "cmd" in the search box.
  • Right-click cmd and select Run as administrator.
  •  A command window opens, type "chkdsk" followed by the drive letter corresponding to the SD card, then by a colon and /f. (e.g., chkdsk E: /f)
  •  Hit Enter. Chkdsk will check for possible errors and try to fix the corrupt SD card. Next, follow the subsequent message prompts.

Fix 3: Assign a new drive letter, if SD card is not detected by PC

Change Drive Letter in Disk Management
Figure: Change Drive Letter in Disk Management

Connect your SD card to PC via card reader. If your system does not assign a new drive letter to it, then it isn't reading it, i.e., SD card is not detected. In some cases, the reader may assign a drive letter, but you get the message "Please insert the disk into drive E:" indicating that it isn't reading the card. To resolve this problem assign a new drive letter to your SD card by following the below steps:

  •  Connect the SD card to your PC
  • Open the Run dialogue box using Windows+R key
  • Type compmgmt.msc and hit Enter
  • Under Storage option, select Disk Management
  •  Right-click the drive you want to assign a letter
  • Choose Change Drive Letter and Paths
  • A dialog box appears, click on Change
  • Check in Assign following drive letter
  • Choose the letter you want to give from the drop box. Click OK
  • Close the Computer Management window. Restart the computer, your SD card should be readable now.

Fix 4: Reinstall the SD card driver

Uninstall SD card in Device Manager
Figure: Uninstall SD card in Device Manager

If assigning the drive letter doesn't help, you can try reinstalling the driver by following the below steps:

  • Right click on My Computer/ This PC. Click the Manage option.
  • Click the Device Manager option on the left side.
  • Double-Click Disk Drives option from the list. Then right click on the name of your 'removable drive.
  • Click Uninstall and click OK.
  • Disconnect your storage media and restart your PC.
  • Reconnect your SD card again. Your PC will detect it.

Fix 5: Use Windows Troubleshooter to fix corrupted SD Card

Windows Troubleshooter feature often find problems and fixes issues related to hardware and drivers. You can try to fix memoy card errors by following the below steps:

  • Connect your SD card to PC.
  • Select and follow Start > Settings > Update & Security > Troubleshoot
Windows Troubleshoot box
Figure: Windows Troubleshoot box
  •  Select Hardware and Devices and click Run the troubleshooter.

Next, restart your computer, the SD card issue should be resolved.

Fix 6: Use SD card repair solution provided by manufacturer

Some SD cards manufacturers such as SanDisk, Samsung, Kingston, etc., also provide solutions to repair corrupt storage media. You can use their tools to fix corrupt SD cards and recover photos, videos etc from memory card. Visit the manufacturer's website to download the tool or contact the customer support.

Fix 7: Use drive 'Error Checking' feature

Windows has an 'Error Checking' feature for its internal and external drives that scans for errors related to file system and fixes them.Follow the below steps to repair corrupt SD card using 'Error Checking':

  • Connect the SD card to your PC.
  • Press Windows + E to open Windows Explorer.
  • Right-click on SD card and open Properties.
SD card error checking box
Figure: SD card error checking box
  • Click on the Tools tab.
  • Click Check button.
  • The scanning process begins. After the scan completes, if errors are found, fix them by following the onscreen instructions.

Fix 8: Use Diskpart in CMD command

SD card error checking box
Figure: Diskpart in CMD command

If you are getting SD card 'read-only' error message and you have also checked the card is not write-protected, then try to fix the error by using diskpart utility in CMD command. Follow the below steps to use diskpart fix method:

  • Connect SD card to Windows PC.
  •  Click Start >Run. Enter cmd.
  • Type diskpart and press Enter.
  • Type list volume. All connected drives are listed.
  • Type select volume 1. 1 represents the letter of your SD card drive.
  • Type attributes disk clear read only and hit Enter.

Restart your PC and again connect your SD card. The problem should be fixed now.

Fix 9: Format to repair corrupted SD card

Format SD card to fix corruption
Figure: Format SD card to fix corruption

Formatting mostly fixes corruption issues including those related to file system. It also helps to reuse your SD card. You can use this method to recover corrupted SD card.Follow the below steps to format SD card on your PC:

  • Connect your SD card to PC.
  •  Double-click My Computer/ This PC to open Windows Explorer.
  •  Right-click on your SD card under Devices and drives and select Format. This opens the Format window.
  • Click the File System box. You get the three options - NTFS, FAT32, exFAT. Choose the one that you want to format.
  •  Click Start.

If you are unable to format your SD card, use a formatting software such as SDFormatter provided by SD Association. Formatting software can fix corrupt SD cards and make them reusable.Although formatting fixes corrupt SD card, but the process deletes all your stored videos, photos, and other files on it. You can recover formatted SD card by using a professional SD card recovery software.

Fix 10: Nothing worked? Quickly recover your media files

If data loss is your key concern with SD card corruption, know that whenever an SD card gets corrupted, the data may appear as lost but it's still recoverable. You can restore the photos, videos, and audio files with the help of a photo recovery software as long as your SD card is not physically damaged, recognized by the computer, andthe data is not overwritten.

Watch the video to learn how to recover photos, videos, and audio recordings from corrupt SD card.

Top 13 Tips to Protect your camera SD Card

  1. Don't remove SD card while saving/ viewing its data.
  2. Don't remove SD card from camera during file transfer.
  3. Don't shoot pictures and videos at low camera battery.
  4. Use multiple small capacity SD cards than one of large capacity.
  5. Protect SD cards from extreme temperature, dirt, and moisture.
  6. Use SD cards from established brands.
  7. Don't use the same SD card in multiple devices.
  8. Always keep some space left on the card when saving.
  9. Use a good quality card reader.
  10. Reformat SD card before using again.
  11. Safely eject the SD card from devices.
  12. Stop using SD card when you get any error.
  13. Don't use the problem SD card, until the lost files are recovered.


Q: How to Check if an SD Card is corrupt or not?

Answer: Windows built-in Check Disk utility is the best tool to check any SD card for errors.

  1. Open Windows Explorer and locate the drive assigned to the SD card. Right-click on your SD card drive and click on Properties.
  2. Select the Tools tab and click the 'Check Now' button in the Error-checking section.
  3.  For scanning the SD card without making any changes to the card, uncheck both 'Automatically fix file system errors' and 'Scan for and attempt recovery of bad sectors'. For fixing only file system errors, check 'automatically fix file system errors'. For doing a lower level scan of the SD card and to fix any errors it finds, checks both boxes.
  4.  Press Start to begin the scan. After the scan completes, the result is displayed on the screen.
  5.  Click on See details to see more details about the scan, like scan performance, error fixing, and other details.
  6. There are also some free utilities like H2testw and FakeFlashTest for checking SD card errors.

Q: Is Cloud better than SD card for storage?
: Cloud or SD card, both have their own benefits and limitations. You have to choose as per your requirement. Cloud services are free but up to a limited data while SD cards cost depends upon the type and capacity. There are possibilities of SD card corruption & data loss, but with Cloud you don't have to worry about these factors. You cannot access Cloud without Internet services like in case of SD card. For business and professionals who have large data to store, Cloud may be a preferred option against SD cards. The portable memory cards are better off for storing and transferring photos, videos, etc., and accessing it anytime anywhere without the need for Wi-Fi or mobile data. 

Q: What if you lose valuable data from such devices that do not have SD card slots e.g like an iPhone?
: In that case, you can recover lost or deleted data from iOS devices, iCloud backup, and iTunes backup with the help of iPhone data recovery software. The software can recover lost or deleted data due to Jailbreaking iOS device, Damaged/broken/lost/stolen iPhone, Water damage, iPhone stuck in recovery mode, stuck at Apple logo screen, factory reset loop, virus attack, black screen/white screen of death, iOS upgrade etc. Moreover, if you have difficulty extracting information from iTunes and iCloud backup or iTunes/iCloud backup is corrupt or not compatible, you can easily choose the selective information and retrieve them in a simple and secure way. 

Q: I am unable to format my 16 GB SD card. It is showing a message asking to reformat. What should I do now Answer: First try by changing the card reader or connect your SD card to a different device. If still there's an issue, your card has become corrupt, and you may need a memory card recovery software to recover data. 

Q: How to transfer photos from my phone internal memory to external SD card?
 Android phones have File Manager app that you can use to move photos from phone's internal memory to SD card. If your device doesn't have ES File Explorer app, download it from Google App store.Open File Explorer and select Images option. Select photos that you want to move to SD card. Tap Move to option at the lower-right side of the phone screen. A menu will appear. Select your SD card from the menu. Select a folder on your SD card into which you want to move the photos. All the photos are moved from internal storage of phone to the external SD card.

Q: Can I recover RAW photos from the corrupt SD card in Mac? Answer: Yes, with Stellar Photo Recovery Software Mac version, you can recover RAW pictures from all types of SD cards.

Q: My Camera is giving the message "memory card locked" when I insert SD card into it.Answer: Please check the lock switch on the left side of SD card. Slide it up to unlock it. 

Q: SD card is not being recognized by PC. What can I do now?
: Recheck the device connections. If the problem is not resolved, follow the given solutions in this article. One of them should fix the issue. 

Q: Can I also recover my word, excel document using the SD card recovery software?
Stellar Photo Recovery software is especially for photos, videos, & music files recovery from hard drive, SD card, flash memory cards, pen drive or any other external storage media. To recover your documents, excel files, PDFs, PPTs and other lost data from any storage media, use Stellar Data Recovery software. 

Q: I am getting an error message "this memory card cannot be used. Card may be damaged. Insert another card" in Nikon D3200 SD card. How to fix and recover?
: Your SD card may not work on PC, if it is not working in DSLR. Try to transfer your photos to PC if possible, else take the help of memory card recovery software to restore your photos stored on it. Next, you can format your SD card to fix the issue and reuse it. . 

Q: My Macbook is unable to read the SD card. I have tried various methods, but nothing seems to work. Please help.
: Check the physical connections of your device, if they are working properly, including SD card slot, USB cable etc. While to recover data from unreadable SD card, you can try SD card recovery tool for Mac. 

Q: What to do when you see the message "SD card is mounted read-only" on your device?
: Check if the SD card is not write-protected. If it doesn't help, try to fix by using Diskpart utility in CMD command window. (read the steps shared above in this post.) 

Q: Getting "SD Card not inserted" or "no memory card" error?
: Check the physical connections of your device. Connect the SD card to a computer using an external card reader. If the card is recognized when connected to the computer using an external card reader, back up all data on the card and format the card. If your memory card is detected by the computer, but there is no data showing, you can try Stellar Photo Recovery software for recovering all your multimedia files. 

Q: How to fix "SD Card unexpectedly removed" error on your phone?
: You can try these methods to resolve the error.

  1. Unmount and again mount the SD card after rebooting your smartphone. You can also try inserting your SD card to another device to check if the error shows or not.
  2. Sometimes, long pressing the power button resolves such kind of errors.
  3. Format the SD card that would fix file system errors.
  4. Restore it to Factory Settings
  5. If none of the methods work then the SD card might be corrupt and you need a recovery software to recover your files back.
75% of people found this article helpful