How to Recover Files from a Formatted Hard Drive: Mac and Windows

Written by
Approved by

Recover files from formatted hard drive

Formatting a hard drive provides you with a clean slate. It can be a part of the regular upkeep of your hard drive, a way to clear out files that are no longer in use, and in some cases—a Hail Mary to deal with logical corruption. But, many users find themselves in a situation where they formatted the wrong partition or drive, or realize later on that they need some of the files that were lost during the format process.

Fortunately, it’s possible to recover data even after formatting your hard drive. In the sections below, we’ll take a look at the situations in which data recovery from a formatted hard drive is possible and how to go about it.

Can I Recover Data from a Formatted Drive?

Before taking a look at the factors affecting data recovery from a formatted drive, it’s vital to understand what happens during formatting.

Formatting is of two types—low-level formatting and high-level formatting. As an end-user, you can only perform high-level formatting, since low-level formatting is already done from the factory. During a high-level format, all files are cleared from the disk and a file system is created on the drive, which facilitates the storage and management of files on the disk.

High-level formatting can be further subdivided into quick formatting and full formatting:

  • A quick format, is well, quick. It does not look for bad sectors on the disk, and only deletes the record of the files on the disk. That is, the files are technically still there on the disk, only the OS is no longer aware of their existence. Consequently, the space they occupy can be used by new files which overwrite these older files.
  • On the other hand, a full format is more extensive and takes much more time to complete. In it, all data blocks on the drive are overwritten with zeroes, and the OS also looks for bad sectors in the process.

recovery cahnces flowchart
The extent and chances of data recovery will depend on two primary factors—the type of format performed, and whether new data was written to the drive after formatting.

It’s possible to recover all your data after a quick format, but impossible to recover any of it after a full format.

Note: To maximize data recovery chances, avoid writing new files to the formatted drive and only use a trustworthy data recovery program to scan the formatted disk.

How to Recover a Formatted Drive on Windows or Mac

The most important thing you can do to increase the probability of a successful recovery is to stop using the device immediately. When you format a disk, the operating system removes logical access to the data, but it is still physically present on the device until it is overwritten with new information.

Method 1: Use Professional Data Recovery Software

Disk Drill data recovery software is a reliable and user-friendly solution that can recover data from a formatted drive or partition. Windows users can recover up to 500 MB for free with the tool, and all trial versions of this commercial data recovery solution let you preview the data that can be recovered.

We will look at the procedures for the Windows and Mac versions of the tool separately, as they have some slight differences. In both cases, do not use the formatted disk for the download or installation of the application. Restore the data to a different device to prevent accidentally overwriting the data you wish to recover.

Windows systems:

  1. Download and install Disk Drill for Windows.install disk drill on pc
  2. Connect the formatted external hard drive.
  3. Launch the program and select the disk or partition from the app’s display. Click the Search for lost data button to initiate the scanning the formatted drive
  4. Preview the found files and select the ones that you want to files found on drive
  5. Click the Recover button and select a new location for the restored files. As mentioned, do not use the original disk to save the recovered data.recover files from formatted hard drive

MacOS systems:

  1. Download and install Disk Drill for Mac.
  2. Connect the accidentally formatted external hard drive if necessary.
  3. Start the application and choose the disk or partition from the app’s list. Click the Search for lost data button to scan for deleted mac hard drive from list
  4. Preview the found files and make your selections for recovery.preview files in disk drill
  5. Click the Recover button to perform the recovery. Select a new storage location on a different drive. Then click Next.recover files from mac hard drive

Method 2: Use Freeware Solutions

TestDisk and PhotoRec are companion freeware products that may be helpful in recovering from a formatted drive or partition. TestDisk is used to recover partitions and will not get back the files that were stored there. PhotoRec handles that part of the equation.

To recover files with PhotoRec follow these steps:

  1. Download and install the PhotoRec. Don’t use the formatted drive.
  2. Extract the downloaded file archive.
  3. Launch the application by clicking on photorec_win.exe.
  4. Select the storage device you wish to scan using the arrow keys. Press Enter on your keyboard to proceed.
  5. Select the partition you wish to scan using the arrow keys. Press Enter to scan it.
  6. Select the right file system and press Enter. In most cases, PhotoRec will automatically suggest the correct option.
  7. Choose whether you want to scan only unallocated space or the whole partition.
  8. Select a destination to save the recovered files to. Press C on your keyboard when you’re done.

Photorec files recovery

These freeware tools support many operating systems and filesystems and may be worth a try if you are determined to use a free solution. They are much less intuitive to use than Disk Drill and should be used with caution if important data is in play.

Method 3: Restore Data from Backup

