How to format an SD card in Windows 11 and 10 (4 ways)

Hand holding a memory card before it is formatted in Windows

Quick answer: To format an SD card in Windows 11 or 10, insert it, open File Explorer, right-click the card under This PC and select Format. Choose FAT32 for cards of 32 GB or less and exFAT for 64 GB and larger, tick Quick Format and select Start. Formatting erases everything on the card, so copy off anything you need first.

Applies to: SD, SDHC and SDXC cards, including microSD cards in an adapter or USB reader, on Windows 11 and Windows 10.

Hand holding a memory card before it is formatted in Windows

Before you format

  • Copy any photos or files you want to keep to the PC or cloud storage. A format removes them, and recovery afterwards isn’t guaranteed.
  • On a full-size SD card or a microSD adapter, slide the small Lock switch on the side up, away from Lock. A locked card can be read but not formatted.
  • If the card will go back into a camera, drone or game console, formatting it in that device is usually best. See format in a camera or phone.

Which file system to choose

Card sizeCard typeChooseWhy
2 GB or lessSDFAT32 (or FAT)Works in almost every device
4 to 32 GBSDHCFAT32The standard format for these cards
64 GB to 2 TBSDXCexFATThe standard for large cards; handles files over 4 GB
Any size, Windows-only useAnyNTFSOnly if the card never leaves Windows PCs; most cameras and phones can’t read it

Windows’ built-in Format dialog doesn’t offer FAT32 for volumes larger than 32 GB. If an older device needs FAT32 on a bigger card, check its manual first; many simply need exFAT support.

Method 1: Format in File Explorer

Photographer holding a camera whose memory card is about to be formatted on a PC
  1. Insert the card into the PC’s card slot or a USB card reader.
  2. Press Win + E to open File Explorer and select This PC.
  3. Right-click the card (it usually shows as SDHC, SDXC or USB Drive) and select Format. On Windows 11 you may need Show more options first.
  4. Pick the File system from the table above, leave Allocation unit size on Default, and type a name under Volume label if you like.
  5. Tick Quick Format and select Start, then OK to confirm.

Untick Quick Format only if you suspect bad sectors. A full format checks every block, which can take a long time on a large card.

Method 2: Use Disk Management

Use this when the card doesn’t appear in File Explorer, shows as RAW, or has unallocated space.

  1. Right-click Start and select Disk Management.
  2. Find the card by its size. Be careful to pick the right disk; it’s usually listed as Removable.
  3. If it has a partition, right-click it and select Format. If it shows Unallocated, right-click and choose New Simple Volume, then follow the wizard and choose the file system there.
  4. If the card shows several small partitions (common after it was used in a Raspberry Pi), Method 3 clears them all at once.

If the card doesn’t appear in Disk Management at all, the reader driver may be missing. Check Device Manager for a warning icon; see Code 28: the drivers for this device are not installed.

Method 3: Wipe and rebuild it with DiskPart

Laptop screen showing lines of code, like the command window used to run DiskPart

Warning: DiskPart’s clean command erases the whole disk you select, with no undo. Check the disk number twice.

  1. Right-click Start, select Terminal (Admin) (Windows PowerShell (Admin) on Windows 10), type diskpart and press Enter.
  2. Run list disk and find the card by its size.
  3. Run the commands below, replacing N with the card’s disk number:
select disk N
attributes disk clear readonly
clean
create partition primary
format fs=exfat quick label=SDCARD
assign
exit

Use fs=fat32 instead of fs=exfat for a card of 32 GB or less. The attributes line clears a software read-only flag; it doesn’t override the physical lock switch.

Method 4: Use the SD Association formatter

The SD Association, which sets the SD standard, offers a free SD Memory Card Formatter for Windows and Mac. It formats cards to the official layout for their size and can fix cards that other tools leave with the wrong structure. Download it only from the SD Association’s own site, select the card, and choose Quick format or Overwrite format.

Format in a camera or phone

  • Cameras: look for Format in the setup or wrench menu. Formatting in the camera creates the folder layout it expects.
  • Android phones: go to Settings > Storage, select the SD card and look for Format. Menu names vary by maker; some phones also offer to use the card as internal storage, which ties it to that phone.
  • Nintendo Switch and other consoles: use the console’s own format option, usually under system or data management settings.

If Windows can’t format the card

MessageWhat to try
"The disk is write-protected"Check the lock switch, then use the DiskPart attributes disk clear readonly line
"Windows was unable to complete the format"Use Disk Management or DiskPart (Methods 2 and 3), or the SD Association formatter
Card shows 0 bytes or the wrong sizeDiskPart clean then create a new partition
Format fails every time, or files corrupt after copyingThe card is likely failing or counterfeit; replace it

If a card you can still read shows files you can’t delete, see you don’t currently have permission to access this folder for permission fixes. If it came from a shared or public PC, scan it for malware before opening files.

Official sources: for more detail, see these pages:

Frequently asked questions

Does formatting an SD card delete everything?

Yes. A quick format removes the file table, so the card looks empty. Recovery tools can sometimes bring files back after a quick format, but not after a full or overwrite format.

Why can’t I choose FAT32 for my 64 GB card?

Windows’ Format dialog only offers FAT32 up to 32 GB. Cards of 64 GB and larger are SDXC, which uses exFAT as its standard file system.

Should I use quick format or full format?

Quick format is fine for a working card. Use a full format, or the SD Association formatter’s overwrite option, if the card has had errors or you’re giving it away.

Can I format a microSD card without an adapter?

You need some way to connect it: a microSD-to-SD adapter in the PC’s slot, a USB card reader, or the device it’s in, such as a phone.

How we write our guides: read our editorial policy.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *