{
  "schema_version": 2,
  "id": "commands/module-unload",
  "title": "MODULE UNLOAD",
  "url": "https://redis.io/docs/latest/commands/module-unload/",
  "summary": "Unloads a module.",
  "since": "4.0.0",
  "tags": [
    "docs",
    "develop",
    "stack",
    "oss",
    "rs",
    "rc",
    "oss",
    "kubernetes",
    "clients"
  ],
  "last_updated": "2026-09-18T09:48:09+01:00",
  "page_type": "content",
  "content_hash": "1e77f6b5483b6782be4f076250ffe39f94b366a0b9e19930627c6486f68cfdff",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Unloads a module.\n\nThis command unloads the module specified by `name`. Note that the module's name\nis reported by the [`MODULE LIST`](https://redis.io/docs/latest/commands/module-list) command, and may differ from the dynamic\nlibrary's filename.\n\nKnown limitations:\n\n*   Modules that register custom data types can not be unloaded."
    },
    {
      "id": "required-arguments",
      "title": "Required arguments",
      "role": "content",
      "text": "<details open><summary><code>name</code></summary>\n\nThe name of the module to unload, as reported by `MODULE LIST`.\n\n</details>"
    },
    {
      "id": "redis-software-and-redis-cloud-compatibility",
      "title": "Redis Software and Redis Cloud compatibility",
      "role": "content",
      "text": "| Redis<br />Software | Redis<br />Cloud | <span style=\"min-width: 9em; display: table-cell\">Notes</span> |\n|:----------------------|:-----------------|:------|\n| <span title=\"Not supported\">&#x274c; Standard</span><br /><span title=\"Not supported\"><nobr>&#x274c; Active-Active</nobr></span> | <span title=\"Not supported\">&#x274c; Standard</span><br /><span title=\"Not supported\"><nobr>&#x274c; Active-Active</nobr></span> |  |"
    },
    {
      "id": "return-information",
      "title": "Return information",
      "role": "returns",
      "text": "**RESP2:**\n\n[Simple string reply](../../develop/reference/protocol-spec#simple-strings): `OK` if the module was unloaded.\n\n**RESP3:**\n\n[Simple string reply](../../develop/reference/protocol-spec#simple-strings): `OK` if the module was unloaded."
    }
  ],
  "examples": []
}
