# Changing default quality gate

A default quality gate is defined in your instance: any project that is not explicitly associated with a quality gate, is associated with the default quality gate. The default quality gate is indicated in the UI with the `DEFAULT` tag.

By default, the default quality gate is the built-in quality gate **Sonar way**. You can set any built-in or custom quality gate as the default [introduction-to-quality-gates](https://docs.sonarsource.com/sonarqube-server/2025.2/quality-standards-administration/managing-quality-gates/introduction-to-quality-gates "mention").

{% hint style="info" %}
If you set as default a quality gate that is explicitly associated with projects, the explicit association is not shown anymore in the UI but is not removed: if you change again the default quality gate, the explicit association will show up again.
{% endhint %}

To change the default quality gate:

1. In the top navigation bar, select **Quality Gates**.
2. In the left panel, select the quality gate you want to set as default.
3. In the top right corner of the quality gate, select the Actions button and then **Set as default**.

<div align="left"><figure><img src="https://3577027091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F69lEOGGgOhCpumODGD9v%2Fuploads%2Fgit-blob-518db43697f37d76ce18b452a5954a1ce3052d90%2Ffbd16b3c4401213b3c552d1d352e8074b6f21215.png?alt=media" alt="Any quality gate can be selected as your DEFAULT quality gate in SonarQube Server. Simply navigate to the three-dot menu of your quality gate and select Set as Default."><figcaption></figcaption></figure></div>

## Related pages <a href="#related-pages" id="related-pages"></a>

* [introduction-to-quality-gates](https://docs.sonarsource.com/sonarqube-server/2025.2/quality-standards-administration/managing-quality-gates/introduction-to-quality-gates "mention")
* [viewing-quality-gate](https://docs.sonarsource.com/sonarqube-server/2025.2/quality-standards-administration/managing-quality-gates/viewing-quality-gate "mention")
* [managing-custom-quality-gates](https://docs.sonarsource.com/sonarqube-server/2025.2/quality-standards-administration/managing-quality-gates/managing-custom-quality-gates "mention")
* [associating-projects-with-quality-gate](https://docs.sonarsource.com/sonarqube-server/2025.2/quality-standards-administration/managing-quality-gates/associating-projects-with-quality-gate "mention")
* [subscribing-to-notifications](https://docs.sonarsource.com/sonarqube-server/2025.2/user-guide/managing-your-account/subscribing-to-notifications "mention")
