Removing partitions from a USB drive restores it to a single usable space
A USB drive with multiple partitions behaves like it has been divided into separate storage areas. Your computer may see only one partition, or it may show two or more sections that don't add up to the drive's total capacity. Removing these partitions consolidates the space back into one contiguous block, which is what most people expect when they plug in a drive.
The process differs slightly depending on whether you use Windows, Mac, or Linux, but the core idea is the same: you erase the partition table and write a new one that treats the entire drive as a single unit. This erases all data on the drive, so back up anything you need before starting.
Key Takeaways
- Partitions divide a USB drive into separate sections; removing them consolidates the space into one usable area.
- Windows users can use Disk Management or the command line tool DiskPart to remove partitions and create a single new one.
- Mac users can use Disk Utility to erase the drive and reformat it with a single partition.
- Linux users can use GParted or command-line tools like fdisk or parted to delete partitions and rebuild the partition table.
- All methods erase the drive completely, so save any files you need before you begin.
Windows: Using Disk Management
Open Disk Management by right-clicking the Start button and selecting "Disk Management," or by typing "diskmgmt.msc" into the Run dialog. Locate your USB drive in the list — it will show the partitions as separate blocks, often labeled with drive letters like D: or E:.
Right-click each partition and select "Delete Volume." Confirm the warning. Repeat until all partitions on the drive are gone. You should see the entire drive listed as unallocated space. Right-click the unallocated space and select "New straightforward Volume." Follow the wizard: accept the default size (which will be the entire drive), assign a drive letter, and choose a file system — NTFS is standard for Windows, though FAT32 works on older systems and exFAT is compatible with both Windows and Mac.
The wizard will format the drive and create a single new partition. When it finishes, your USB drive will appear as one unified storage device.
Windows: Using DiskPart (Command Line)
Open Command Prompt as Administrator by typing "cmd" into the search box, right-clicking "Command Prompt," and selecting "Run as administrator." Type the following commands in order, pressing Enter after each:
- diskpart — starts the disk partition tool
- list disk — shows all connected drives; identify your USB drive by its size
- select disk X — replace X with the disk number of your USB drive (for example, "select disk 2")
- clean — erases the partition table and all data
- create partition primary — creates a single new partition using the entire drive
- format fs=ntfs quick — formats the partition as NTFS (or use "fs=fat32" or "fs=exfat" for other file systems)
- assign — assigns a drive letter
- exit — closes DiskPart
The drive is now ready to use as a single partition. Be extremely careful with the "select disk" command — choosing the wrong disk number will erase the wrong drive.
Mac: Using Disk Utility
Plug in the USB drive and open Disk Utility, found in Applications > Utilities. Select the USB drive from the list on the left — click the drive name itself, not the partitions listed below it. Click the "Erase" button at the top.
A dialog will appear asking for a name and format. Enter a name for the drive (anything you want), select the format (APFS for newer Macs, Mac OS Extended for older ones, or ExFAT if you plan to use it on Windows too), and click "Erase." Disk Utility will remove all partitions and create a single new one formatted with your chosen file system.
If the Erase button is grayed out, the drive may be locked or mounted in a way that prevents changes. Try right-clicking the drive and selecting "Unmount," then try Erase again.
Linux: Using GParted (Graphical)
Install GParted if you don't have it — on Ubuntu or Debian, open a terminal and type sudo apt install gparted. Launch GParted and select your USB drive from the dropdown menu at the top right. The current partitions will display as colored blocks.
Right-click each partition and select "Delete." Confirm each deletion. Once all partitions are removed, right-click the unallocated space and select "New." Accept the defaults (the partition will use the entire drive) and choose a file system — ext4 is standard for Linux, but FAT32 or exFAT will work on other systems too. Click "Add," then click the green checkmark button to explore changes. GParted will write the new partition table and format the drive.
Linux: Using Command Line (fdisk or parted)
Open a terminal and type sudo fdisk -l to list all drives and identify your USB drive by size and device name (usually /dev/sdb or /dev/sdc). Type sudo fdisk /dev/sdX, replacing X with your drive's letter. Type d to delete a partition, then enter the partition number. Repeat until all partitions are deleted. Type n to create a new primary partition, accept all defaults, then type w to write the changes and exit.
After fdisk finishes, format the new partition by typing sudo mkfs.ext4 /dev/sdX1 (or mkfs.vfat for FAT32, mkfs.exfat for exFAT). The drive is now a single partition ready to use.
What to do if the drive won't format
Some USB drives have a write-protection switch on the side — check for a small sliding tab and make sure it is in the unlocked position. If there is no switch but the drive still won't format, it may have firmware-level protection. Try connecting it to a different USB port or computer; sometimes a port issue prevents the system from recognizing the drive as writable.
If the drive still resists formatting after trying multiple ports and computers, the drive itself may be failing. Attempting to recover a failing drive is usually not worth the time — USB drives are inexpensive to replace.
Frequently Asked Questions
Will removing partitions erase my files?
Yes. Any data on the drive will be lost when you remove partitions. Back up anything you need before you start. Once the process is complete, the data is not easily recovered, so do not proceed unless you are certain the drive contains nothing you need.
Can I remove just one partition and keep the others?
Yes, but only if you do not need the space from the deleted partition. Use Disk Management (Windows) or Disk Utility (Mac) to delete a single partition without touching the others. The space will remain unallocated unless you create a new partition in that space. If you want to merge all partitions into one, you must delete all of them and create a single new one.
What file system should I choose?
NTFS works on Windows and can be read on Mac and Linux. FAT32 works on all systems but has a 4 GB file size limit. exFAT works on Windows and Mac and has no file size limit. If you only use the drive on one type of computer, choose that system's native format (NTFS for Windows, APFS or Mac OS Extended for Mac, ext4 for Linux).
Why does my USB drive show less space after removing partitions?
The drive's advertised capacity is often larger than the actual usable space — a 32 GB drive might hold only 29 or 30 GB after formatting. This is normal and not a sign that something went wrong. If the usable space is significantly smaller than expected, the drive may have a hardware defect.
Can I undo partition removal?
Not easily. Once you delete a partition and write a new partition table, recovery requires specialized data recovery software and is not may provide to work. Treat partition removal as permanent and back up your files first.
