What formatting a hard drive means and why you might do it
Formatting a hard drive erases all the data on it and prepares it to store new files. The drive itself stays intact — formatting does not damage the hardware. What it does is wipe the filing system that tells your computer where files live, making the space available for a fresh start.
You format a drive when you are selling or giving away a computer and want to remove your personal files completely. You also format when a drive has become corrupted and no longer lets you save or open files reliably. Some people format before installing a new operating system, or when they want to change how the drive is organized.
Formatting is different from deleting files. When you delete a file, the data often remains on the drive in a way that recovery software can still find it. Formatting removes the map that points to those files, making recovery much harder — though not impossible with specialized tools.
Key Takeaways
- Formatting erases all data and the filing system on a drive, but does not damage the physical hardware itself.
- On Windows, you can format an external drive by right-clicking it in File Explorer and choosing Format, or use Disk Management for internal drives.
- On Mac, you use Disk Utility, which you reach through Applications > Utilities, and you must choose a file system format before erasing.
- Back up any files you want to keep before you start, because formatting cannot be undone once it completes.
- If you are selling the computer, formatting once is enough for personal use; military-grade erasure tools exist but are rarely necessary for home users.
Backing up your files before you start
Before you format anything, move any files you want to keep to another drive or cloud storage. Formatting is permanent — once it finishes, the data is gone and recovery is difficult and expensive.
Use an external hard drive, a USB flash drive, or a cloud service like Google Drive, OneDrive, or Dropbox. Copy your Documents, Pictures, Desktop, and any other folders that hold files you care about. If you have a lot of data, an external drive is faster than uploading to the cloud.
Once the backup is complete and you have confirmed the files are there, you are ready to format.
Formatting an external drive on Windows
Plug the external drive into a USB port. Open File Explorer, find the drive in the left sidebar or under "This PC", right-click it, and select Format.
A dialog box will appear. You can leave the name field as is or type a new name for the drive. Under "File system", leave it set to NTFS unless you need the drive to work on both Windows and Mac computers — in that case, choose exFAT. Leave "Allocation unit size" set to Default. Check the box next to "Perform a quick format" if you want the process to finish in seconds; uncheck it if you want a more thorough erase that takes several minutes.
Click Start. Windows will warn you that all data will be erased. Click OK to confirm. The drive will be formatted and ready to use when the progress bar finishes.
Formatting an internal drive on Windows
Formatting the drive your operating system runs on is more complex because Windows cannot erase the drive it is currently using. If you want to format your main C: drive, you will need to boot from a Windows installation disk or USB drive, which is beyond the scope of a basic format. If you have a second internal drive, you can format it while Windows is running.
Right-click the drive in File Explorer and select Format, then follow the same steps as for an external drive. If Format does not appear in the menu, open Disk Management instead. Press Windows key + X and select Disk Management. Find the drive you want to format, right-click it, and select Format. Enter a name, choose NTFS or exFAT, and click OK.
If you need to format the drive that Windows is installed on, you will need to use a Windows installation disk or recovery media. This is a more involved process that is best handled by someone with technical experience or by a professional.
Formatting a drive on Mac
Plug in the external drive or select the internal drive you want to format. Open Disk Utility by going to Applications > Utilities > Disk Utility, or by pressing Command + Space, typing "Disk Utility", and pressing Enter.
In the left sidebar, find and click the drive you want to format. At the top, click the Erase button. A dialog will appear asking for a name and a file system format. Type a new name for the drive if you want one. Under "Format", choose APFS for modern Macs or Mac OS Extended (Journaled) for older ones. If the drive needs to work on both Mac and Windows, choose exFAT.
Click Erase. Disk Utility will warn you that all data will be erased. Click Erase again to confirm. The process usually takes less than a minute.
Understanding file system formats
NTFS is the standard format for Windows drives. It works only on Windows computers unless you install extra software on a Mac. Use NTFS for external drives you will only use with Windows.
exFAT works on both Windows and Mac computers without extra software. It is slower than NTFS or APFS but is the best choice if you need to move the drive between operating systems. Most USB flash drives and portable hard drives come formatted as exFAT for this reason.
APFS is the modern format for Mac drives. Mac OS Extended (Journaled) is an older Mac format that still works but is slower. Use APFS for new Macs and Mac OS Extended only if you have an older computer.
Once you choose a format and erase, you cannot change it without erasing again. If you are unsure, exFAT is the safest choice for external drives because it works everywhere.
What to do if formatting fails or gets stuck
If the format process hangs or stops responding, unplug the drive and wait a few seconds, then plug it back in. Try formatting again. If it fails a second time, the drive may have a hardware problem or corrupted sectors that prevent normal formatting.
On Windows, try using Disk Management instead of the right-click menu, or open Command Prompt as Administrator and type diskpart, then list disk, then select disk X (where X is the disk number), then clean. This is more technical but sometimes works when the graphical method fails.
On Mac, try restarting Disk Utility or restarting the computer and trying again. If the drive still will not format, it may need professional repair or replacement.
Frequently Asked Questions
Can I recover files after I format a drive?
Recovery is possible but difficult and expensive. Formatting removes the map to your files, not the files themselves, so specialized recovery software can sometimes find them. However, once you start writing new files to the formatted drive, old data gets overwritten and becomes unrecoverable. If you need files back, stop using the drive when ready and contact a data recovery service.
Is a quick format safe, or should I do a full format?
A quick format is safe for personal use. It removes the filing system when ready. A full format takes longer because it overwrites every sector with zeros, making recovery harder. For a drive you are throwing away or selling, a quick format is sufficient. For maximum privacy, use a full format or a dedicated erasure tool.
What is the difference between formatting and partitioning?
Formatting prepares a drive to store files by creating a filing system. Partitioning divides a single drive into separate sections, each with its own filing system. Most people format a whole drive. Partitioning is useful if you want to run two operating systems on one computer or organize files into separate areas, but it requires more technical knowledge.
Do I need to format a new external drive before using it?
No. New drives come pre-formatted and ready to use. You only need to format if you want to change the file system, erase old data, or fix a corrupted drive. Formatting a new drive erases nothing because there is nothing on it yet.
Can I format a drive while files are open on it?
No. Windows and Mac will not let you format a drive that is currently in use. Close all programs that are reading from or writing to the drive, then try again. If you cannot close the programs, restart your computer and try formatting before opening anything else.