The only reliable way to recover files from a formatted drive is with the use of a backup that was made before you performed the operation. An accidentally formatted drive presents a prime example of why you need to take backups of your system frequently.

Both macOS and Windows provide free backup and restore tools that you should be using regularly to protect your valuable data. Here’s how to recover files after formatting a hard drive with a backup.

macOS systems

Mac users can use the built-in Time Machine backup and recovery application to protect their data with backups. Perform the following steps if you need to use the backup storage media to restore files from a formatted drive.

  1. Connect the storage media containing the Time Machine backups to your Mac.
  2. Open a Finder window in the folder where the files you need were last stored.
  3. Open Time Machine by clicking the clock icon on the menu bar.
  4. Use Time Machine’s on-screen navigation to find the files you want to recover.Time machine backup
  5. Press the Space Bar to preview the file.
  6. Select the files you want to recover.
  7. Click Restore to recover the item.

Windows systems

Windows has different backup and restore programs based on the version of the OS you have installed on your computer. Here are the steps to use when recovering from a backup on Windows systems.

Windows 10

  1. Open File Explorer and then open the folder containing the items you want to restore.
  2. Click the Home tab on the ribbon at the top of the folder.
  3. Click the History button which starts the File History program.Opening File History.
  4. Choose the items you want to restore. You can select folders, individual files, or multiple files.
  5. File history on Windows 10Use the navigation pane to locate the version of the data you want to recover.
  6. Click the Restore button.
  7. Select how you want to handle naming conflicts.
  8. Close the window when you are finished recovering your files.

Earlier Windows versions

  1. Open the Start menu and type backup in the search box.
  2. Select Backup and Restore.
  3. Click the Restore my files button.
  4. Locate the files you want to recover in the Restore Files dialog box.Backup and restore feature on Windows
  5. Select the location where the files will be restored. Do not use the original disk or partition to protect against file corruption.
  6. Choose what to do with duplicates files.
  7. Click the link to open the folder to View Restored files.
  8. Click Finish to close the dialog box.


Data lost due to formatting can often be retrieved, but there is one major prerequisite—the format should have been a quick format (not a full format). If this is satisfied, you can recover most, if not all of your data using an effective and trustworthy data recovery tool like Disk Drill. If you’re willing to compromise on user experience, there are some free data recovery tools as well—TestDisk, and PhotoRec.

Despite their effectiveness, data recovery programs are no substitutes for frequently backing up all your important data. Additionally, if your data is too valuable, there’s physical damage involved, or the drive is undetectable, it’s better to contact a professional data recovery service instead of using DIY methods.


You don’t need to install a software application to recover deleted files, but you won’t be able to recover permanently deleted files that are no longer in Recycle bin if you don't have a backup. To recover deleted files without software:
  1. Double-Click the Recycle bin icon on Desktop.
  2. Locate your files.
  3. Select the files you want to recover.
  4. Right Click and select "Restore".
PhotoRec has powerful file recovery capabilities and support of a wide range of platforms. Whether it’s a digital camera or a traditional hard drive, PhotoRec has you covered as long as you’re able to figure out how to use it. Other good tool is Recuva though it supports far less file formats it has much friendlier user interface making data recovery process more straightforward. It's also worth mentioning that Professional Data recovery software sometimes come with free trial options, for example - Disk Drill for Windows allows you to recover up to 500MB for free.
In most cases, it is possible to recover data from a formatted hard disk. When a hard disk is formatted, the file system on the disk is erased, but the data on the disk is not immediately erased. Instead, the space on the disk that was occupied by the deleted data is marked as being available for writing new data. This means that the data is still present on the disk until it is overwritten by new data. The success of the recovery process depends on several factors, such as how much the hard disk has been used since it was formatted, and the condition of the hard disk.
Formatting a drive can be done for a variety of reasons. Here are some of the most common ones.
  • Erasing all data on the drive before selling it or using it for another purpose. For instance, you may have been using a disk for storing a backup of your images and now need to use it to hold large multi-media files.
  • Preparing for a new file system. You may want to format a drive or partition to change the underlying filesystem on your computer.
  • Getting a disk ready for a new operating system installation. If you were using a disk with a macOS system, you will need to format it before using it with your Windows machine.
  • Repairing a corrupted drive may require you to format the device.
Manuviraj Godara is a professional content writer with over 4 years of experience under his belt. His ever-growing fascination and experience with technology drives him to create content related to data recovery and consumer technology.
Approved by
12 years experience in software development, database administration, and hardware repair.
This field is required
This field is required
We respect your privacy; your email address will not be published.

We respect your privacy; your email address will not be published.

You have entered an incorrect email address!
This field is required