{
  "id": "reset",
  "title": "RESET",
  "url": "https://redis.io/docs/latest/commands/reset/",
  "summary": "Resets the connection.",
  "tags": [
    "docs",
    "develop",
    "stack",
    "oss",
    "rs",
    "rc",
    "oss",
    "kubernetes",
    "clients"
  ],
  "last_updated": "2026-07-02T11:31:07-05:00",
  "page_type": "content",
  "content_hash": "04eac358c5dedf321bf6ada9b83a43cfbd7790971378230e3e0d58d2adf67da9",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "This command performs a full reset of the connection's server-side context, \nmimicking the effect of disconnecting and reconnecting again.\n\nWhen the command is called from a regular client connection, it does the\nfollowing:\n\n* Discards the current [`MULTI`](https://redis.io/docs/latest/commands/multi) transaction block, if one exists.\n* Unwatches all keys [`WATCH`](https://redis.io/docs/latest/commands/watch)ed by the connection.\n* Disables [`CLIENT TRACKING`](https://redis.io/docs/latest/commands/client-tracking), if in use.\n* Sets the connection to [`READWRITE`](https://redis.io/docs/latest/commands/readwrite) mode.\n* Cancels the connection's [`ASKING`](https://redis.io/docs/latest/commands/asking) mode, if previously set.\n* Sets [`CLIENT REPLY`](https://redis.io/docs/latest/commands/client-reply) to `ON`.\n* Sets the protocol version to RESP2.\n* [`SELECT`](https://redis.io/docs/latest/commands/select)s database 0.\n* Exits [`MONITOR`](https://redis.io/docs/latest/commands/monitor) mode, when applicable.\n* Aborts Pub/Sub's subscription state ([`SUBSCRIBE`](https://redis.io/docs/latest/commands/subscribe) and [`PSUBSCRIBE`](https://redis.io/docs/latest/commands/psubscribe)), when\n  appropriate.\n* Deauthenticates the connection, requiring a call [`AUTH`](https://redis.io/docs/latest/commands/auth) to reauthenticate when\n  authentication is enabled.\n* Turns off `NO-EVICT` mode.\n* Turns off `NO-TOUCH` mode."
    },
    {
      "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): `RESET`.\n\n**RESP3:**\n\n[Simple string reply](../../develop/reference/protocol-spec#simple-strings): `RESET`."
    }
  ],
  "examples": []
}
