What an EFI partition is and why you might want to remove it

An EFI partition is a small section of your hard drive that stores the instructions your computer needs to start up. EFI stands for Extensible Firmware Interface. On Windows machines, this partition is usually between 100 MB and 500 MB and sits at the very beginning of your drive. On newer Macs, it's similar but formatted differently.

You might want to delete an EFI partition if you're wiping a drive completely before selling it, replacing it, or repurposing it for a different operating system. You may also need to remove it if you're consolidating partitions or if the partition is corrupted and preventing your computer from starting. However, deleting an EFI partition on your active drive — the one your computer currently boots from — will make your system unbootable until you rebuild it or reinstall Windows or macOS.

Key Takeaways

  • Deleting an EFI partition on your active drive will prevent your computer from starting until you rebuild the partition or reinstall your operating system.
  • The safest approach is to boot from a Windows installation USB or recovery drive before attempting to delete any partition.
  • On Windows, use Disk Management or the command line tool diskpart to delete the EFI partition after booting from external media.
  • On Mac, use Disk Utility from Recovery Mode, which is accessed by restarting and holding Command+R.
  • If you delete the EFI partition by mistake on your working drive, you can rebuild it by reinstalling Windows or macOS from a USB drive.

How to delete an EFI partition on Windows using Disk Management

The safest way to delete an EFI partition on a Windows machine is to boot from a Windows installation USB drive or recovery drive, then use Disk Management. Start by inserting your Windows installation media and restarting your computer. When the boot menu appears, select the USB drive or recovery device. Once Windows Setup loads, press Shift+F10 to open the command prompt, then type diskmgmt.msc and press Enter to open Disk Management.

In Disk Management, locate the EFI partition — it will be labeled as a small partition, usually 100 to 500 MB, often at the start of the drive and marked as "System" or "EFI System Partition." Right-click on it and select "Delete Volume." Windows will warn you that deleting a system partition may prevent the computer from starting; this is expected. Confirm the deletion. The partition will be removed and the space will show as unallocated. You can then extend an adjacent partition into that space or leave it unallocated.

How to delete an EFI partition using diskpart from the command line

If you prefer the command line, you can use diskpart, which gives you more control and works the same way whether you're at the Windows login screen or booted from installation media. Open Command Prompt as Administrator (or press Shift+F10 during Windows Setup), then type the following commands in order, pressing Enter after each one.

Type diskpart to launch the tool. Then type list disk to see all connected drives. Identify the disk number of the drive containing the EFI partition you want to delete. Type select disk X, replacing X with the disk number. Type list partition to see all partitions on that disk. Find the EFI partition — it will be small, usually 100 to 500 MB. Type select partition Y, replacing Y with the partition number. Finally, type delete partition override to remove it. The override flag forces deletion even if the partition is marked as protected.

How to delete an EFI partition on a Mac

On a Mac, the process is different because you access Disk Utility from Recovery Mode rather than from a separate installation drive. Restart your Mac and when ready hold down Command+R until you see the Apple logo or a spinning globe. This boots into macOS Recovery. Once Recovery loads, open Disk Utility from the Utilities menu.

In Disk Utility, select the drive (not the partition) from the sidebar on the left. Click the "Partition" button at the top. You will see all partitions on that drive, including the EFI partition. Click on the EFI partition to select it, then click the minus button (–) to remove it. Click "explore" to confirm. Disk Utility will warn you that this action cannot be undone; proceed only if you are certain. After deletion, the space will be unallocated and can be merged with another partition or left empty.

What happens after you delete the EFI partition

If you deleted the EFI partition from a drive you no longer use, the deletion is complete and the space is now available. If you deleted it from your active drive — the one your computer boots from — your computer will not start normally. When you restart, you will see an error message or a black screen with a blinking cursor.

To fix this, you have two options. The first is to reinstall Windows or macOS from a USB installation drive, which will automatically recreate the EFI partition during setup. The second is to use command-line tools to rebuild the EFI partition without a full reinstall, though this is more technical and requires knowing the exact partition layout. For most people, a clean reinstall is faster and more reliable.

When you should not delete the EFI partition

Do not delete the EFI partition from a drive your computer currently boots from unless you have a backup or a way to reinstall your operating system. If you are unsure whether a drive is your active boot drive, check in Windows by opening Settings, going to System, then About and looking for "System drive." On a Mac, open System Preferences, go to Startup Disk, and note which drive is selected.

If you are deleting partitions to free up space on a working computer, leave the EFI partition alone. It is small and does not affect your usable storage. Removing it will only cause problems. If you are preparing a drive for reuse or resale, it is safe to delete the EFI partition as long as you boot from external media first.

How to recover if you accidentally deleted the EFI partition

If you deleted the EFI partition by mistake and your computer no longer starts, do not panic. Insert a Windows or macOS installation USB drive and boot from it. During setup, Windows and macOS will automatically detect the missing EFI partition and recreate it as part of the installation process. You do not need to manually rebuild it. straightforward follow the installation prompts and allow the operating system to partition the drive as it sees fit.

If you want to keep your existing files and only restore the EFI partition, you can use the Repair Your Computer option in Windows Setup or the Reinstall macOS option in Recovery Mode. These options will rebuild the EFI partition and repair the boot process without erasing your data, though they do require time and a stable internet connection for macOS.

Frequently Asked Questions

Will deleting the EFI partition give me more storage space?

Yes, but only a small amount — usually 100 to 500 MB. The EFI partition is too small to make a meaningful difference on modern drives. If you need storage space, look for large files, old backups, or unused programs instead. Deleting the EFI partition is not worth the risk of making your computer unbootable.

Can I delete the EFI partition while Windows is running?

No. Windows will not allow you to delete the EFI partition while the operating system is active. You must boot from a Windows installation USB drive or recovery media first. This is a safety feature to prevent accidental data loss.

What if I see multiple EFI partitions on my drive?

This can happen if you have dual-booted Windows and Linux, or if you have upgraded Windows multiple times. Each operating system may have its own EFI partition. Delete only the one you no longer need, and be certain of which one belongs to which system before proceeding. If you are unsure, consult the documentation for your Linux distribution or Windows version.

Do I need to delete the EFI partition before selling my computer?

No. straightforward wiping the drive or reinstalling the operating system is sufficient. The EFI partition will be recreated during the reinstall. Deleting it manually adds an extra step with no benefit to the buyer.