How to Delete a Partition on Windows, Mac, and Linux
Deleting a partition sounds straightforward — and often it is. But the right method, the right tool, and the right precautions depend heavily on your operating system, what's currently on that partition, and what you plan to do with the disk space afterward. Get it wrong and you can lose data, break a boot sequence, or end up with unallocated space you can't use. Get it right and you reclaim clean, usable storage in minutes.
What Is a Partition (and Why Delete One)?
A partition is a logically separated section of a physical storage drive. Your drive might have one partition or several — for example, a Windows system partition, a recovery partition, and a data partition can all coexist on the same physical SSD.
Common reasons to delete a partition include:
- Reclaiming space after removing a dual-boot operating system
- Merging multiple partitions into one larger volume
- Wiping a secondary drive before selling or repurposing it
- Removing outdated recovery or OEM partitions
The key distinction to understand before you start: deleting a partition permanently destroys all data on it. There is no Recycle Bin for partitions. Back up anything you need before proceeding.
How to Delete a Partition on Windows 💻
Windows offers two main paths: a graphical interface and a command-line tool.
Using Disk Management (GUI)
- Press Windows + X and select Disk Management
- Locate the partition you want to remove in the disk map at the bottom
- Right-click the partition volume and select Delete Volume
- Confirm the warning — the space will become Unallocated
- To merge that space with an adjacent partition, right-click the neighboring volume and select Extend Volume
Important limitation: Windows Disk Management cannot delete certain protected partitions — specifically the EFI System Partition (ESP), the Microsoft Reserved Partition (MSR), or active recovery partitions. These require DiskPart.
Using DiskPart (Command Line)
DiskPart gives you more control and can remove partitions Disk Management won't touch:
The override flag forces deletion of protected partitions. Use this carefully — removing the wrong partition can make Windows unbootable.
Protected Partitions: A Real Risk
If you're trying to delete an OEM recovery partition or a hidden system partition, understand that some are locked by Windows intentionally. Deleting them may remove your ability to factory-reset the machine later. This is a trade-off worth understanding before acting.
How to Delete a Partition on macOS
macOS handles partition management through Disk Utility, found in Applications → Utilities.
- Open Disk Utility
- Select the parent disk (not just the partition) from the left sidebar
- Click the Partition tab in the top toolbar
- Select the partition you want to remove in the pie chart
- Click the minus (–) button
- Click Apply
macOS will automatically offer to merge the freed space back into an adjacent partition in many cases. However, behavior varies depending on whether your disk uses APFS or HFS+ formatting, and whether the partition is on an Apple Silicon or Intel-based Mac.
On Apple Silicon Macs, the disk structure is more complex. Volumes within an APFS container can be deleted easily, but the container itself and certain system volumes are protected by the OS.
For more advanced scenarios — such as removing Boot Camp partitions — macOS provides a dedicated Boot Camp Assistant that handles the partition deletion and disk resizing in a controlled sequence.
How to Delete a Partition on Linux
Linux users typically work with GParted (a graphical partition editor) or command-line tools like fdisk, parted, or gdisk.
Using GParted
- Open GParted (install via your package manager if needed)
- Select the correct disk from the top-right dropdown
- Right-click the target partition and select Delete
- Click Apply All Operations — changes aren't written until this step