# Source: https://docs.sonarsource.com/sonarqube-server/8.9/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/9.8/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/9.9/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.0/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.1/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.2/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.3/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.4/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.5/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.6/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.7/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.8/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.2/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.3/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.5/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.1/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.4/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.6/instance-administration/license-administration.md

# Source: https://docs.sonarsource.com/sonarqube-server/instance-administration/license-administration.md

# License administration

To run SonarQube Server, you need a license that corresponds to the plan you had purchased, including SonarQube Server edition, Lines of Code (LOC), staging licenses, commercial support and additional features such as Advanced Security. See [Plans and Pricing](https://www.sonarsource.com/plans-and-pricing/sonarqube/) for more information about the different editions and features.

[Contact sales](https://www.sonarsource.com/plans-and-pricing/contact-sales/) to request the license key or email us at <contact@sonarsource.com>.

After your purchase is confirmed, you will receive a license key. If the license key follows this format: XXXX-XXXX-XXXX-XXXX, see [online-license-management](https://docs.sonarsource.com/sonarqube-server/instance-administration/license-administration/online-license-management "mention"). Otherwise, see [server-id-based-license-key](https://docs.sonarsource.com/sonarqube-server/instance-administration/license-administration/server-id-based-license-key "mention").

{% content-ref url="license-administration/server-id-based-license-key" %}
[server-id-based-license-key](https://docs.sonarsource.com/sonarqube-server/instance-administration/license-administration/server-id-based-license-key)
{% endcontent-ref %}

{% content-ref url="license-administration/online-license-management" %}
[online-license-management](https://docs.sonarsource.com/sonarqube-server/instance-administration/license-administration/online-license-management)
{% endcontent-ref %}