> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/changing-default-quality-profile.md).

# Changing default quality profile

In SonarQube Server 2026.2, by default, the language’s BUILT-IN quality profile, Sonar way, is the profile assigned to projects not explicitly associated with another quality profile.

With the Administer Quality Profiles permission, you can change a language’s default quality profile in your organization.

To change the default quality profile assigned to a language:

1. Go to **Quality Profiles**.
2. Locate the row of the quality profile you want to set as the default quality profile.
3. In the far right of the row, click the action menu and select **Set as Default** in the menu.

<figure><img src="https://2744305742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3VWSqvZ4eaBLWvA6epdv%2Fuploads%2FKkUjlclVKDjX3nxnS1dT%2Fquality-profile-default-profile.png?alt=media&amp;token=db7b7a13-5a6a-4235-b7f7-ed42456bd10f" alt="Setting a default profile"><figcaption></figcaption></figure>

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

* [Understanding quality profiles](/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/understanding-quality-profiles.md)
* [Viewing quality profiles](/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/viewing-quality-profiles.md)
* [Creating a quality profile](/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/creating-a-quality-profile.md)
* [Editing a quality profile](/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/editing-a-custom-quality-profile.md)[Editing a quality profile](/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/editing-a-custom-quality-profile.md)
* [Associating with projects](/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/associating-a-quality-profile-with-projects.md)
* [Maintaining quality profiles](/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/maintaining-your-custom-quality-profiles.md)
* [Granting permissions to users](/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/authorizing-other-users-to-manage-quality-profile.md)


---

# 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 dynamically by asking a question.

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

```
GET https://docs.sonarsource.com/sonarqube-server/2026.2/quality-standards-administration/managing-quality-profiles/changing-default-quality-profile.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 `build a script that syncs our docs to a CMS` 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.
