TestDisk for Mac
Recover lost partitions and repair disks that won’t boot or mount.
by CGSecurity
Free download · macOS · runs in Terminal · Updated
- 925 Ratings
- 4.3
- Price
- Free 100% free
- Category Cleaning
- Developer CGSecurity
- License
- OSS Open Source
- Platform macOS
What TestDisk Does
Find lost partitions
Searches a disk for deleted or lost partitions and restores them.
Repair partition tables
Fixes damaged partition tables that make drives unreadable.
Rebuild boot sectors
Repairs boot sectors so disks can start or mount again.
Undelete files
Recover deleted files from several common file systems.
Terminal interface
A guided text menu walks you through analysis and repair.
Open source
Free software from CGSecurity, together with PhotoRec.
About TestDisk for Mac
TestDisk is a powerful, free and open-source data recovery utility from CGSecurity. It is designed to recover lost partitions and make non-booting disks bootable again — problems often caused by accidental deletion, faulty software or a damaged partition table.
TestDisk analyzes the disk structure, finds partitions that disappeared, and can write a repaired partition table back to the drive. It can also rebuild boot sectors and undelete files on several file systems.
Because TestDisk can change disk structures, read each step carefully and, if possible, back up or clone the affected drive first. For recovering individual photos and documents, its companion tool PhotoRec is often the better choice.
User Reviews
Leave a commentAverage score from people who use TestDisk on their Mac. Tap the stars below to add yours.
What we like about TestDisk
Brings drives back
Editors’ note
Recovers partitions that seem to have vanished overnight.
Pro-level and free
Editors’ note
A tool data-recovery professionals use, at no cost.
Pairs with PhotoRec
Editors’ note
Use PhotoRec for individual files, TestDisk for partitions.
How to Recover a Lost Partition with TestDisk
-
1
Start TestDisk
Open Terminal and run sudo testdisk.
-
2
Select the disk
Choose the drive that lost its partition and confirm the partition table type.
-
3
Analyse
Run Analyse and Quick Search to find lost partitions.
-
4
Write
Check the found partitions and choose Write to restore the partition table, then restart.
How to Download & Install TestDisk on Mac
- Download — tap Free Download to get the TestDisk installer.
- Extract — unpack the downloaded archive, or install via Homebrew with brew install testdisk.
- Open Terminal — go to the extracted folder or use the installed command.
- Run — start TestDisk with sudo testdisk and follow the on-screen menu.
Is TestDisk Safe?
Yes — TestDisk is a safe app for Mac. It is respected open-source software that only writes changes to a disk when you explicitly choose Write; analysis steps are read-only.
We never repack or modify installers. You can verify this page and its download yourself with independent security scanners:
- Open-source from CGSecurity
- Analysis is read-only
- Changes only after you confirm Write
Information
- Developer
- CGSecurity
- Category
- Cleaning & Maintenance
- Price
- Free
- License
- Open Source
- Compatibility
- macOS · runs in Terminal
- User rating
- 4.3 out of 5 (925 ratings)
TestDisk FAQ
Yes. TestDisk is free, open-source software from CGSecurity.
TestDisk repairs partitions and disk structures; PhotoRec recovers individual files by content.
Analysis is read-only. Changes happen only when you choose Write, so review results carefully and back up first if you can.
Yes. See the safety check above for VirusTotal and Google Safe Browsing reports.