> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/harness-platform/use-harness-platform/pipelines/failure-handling/mark-as-failed-pipeline.md).

# Mark pipeline as failed

The **Mark as Failed** button in the pipeline execution details page is used to mark any running pipeline as failed. Selecting this button sends a failure interrupt to all currently executing stages of the pipeline, triggering their failure strategies.

### Requirements <a href="#requirements" id="requirements"></a>

* You must have `Execute` pipeline permission to be able to mark a pipeline as failed.
* You must enable `Allow users to mark a running Step as failure` in your Harness account's [default settings](/harness-platform/use-harness-platform/settings/default-settings.md).

### Marking a pipeline as failed <a href="#marking-a-pipeline-as-failed" id="marking-a-pipeline-as-failed"></a>

You can use the **Mark as Failed** option to mark a running pipeline as failed.

![](/files/h6kRJaSfm9xgpnfOLj4W)

After marking a pipeline as failed, Harness fails `running` and `queued` stages. Completed stages aren't marked as failed.

{% hint style="info" %}
**NOTE**

If a pipeline is configured with failure strategy like `Ignore Failure` or `Retry`, the execution might continue even after `Mark as Failure` is sent.
{% endhint %}

### Difference between marking a stage as failed and marking a pipeline as failed <a href="#difference-between-marking-a-stage-as-failed-and-marking-a-pipeline-as-failed" id="difference-between-marking-a-stage-as-failed-and-marking-a-pipeline-as-failed"></a>

You can mark an entire pipeline or a single stage as failed.

Here's the difference between these options:

* If there is only one stage running when you mark either the stage or pipeline as failed, both options have the same impact.
* If parallel stages are running, then marking the *pipeline* as failed stops all running parallel stages. Marking one *stage* as failed only stops that stage.

![](/files/09C9byoXZhcxQOtJ28IE)

![](/files/pCMI6kIVdm0IuW2N182c)
