Skip to main content
hard-driveINFO

How to Recover a Deleted or Lost Partition (2026 Guide)

A partition that vanished — deleted, showing as unallocated or RAW — usually still holds your data. Learn why, the one rule that protects it, and how to recover a lost partition with recovery software, TestDisk, or a lab.

By Eric Gerard · Editor · Save My Disk7 min readPhoto via Unsplash

Your partition was there yesterday — a whole drive letter full of files — and now it's gone. Maybe Disk Management shows the space as unallocated, maybe the volume reads as RAW, or maybe you deleted the wrong partition during a setup. Before you assume the data is lost, here's the reassuring reality: a deleted or lost partition almost always still holds its files. This guide explains why, the single rule that protects them, and the concrete ways to get the partition back.

Quick answer

A deleted or lost partition is usually recoverable because deleting it only removes its entry from the partition table; the files themselves stay on the disk until something overwrites them. The most important thing you can do is stop writing to the disk immediately — no formatting, no new partitions, no installs. Then recover with partition-recovery software or the free tool TestDisk, copying files to a different drive. If the disk is physically failing (clicking, not spinning), send it to a professional lab instead.

What actually happens when a partition is deleted or lost

A disk has a small structure — the partition table (MBR or GPT) — that records where each partition starts, where it ends, and which file system it uses. Think of it as the table of contents for the disk.

When a partition is deleted or its entry is damaged, that table of contents loses the pointer to the partition. The operating system, looking only at the table, concludes there's nothing usable there and reports the space as unallocated or fails to mount it. But the actual file data — the bytes that make up your documents, photos and videos — are still sitting in the same physical sectors. They aren't wiped; the map to them is simply missing.

This is why recovery is possible: software can scan the raw disk surface for the recognisable signatures of a file system and the files inside it, and reconstruct the lost partition or read its contents directly.

The one rule that matters most

Because the data remains only until it's overwritten, the golden rule is simple:

Stop writing to the affected disk the moment you notice the partition is gone.

That means no formatting, no creating a "new simple volume" over the unallocated space, no running a repair that reformats, no installing recovery software onto that disk, and no saving recovered files back to it. Every write risks landing on the very sectors you want back. If the lost partition is on your system drive, the safest move is to power down and recover the disk from another computer or a bootable environment.

The read/write head arm resting on the silver platter of an opened hard drive
The read/write head arm resting on the silver platter of an opened hard drive

Common causes of a deleted or lost partition

Partitions disappear for a handful of recurring reasons:

  • Accidental deletion — choosing the wrong partition in Disk Management, diskpart, or an installer's partition step.
  • A corrupted partition table — a bad shutdown, power loss, or a buggy tool can damage the MBR/GPT so the table no longer lists the partition.
  • A failed disk conversion or resize — converting MBR↔GPT, or resizing/merging partitions, can leave the table inconsistent if it's interrupted.
  • The volume showing as RAW — the file system header is damaged, so the OS can't read it and may ask you to format. The partition is "there" but unreadable.
  • A damaged MBR or GPT — boot-sector corruption can make an entire disk look empty even though its partitions are intact underneath.

Knowing the cause helps, but the response is the same: stop writing, then recover.

How to recover a lost partition

There are three main routes, from easiest to most involved.

1. Partition-recovery software

The most accessible option is dedicated recovery software that includes a lost-partition scan. The principle is consistent across reputable tools: the software opens the disk read-only, runs a deep scan of the raw sectors to find the boundaries and file system of the missing partition, lists what it finds, and lets you either restore the partition entry or copy the files out to another drive. Because it doesn't write to the source disk during scanning, it's the lowest-risk first attempt.

Editorial pick
4.5 / 5

Scan for a lost or deleted partition → EaseUS Data Recovery

Deep scan finds RAW, deleted and unallocated partitions · Preview files before you recover · Windows & Mac

Founded in 200430-day guaranteeFree 2 GB version
See the offer

2. TestDisk (free, open-source) to rebuild the partition table

TestDisk is a long-standing, free, open-source utility built specifically to recover lost partitions and rebuild damaged partition tables. It's powerful but text-based, so use it deliberately. The general flow is:

  1. Select the disk (not a single partition) and confirm the partition table type it suggests (usually Intel/PC for MBR or EFI GPT).
  2. Choose Analyse to read the current table, then Quick Search to scan for lost partitions.
  3. Review the partitions it finds. If your missing partition appears, you can mark it and, if needed, run a Deeper Search for anything Quick Search missed.
  4. When you're confident the detected layout is correct, Write the partition table back to the disk.

Writing the table is the step that changes the disk, so only do it once the found partitions match what you expect. If you're unsure, use TestDisk's companion approach of copying files off first, or recover with read-only software instead. TestDisk is genuinely capable, but it rewards a careful, unhurried hand.

