How to Merge Non Adjacent Partitions in Windows PC/Server

By Andy, Updated on: May 19, 2022

All disk partitions are allocated when installing Operating System, but sometimes you need to merge two partitions. For example when C drive is running out of space, you can merge C and D drive to transfer free space. In some computers, there's not enough free space in adjacent D drive, some people want to know if it's possible to merge C drive with a nonadjacent partition. The answer is yes, but only third party software can help you, because Windows native tools cannot merge non adjacent partitions.

Can't merge non adjacent partitions with Windows native tools

There's no "Merge Volume" function in all Windows versions. If you want to merge D to C drive, you can achieve with "Extend Volume" function in Disk Management, but you must delete D drive in advance. In addition, D drive must be a Primary partition. Otherwise, Extend Volume option is grayed out. Windows Disk Management (and another diskpart tool) can only merge partition to the left contiguous partition.

If you want to merge non adjacent partitions in Windows 10/11 or Server, no native tool can help you. Because the middle partition must be moved to the left or right, neither diskpart command nor Disk Management has this ability.

How to merge non adjacent partitions in Windows 10/11

It is easy to merge 2 contiguous or combine non adjacent partitions in Windows PC and server. But you'd better back up in advance and run safe partition software, because there's potential system damage and data loss risk with unreliable software.

When merging non contiguous partitions, the start and end position of these partitions will be changed. All files in the middle partition should be moved to new locations, too. Any slight error will lead to partition corruption. Better than other tools, NIUBI Partition Editor has unique 1 Second Rollback, Virtual Mode and Cancel-at-will technologies to protect system and data. If any error is detected when moving and merging partitions, it can revert computer to original status in a flash automatically. Furthermore, it is much faster because of the advanced file-moving algorithm.

To merge non adjacent partitions in Windows 11/10/8/7/Vista/XP, NIUBI Partition Editor has free edition for home computer users. To merge partitions, you just need to click, drag and drop on the disk map.

How to merge non adjacent partitions in Windows 10/11 with NIUBI:

  1. Download the free edition, right click E: and select Delete Volume (remember to transfer files in advance), then its disk space will be changed to Unallocated.
  2. Right click D: and select "Resize/Move Volume", drag the middle of D drive towards right in the pop-up window, then Unallocated space will be moved to the left.
  3. Right click C: and select "Resize/Move Volume" again, drag 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. If you changed your mind, simply click Undo to cancel the pending operations.

Watch the video how to combine non adjacent partitions:

Video guide

To merge non adjacent partitions in Windows Server 2008/2012/2016/2019/2022, the steps are the same, but you need the server edition.

Resize partitions instead of merging them together

It is easy to merge two non adjacent partitions with NIUBI Partition Editor, however, you'll lose a partition. If it isn't an issue, of course you can do like this. But if you don't want to transfer files or delete any partition, you'd better resize partitions instead of merging.

For example: if you want to extend C drive, you may either shrink the adjacent drive D or the non-adjacent partition E to get Unallocated space, and then add Unallocated space to C drive. In this way, everything keeps the same with before except partition size. Watch the video how to do this:

Video guide

Besides merging contiguous and non adjacent partitions, shrinking and extending partitions, NIUBI Partition Editor helps do many other disk partition management operations.