> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xdr/protect-your-endpoints/install-and-manage-endpoints/manage-endpoint-protection/downgrade-a-cortex-xdr-agent.md).

# Downgrade a Cortex XDR agent

Agent downgrade provides the ability to roll back a Cortex XDR agent on a Windows endpoint from its current version to an earlier, approved version on demand, without manually uninstalling and reinstalling the agent. The endpoint keeps its original identity in Cortex, so its history, groups, and policy assignments are preserved after the downgrade is completed.

Agent downgrade is intended for deliberate, controlled rollback in special circumstances, not as a routine or scheduled operation.

Required permissions: Instance Administrator or Account Admin

You can downgrade a Windows Cortex XDR agent one-by-one from the **All Endpoints** table. Multiple endpoints can be downgraded in a single bulk action from the **Action Center**.

The following agents are eligible to be downgraded:

* Windows only: Servers and workstations, x86\_64 and ARM.
* Agent 9.3 and above only.
* Agents without auto-upgrade enabled. This prevents an infinite downgrade/upgrade loop.
* CE versions can only be downgraded to other CE versions.
* Cross-major-version downgrades go to the latest minor of the target major. For example, if both 9.3.0 and 9.3.1 exist, a downgrade from 9.4.0 goes to 9.3.1.
* The target version must already exist as a distribution in the platform.

The following agents cannot be downgraded:

* Non-persistent VDI installations are not supported.
* Content freeze: an agent is ineligible if its pinned content version is not supported by the downgrade sequence.
* An agent cannot be downgraded to a version unsupported by its operating system.

### How to downgrade an agent from the Endpoints table

1. Navigate to **Inventory** → **Endpoints** → **All Endpoints**
2. Select the relevant endpoint to downgrade and right-click + Alt.
3. Select **Agent Downgrade**. Choose the distribution to downgrade into. The distribution defines the exact agent version that will be installed. Only eligible agent versions are available for selection.
4. Select a **Reboot method**.

   Select **Automatic** or **Manual**.\
   For **Automatic**, select **Immediate**, **After 20 minutes**, or **After 1 hour**.
5. Confirm the action. A notification acknowledges that the downgrade has started and gives you a link to the Action Center.
6. Track progress in the Action Center (bulk view) or the Endpoints table (per endpoint).
   * Downgrade actions show standard lifecycle states in the Action Center: **Pending/In Progress/Completed/Failed**.
   * Downgrades with no response for **90 minutes** are shown as **Lost Communication**.
   * An **abort** capability exists. An in-progress downgrade can be cancelled from the server/console. Once a downgrade is complete, the abort option is not available.

### How to downgrade an agent from the Action center

Use the Action center to downgrade bulk numbers of up to 200 endpoints to the same target version.

1. Navigate to the **Action Center.**
2. Start a new action and select **Agent Downgrade**.
3. Choose the distribution to downgrade into.
4. Choose the host restart behavior:
   * Manual
   * Automatic — restart immediately, or after 5 minutes
5. Select the hosts/agents to include. Eligibility filters are applied automatically, only supported endpoints are selectable.
6. Confirm the action. You will see a notification that the downgrade has started.
7. Track progress in the Action Center (bulk view) or the Endpoints table (per endpoint).

* Downgrade actions show standard lifecycle states in the Action Center: **Pending/In Progress/Completed/Failed**.
* Downgrades with no response for **90 minutes** are shown as **Lost Communication**.
* An **abort** capability exists — an in-progress downgrade can be cancelled from the server/console. Once a downgrade is complete, the abort option is not available.

### How to downgrade an agent using API

You can run downgrades programmatically through the public API. A single API downgrade request can target up to 2,000 endpoints.

```
/public_api/v1/endpoints/downgrade/
```

See the API guide for full instructions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xdr/protect-your-endpoints/install-and-manage-endpoints/manage-endpoint-protection/downgrade-a-cortex-xdr-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
