# Setting new code definition

The new code option defined at the organization level (if any) is applied by default to all *new* projects. At the organization level, you can only select the Previous version or Number of days option (by default, no option is selected). Project administrators can change this setting for their project. For more information about the new code options, see [about-new-code](https://docs.sonarsource.com/sonarqube-cloud/standards/about-new-code "mention").

To set the new code definition for your organization (you must be an organization admin):

1. Retrieve your organization. See [viewing-organizations](https://docs.sonarsource.com/sonarqube-cloud/getting-started/viewing-organizations "mention") for more information.
2. Go to **Administration** > **New Code**.
3. Select the new code option.
4. Select **Save**.

<figure><img src="https://2223713658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB4UT2GNiZKjtxFtcFAL7%2Fuploads%2FsfmTmJS2D0Qc0KaXJBDq%2Forganization-admin-new-code.png?alt=media&#x26;token=71fd997c-9fcd-487c-8483-d83c92e76c56" alt="New code definition in the organization&#x27;s administration"><figcaption></figcaption></figure>

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

* [Quality standards and new code](https://app.gitbook.com/s/4vN6mMcoPndARxvycboz/user-guide/about-new-code "mention")
* [Configuring new code calculation](https://app.gitbook.com/s/4vN6mMcoPndARxvycboz/project-administration/configuring-new-code-calculation "mention")
