> 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/2025.2/instance-administration/user-management/changing-user-password.md).

# Changing user password

System Administrator can change the password of a user whose SonarQube Server 2025.2 account is not tied to a third-party identity provider.

## Changing the password in the UI <a href="#ui" id="ui"></a>

1. In **Administration > Security > Users**, [Viewing user accounts](/sonarqube-server/2025.2/instance-administration/user-management/viewing-users.md).
2. In the user’s **Actions** column, select the three-dot menu.
3. Select **Enter a new password**.

{% hint style="info" %}
You cannot change any user password in the UI (even of user accounts not tied to a third-party provider) if your system has enabled automatic provisioning mode.
{% endhint %}

## Changing the password through the API <a href="#api" id="api"></a>

Use the web service `api/users/change_password`.

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

* [Creating users manually](/sonarqube-server/2025.2/instance-administration/user-management/creating-users.md)
* [Deactivating users](/sonarqube-server/2025.2/instance-administration/user-management/deactivating-users.md)
* [Administering tokens](/sonarqube-server/2025.2/instance-administration/user-management/administering-tokens.md)
* [Overview of authentication and provisioning](/sonarqube-server/2025.2/instance-administration/authentication/overview.md)
* [Changing password](/sonarqube-server/2025.2/user-guide/managing-your-account/changing-password.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 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/2025.2/instance-administration/user-management/changing-user-password.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.
