keepcalculator

06 Numbers and Powers

Erase Remove Partition Mac: Full Guide

Card No. 06·71181 · Updated · Standard formula, shown below

To erase or remove a partition on a Mac, you use the Disk Utility app, which can delete a partition and reclaim its space, or erase it to a different format. The exact steps depend on whether you want to delete the partition entirely or just wipe its contents, and whether it is the startup disk or an external drive. This guide covers both processes, the differences between them, and what to do when things go wrong.

What Erasing vs. Removing a Partition Means

On macOS, erasing a partition reformats it—it wipes all data but leaves the partition in place, ready to be used again. Removing (or deleting) a partition does the opposite: it deletes the partition itself and returns its space to the adjacent partition (usually the main one). You might erase a partition to sell a drive, change its file system, or fix corruption. You might remove a partition to merge two volumes into one larger space, or to undo a previous split.

Disk Utility is the built-in tool for both tasks. It is found in Applications > Utilities or via Spotlight (Cmd+Space, type “Disk Utility”). The app shows all connected drives and their partitions in a sidebar. Clicking a drive (the top-level item) shows the whole physical disk; clicking a partition (indented below) shows just that volume.

Before You Start: Backup and Check What’s Safe

Erasing or removing a partition permanently deletes all data on it. There is no undo. Before doing anything, back up any files you want to keep to another drive, iCloud, or a Time Machine backup. If the partition is your startup disk (the one with macOS), you cannot erase or remove it while running from it—you must boot into macOS Recovery (restart and hold Cmd+R) or use another startup disk.

Also check whether the partition is part of an APFS container. On modern Macs, the startup disk is usually a single APFS container that holds multiple volumes (like “Macintosh HD” and “Macintosh HD – Data”). You cannot delete these individual volumes using the normal “minus” button; instead, you erase the whole container or use the Delete Volume option, which is different from removing a partition. The steps below assume a standard partition map (GUID, APFS or Mac OS Extended), which is typical for external drives and older Macs.

How to Erase a Partition in Disk Utility

Erasing a partition reformats it. Here are the steps:

  1. Open Disk Utility.
  2. Select the partition you want to erase in the sidebar (e.g., “Untitled” or “Backup”).
  3. Click the Erase button in the toolbar (looks like a circle with an X).
  4. Choose a name, format, and scheme. For most uses, choose APFS (for SSD or macOS) or Mac OS Extended (Journaled) (for HDD or older Macs). The scheme (GUID Partition Map) is usually already correct—do not change it unless you know why.
  5. Click Erase. The partition is wiped and reformatted, but its size stays the same.

If the partition is your startup disk, you must boot into Recovery (Cmd+R at startup) and use Disk Utility from there. The steps are the same, but you select the internal drive’s partition instead of an external one.

How to Remove (Delete) a Partition and Reclaim Space

Removing a partition deletes it and merges its space into the partition above it. Follow these steps:

  1. Open Disk Utility.
  2. Select the partition you want to remove in the sidebar.
  3. Click the minus (-) button in the toolbar. This is the “Delete Partition” action.
  4. A dialog appears asking if you want to delete the volume. Click Delete.
  5. The partition is removed, and its space is added to the partition directly above it (the one immediately before it in the list).

If the minus button is grayed out, the partition is part of an APFS container and cannot be removed this way. Instead, select the container (the top-level item) and use Partition to resize, or if you want to delete all volumes, erase the whole disk. For APFS volumes within a container, you can select a volume and use Delete Volume (also a minus button) to remove it and free space for the container, but you cannot merge two separate APFS containers without erasing the entire disk.

What to Do If the Erase or Remove Fails

