If you have ever opened Disk Management and noticed a small 100 MB to 650 MB partition labeled “EFI System Partition,” you have probably also noticed that Windows will not let you delete it. The “Delete Volume” option is greyed out, and right-clicking the partition offers almost nothing useful. That is intentional. Windows protects this partition because, on a UEFI computer, it holds the files that start your operating system.
Still, there are plenty of legitimate reasons to remove it. You may have cloned an old drive and ended up with a duplicate EFI System Partition (ESP) on a secondary disk. You may be repurposing a drive that once held Windows or Linux. You may be wiping a disk completely before selling it, or converting a disk from GPT to MBR. In each case, the leftover partition wastes space and prevents you from merging or resizing the free area around it.
This guide explains what the EFI System Partition does, when it is safe to delete it, and five reliable ways to remove it in Windows 10 and Windows 11. It also covers how to recreate the partition if you delete the wrong one, followed by a short FAQ.
What the EFI System Partition Does
The EFI System Partition is a small FAT32-formatted partition on a GPT disk. It contains the boot manager (for Windows, bootmgfw.efi), the Boot Configuration Data (BCD) store, and sometimes device drivers and utilities that the firmware loads before the operating system starts. When your PC powers on, the UEFI firmware looks inside the ESP, finds a bootloader, and hands control to it.
Because of this role, the ESP behaves differently from ordinary partitions:
- Windows marks it as a system partition and blocks the standard delete command.
- It has no drive letter by default and is hidden from File Explorer.
- Every bootable UEFI disk normally has exactly one, although multi-boot setups and cloned drives can end up with several.
On a typical Windows 10 or 11 disk, the layout looks something like this: a recovery partition, the EFI System Partition, a Microsoft Reserved (MSR) partition, and your main C: drive. Deleting the wrong one can leave the computer unable to boot.
Before You Start: Safety Checks
Deleting the ESP is not like deleting a normal folder. Take these precautions first.
1. Confirm which disk is your boot disk. Press the Windows key, type msinfo32, and press Enter. Check the “BIOS Mode” line (it should read UEFI) and look at the “System Information” for the boot device. You can also open Disk Management and see which disk holds the partition containing your active Windows installation. Never delete the ESP on that disk unless you intend to reinstall Windows or rebuild the bootloader right afterward.
2. Back up anything important. Most methods below change the partition table. A mistake on the wrong disk can destroy data. Back up files, or better, create a full system image.
3. Note the disk and partition numbers. Disk numbers can change after a reboot or when a USB drive is plugged in. Re-verify them every time you work in DiskPart.
4. Have a recovery plan. Keep a Windows installation USB drive handy. If something goes wrong, you can boot from it and repair the startup files.
5. Disconnect other drives if you can. Unplugging drives you do not plan to modify removes the risk of selecting the wrong one.
When is deletion safe? Typically in these cases: the ESP is on a secondary or external disk that you no longer boot from; it is a duplicate left by a clone or old installation; you are about to wipe the entire disk; or you are going to reinstall Windows and let Setup create a fresh partition layout.
Method 1: Delete the ESP with DiskPart (Override)
DiskPart is the command-line partition tool built into Windows, and it is the most common solution. It can delete protected partitions when you add the override parameter.
- Click Start, type
cmd, right-click Command Prompt, and choose Run as administrator. - Type
diskpartand press Enter. - Type
list diskand press Enter. Identify the disk that contains the ESP by its size. - Type
select disk N(replace N with the disk number). - Type
list partition. Look for the partition of type “System.” - Type
select partition M(replace M with the partition number). - Type
delete partition overrideand press Enter.
If it succeeds, DiskPart reports that the selected partition was successfully deleted. Type exit to close the tool. The space now shows as unallocated in Disk Management, where you can create a new volume or extend an adjacent one.
The override parameter tells DiskPart to delete the partition regardless of its type, including system and protected partitions. Use it carefully: DiskPart will not ask for confirmation.
Method 2: Change the Partition ID, Then Delete It
On some systems, particularly older Windows 10 builds, DiskPart rejects the override command with an error such as “Virtual Disk Service error: The specified partition is protected.” A workaround is to change the partition’s type identifier so Windows treats it as an ordinary data partition.
- Open an elevated Command Prompt and run
diskpart. - Run
list disk, thenselect disk N. - Run
list partition, thenselect partition Mfor the ESP. - Type the following and press Enter:
set id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
That GUID is the standard “Basic Data” partition type. - Type
delete partition(the override parameter is now optional). - Type
exit.
You can use the same trick for the Microsoft Reserved partition by using its type GUID, e3c9e316-0b5c-4db8-817d-f92df00215ae, but only do that if you are sure it is not needed.
This method is especially useful when the partition sits on a removable or external drive that DiskPart flags as protected.
Method 3: Remove It with PowerShell
Windows PowerShell offers a cleaner, scriptable alternative. It works well for secondary disks.
- Right-click Start and choose Terminal (Admin) or Windows PowerShell (Admin).
- List your partitions with:
Get-Partition - Find the ESP. It shows the type “System” and a size between 100 MB and 650 MB. Note its DiskNumber and PartitionNumber.
- Delete it with:
Remove-Partition -DiskNumber N -PartitionNumber M - Confirm when prompted by typing
Y.
If PowerShell refuses with an access-denied or protected-partition error, the partition is probably in use by the running system. In that case, return to DiskPart with the override method, or use the Windows Setup approach in Method 5.
To review your layout afterward, run Get-Disk | Get-Partition.
Method 4: Wipe the Whole Disk with DiskPart Clean
If you want to erase everything on a disk, including the ESP, MSR, recovery partitions, and data, the clean command is the quickest route. It does not care about protected partitions.
- Open an elevated Command Prompt and run
diskpart. - Run
list diskand double-check which disk is which, using the size column. - Run
select disk N. - Run
clean.
The disk is now completely unallocated. Normally the partition table is wiped, so the disk is shown as uninitialized. You can then run convert gpt or convert mbr to choose a partition style, followed by create partition primary and format fs=ntfs quick.
If you want to prevent data recovery, use clean all instead. It writes zeros to every sector, which can take hours on a large drive. Be extremely careful: clean on the wrong disk is irreversible without a backup.
This method is also the cleanest way to convert a disk from GPT to MBR, since the conversion requires an empty disk.
Method 5: Delete It During Windows Setup
If the ESP is on your boot drive and you intend to reinstall Windows, the installer can remove it for you. This is also the safest way to delete system partitions without fighting Windows’ protections while it is running.
- Create a Windows 10 or 11 installation USB with the Media Creation Tool.
- Boot from the USB drive (press the boot menu key at startup, often F12, F10, Esc, or F2).
- Proceed through the language screen and select Install now.
- Choose Custom: Install Windows only (advanced).
- On the “Where do you want to install Windows?” screen, select each partition on the target drive and click Delete. Remove the System partition, the MSR, the recovery partition, and the primary partition.
- Select the resulting unallocated space and click Next. Windows creates a new partition layout, including a fresh ESP, automatically.
If you prefer commands, press Shift + F10 on any Setup screen to open a Command Prompt and use DiskPart as described above.
This method is the right choice when you want a clean installation, because it avoids the problem of an unbootable PC after deleting the active ESP.
Alternative: Use a Third-Party Partition Manager
If you prefer a graphical interface, tools like MiniTool Partition Wizard, AOMEI Partition Assistant, EaseUS Partition Master, and the free GParted (from a bootable USB) can delete the ESP with a few clicks. Right-click the EFI partition, choose Delete, and apply the pending operation.
These tools add convenience and safety nets, such as previewing changes before applying them. However, they often bundle paid features, and the built-in tools above achieve the same result for free. Download only from the vendor’s official site.
What to Do If You Deleted the Wrong ESP
If you removed the ESP on your boot disk by mistake, Windows will fail to start, often showing “No bootable device” or a BitLocker or Boot Configuration error. You can rebuild it.
- Boot from a Windows installation USB, choose your language, and click Repair your computer, then Troubleshoot, then Command Prompt.
- Run
diskpart, thenlist diskandselect disk Nfor your system disk. - Create the partition. If there is unallocated space available, run:
create partition efi size=260format quick fs=fat32 label="System"assign letter=Sexit - Rebuild the boot files with:
bcdboot C:\Windows /s S: /f UEFI
(Use the letter that corresponds to your Windows drive, which may differ in the recovery environment.) - Restart the computer.
If there is no free space, shrink your main Windows volume slightly first. If you use BitLocker, keep your recovery key available, since startup changes can trigger a request for it.
Tips for Avoiding Problems
- Check the disk number twice. Most disasters come from selecting the wrong disk in DiskPart.
- Do not delete the ESP on a running boot disk unless you are reinstalling.
- Remember dual-boot setups. Linux distributions and other Windows installs may store their bootloaders on the same ESP. Deleting it removes them all.
- Update your boot order afterward. If you remove an ESP from a secondary drive, the firmware may keep a stale boot entry. Remove it in the UEFI settings.
- Use unallocated space wisely. After deletion, extend a neighboring partition or create a new volume in Disk Management.
Conclusion
Windows protects the EFI System Partition because it is the first thing your computer needs in order to start. That is why Disk Management greys out the delete option. But when the partition is a leftover from an old installation, a cloned drive, or a disk you want to wipe, you have several dependable ways to remove it.
For most users, DiskPart with delete partition override is the fastest approach. If that fails, changing the partition ID, using PowerShell, or running clean on the entire disk will do the job. For the boot drive itself, deleting the partition during Windows Setup is the safest option because it lets the installer build a fresh layout. Whichever method you choose, back up your data, verify the disk number, and keep a Windows installation USB nearby in case you need to rebuild the bootloader.
Frequently Asked Questions
1. Is it safe to delete the EFI System Partition?
It depends on which disk it is on. Deleting the ESP on the disk you boot from will make Windows unbootable until you recreate it or reinstall. Deleting a duplicate or leftover ESP on a secondary drive is generally safe, as long as nothing else boots from it. If you are unsure, do not delete it.
2. Why can’t I delete the EFI partition in Disk Management?
Disk Management treats the ESP as a protected system partition, so it disables the Delete Volume option to prevent accidental damage. You can bypass this by using DiskPart with the override parameter, changing the partition ID, or using a third-party tool.
3. Can I delete the ESP and recreate it later?
Yes. Boot from Windows installation media, open Command Prompt, create a new EFI partition of about 100 to 260 MB with DiskPart, format it as FAT32, and run bcdboot to copy the boot files. Windows Setup also does this automatically during a fresh install.
4. Will deleting the EFI partition free up useful space?
Only a small amount, typically 100 MB to 650 MB. The main benefit is cleaning up a disk, merging free space, or converting it to another partition style. If you only want more space on your main drive, shrinking or extending the C: volume is usually a better approach than touching the ESP.

