# Changing the project key

The project key can be updated as follows:

<figure><img src="https://2744305742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3VWSqvZ4eaBLWvA6epdv%2Fuploads%2Fc8bRLksfcITFDcF5RJUR%2Fproject-update-key.png?alt=media&#x26;token=18987178-e7bb-48f9-95fa-fce560e86db4" alt="Updating a project key"><figcaption></figcaption></figure>

1. Retrieve your project. See [retrieving-projects](https://docs.sonarsource.com/sonarqube-server/user-guide/viewing-projects/retrieving-projects "mention") for more details.
2. Go to **Project Settings** > **Update Key**.

The new key must contain at least one non-digit character. Allowed characters are: `a` through `z`, `A` through `Z`, `-` (dash), `_` (underscore), `.` (dot), `:` (colon) and the digits `0` through `9`. This value is case-sensitive.
