How to Convert MBR to GPT (and GPT to MBR) in Windows 11 and 10

MBR (Master Boot Record) and GPT (GUID Partition Table) are two ways of storing the partition information on a hard drive or SSD. The partition style tells your computer how the disk is laid out and how to start Windows from it.

GPT is the newer of the two, and it’s what Windows 11 expects. If you want the full comparison, I explain the difference between MBR and GPT in my partitions guide.

There are two very different jobs here, and it’s important to pick the right one:

  • Converting the drive Windows is on from MBR to GPT. Microsoft’s free MBR2GPT tool does this without losing data. Your files, programs and Windows all stay where they are.
  • Converting an empty or spare drive either way. Disk Management or Diskpart does this in seconds, but it wipes the drive, so copy anything you need off it first.

I’ll show you both, step by step, in Windows 11 and Windows 10.

The Short Version

Windows drive, MBR to GPT, keeping everything: back up your PC and suspend BitLocker if you use it. Open Command Prompt as administrator and run this:

mbr2gpt /validate /disk:0 /allowFullOS

If it says validation completed successfully, run this:

mbr2gpt /convert /disk:0 /allowFullOS

Then restart, go into your BIOS and change the boot mode to UEFI.

Empty drive, either way: in Disk Management, delete every volume on the disk, then right click the disk and choose Convert to GPT Disk or Convert to MBR Disk.

Which Method Do You Need?

  • The drive with Windows on it, MBR to GPT: use MBR2GPT. Nothing is deleted. This is the one most people need, usually to upgrade to Windows 11.
  • A spare or data drive, either way: use Disk Management. You have to delete everything on the drive first.
  • Disk Management won’t do it: use Diskpart. It also wipes the drive.
  • The drive with Windows on it, GPT to MBR: Windows has no built-in way to do this without wiping the drive. You’ll rarely need to, because only very old PCs can’t start from GPT.

Why Convert MBR to GPT?

Windows 11 needs a PC with UEFI firmware and Secure Boot, and a PC can only start Windows in UEFI mode from a GPT disk. Lots of older Windows 10 PCs were set up with MBR in the old Legacy BIOS mode, which is why the Windows 11 upgrade check says the PC must support Secure Boot.

Windows 10 support ended in October 2025, so converting the drive to GPT is often the last step before you can upgrade. GPT also handles drives bigger than 2 TB. An MBR disk can only use the first 2 TB, however big the drive is.

Not sure how big a terabyte is? See my guide to kilobytes, megabytes, gigabytes and terabytes.

Check Whether a Disk Is MBR or GPT

  1. Right click the Start button and click Disk Management.
  2. Right click the disk label on the left (for example Disk 0) and click Properties.
  3. Click the Volumes tab. Partition style says either Master Boot Record (MBR) or GUID Partition Table (GPT).
The Volumes tab of a disk’s Properties in Disk Management, showing the partition style as GUID Partition Table (GPT).
The Volumes tab shows whether a disk is MBR or GPT.

To see which mode your PC starts in, press Windows key + R, type this and click OK:

msinfo32

In System Information, look at BIOS Mode. UEFI means you’re already using GPT for Windows. Legacy means your Windows drive is MBR.

System Information in Windows showing BIOS Mode as UEFI, which means the Windows drive uses GPT or MBR.
BIOS Mode shows whether your PC starts in UEFI or Legacy mode.

Convert MBR to GPT Without Data Loss Using MBR2GPT

When it comes to the drive Windows is on, you can’t just wipe it and copy everything back. Windows and all your programs have to stay exactly where they are while the disk is converted.

Microsoft provides a free tool that does exactly that, called (aptly) MBR2GPT. It’s already built into Windows 10 and Windows 11, so there’s nothing to download. It adds the EFI system partition that UEFI needs and changes the partition table to GPT, leaving your partitions and files in place.

Before You Start

Converting the Windows drive is much more risky than converting an empty storage drive. If something goes wrong, it can go wrong badly, so take these steps first:

  • Back up. A system image backup lets you put the whole PC back exactly as it was.
  • Check the disk. Run CHKDSK to make sure the disk and its file system are in good order.
  • Check Windows. Run System File Checker to make sure Windows itself has no problems.
  • BitLocker or device encryption: suspend it first. See my guide on how to use BitLocker, and have your recovery key to hand.
  • Check your PC supports UEFI. Almost every PC made since about 2012 does. Look for a Boot Mode, UEFI or CSM setting in the BIOS.
  • Count the partitions. MBR2GPT only works if the disk has no more than three primary partitions and no extended or logical partitions. A normal Windows 10 install has three (System Reserved, C: and Recovery), which is fine.

