What an EFI partition is and why you might delete it
An EFI partition is a small section of your disk that stores the files your computer needs to start up. On modern computers, it typically sits at the beginning of the drive and is usually between 100 MB and 1 GB in size. It contains boot files and firmware settings that tell your machine how to load the operating system.
You might want to delete an EFI partition if you are removing an operating system from a multi-boot setup, reclaiming disk space, or preparing a drive for a fresh installation. However, deleting the EFI partition for your currently running operating system will make that system unbootable, so the operation requires care and planning.
The process differs significantly depending on whether you are using Windows, macOS, or Linux, and whether you are working on the drive your computer is currently running from or a separate disk.
Key Takeaways
- Deleting the EFI partition for your active operating system will prevent that system from starting, so you must boot from a different drive or recovery media first.
- On Windows, you use Disk Management or the command line tool diskpart to delete the partition; on macOS, you use Disk Utility; on Linux, you use parted or fdisk.
- The EFI partition is usually labeled as such in your disk management tool and is typically 100 MB to 1 GB in size.
- After deletion, the space becomes unallocated and can be merged with an adjacent partition or left empty depending on your needs.
Deleting an EFI partition on Windows
On Windows, the safest approach is to use Disk Management, which provides a visual view of your partitions. Open Disk Management by right-clicking the Start button, selecting "Disk Management," or by pressing Windows Key + X and choosing it from the menu. Locate the EFI partition—it will be labeled as such and is usually very small, often 100 MB to 500 MB.
Right-click the EFI partition and select "Delete Volume." Windows will warn you that the data will be lost; confirm the deletion. The space will then show as unallocated. If you want to merge this space with an adjacent partition, right-click the partition next to it and select "Extend Volume," then follow the wizard to include the unallocated space.
If Disk Management does not allow you to delete the partition (sometimes it is locked or in use), you can use the command line tool diskpart instead. Open Command Prompt as Administrator, type diskpart, then list disk to see your drives. Type select disk X (where X is the disk number), then list partition to see the partitions. Select the EFI partition with select partition Y (where Y is the partition number), then type delete partition override to force deletion.
Deleting an EFI partition on macOS
On macOS, use Disk Utility to delete an EFI partition. Open Disk Utility (found in Applications > Utilities), select the disk containing the partition you want to delete from the sidebar, then click the "Partition" button. You will see a visual layout of all partitions on that disk.
Click the EFI partition to select it, then click the minus button (–) below the partition list. Disk Utility will remove it from the layout. Click "Apply" to confirm the change. The space will become part of the unallocated area on the disk.
If the partition is grayed out or you cannot select it, the disk may be in use or protected. Restart your Mac while holding Command + R to boot into Recovery Mode, then open Disk Utility from the Utilities menu and try again. This approach works because you are no longer running from the disk you are modifying.
Deleting an EFI partition on Linux
On Linux, you can use the parted tool, which works from the command line. Open a terminal and type sudo parted to start the parted interactive shell. Type list to see all disks, then select /dev/sdX (where X is the disk letter, such as sda or sdb). Type print to see all partitions on that disk and identify the EFI partition by its size and label.
Type rm Y (where Y is the partition number) to delete the EFI partition. Type quit to exit parted. The space will become unallocated. If you want to resize an adjacent partition to use that space, use parted again to select the partition and type resizepart Y 100% to expand it to fill available space.
Alternatively, you can use fdisk, which is often simpler for straightforward deletions. Type sudo fdisk /dev/sdX, then press d to delete a partition, enter the partition number, and press w to write the changes and exit.
Booting from external media before deletion
If the EFI partition you want to delete belongs to your currently running operating system, you must boot from a different source before you can delete it. Create a bootable USB drive or DVD with your operating system installation media or a live Linux environment.
Insert the media, restart your computer, and enter the boot menu (usually by pressing F12, Esc, or Del during startup—the key varies by manufacturer). Select the external media from the boot menu. Once your computer has booted from the external source, you can then open your disk management tool and delete the EFI partition from the internal drive without risk of making your system unbootable.
What happens after you delete the EFI partition
After deletion, the space occupied by the EFI partition becomes unallocated disk space. You have several options: leave it empty, extend an adjacent partition to use it, or create a new partition in that space. Most users extend an existing partition to reclaim the space for storage.
If you deleted the EFI partition for an operating system you still want to use, that system will no longer start. You will need to reinstall it or restore the EFI partition from a backup. If you deleted it intentionally as part of removing an operating system from a multi-boot setup, the remaining systems will continue to work normally as long as you did not delete their EFI partitions.
Recovering from accidental deletion
If you accidentally deleted the EFI partition for your active operating system, your computer will not boot. The most straightforward recovery is to reinstall the operating system. Boot from installation media, begin the installation process, and allow the installer to create a new EFI partition automatically.
Alternatively, if you have a recent backup of your disk, you can restore from that backup using backup software or disk imaging tools. Some advanced users can manually recreate the EFI partition and restore its contents from a backup, but this requires command-line knowledge and is error-prone.
Frequently Asked Questions
Will deleting the EFI partition give me more storage space?
Yes, but the amount is small—usually 100 MB to 1 GB. The space becomes unallocated and can be merged with an adjacent partition or left empty. For most users, the storage gain is negligible unless you are working with a very small drive.
Can I delete an EFI partition while the operating system is running?
No. If the EFI partition belongs to your active operating system, you must boot from external media first. Attempting to delete it while the system is running will either fail or, if it succeeds, will make your system unbootable.
What if I have multiple operating systems on one disk?
Each operating system typically shares a single EFI partition rather than having its own. Deleting the shared EFI partition will make all operating systems on that disk unbootable. If you want to remove one operating system from a multi-boot setup, delete only the operating system's files and boot entries, not the EFI partition itself.
How do I know which partition is the EFI partition?
In Disk Management (Windows) or Disk Utility (macOS), the EFI partition is labeled as such. In parted or fdisk (Linux), look for a partition labeled "EFI System" or with a type code of EF00 (parted) or EF (fdisk). It is almost always very small, between 100 MB and 1 GB.
Can I restore an EFI partition after deleting it?
If you have a backup of your disk, you can restore the EFI partition from that backup. Otherwise, you will need to reinstall the operating system, which will create a new EFI partition automatically. There is no built-in recovery tool for EFI partitions in most operating systems.