{
  "slug": "trim",
  "term": "TRIM",
  "aliases": [
    "ATA TRIM",
    "UNMAP"
  ],
  "definition": "A command that tells an SSD which logical blocks are unused so the device can erase or prepare flash pages in advance.",
  "note": "SATA uses TRIM; NVMe uses the Deallocate/Unmap capability.",
  "status": "shipping",
  "advantages": [
    {
      "text": "Helps maintain write performance and reduces unnecessary erase cycles.",
      "citationIds": [
        "c1"
      ]
    }
  ],
  "limitations": [],
  "related": [
    "ssd",
    "garbage-collection",
    "sata",
    "nvme"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "c1",
      "title": "TRIM",
      "url": "https://en.wikipedia.org/wiki/TRIM",
      "accessed": "2026-03-26"
    },
    {
      "id": "n2",
      "title": "TechTarget — What is SSD TRIM?",
      "url": "https://www.techtarget.com/it-infrastructure/definition/SSD-TRIM",
      "accessed": "2026-10-07"
    },
    {
      "id": "n3",
      "title": "NVM Express — NVM Command Set Specification (Dataset Management / deallocate)",
      "url": "https://nvmexpress.org/wp-content/uploads/NVMe-NVM-Command-Set-Specification-1.0a-2021.07.26-Ratified.pdf",
      "accessed": "2026-10-07"
    },
    {
      "id": "n4",
      "title": "Linux storage — discard/TRIM stack discussion (LF slides)",
      "url": "https://events.static.linuxfound.org/sites/events/files/slides/discard_0.pdf",
      "accessed": "2026-10-07"
    }
  ]
}