3. When to hand it to a lab

Software can only help if the disk is mechanically healthy. If the drive clicks, beeps, or won't spin up, or it was dropped or water-damaged, stop — repeated power-ons risk the data. A physically failing disk is a job for a professional data-recovery lab, which can work on the drive in a controlled environment. Our hard drive failure guide covers the warning signs in detail.

Practical step-by-step

  1. Stop using the disk the moment you notice the partition is missing. If it's your system disk, shut down.
  2. Confirm the symptom in Disk Management (Windows) or Disk Utility (macOS): is the space unallocated, RAW, or simply missing a drive letter?
  3. Do not format or create a new volume over the space.
  4. Connect a second drive with enough room to receive the recovered files.
  5. Run partition-recovery software (installed on a different disk) and start a deep/lost-partition scan, or use TestDisk.
  6. Recover to the second drive — never back onto the affected disk.
  7. Verify the recovered files open, then and only then reformat or rebuild the original disk if you want to reuse it.

Symptom → cause → action

SymptomLikely causeWhat to do
Partition gone, space shows unallocatedDeleted partition / lost table entryDon't create a new volume; run lost-partition scan or TestDisk
Volume shows as RAW, asks to formatDamaged file-system headerCancel the format prompt; recover files first, format later
Whole disk looks empty but was fullCorrupted MBR/GPTUse TestDisk to analyse and rebuild the partition table
Partition vanished after resize/convertInterrupted MBR↔GPT or resizeDon't retry the operation; recover, then redo cleanly
Disk clicks / won't spinPhysical failureStop powering it; consult a recovery lab

Preventing the next one

A lost partition is far less stressful when the data also lives somewhere else:

  • Keep backups. A current backup on a separate drive or in the cloud turns a deleted partition into an inconvenience rather than a loss.
  • Don't format in a panic. When Windows says "you need to format the disk", that's exactly the moment not to — cancel and recover first.
  • Image before risky operations. Before resizing, converting MBR↔GPT, or repartitioning, take a full disk image so a failed operation is reversible.
  • Double-check which disk you're working on. Most accidental deletions come from acting on the wrong drive in an installer or diskpart.

If you also need to recover individual files after a format rather than a whole partition, see our guide on recovering files after a format.

The bottom line

A deleted or lost partition is usually recoverable because only the partition table's pointer is gone — the files remain until they're overwritten. So the instant you notice, stop writing to the disk: no formatting, no new partitions, no installs onto it. Then recover with partition-recovery software or the free, open-source TestDisk, always copying files to a separate drive. And if the disk is physically failing, skip the software and go straight to a professional lab, because every power-on is a risk.

Editorial pick
4.5 / 5

Recover the data from your hard drive → EaseUS

Free scan · deleted, formatted & lost files · Windows & Mac

Founded in 200430-day guaranteeFree 2 GB version
See the offer

Frequently asked questions

Can I recover a deleted partition?

Usually yes, as long as you act before new data overwrites the space. Deleting a partition removes its entry from the partition table — the map that tells the operating system where the partition begins and ends — but it does not immediately erase the files inside it. They sit on the disk untouched until something writes over them. Partition-recovery software and tools like TestDisk scan the raw disk for the signatures of the lost partition and can rebuild the table so the partition reappears. The earlier you try, and the less you write to the disk in the meantime, the better the odds.

Will I lose data while recovering a partition?

Recovery itself shouldn't cost you data if you use the right approach. Reputable partition-recovery software reads the disk and lets you copy files to a different drive without writing to the affected one. The real risk is what you do around the recovery: formatting the disk, creating a new partition over the old space, running a 'repair' that reformats, or saving recovered files back onto the same disk. Each of those can overwrite the data you are trying to get back. Recover first, to a separate drive, and only reformat once everything is safely copied.

Is TestDisk safe for partition recovery?

TestDisk is a free, open-source tool that is widely used and well regarded for rebuilding partition tables and recovering lost partitions. It is safe in the sense that its core workflow analyses the disk and, in many cases, recovers partitions without destroying data. That said, it is a powerful, text-based utility that writes changes to the partition table when you confirm them, so it should be used carefully: read each screen, and when in doubt, recover files to another drive first rather than writing a new table to a disk that matters.

What if the partition shows as unallocated in Disk Management?

'Unallocated' means Windows no longer sees a usable partition in that space — the partition entry is gone, even though the data may still be on the disk. Do not right-click and create a new simple volume there, and do not format it: that would write a fresh, empty file system over your data. Instead, stop using the disk and run partition-recovery software or TestDisk to detect the lost partition and restore it, or copy the files off to another drive. If the disk is also clicking or failing physically, treat it as a hardware case for a lab.