Sometimes Disk Utility refuses to erase or delete a partition. Common causes and fixes:

  • Partition is in use: Close any apps or windows that might be using files on that volume. If it’s the startup disk, boot into Recovery.
  • Partition is part of an APFS container: Use Delete Volume instead of the minus button, or erase the whole container.
  • Disk is locked or has a hardware issue: Check that the drive is not write-protected (some SD cards have a lock switch). Run First Aid in Disk Utility to check for errors.
  • You cannot remove the last partition on a disk: A physical disk must have at least one partition. To erase the entire disk, select the top-level drive and click Erase—this will remove all partitions and create a single new one.

If Disk Utility still fails, you can use the diskutil command in Terminal, but that requires more advanced knowledge and carries the same data-loss risk. For most users, restarting the Mac and trying again, or booting into Recovery, resolves the issue.

Erasing the Entire Disk vs. a Single Partition

If you want to wipe the whole drive and start fresh, you erase the entire disk, not just one partition. In Disk Utility, select the top-level item (the physical drive, often labeled with its brand and capacity) and click Erase. This removes all partitions and creates a single volume with the format you choose. This is what you do when preparing a drive for sale or for a clean macOS install. It is also the only way to change the partition map (e.g., from MBR to GUID) or to merge two separate APFS containers.

Be absolutely sure you have backed up everything you need, because erasing the whole disk wipes every partition on it, including any you might want to keep.

Partition Map and File System Formats Explained

When you erase or create a partition, you choose a format (file system) and a scheme (partition map). Getting these wrong can make the drive unreadable or unbootable.

  • APFS (Apple File System): The default for macOS 10.13 and later, optimized for SSDs. Use for internal drives and most external SSDs.
  • Mac OS Extended (Journaled): The older HFS+ format, still useful for HDDs or compatibility with older Macs (pre-2017).
  • ExFAT: Works with both Mac and Windows, but lacks journaling and is not ideal for Time Machine. Use for external drives that need cross-platform compatibility.
  • MS-DOS (FAT): Older, limited to 4GB files. Rarely used.
  • GUID Partition Map: The standard for Intel and Apple Silicon Macs. Required for bootable macOS drives.
  • Master Boot Record (MBR): For Windows compatibility or older systems. Not bootable on Macs.
  • Apple Partition Map: Used on older PowerPC Macs. Avoid unless you have a very old Mac.

When erasing a partition, the scheme is usually grayed out because it applies to the whole disk. If you need to change the scheme, you must erase the entire disk.

Frequently Asked Questions

Can I remove a partition without losing data on the other partition?

Yes. Removing a partition only deletes the data on that specific partition. The other partitions on the same drive remain untouched. However, you should still back up everything important, because mistakes happen and the process can sometimes cause errors.

Why is the minus button grayed out in Disk Utility?

This usually means the partition is part of an APFS container, where volumes are managed differently. You cannot delete individual volumes with the minus button; instead, select the volume and use Delete Volume (which also has a minus icon) or erase the entire container. It can also be grayed out if the partition is the only one on the disk, or if the disk is the startup disk and you’re not in Recovery.

How do I erase my Mac’s startup disk?

You cannot erase the startup disk while macOS is running from it. Restart your Mac and hold Command+R to enter Recovery Mode. From there, open Disk Utility, select the internal drive’s partition (or the whole disk), and click Erase. After erasing, you can reinstall macOS from the Recovery menu.

What’s the difference between erasing a partition and deleting a volume?

Erasing a partition reformats it, keeping the partition but wiping its contents. Deleting a volume (or partition) removes it entirely, freeing its space to be used by other partitions. In Disk Utility, “Erase” is the reformat action, while the minus button is the delete action.

Can I recover data from an erased partition?

Possibly, but not easily. When you erase a partition, macOS writes new file system structures, but the actual data may still be on the disk until overwritten. Third-party recovery tools can sometimes recover files, but there is no guarantee, and the sooner you stop using the drive, the better. For important data, always back up before erasing.

Does erasing a partition affect the other partitions?

No. Erasing a single partition only affects that partition. The other partitions on the same disk are left intact. However, if you erase the entire disk, all partitions are removed.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →