If your SSD was formatted, or you deleted files from your SSD, can they be recovered?
Recovery depends almost entirely on something called TRIM. What is TRIM? According to Wikipedia, “[TRIM] allows an operating system to inform a solid-state drive (SSD) which blocks of data are no longer considered to be ‘in use’ and therefore can be erased internally.”
Essentially, once you delete a file on an SSD (and even some SMR hard drives), TRIM says it’s okay to “overwrite” that data with zeros. Once “overwritten,” the data can not be recovered in the future.
🔌⚡️🚫 KEEP YOUR SSD POWERED OFF! According to this blog post by Ace Laboratory, “It takes from 10 minutes to 24 hours before [TRIM] will completely erase the data in the background.”
✅ If you did NOT have TRIM enabled on your SSD or operating system, there is a good chance some or all the files can be recovered.
❌ If you DID have TRIM enabled on your SSD and operating system (unless you turned off your SSD immediately after the deletion/format*), there is basically no chance any files can be recovered. *TRIM takes longer to run if a lot of data was deleted vs. just one file was deleted.
How do I know if my SSD had TRIM enabled?
Remember, TRIM must be supported by your SSD and enabled on your operating system.
Most modern operating systems have TRIM enabled by default. Here’s a list of some of them:
– 🪟 Windows: Windows 7 and later versions have built-in support for the TRIM command, and it typically runs automatically in the background on a schedule when necessary. External USB SSD drives do not have TRIM enabled by default on Windows.
– 🍎 Mac: Apple’s operating system also supports TRIM, but it’s only enabled by default on Apple’s own SSDs. If you’ve replaced or added an SSD that wasn’t from Apple, you would need to enable TRIM with the “trimforce” command in Terminal. External USB SSD drives do not have TRIM enabled by default on Macs.
– 🐧 Linux: Linux has supported the TRIM command since the 2.6.33 kernel, and it’s usually enabled by default on modern Linux distros. The TRIM command can be executed manually using the ‘fstrim’ command or scheduled with a cron job for regular automatic execution. External USB SSD drives do not have TRIM enabled by default on Linux.
– 🆓 FreeBSD: This OS has had support for TRIM for quite a while, available through its UFS and ZFS filesystems.
Again, support for TRIM also needs to be present in the SSD’s firmware. Most modern SSDs will support TRIM, but if you’re working with a particularly old SSD, it might not.
How do I know if my Mac or PC had TRIM enabled?
How to check if your SSD has TRIM enabled on Windows:
- Click Windows key + X
- Type this command and click enter: fsutil behavior query DisableDeleteNotify
- If the result is “0” then TRIM is NOT enabled.
How to check if your SSD has TRIM enabled on Mac:
These instructions may vary slightly based on your Mac OS version.
- Option+click the Apple symbol located at the top-right corner of your screen and select ‘System Report’ or ‘System Information.’
- In the System Information window, locate ‘SATA/SATA Express’ under the ‘Hardware’ section on the left pane if you’re using a standard SATA SSD. If you’re using an NVMe SSD, look for ‘NVMExpress’. It’s recommended to check both sections regardless.
- Scroll down on the right pane until you locate ‘TRIM Support’. If the corresponding value is ‘Yes’, then TRIM is enabled.
You can also check if your SSD supports TRIM by looking in the user manual, searching Google, or searching product descriptions online.
Common SSD models that support TRIM:
- Samsung 860 EVO/Pro
- Samsung T5/T7/T9
- Crucial MX500
- WD Blue/Black
- Intel 760p
- MyDigitalSSD BPX
- Adata SX8200 Pro
- Kingston A400
- Sandisk Extreme Portable SSDs (TRIM is enabled by default).
Common SSD models that don’t support TRIM (newer versions of these SSD may now support TRIM):
- Early/budget SSDs – Some of the earliest and more budget-oriented SSDs don’t support TRIM. This includes options like PNY Elite, some OCZ drives, etc.
- Basic SATA SSDs – Some basic SATA SSDs that offer lower performance and endurance don’t include TRIM support. This includes options like Kingston V+, PNY CS900, etc.
- Some older/outdated drives – Some older SSDs that have been around for several years but haven’t been updated may lack TRIM support. This includes drives like some older Crucial M4/M500 models, OCZ Vertex 3, etc.
- Some consumer-grade NVMe drives – While more common with SATA SSDs, some low-end consumer NVMe drives also lack TRIM support. This includes options like the Intel 660p, HP EX920, etc.
- Most QLC-based SSDs – Since QLC NAND flash is newer, many QLC SSDs don’t yet include TRIM. This includes options like Intel 660p QLC, Samsung QVO, WD Blue SN500, etc.
The main factors that tend to determine whether an SSD supports TRIM are: performance level, endurance requirements, and when the drive was released. Newer, higher-end SSDs almost always include TRIM support, while some budget/basic drives omit it.
Do SD Cards and MicroSDs use TRIM?
Most SD and MicroSD cards do not inherently support the TRIM command like SSDs do. However, the SD card controller and the device using the SD card can support TRIM to optimize performance.
Here are some key points about TRIM and SD cards:
– Some SD card controllers support ATA TRIM pass-through, which allows the OS and device to send TRIM commands to the SD card. This requires OS, device, and SD card support.
– SD cards formatted with certain file systems like ext4 and F2FS support TRIM on Linux devices. But FAT32 on SD cards does not support TRIM.
– Android supports TRIM for external SD cards since v4.3. So compatible Android devices can TRIM SD cards formatted with supported file systems.
– On Windows, TRIM commands are not issued to SD cards by default. But it may be possible through manual configuration.
In summary, most SD cards do not natively use TRIM but can optionally support TRIM if implemented by the OS, device, and SD card controller.
Do hard drives use TRIM?
New SMR drives, including all Western Digital My Passport (3TB+) made in the past couple years (as of 2024) drives, use TRIM. When files are deleted from SMR drives (or the device is formatted), the data cannot be recovered after TRIM takes effect (this usually happens within minutes).
Luckily, for owners of Western Digital SMR drives, sometimes data can still be recovered thanks to an update from Ace Laboratory that enables data recovery technicians to access and restore older versions of the drive’s “translator.” The translator is what gets wiped out during TRIM. Ace’s new technique may allow us to fully restore the folder structure and deleted/formatted files. If you’d like a detailed assessment of your chances for a successful recovery with us (along with a price quote), please fill out our “Chances” Form. **I highly recommend submitting this form as my response contains a lot of important details about our recovery process.**
Here are some popular SMR hard drive models:
WD Spyglass, Palmer, Charger Families (and many others):
Deleted files/format may still be recoverable with PC-3000/Data Extractor
- WD20EFAX
- WD60EFAX
- WD20EZAZ
- WD60EZAZ
- WD40NMZW
- WD50NMZM
- WD20SDRW
Toshiba MQ04 Series: (2.5-inch USB and SATA)
- MQ04ABD200
- MQ04ABF100
- MQ04UBD200
Seagate Rosewood, M11, V11 Families (and many others): (2.5-inch and 3.5-inch SATA)
- ST1000LM048
- ST2000LM015
- ST4000LM024
- ST5000LM000
- ST2000LM007
- ST2000VX007
- ST8000AS0002
- ST8000DM004
- ST5000DM000