Microsoft designed MBR2GPT to run from outside Windows, so this is the most reliable way.

  1. Restart your PC into the recovery environment and click Troubleshoot, Advanced options, Command Prompt. If you’re not sure how, see how to access the Windows Recovery Environment.
  2. If it asks, choose your account and enter your password.
  3. Type diskpart and press Enter.
  4. Type list disk and press Enter, and make a note of the number of your Windows disk. If you only have one disk, it’s Disk 0.
Choosing Command Prompt in the Windows Recovery Environment to run MBR2GPT.
In the Windows Recovery Environment, click Command Prompt.
Typing diskpart in Command Prompt in the Windows Recovery Environment.
Type diskpart and press Enter.
The list disk command in Diskpart.
Then type list disk and press Enter.
Diskpart listing the disks, with the disk number of the Windows drive to convert to GPT.
Note the number of the disk that you want to convert to GPT.

Now leave Diskpart and check the disk can be converted:

  1. Type exit and press Enter.
  2. Type this command and press Enter. The number at the end is the disk number, so change the 0 if your disk is different:
mbr2gpt /validate /disk:0
Typing exit to leave Diskpart.
Exit Diskpart.
The mbr2gpt /validate /disk:0 command checking an MBR disk before converting it to GPT.
Validate the disk first, changing the disk number if yours is different.

If it says Validation completed successfully, convert the disk:

mbr2gpt /convert /disk:0
The mbr2gpt /convert /disk:0 command converting an MBR disk to GPT without data loss.
Convert the disk. Again, change the disk number if yours is different.

After a short pause you’ll see Conversion completed successfully.

MBR2GPT showing the disk conversion to GPT completed successfully without data loss.
Done. Now switch your PC’s BIOS to UEFI mode so Windows can start from the GPT disk.

If validation fails instead, nothing has been changed. See the troubleshooting section below.

Using MBR2GPT From Within Windows

You can also run MBR2GPT from inside Windows, without restarting into the recovery environment. You just add /allowFullOS to the end of each command.

  1. Click the Start button and type cmd.
  2. Right click Command Prompt and click Run as administrator, then click Yes.
  3. Type this and press Enter (change the disk number if yours isn’t 0):
mbr2gpt /validate /disk:0 /allowFullOS

If validation is successful, type this and press Enter:

mbr2gpt /convert /disk:0 /allowFullOS
Running mbr2gpt /validate /disk:0 /allowFullOS in an administrator Command Prompt in Windows.
Validate the disk from inside Windows.
Running mbr2gpt /convert /disk:0 /allowFullOS to convert MBR to GPT from inside Windows.
Then convert it.
MBR2GPT conversion completed successfully from inside Windows.
Done. Next, switch your PC’s BIOS to UEFI mode.

If it fails from inside Windows, try the recovery environment method above.

Switch Your PC to UEFI Mode

This step is essential. Your disk is now GPT, but if the PC is still set to Legacy BIOS mode, it won’t find Windows and won’t start.

  1. Restart your PC and press the BIOS key as it starts (usually Delete, F2 or F10).
  2. Find the boot settings. Change Boot Mode to UEFI, or turn off CSM (Compatibility Support Module) or Legacy support. The names vary between makers.
  3. Save and exit. Windows should start normally.
  4. Once Windows is running, you can go back into the BIOS and turn on Secure Boot for Windows 11.

Check it worked by running msinfo32 again. BIOS Mode should now say UEFI.

BitLocker Users

Microsoft says BitLocker’s keys have to be set up again after the conversion. The simplest way at home is to turn BitLocker off once Windows is running in UEFI mode, then turn it back on and save the new recovery key.

Convert GPT and MBR Disks in Disk Management

For a spare or data drive, Disk Management converts MBR and GPT disks exactly the same way, whichever way you want to go. The catch is that the disk has to be empty, so everything on it will be deleted.

To open it, right click the Start button and click Disk Management. If you haven’t used it before, my guide on how to use Disk Management explains what everything means.

Opening Disk Management from the Start button menu in Windows 10.
Windows 10.
Opening Disk Management from the Start button menu in Windows 11.
Windows 11.

Delete the Volumes (Partitions)

Before you can change the disk to MBR or GPT, you need to delete all the partitions on it. Deleting partitions deletes the data stored on them, so make sure you’ve copied off anything you need first.

  1. In Disk Management, right click a partition (volume) on the disk you want to convert.
  2. Click Delete Volume.
  3. A warning says all data on the volume will be erased. Click Yes.
  4. Repeat for every partition on that disk, until the whole disk shows as Unallocated.
Right clicking a volume in Windows Disk Management to delete it.
Right click each partition (volume) on the disk.
Choosing Delete Volume in Windows Disk Management.
Then click Delete Volume.
The warning that all data on the volume will be erased, with the Yes button highlighted.
Click Yes in the warning window.
An unallocated disk in Disk Management, ready to convert to MBR or GPT.
You’ll be left with an unallocated disk.

