Create & Delete EFI System Partition in Windows
In this article
Creating or deleting an EFI System Partition (ESP) in Windows is done with the built-in DiskPart tool or Disk Management. The ESP is a small FAT32 partition (typically 100–500 MB) that stores boot files for UEFI-based systems. You might need to create one if you’re migrating a Windows installation to a new drive, repairing a corrupted boot configuration, or setting up dual-boot. Deleting an ESP is rarely needed and should only be done when you’re sure the partition is no longer used by any operating system. Warning: Deleting the wrong partition can make your PC unbootable. Back up important data first and know which disk you’re working on.
What You'll Need
- A Windows PC (Windows 10 or 11) with administrator access.
- An external backup drive if you plan to delete partitions (safety).
- Knowledge of which disk contains the ESP (check in Disk Management or DiskPart).
Step-by-Step
Part 1: Create an EFI System Partition
- Open DiskPart as Administrator: Press Win, type
cmd, right-click “Command Prompt” and select “Run as administrator”. In the command prompt, typediskpartand press Enter. Accept the UAC prompt if it appears. - List all disks: Type
list diskand press Enter. Note the disk number (e.g., Disk 0) where you want to create the ESP. Be absolutely certain—this is critical. - Select the target disk: Type
select disk X(replace X with the correct number) and press Enter. You’ll see “Disk X is now the selected disk.” - Create the partition: Type
create partition efi size=100(or a larger size like 200 or 300 if you plan to store multiple bootloaders) and press Enter. This creates a 100 MB partition. The size is in MB. - Format the partition: Type
format quick fs=fat32 label="System"and press Enter. This formats it as FAT32, which is required for UEFI boot. - Assign a drive letter (optional but helpful): Type
assign letter=Sand press Enter. This makes the partition visible in File Explorer for verification. You can remove the letter later withremove letter=S. - Exit DiskPart: Type
exitand press Enter. Close the command prompt.
Note: If you’re creating an ESP on a disk that already has Windows installed, you might also need to run bcdboot C:\Windows /s S: (replace C: with your Windows drive and S: with the ESP drive letter) to copy boot files. This is often needed after a disk clone or manual partition setup.
Part 2: Delete an EFI System Partition
- Back up any data from the ESP: The ESP usually contains boot files, not user data, but if you’ve manually stored anything there, copy it elsewhere. Once deleted, it’s gone.
- Open Disk Management: Press Win + X and select “Disk Management”. Alternatively, right-click the Start button and choose it.
- Identify the ESP: Look for a partition labeled “EFI System Partition” or “System” with a FAT32 file system, typically on the same disk as your Windows installation. It may have no drive letter.
- Delete the partition (via DiskPart): Disk Management often won’t let you delete an ESP directly. Use DiskPart instead. Open Command Prompt as administrator, type
diskpart, then: - Select the disk: Type
list disk, thenselect disk X(replace X with the correct disk number). - List partitions: Type
list partitionand note the partition number of the ESP (usually Partition 1 or 2). - Select the ESP: Type
select partition Y(replace Y with the partition number). - Delete the partition: Type
delete partition overrideand press Enter. Theoverrideflag forces deletion of protected system partitions. Confirm with “DiskPart successfully deleted the selected partition.” - Exit DiskPart: Type
exitand close the command prompt.
Important: After deleting the ESP, your PC may not boot if Windows still relies on it. Only delete it if you have a backup boot method (e.g., a Windows installation USB) or you’re repurposing the disk.
Common Mistakes
- Selecting the wrong disk: Double-check with
list diskand the disk size. Many users accidentally wipe their data drive. - Formatting with NTFS instead of FAT32: UEFI firmware only reads FAT32 for the ESP. NTFS will fail to boot.
- Creating an ESP on a GPT disk that already has one: Windows only uses one ESP per disk. If one exists, creating another can confuse the bootloader.
- Deleting the ESP while Windows is running from it: This will cause immediate boot failure on next restart. Always have a recovery plan.
Tips
- Always label your ESP clearly (e.g., “System”) to avoid confusion later.
- Keep the ESP size between 100 MB and 500 MB. 100 MB is enough for a single Windows installation; larger is needed for multiple OSes or custom bootloaders.
- Use
list diskandlist partitionin DiskPart to verify your selection before any destructive command. - If you’re creating an ESP on a new disk, consider using the Windows installation media’s “Repair your computer” > “Command Prompt” to run DiskPart—this avoids issues with locked system partitions.
Troubleshooting
“The specified disk is not convertible” or “The operation is not supported” when creating ESP: This usually means the disk is MBR (Master Boot Record) instead of GPT. UEFI requires GPT. To convert, you must wipe the disk (back up data first) and use clean in DiskPart, then convert gpt. Note: This erases everything on the disk.
After creating the ESP, Windows still doesn’t boot: Run bcdboot C:\Windows /s S: (replace C: with your Windows drive letter and S: with the ESP drive letter) from an elevated command prompt. This rebuilds the boot files.
DiskPart says “Access is denied” when deleting the ESP: Close all programs that might be using the partition, and try again from an elevated command prompt. If it still fails, boot from Windows installation media, open Command Prompt (Shift+F10), and run DiskPart there.
You accidentally deleted the ESP and now your PC won’t boot: Boot from a Windows installation USB, select “Repair your computer” > “Troubleshoot” > “Command Prompt”. Use DiskPart to create a new ESP (as above), then run bcdboot C:\Windows /s S: (adjust drive letters). If that fails, you may need to repair the boot configuration with bootrec /rebuildbcd.
Frequently Asked Questions
Can I delete the EFI System Partition if I have two?
Yes, but only if you’re certain the one you delete isn’t the one Windows uses. Check which disk Windows is installed on (usually the one with the ESP). If you delete the wrong one, Windows won’t boot.
Is the EFI System Partition the same as the System Reserved partition?
No. On UEFI systems, the ESP is FAT32 and holds boot files. The System Reserved partition is used on older BIOS/MBR systems and is NTFS. They serve similar purposes but are different.
Can I create an EFI System Partition using Disk Management?
No, Disk Management doesn’t offer a direct “EFI System Partition” option. You must use DiskPart or a third-party tool. Disk Management can only shrink/create simple volumes, not ESPs.
What happens if I format the ESP with NTFS?
UEFI firmware won’t recognize it as a bootable partition, and your PC will fail to boot with an error like “No bootable device found.” You must reformat it to FAT32.
Can I move the EFI System Partition to another disk?
Yes, but it’s complex. You’d need to create a new ESP on the target disk, copy boot files using bcdboot, and then change the boot order in UEFI firmware. It’s easier to use a disk cloning tool that handles ESPs automatically.
Do I need an EFI System Partition if I use legacy BIOS?
No. Legacy BIOS uses the Master Boot Record (MBR) and a System Reserved partition (or the active partition). The ESP is only for UEFI boot mode.