How to Merge Partitions

by James, Updated on: February 20, 2020

This article introduces how to merge/combine disk partitions without losing data on Windows PC and Server.

Applies to: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2019, Windows Server 2016, Windows Server 2012 (R2), Small Business Server 2011, Windows Server 2008 (R2) and Windows Server 2003 (R2).

All hard drive partitions are allocated while installing Operating System or by OEM manufacturers, is it possible to merge 2 partitions without destroying files? The answer is yes. Windows native Disk Management has no Merge Volume function, but you can merge drive D to C, or combine E to D directly. If you want to merge partition D to E or combine E to C drive, you have to use third party software. In this article, I'll show you detailed steps to merge partitions with both Disk Management and 3rd-party partition editor software.

How to merge partitions without any software:

  1. Back up or transfer all files in drive D to other place.
  2. Press Windows and R together on your keyboard, type diskmgmt.msc and press Enter to open Disk Management.
  3. Right click D: drive and select Delete Volume, then its disk space will be changed to Unallocated.
  4. Right click C: drive and select Extend Volume.
  5. Click Next in the pop-up Extend Volume Wizard window.
  6. The available disk space has been selected by default, simply click Next to continue.
  7. Confirm this operation and click Finish to proceed.

There's another Windows native tool - Diskpart, which works via command prompt. The same with Disk Management, you must delete the right contiguous partition firstly.

Extend Volume Wizard

Extend Volume function can only merge Unallocated space to the left contiguous partition, so as I said above, Disk Management can only help you merge partition D to C or combine partition E to D. Other limitations including:

How to combine volumes with free partition software:

  1. Download and install NIUBI Partition Editor, right click either partition that you want to combine and select Merge Volume.
    Merge volume
  2. In the pop-up window, click the check-boxes of both drives, and then click OK.
    Combine C and D
  3. Press Apply button on top left to execute,done.
    C and D combined

How to merge partitions on Windows Server 2008/2012/2016/2019:

Video guide

Advantages to merge volumes with NIUBI Partition Editor:

How to merge non adjacent disk partitions

Neither Windows Disk Management nor Diskpart command can merge 2 non-adjacent partitions, to do this, disk partition software is required. Follow the steps below:

  1. Run NIUBI Partition Editor, right click drive E and select Delete Volume (Remember to back up or transfer files first), then its disk space will be changed to Unallocated.
  2. Right click drive D and select Resize/Move Volume, drag the middle position towards right in the pop-up window, then Unallocated space will be moved to the left side of D.
  3. Right click C drive and select Resize/Move Volume again. Drag the right border towards right in the pop-up window, then Unallocated space will be merged into C drive.
  4. Click Apply on top left to take effect.

Video guide

After merging 2 partitions, 1 of them will be removed, so if you want to extend C drive, you'd better shrink D or E instead of merging. Then Operating System, programs and anything else keep the same with before.

There's potential data loss risk no matter you shrink or merge partitions, so you'd better back up first and run safe partitioning software. Better than other tools, NIUBI Partition Editor has advanced Virtual Mode, 1-Second Rollback and Cancel-at-well technologies to protect system and data.