Make Sure It’s the Right Disk

Check the disk number and size before you delete anything. Your Windows drive is usually Disk 0, and Windows won’t let you delete the partition it’s running from, but it will let you wipe any other drive.

Convert to MBR Disk or Convert to GPT Disk

  1. Right click the disk label on the left (for example Disk 1).
  2. Click Convert to MBR Disk or Convert to GPT Disk, depending on which way you want to go. You’ll only see the option for the style the disk isn’t already.
Right clicking the disk label in Disk Management to open the disk menu.
Right click the disk label to open the menu.
Convert to MBR Disk highlighted on the Disk Management disk menu.
Choose Convert to MBR Disk.
Convert to GPT Disk highlighted on the Disk Management disk menu.
Or Convert to GPT Disk.

The disk is converted straight away and stays Unallocated. To use it again, right click the space and click New Simple Volume, or see how to create a partition if you want more than one.

If Convert to GPT Disk or Convert to MBR Disk is greyed out, there’s still a partition on the disk. Delete it and the option appears.

Convert a Disk Using Diskpart

Sometimes Disk Management won’t convert a disk. If that happens you can use Diskpart, the command line tool built into Windows. Like Disk Management, it deletes everything on the disk.

  1. Click the Start button and type cmd.
  2. Right click Command Prompt and click Run as administrator.
  3. Click Yes in the User Account Control window.
Running Command Prompt as administrator in Windows 10 to use Diskpart.
Windows 10.
Running Command Prompt as administrator in Windows 11 to use Diskpart.
Windows 11.

Select the Disk in Diskpart

Type each command and press Enter after it:

diskpart
list disk

Diskpart lists every disk attached to your computer, with its number and size. There’s an asterisk (*) in the Gpt column next to any disk that’s already GPT.

Now select the disk you want to convert by typing select disk followed by its number. In this example it’s disk 1:

select disk 1
Typing diskpart into an administrator Command Prompt window.
Type diskpart and press Enter.
Typing list disk in Diskpart.
Then type list disk and press Enter.
Diskpart listing the disks with their disk numbers.
Note the number of the disk you want to convert.
Selecting the disk to convert with the select disk command in Diskpart.
Type select disk and the disk number.

Be Sure to Select the Correct Disk

Everything on the selected disk will be deleted, so make absolutely sure you’ve picked the right disk number and that there’s nothing on it you need.

Convert to GPT or MBR

First type clean and press Enter. This deletes all the partitions on the selected disk:

clean

Then type one of these and press Enter. To convert MBR to GPT:

convert gpt

Or to convert GPT to MBR:

convert mbr

Your disk is converted straight away. Type exit to leave Diskpart.

Cleaning the selected disk with the clean command in Diskpart.
Type clean and press Enter.
The convert mbr command converting a GPT disk to MBR in Diskpart.
To change the disk to MBR, type convert mbr.
The convert gpt command converting an MBR disk to GPT in Diskpart.
Or to change the disk to GPT, type convert gpt.

What Do Convert to MBR Disk, GPT Disk and Dynamic Disk Mean?

When you right click a disk in Disk Management, you’ll see a couple of Convert options. Here’s what each one does:

  • Convert to MBR Disk changes an empty GPT disk to the older MBR partition style. Only worth doing for a drive that has to work in a very old computer.
  • Convert to GPT Disk changes an empty MBR disk to GPT. This is the right choice for almost every drive today.
  • Convert to Dynamic Disk is something different. It doesn’t change MBR or GPT. It changes a normal basic disk into a dynamic disk, an old way of joining or mirroring drives.

My advice is to leave Convert to Dynamic Disk alone. Microsoft has deprecated dynamic disks and no longer recommends them. Changing a dynamic disk back to a basic one means deleting everything on it.

Troubleshooting

MBR2GPT: Disk Layout Validation Failed

This usually means the disk has more than three primary partitions, or an extended or logical partition. Some PC makers add an extra recovery or tools partition, which takes it over the limit.

Open Disk Management and count the partitions on your Windows disk. If there are four, the only fix is to remove one, such as an extra data partition you’ve copied off first. If you’re not sure which one is safe to delete, stop and ask for help, because deleting the wrong one can stop Windows starting.

MBR2GPT: Cannot Find OS Partition(s) for Disk 0

MBR2GPT can’t find Windows on the disk you named. Check the disk number with list disk in Diskpart, because with more than one drive, Windows isn’t always on Disk 0. It can also happen on PCs that use a third party boot menu or have more than one operating system installed.

