34 replies on What is SSD TRIM, why is it useful, and how to check whether it is turned on

  1. Ken says:

    seems like you contradicted yourself. in your initial scenario, did you mean to say rewrite instead of delete? later you say again that the block must be deleted, just as you previously said

  2. Codrut Neagu says:

    I meant delete. Whenever data is deleted, the space occupied by it must be wiped, meaning a TRIM command is sent and everything is rewritten with zeroes. While on a HDD data is simply marked as deleted, on a SSD it really has to be physically deleted.

  3. SNair says:

    I believe you got the technicalities a bit wrong. NAND flash by virtue of how the floating gate transistors are physically wired up, will necessitate an erase of entire page. But since erase operations can only be performed at block level, entire block goes through a read-erase-modify-write operation. TRIM lets the OS inform the SSD that entire block is disposable, which allows the SSD controller to erase the entire block before hand and be ready for write operation.

    Above is in contrary to your description wherein you say TRIM SSDs can erase data at page level, while others can only do so at block level.

    Please research more and let me know if I am wrong.

    Thanks.

    • Ciprian Adrian Rusen says:

      Thank you for sharing this information. When we get to updating this article, we will definitely take your feedback into consideration. Highly appreciated! 😉

  4. Rubidad says:

    If SSD’s are so fast, why do we need RAM?

  5. William Rack says:

    What if you have 2 SSD’ s on your system. How do you check if both have TRIM enabled.

    • William Rack says:

      Just answered my own question. Ran CMD on 2nd drive and got my answer. Only after figuring out how to run CMD on that drive.

  6. Nipun says:

    Great article. Sandisk x110 , with TRIM turned on, and runs it monthly.

  7. Julio says:

    Interesting…this is what I get when I use the trim command:

    NTFS DisableDeleteNotify = 0 (Enabled)
    ReFS DisableDeleteNotify = 0 (Enabled)

    If I change it to 1 it shows as (Disabled). Any ideas?
    PNY 250G SSD

    • Julio says:

      Oops! sorry typing error, its the other way around. I get 0 = (disabled), while 1 = (enabled)

      • Mike says:

        Mine says the same thing. So which is it? Did they screw up this article?

      • Bruno V says:

        Hi, I am confused too… Command Prompt returns NTFS DisableDeleteNotify = 0 (Disabled) whereas, which seems to be in contradiction with ts article stating that 0 means Enabled. How about a reply from the author?

        • Anonymous says:

          The result you got is OK.

          • If the "fsutil behavior query disabledeletenotify" command returns: NTFS DisableDeleteNotify = 0 (Disabled), it means that TRIM is ENABLED on your SSD.
          • If the command stated above returns NTFS DisableDeleteNotify = 1 (Enabled), it means that TRIM is DISABLED on your SSD.

          The confusion can come from the fact that a result that states “Disabled” actually means that TRIM is Enabled, and the other way around.

  8. George From Alaska says:

    SSD: LITEONIT LCS-128L9S-11 2
    Trim is enabled by default on my SSD

  9. Vipul Jain says:

    Very nice article. Using a Samsung 970 EVO PCIe NMVe SSD. Blazing fast performance.

  10. Jesse Meush says:

    I have a jetdrive 820 solid state installed on my mac and it is giving me the option for TRIM. im running OSX mojave on a macbook pro late 2014. 2.4gz 8gb DDR3 RAM core i5

  11. Kimberly L says:

    Thanks for the information! Checked & enabled on my new laptop. I’m not taking it apart to see what brand/model of SSD is installed but it is using ReFS so I appreciate the info on that also.

    • Anonymous says:

      Happy to help. Do not hesitate to subscribe to our newsletter, for more useful tutorials. 😉

  12. Jake says:

    My SSD is connected via a SATA to USB 3.0 cable and the windows disk defragmenter recognise it as HDD. I’ve already performed ‘winsat formal’ on cmd run as administrator but it doesn’t work.
    How do I 1. tell Windows it is a SSD (change it) and 2. enable TRIM?

  13. Ron says:

    I used the Windows 10 Powershell app with your command. I have a Samsung EVO850 sata SSD that is my C drive and both NTFS and ReFS were 0 (enabled). I then tested my Western Digital black NVMe M.2 SSD (my D drive) and got the same result. Thanks for the article.

  14. Dean says:

    I think you have the commands backwards, “0” means it is disabled and “1” is eneabled.

    • Anonymous says:

      No… if you get 0 (disabled) then TRIM is enabled, and if you get 1 (enabled) TRIM is disabled.

  15. Ron says:

    I have a Kodak 960GB drive, trim is enabled.

  16. Brian says:

    C:WINDOWSsystem32>fsutil behavior set disabledeletenotify 0
    NTFS Disabledeletenotify = 0 (Disabled)

    C:WINDOWSsystem32>fsutil behavior set disabledeletenotify 1
    NTFS Disabledeletenotify = 1 (Enabled)

    When I use 0, it tells me Disabled. When I use 1, it tells me Enabled. Am I missing something? The exact opposite of what is written in the post.

  17. Belfontan says:

    Thank you for the nice article.
    I have a quite old
    – Samsung 850 EVO (250 GB) via SATA
    and a newer
    – Samsung 970 EVO+ (1 TB) via NVMe/PCIe
    running both on Win7-64Bit pretty well.
    TRIM is of course enabled.

    Bye

  18. I hate trim says:

    Trim is not useful. If you accidentally format your SSD or wipe the partition – that’s it… you’re f*cked and the data is gone forever. On a HDD you can easily recover said data.

    I just lost some very important files when reinstalling Windows because I accidentally formatted the wrong SSD.

  19. David Carter says:

    My signifier is “0” but in brackets after this is the word (disabled). Can you tell me what that means? I’m confused now if TRIM is enabled or disabled.

  20. sosakan says:

    according to my cmd, the 0 and 1 are reversed in this article. Mine says (enabled) or (disabled) at the end and 1 is marked as enabled.

  21. Bartels Juice says:

    Do not be confused by the results of the above commands. MS is using something of a double negative with this command and results. The cmd is to DIS-able Delete Notify (i.e. DIS-able notifying an SSD to run TRIM) then the desired result is zero (0) (Disabled)

    In typical MS fashion we are disabling the disable routine, which means to turn TRIM ON.

Leave a comment