What deleting a partition actually does

Deleting a partition removes the container that holds your files, not the physical drive itself. When you delete a partition, the operating system stops recognizing that section of the drive as usable storage. The data that was on it becomes inaccessible through normal means, though the actual bytes remain on the drive until new data overwrites them.

This is different from formatting a drive, which erases the files within a partition but keeps the partition itself. Deleting a partition is useful when you want to reclaim space, combine multiple partitions into one, or prepare a drive for a different purpose — like converting a Windows drive to use for Mac backups, or wiping a USB stick to use it as a single storage device instead of multiple sections.

The process varies slightly depending on whether you're using Windows, Mac, or Linux, and whether the drive is internal or external. The steps below cover the most common scenarios.

Key Takeaways

  • Back up any files you need before deleting a partition, because the data becomes inaccessible once the partition is removed.
  • On Windows, use Disk Management (diskmgmt.msc) to right-click a partition and select Delete Volume; on Mac, use Disk Utility and select the partition, then click the minus button.
  • External drives and USB devices use the same deletion process as internal drives, but you should eject them safely afterward.
  • If a partition won't delete, it may be in use by the operating system, protected by BitLocker or FileVault, or marked as the boot drive — you'll need to address these before deletion.

Deleting a partition on Windows

Open Disk Management by right-clicking the Start button, selecting "Disk Management," or typing "diskmgmt.msc" into the search box and pressing Enter. You'll see a list of your drives and their partitions in two panes — the top shows drives, the bottom shows the partitions on each drive.

Locate the partition you want to delete in the bottom pane. Right-click it and select "Delete Volume." A warning will appear asking you to confirm — this is your last chance to change your mind. Click "Yes" to proceed. The partition will disappear from the list, and the space it occupied will show as unallocated (meaning the drive recognizes it as empty space, but it's not yet usable).

If you want to use that unallocated space again, you can create a new partition on it or extend an existing partition into it. Right-click the unallocated space and select "New Simple Volume" to create a fresh partition, or right-click an adjacent partition and select "Extend Volume" to grow it into the freed space.

Deleting a partition on Mac

Open Disk Utility, which you'll find in Applications > Utilities. Select the drive you want to work with from the list on the left side. You'll see its partitions listed below it. Click the partition you want to delete, then click the minus button (–) in the toolbar at the top.

A confirmation dialog will appear. Click "Delete" to remove the partition. The space becomes part of the drive's unallocated area. If you want to use that space, you can create a new partition by selecting the drive itself (not a partition) and clicking the plus button (+), then choosing a name, format, and size for the new partition.

Deleting a partition on Linux

The process depends on which Linux distribution you're using, but most include either GParted (a graphical tool) or command-line tools like fdisk or parted. GParted is the easiest if your system has it installed — open it, select the drive from the dropdown menu, right-click the partition you want to delete, and select "Delete."

If you prefer the command line, you can use fdisk or parted. With fdisk, type sudo fdisk /dev/sdX (replacing X with your drive letter), then type d to delete a partition and follow the prompts. With parted, type sudo parted /dev/sdX, then rm [partition number]. Both tools require you to know your drive's device name, which you can find by typing lsblk or df -h.

Deleting partitions on external drives and USB devices

External hard drives and USB sticks use the same deletion process as internal drives — use Disk Management on Windows or Disk Utility on Mac. The only difference is that you should safely eject the device afterward rather than just unplugging it.

On Windows, right-click the drive in File Explorer and select "Eject." On Mac, drag the drive to the Trash or right-click it and select "Eject." This tells the operating system to finish any pending writes and release the device, reducing the risk of data corruption if you unplug it immediately after.

What to do if a partition won't delete

If you see an error message when trying to delete a partition, the most common causes are that the partition is in use, it's protected by encryption, or it's marked as the system drive. On Windows, check if the partition is your C: drive (the one Windows runs from) — you cannot delete the partition that contains your operating system while it's running. You would need to boot from a different drive or installation media to delete it.

If the partition is encrypted with BitLocker (Windows) or FileVault (Mac), you'll need to decrypt it first. On Windows, right-click the drive in File Explorer, select "Manage BitLocker," and choose "Turn off BitLocker." On Mac, open System Preferences > Security & Privacy > FileVault and click "Turn Off FileVault." Wait for the decryption to complete before attempting to delete the partition.

If the partition is in use by a running program, close that program and try again. On Windows, you can also try restarting your computer — sometimes a partition stays locked until the next boot. If you're still unable to delete it, the partition may be marked as read-only or protected by your system administrator, in which case you'll need administrator privileges or to contact whoever manages your computer.

Reclaiming space after deletion

Once you delete a partition, the space it occupied becomes unallocated. You have three options: create a new partition on that space, extend an existing partition into it, or leave it unallocated for now.

Creating a new partition is useful if you want to separate your storage into multiple sections again — for example, one for your operating system and one for files. Extending an existing partition is simpler if you just want more room on a drive you already use. To extend a partition on Windows, right-click it in Disk Management and select "Extend Volume," then choose how much of the unallocated space to add. On Mac, you cannot extend a partition after creation, so you would need to delete and recreate it with a larger size.

Frequently Asked Questions

Can I recover files after deleting a partition?

The files become inaccessible immediately, but the data may still be recoverable with specialized software if the space hasn't been overwritten. Tools like EaseUS Data Recovery or Recuva can sometimes restore files from deleted partitions. However, recovery is not may provide, especially if new data has been written to that area of the drive. Always back up important files before deleting a partition.

What's the difference between deleting a partition and formatting it?

Formatting erases the files within a partition but keeps the partition itself intact. Deleting removes the partition entirely, freeing up the space for other uses. If you just want to erase files but keep the partition, formatting is faster and safer.

Do I need to delete partitions before selling or giving away a drive?

Deleting partitions alone does not securely erase data — it only makes it inaccessible through normal means. For a drive you're selling or donating, use a secure erase tool like DBAN (Darik's Boot and Nuke) on Windows or Erase Free Space in Disk Utility on Mac to overwrite the entire drive with random data, making recovery much harder.

Why does my external drive show multiple partitions?

Some external drives come with multiple partitions — one for files and one for recovery software or firmware. If you want to use the entire drive as a single partition, you can delete the extra partitions and create one large partition instead. This gives you more usable space.

Can I delete the partition my operating system is on?

Not while the operating system is running. You would need to boot from a different drive (like a Windows installation USB or Mac recovery partition) to delete the partition that contains your operating system. This is a advanced task — if you're not sure what you're doing, it's easy to make your computer unbootable.