Fix SD Card Formatting Issues on Mac
In this article
If your Mac won't format an SD card, the usual culprits are a locked card, a corrupted partition map, or a card that's too large for the built-in tool. You can fix most issues by unlocking the card, erasing it in Disk Utility with the correct scheme, and, if needed, using Terminal to force a clean format. This guide walks through each step, from basic checks to advanced fixes.
What You'll Need
- Your Mac with an SD card slot or a USB‑C SD card reader
- The SD card you're trying to format
- Optional: a different SD card reader (if the built‑in one isn't working)
- Optional: another computer (to test if the card is faulty)
Step-by-Step
- Check the physical lock switch. Many SD cards have a tiny switch on the side. If it's slid down (toward the label), the card is write‑protected and cannot be formatted. Slide it up to unlock. If the switch is loose or broken, the card may be permanently locked – try a different card.
- Insert the SD card into your Mac. Use the built‑in slot on MacBook Pro/Air models that have one, or a USB‑C card reader. If you're using a reader, make sure it's plugged in securely.
- Open Disk Utility. Go to Applications > Utilities > Disk Utility, or use Spotlight (Cmd+Space) and type “Disk Utility”.
- Select the SD card in the sidebar. Look under “External” – it usually appears with the card's brand name or a generic label like “Generic SD Card”. Click on it once. Note: menu names and options can differ slightly by macOS version, but the general flow is the same.
- Click “Erase” in the toolbar. This opens a dialog where you choose a name, format, and scheme.
- Choose the correct format. For most uses (cameras, phones, Raspberry Pi), select MS-DOS (FAT) if the card is 32 GB or smaller, or ExFAT for cards larger than 32 GB. If you only use the card with Apple devices, you can pick Mac OS Extended (Journaled) or APFS, but those won't work in most cameras or non‑Apple devices.
- Choose the correct scheme. In the “Scheme” dropdown, select “Master Boot Record” for cards you'll use in cameras, phones, or other consumer devices. For Mac‑only use, “GUID Partition Map” is fine. If the scheme dropdown is greyed out, it means Disk Utility is showing the volume, not the whole card – see step 8.
- If the “Erase” button is greyed out or the scheme is missing, select the parent device. In the sidebar, click the entry that shows the card's capacity (e.g., “64 GB”) rather than the volume underneath it. If you don't see it, click “View” in the toolbar and choose “Show All Devices”.
- Click “Erase” and confirm. Disk Utility will wipe the card. This may take a few seconds to a minute. If it succeeds, you'll see a green checkmark.
- If Disk Utility fails, try formatting via Terminal. Open Terminal (in Utilities). Type
diskutil listand press Enter. Find your SD card's identifier (look for something likedisk2ordisk3– be careful not to pick your internal drive). Then typesudo diskutil eraseDisk FAT32 CARDNAME MBR /dev/diskX(replacediskXwith your card's identifier andCARDNAMEwith a name you want). For ExFAT, useEXFATinstead ofFAT32. Press Enter, enter your password, and wait for it to finish. Warning: this permanently erases all data on the card. - If the card still won't format, try a different reader. Sometimes the built‑in slot or a particular USB reader has issues. Try another reader or a different USB port.
- If nothing works, the card may be physically damaged or counterfeit. Try the card on another computer (Windows or another Mac). If it fails there too, the card is likely dead – replace it.
Common Mistakes
- Selecting the volume instead of the whole card. If you click the volume (the one with a name like “NO NAME”) you can't change the scheme, and the erase might not fix partition issues.
- Using the wrong format. FAT32 is limited to 4 GB per file, so it's not ideal for large videos. ExFAT is better for big cards but not supported by some older cameras.
- Forgetting the lock switch. A locked card will refuse to format or write.
- Not unmounting the card before removing it. Always eject the card (right‑click > Eject) before pulling it out, to avoid corruption.
Tips
- If you're formatting a card for a specific device (like a dash cam or drone), check the device's manual for the recommended format – often it's FAT32 even for larger cards.
- Use a card reader that supports UHS‑II if your card is that type, otherwise you may see slower speeds or errors.
- If you're formatting a card that was used in a camera, it's a good idea to format it in the camera itself occasionally – cameras often create a proper folder structure.
- If Disk Utility says “Erase process has failed”, try restarting your Mac and trying again – sometimes a background process is interfering.
Troubleshooting
“Erase” is greyed out. This usually means you've selected the volume, not the whole card. Click “View” > “Show All Devices” and select the top‑level item for the card.
“Erase process has failed” error. Try these in order: 1) Unlock the card (check the switch). 2) Try a different USB port or reader. 3) Use Terminal with diskutil eraseDisk as described above. 4) If the card is a microSD in an adapter, remove it and reinsert it – sometimes the adapter is faulty.
The card shows up but with a very small capacity (like 1 MB). This often indicates a corrupted partition table. Use Terminal: diskutil list to find the disk, then sudo diskutil eraseDisk FAT32 CARDNAME MBR /dev/diskX. If that fails, try sudo diskutil zeroDisk /dev/diskX (this writes zeros across the whole card – takes a while, but can revive some cards).
The card is not recognized at all. Check if it appears in System Information (Apple menu > About This Mac > System Report > Card Reader). If it doesn't, try a different reader. If it still doesn't show, the card is likely dead.
Formatting succeeds but the card is still not usable. Try re‑formatting with a different format (e.g., switch from FAT32 to ExFAT). Also, some devices are picky about the partition scheme – make sure you used MBR (Master Boot Record).
Frequently Asked Questions
Why does my Mac say “The disk you inserted was not readable by this computer”?
This usually means the card has a filesystem that macOS doesn't recognize, like NTFS (Windows) or a corrupted partition. You can try formatting it with Disk Utility – if that fails, use Terminal to erase it completely.
Can I format an SD card to NTFS on a Mac?
macOS can read NTFS but cannot format to it natively. You'd need third‑party software like Paragon NTFS, but for most uses, ExFAT is a better cross‑platform choice.
What's the difference between FAT32 and ExFAT?
FAT32 is older and works with almost everything, but it can't store files larger than 4 GB. ExFAT is newer, supports huge files and large cards, but some older devices (especially cameras) don't support it.
Why does Disk Utility show two entries for my SD card?
That's normal – one is the whole disk (the physical card) and the other is the volume (the partition on it). You should always select the whole disk when erasing to avoid partition issues.
Is it safe to use Terminal to format my SD card?
Yes, if you type the command correctly and target the right disk. Double‑check the disk identifier with diskutil list before running the erase command – using the wrong identifier could erase your internal drive.
My SD card is write‑protected even though the switch is unlocked. What now?
Some cards have a firmware lock, or the switch is broken. Try a different card reader – sometimes the reader's pin doesn't align. If that fails, the card is likely defective.