How To Fix a Corrupted or Damaged SD Card

SD Card Corruption is a common problem when using removable storage between cameras and computers. Here's some ways to prevent and fix this.

By Tim Trott | How Stuff Works | October 12, 2018

SD Cards are a good way to expand the storage capacity on Android mobiles, but they can be prone to corruption and data loss. We look at the reasons behind this, what to do to prevent SD card corruption and what to do when your SD card gets corrupted.

You will know when an SD card gets corrupted when you see messages in Windows or on your phone like this:

Assorted collection of memory cards
SD Card Corruption and How To Fix It
  • SD card is damaged. Try reformatting it
  • SD card is not formatted do you want to format it now
  • Disk is write protected

You may also encounter problems where files saved on the SD card get lost without being deleted, no stored files are displayed when you connect it to PC, you may be unable to copy the photos or videos on the SD card and may get a message saying the disk is "write-protected".

Reasons why SD Cards Get Corrupt

SD cards can get corrupt for several reasons, but the most likely cause is from removing or unplugging the card without properly unmounting it, or from power loss during write operations. Both of these can corrupt the filesystem.

If you have a cheap unbranded SD card the quality is more than likely poor. Cheaper cards use cheap components which have a much lower tolerance for failure, and some even offer lower capacity than advertised and use software trickery to fool you into thinking the card is actually the advertised capacity. Always use cards from well-known manufacturers such as Sandisk, Kingston, Samsung, Lexar, Toshiba, and reputable seller.

How to Fix Corrupt SD Card

Your first check for fixing corrupt SD cards is to reboot your phone. This should eliminate software errors such as bad memory or incorrectly loaded drivers.

If a reboot does not fix the SD card corruption it can still be something simple such as a loose or incorrectly installed card. Try powering off the phone and removing the card. Check to make sure that the contacts are clean and there is no physical damage. Also check the socket is dust and hair free. Reinsert the card and power on the mobile phone. Check to see if you can read the SD card now.

If these tips have not enabled you to read the SD card, the problem may be caused by the mobile phone. You can power off the phone and try to use the SD card on a Windows PC with an SD card reader or USB adaptor. From here you can see if you can copy the files off the SD Card.

If you cannot copy all the files off using this method then there would appear to be a problem with the card filesystem. You can try using the chkdsk command to repair the filesystem. This assumes that your SD card was mounted as drive D:. It may be different on your computer, so change the drive letter accordingly.

chkdsk d: /f

If this doesn't work you may need to try specialist data recovery software to scan and recover photos and documents. DiskDigger can undelete and recover lost photos and images from your memory card or internal memory. Primo Android Data Recovery requires root access but ensures a high rate of recovery.

If you still cannot recover your files your SD card may be unrecoverable. You can try and format the card which will reinitialise the filesystem and reset the contents. You can then test reading and writing again by saving a few files and reading them back in. If this doesn't work then the SD card had almost certainly become damaged beyond repair and needs replacing.

Was this article helpful to you?
 

Related ArticlesThese articles may also be of interest to you

CommentsShare your thoughts in the comments below

If you enjoyed reading this article, or it helped you in some way, all I ask in return is you leave a comment below or share this page with your friends. Thank you.

This post has 1 comment(s). Why not join the discussion!

We respect your privacy, and will not make your email public. Learn how your comment data is processed.

  1. KE

    On Thursday 21st of May 2020, kelyn said

    Hey I know these are dated posts or blogs or whatever but usually, aside from operator error 90%+ of SD and micro SD cards that go bad are due to faulty sectors normally caused by interrupting a format or read/write task. when this happens none of the above ever work and to my knowledge (because I have tried almost all of them.... my own operator error) there is no way to recover the information because the file system has reverted to a RAW disk which is unreadable in windows or Linux. With the exception of when you're setting up a RAID array for your storage. But don't quote me on that I know little about those setups. but hey other than that, even dated as it is still some good reads. thank you