What the EFI system partition is and why you might delete it
The EFI system partition is a small, hidden section of your hard drive that stores the files your computer needs to start up. On Windows machines, it's usually between 100 MB and 500 MB. On Mac computers running newer versions, it can be larger. Your computer reads this partition before it loads Windows, macOS, or Linux, so removing it will prevent your machine from starting unless you rebuild it or reinstall your operating system.
Most people never need to delete this partition. You might consider it only if you're wiping a drive completely before selling or recycling it, moving to a different operating system, or fixing a corrupted boot setup that won't repair any other way. If you're not certain you need to do this, stop here — a missing EFI partition causes real problems that are harder to fix than leaving it alone.
Deleting the EFI partition is not reversible without reinstalling your operating system or using recovery tools. If you proceed, your computer will not boot until you either restore the partition or perform a clean installation of Windows, macOS, or Linux.
Key Takeaways
- The EFI system partition is a hidden boot partition your computer needs to start; deleting it will prevent your machine from starting.
- On Windows, you can delete it using Disk Management or the command line tool DiskPart, but you must boot from installation media first.
- On Mac, you need to use Terminal in Recovery Mode or third-party disk tools, and you should back up your data before attempting this.
- After deletion, you will need to reinstall your operating system or use recovery media to rebuild the partition before your computer can boot again.
- If you are not certain the EFI partition is causing a specific problem, do not delete it — contact a technician first.
Deleting the EFI partition on Windows using Disk Management
Start by backing up any files you need to keep. Then restart your computer and boot from Windows installation media — a USB drive or DVD with Windows on it. If you don't have installation media, you can create one on another computer using the Windows Media Creation Tool from Microsoft's website.
Once you're booted from the installation media, click Repair your computer at the bottom left of the Windows Setup screen. Select Troubleshoot, then Advanced options, then Command Prompt. Type the command diskpart and press Enter. This opens the disk partitioning tool.
Type list disk to see all drives connected to your computer. Identify the disk number of the drive you want to work on — this is critical, because selecting the wrong disk will delete partitions on the wrong drive. Type select disk X, replacing X with the disk number. Then type list partition to see all partitions on that disk. The EFI system partition is usually small (100–500 MB) and labeled as System.
Type select partition Y, replacing Y with the partition number of the EFI partition. Then type delete partition override. The partition will be removed immediately. Close the Command Prompt window and restart your computer. You will need to reinstall Windows or restore from a backup before the computer will boot normally.
Deleting the EFI partition on Mac using Terminal
Shut down your Mac completely. Turn it back on and immediately hold down Command + R to enter Recovery Mode. Wait for the Recovery Mode screen to appear — this usually takes 30 seconds to a minute.
From the Utilities menu, select Terminal. Type the command diskutil list and press Enter. This shows all disks and partitions on your Mac. Find the disk you want to work on and note its identifier — it will look something like disk0 or disk1. The EFI partition is usually the first partition on the disk and is labeled EFI.
Type diskutil secureErase freespace 0 /Volumes/EFI to securely erase the EFI partition, or type diskutil eraseVolume JHFS+ Blank /dev/diskXsY to erase it without secure wiping, replacing X and Y with the disk and partition numbers. Either command will remove the partition. Close Terminal and restart your Mac. You will need to reinstall macOS or restore from Time Machine before your Mac will boot normally.
Using third-party disk tools as an alternative
If you're uncomfortable using the command line, third-party disk management software can delete partitions through a graphical interface. Common options include AOMEI Partition Assistant (Windows), GParted (Linux), or Disk Utility on Mac, though Disk Utility's built-in partition tools sometimes cannot touch the EFI partition directly.
These tools work the same way: they identify the EFI partition, mark it for deletion, and remove it when you confirm. The advantage is that you can see what you're doing on screen rather than typing commands. The disadvantage is that some tools cost money, and you still need to boot from external media or a live environment to make changes to the EFI partition while the operating system is not running.
Before using any third-party tool, research whether it supports your operating system and drive type. Some tools work only on MBR drives, not UEFI drives, or vice versa. Read the documentation carefully and make sure you understand which partition you're deleting before you proceed.
What to do after the EFI partition is deleted
Your computer will not start normally after you delete the EFI partition. You have two options: reinstall your operating system, or restore the partition from a backup.
To reinstall Windows, boot from Windows installation media again and follow the on-screen prompts to perform a clean installation. The installer will create a new EFI partition automatically during setup. To reinstall macOS, boot into Recovery Mode again, select Reinstall macOS from the Utilities menu, and follow the prompts. macOS will also create a new EFI partition during installation.
If you have a backup of your drive from before the deletion, you can restore it using backup software or recovery tools. This is faster than reinstalling but requires that you made the backup before you deleted the partition. If you don't have a backup and don't want to reinstall, a data recovery service may be able to help, though this is expensive and not always successful.
Preventing accidental deletion of the EFI partition
The EFI partition is hidden by default on most computers specifically to prevent accidental deletion. If you're working with disk tools and you see a partition you don't recognize, do not delete it without researching what it is first. Search for the partition size and type online — a 100–500 MB partition labeled System or EFI is almost certainly the boot partition.
If you're using Disk Management on Windows and you're not sure whether a partition is the EFI partition, right-click it and select Properties. Look at the file system type — EFI partitions are usually formatted as FAT32. If you're still unsure, take a screenshot and ask in a technical forum before deleting anything.
When using command-line tools like DiskPart or diskutil, always list all partitions and disks before selecting one for deletion. Write down the disk and partition numbers on paper before you type the delete command. This extra step takes 30 seconds and prevents you from accidentally wiping the wrong drive.
When to contact a technician instead
If your computer won't start and you think the EFI partition is corrupted, a technician can often repair it without deleting it. Repair is faster than deletion and reinstallation, and it preserves your files and operating system setup. Contact a local computer repair shop or your computer manufacturer's support line before you attempt to delete the partition yourself.
If you're selling or recycling your computer and you want to make sure your data is completely gone, deleting the EFI partition is one step, but it's not the only one you need. A technician can securely wipe the entire drive, which is more thorough and ensures that no data can be recovered. This is worth the cost if your drive contained sensitive information.
Frequently Asked Questions
Will deleting the EFI partition delete my files?
No, the EFI partition is separate from the partition where your files are stored. Deleting it will prevent your computer from starting, but your files will still be on the drive. You can recover them by connecting the drive to another computer or by reinstalling your operating system.
Can I delete the EFI partition while Windows or macOS is running?
No. The operating system locks the EFI partition while it's running. You must boot from external media — a Windows installation USB, macOS Recovery Mode, or a Linux live environment — to delete it. Attempting to delete it while the OS is running will fail or cause an error.
What if I delete the wrong partition by mistake?
If you deleted a partition that wasn't the EFI partition, you may still be able to recover it using data recovery software or a professional recovery service. Stop using the drive immediately and do not write any new data to it. The longer you wait, the harder recovery becomes.
Do I need to delete the EFI partition to wipe my drive before selling it?
Deleting the EFI partition alone does not securely wipe your data. Use full-disk encryption or a secure wiping tool that overwrites all data on the drive multiple times. This is more thorough than deleting individual partitions and ensures your data cannot be recovered.
Can I recreate the EFI partition if I change my mind?
Yes, but only by reinstalling your operating system. The installer will create a new EFI partition automatically. You cannot recreate it manually without reinstalling. If you're not certain you want to delete it, do not proceed.