The PC Won’t Start After Converting

Almost always, the BIOS is still in Legacy mode. Go into the BIOS and change Boot Mode to UEFI, or turn off CSM. If you changed the BIOS before converting, change it back to Legacy, start Windows and run MBR2GPT first.

Windows Cannot Be Installed to This Disk

Windows Setup shows this when the disk doesn’t match the way the installer started. You’ll see one of these:

  • The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks. The USB stick started in UEFI mode, but the disk is MBR.
  • The selected disk is of the GPT partition style. The USB stick started in Legacy mode, but the disk is GPT.

Newer Windows 11 installers word the first one slightly differently, saying Windows 11 can’t be installed on the disk because it has an MBR partition table.

If you’re doing a clean install and the disk can be wiped, press Shift + F10 in Windows Setup to open a Command Prompt, then use the Diskpart steps above (select the disk, clean, convert gpt). Type exit twice, then click Refresh in Setup (or go Back and then Next) so it sees the change. For Windows 11, always convert to GPT and start the USB stick in UEFI mode.

The Selected Disk Is Not a Fixed MBR Disk

Diskpart shows this when you use the active command on a GPT disk. GPT disks don’t use an active partition, so the command doesn’t apply. You don’t need to convert the disk. This usually comes up when following old boot repair instructions written for MBR disks.

Common Questions (FAQ)

Q: Can I convert MBR to GPT without losing data?
A: Yes, for the drive Windows is on. Microsoft’s free MBR2GPT tool, built into Windows 10 and 11, converts it without deleting anything. For a spare or data drive, Disk Management and Diskpart both wipe the disk, so copy your files off first and put them back afterwards.

Q: Do I need GPT for Windows 11?
A: Yes. Windows 11 needs UEFI and Secure Boot, and a PC can only start in UEFI mode from a GPT disk. Convert the Windows drive with MBR2GPT, then switch the BIOS to UEFI.

Q: Can I convert GPT to MBR without losing data?
A: Not with anything built into Windows. Disk Management and Diskpart both have to delete everything on the disk. You’ll rarely need to, because only very old PCs can’t use GPT.

Q: What is the difference between MBR and GPT?
A: Both store a disk’s partition information. MBR is the older style. It only uses the first 2 TB of a disk and allows four primary partitions. GPT is newer, works with much larger disks, allows up to 128 partitions in Windows and is needed for UEFI and Windows 11.

Q: How do I check if my disk is MBR or GPT?
A: In Disk Management, right click the disk label, click Properties and open the Volumes tab. Partition style says MBR or GPT. In Diskpart, list disk shows an asterisk in the Gpt column for GPT disks.

Q: Why is Convert to GPT Disk greyed out?
A: Disk Management can only convert an empty disk. Delete every volume on it first, after copying off anything you need. For the drive Windows is on, use MBR2GPT instead.

Q: What does Convert to Dynamic Disk do?
A: It changes a basic disk into a dynamic disk, an old way of spanning or mirroring drives. It doesn’t change MBR or GPT. Microsoft has deprecated dynamic disks, so it’s best not to use it.

Q: What should I do after converting MBR to GPT?
A: Restart, go into your BIOS and change the boot mode to UEFI, or turn off CSM or Legacy support. Then you can turn on Secure Boot. If you use BitLocker, turn it off and back on again to set up new keys.

Q: Is MBR2GPT safe?
A: It’s Microsoft’s own tool and it checks the disk before changing anything. If validation fails, nothing is changed. It’s still a big change to the drive Windows is on, so always back up first.

Q: Does it matter which partition style I use for a USB or external drive?
A: Not much. GPT is the better choice for drives over 2 TB. MBR is fine for smaller drives you want to use in older computers or other devices.

Summary

To convert the drive Windows is on from MBR to GPT, use MBR2GPT. It keeps all your files and programs, and once you’ve switched the BIOS to UEFI, your PC is ready for Windows 11.

To convert a spare or data drive either way, use Disk Management or Diskpart, but remember that both delete everything on the disk. Whichever you do, make a proper, up to date backup first.

How to Partition a Hard Disk in Windows
Add a partition to your drive once it’s converted.

New Hard Drive Not Showing Up? How to Fix It
Added a new hard drive or SSD and it isn’t in File Explorer? Here’s why.

What Are Hard Drive Partitions?
Primary, logical and extended partitions, and how MBR and GPT fit in.

Disk Management window showing a disk with a C: partition and a second disk with unallocated space

Format drives, change drive letters and resize partitions with the tool built into Windows

You can find this and other related step by step guides in – At Home PC Tech Guides

Written by Jeff Porter. I’ve been fixing Windows PCs since 2010 and I’m CompTIA Network+ certified. More about me

Scroll to Top