Boost Your Recovery Odds (Disable TRIM on Mac)
You can disable TRIM using a Terminal command. Keep in mind, this step does not guarantee recovery—it only increases your chances of retrieving files before they’re permanently gone. With TRIM disabled, you can safely try data recovery software. If you act quickly, your files may still be recoverable.
Here’s how to turn off TRIM on your Mac:
Press Command (⌘) + Spacebar to open Spotlight. Type Terminal and hit Enter.
-
In Terminal run the disable command:
sudo trimforce disable -
You’ll see a warning about potential effects on SSD performance. Type Y to confirm and hit Enter again. This command temporarily stops TRIM, which helps protect any recoverable data.
-
With TRIM disabled, you’re set to run recovery software and scan for any files that might still be on the SSD.
Note. TRIM keeps your SSD fast and efficient over time, so we recommend to re-enable it once recovery is done. To do that run the “sudo trimforce enable” command in Terminal.
How to Recover Deleted Files from SSD with Data Recovery Software
With TRIM temporarily disabled, you can now attempt to recover deleted files using data recovery software. Over the years, we’ve tested and reviewed many Mac recovery tools. Some of the best include Disk Drill, R-Studio, and PhotoRec. Each has its advantages, and you can explore even more options in our list of the Best Data Recovery Software for Mac.
For this guide, we’ll focus on Disk Drill, which has become our go-to recovery tool for Mac—and here’s why:
-
Disk Drill offers a simple, intuitive design that’s easy to navigate, even if you’re new to data recovery.
-
Disk Drill combines multiple recovery methods into a single scan. It starts with a Quick Scan (which finds recently deleted files by scanning the file directory—ideal for recent deletions), then moves to Deep Scan (which scans the entire drive to find files deleted for longer periods; it can rebuild them piece-by-piece without relying on directory info), and finally uses a Signature Scan (which identifies files by their unique file signatures, such as .jpg or .docx, to recover them even if the directory and metadata are gone).
-
Disk Drill lets you preview recoverable files before you restore them.
-
Supports a wide range of file types, everything from documents to photos and system files.
-
It works flawlessly with macOS Sequoia, and unlike many competitors, it receives regular updates to stay compatible with the latest macOS releases. As soon as Sequoia rolled out, Disk Drill added a feature that allows users to create an emergency bootable installation drive specifically for macOS Sequoia. This kind of timely update shows that Disk Drill is consistently ready for the newest Mac software.
-
Byte-by-Byte Backup. In cases where we suspected the SSD was in rough shape, we found this option invaluable. An extensive scan can sometimes put added strain on a failing drive, and Disk Drill’s Byte-by-Byte Backup lets you create a full image of the SSD before the scan. This image allows recovery without directly working on the SSD.
Disk Drill has some great features, but let’s get back to business. Here’s how to use Disk Drill to recover deleted data from your SSD on a Mac:
-
Go to the official Disk Drill website, download the Mac version, and drag the icon to your Applications folder.
-
Open it from Applications or through Spotlight (press Command (⌘) + Spacebar, type “Disk Drill,” and hit Enter).
-
Disk Drill may prompt you to grant permissions for storage access. Follow the instructions to allow this so Disk Drill can fully scan your SSD.
-
Choose your SSD from Disk Drill’s list of drives to start the recovery process.
-
Click on Search for lost data. Disk Drill will automatically run Quick, Deep, and Signature Scans in sequence to maximize your chances of finding lost files.
-
Disk Drill keeps you in the loop with a progress percentage, and you don’t have to wait for the entire scan to finish before you check what’s been found. As it scans, you can click on Review found items at the top to see files that have already been identified.
-
You’ll see a thumbnail preview on the right for each file, along with an eye icon near each filename that you can click to preview the file’s contents. This way, you can confirm it’s the file you need before recovery.
-
You’ll also notice a Recovery chances column, which rates each file as High, Average, or Low. This column helps you identify files with the best chances of full recovery.
-
You can wait until the scan completes or, if you’ve already spotted the deleted files you need, click the Recover button at the bottom to restore them immediately. Just keep in mind that with Disk Drill’s Basic (free) version, you can only scan and preview files. To actually recover them, you’ll need to upgrade to the PRO version.
We recommend saving these files to a different drive or external storage to avoid overwriting data on your SSD and re-enable TRIM (if you disabled it earlier) to keep your SSD optimized.
Note. By the way, to avoid the need to look for deleted files later on, Disk Drill has a Data Protection feature that helps keep your files safe from accidental deletions. This feature includes Recovery Vault and Guaranteed Recovery, two options that work as extra backups for your files.
-
Recovery Vault invisibly tracks deleted files and keeps key file details in place. So, if you accidentally delete something, you can recover it with all the original info intact.
-
Guaranteed Recovery automatically saves a copy of deleted files to a designated location—even if you empty the Trash. This means you can get those files back fast without the need for a full recovery scan.
How to Recover Deleted Files from Mac SSD with Backups
We know that most people with backups probably wouldn’t search for ways to recover deleted files, but still, backups can sometimes get overlooked, or the recovery process might seem unclear. Apple provides a few built-in backup features that make it easier to recover deleted files without needing extra software. We’ll cover three options: Time Machine, APFS Snapshots, and iCloud.
| Backup Option | Key Features |
|---|---|
| Time Machine | – Automatic, incremental backups to an external drive – Easy restoration of individual files or entire system – Allows browsing through past versions of files – Requires an external storage device for backups |
| APFS Snapshots | – Automatically created during macOS updates or manually through Time Machine – Allows access to time-based restore points – Can be viewed and restored via Disk Utility – No external drive required; uses local storage |
| iCloud | – Syncs files across all Apple devices – Recently Deleted folder stores deleted files for 30 days – Easy recovery via iCloud Drive or iCloud website – Accessible from any device with internet access |
Option A: Time Machine
If you had Time Machine activated, here’s how you can restore deleted files—even if your external backup drive isn’t connected. Recently deleted files might still be stored locally, so it’s worth trying this option even without the external drive.
-
Go to the folder where the deleted files were originally located.
-
Click the Time Machine icon in the menu bar and choose Browse Time Machine Backups. This opens the Time Machine view.
-
On the right side, use the timeline to scroll back to a point before the files were deleted. The timeline shows different snapshots of your system from various times.
-
Find the files you want to recover. You can select individual files or even whole folders.
-
Click Restore to bring the files back to their original location on your Mac.
Tip. If you prefer to restore the file to a different location, simply drag it to your desktop or another folder.
Option B: APFS Snapshots
Since you have an SSD, it’s highly likely it uses the APFS file system, and this option only works on macOS High Sierra or later with APFS-formatted drives. APFS Snapshots are time-based restore points created automatically, and you can access them through Disk Utility. Here’s how:
-
Go to Applications > Utilities and open Disk Utility.
-
In Disk Utility, locate and select your main APFS volume (usually labeled Macintosh HD or similar).
-
Click on the View menu, then choose Show APFS Snapshots. You’ll see a list of available snapshots, each listed by date and time, which represent restore points you can use.
-
Select the snapshot dated before you deleted the files. Once selected, follow the prompts to restore your system to that snapshot, which brings back files from that point in time.
-
Choose the snapshot you want to use and double-click it to mount it as a read-only volume. This snapshot will then appear in Finder.
-
Now, open Finder and locate the mounted snapshot under Locations. You can browse through the snapshot just like any other drive, you can copy files you want to recover back to your main drive or any other location.
Use Terminal for snapshot listings. You can also list available snapshots in Terminal with the command tmutil listlocalsnapshots /, it will give you a full view of the snapshots available by date.
Option C: iCloud
If you’ve enabled iCloud for Desktop, Documents, or Photos, you can easily recover recently deleted files directly from iCloud. If you delete a file from a location that syncs with iCloud, it will be stored in the Recently Deleted folder for 30 days, which allows you to recover it easily. Here’s how to recover deleted files from SSD on Mac with iCloud:
-
Open a web browser, go to iCloud.com, and sign in with your Apple ID.
-
Once logged in, click on iCloud Drive (or Photos if you need to recover deleted images).
-
Scroll down and find Recently Deleted at the bottom of the iCloud Drive window. Click it to view files deleted within the last 30 days.
-
Browse through the Recently Deleted section, locate the files you want to recover, and select them.
-
Once you’ve selected the files, click Restore to bring them back. These files will reappear in their original locations on iCloud Drive, syncing automatically back to your Mac.
Beyond DIY
As you can see, if you don’t have a backup, data recovery software is your best option. Tools like Disk Drill allow you to attempt recovery without specialized technical knowledge. However, with SSDs, time is critical. If the deletion occurred some time ago, there’s a real possibility that the data is permanently gone.
If you prefer not to risk DIY methods, professional data recovery services are a reliable alternative. These services have specialized equipment and expertise that aren’t available at home. They can handle complex scenarios, including physical drive damage or severe data corruption. However, keep in mind that even professionals may struggle to recover data if TRIM has been active, since deleted files can be quickly overwritten.
Many reputable recovery services operate on a “no recovery, no fee” policy, so you only pay if they successfully retrieve your data.













