The Server Side Public License (SSPL) is a source-available license, created by MongoDB in 2018, that extends copyleft obligations to hosted services: anyone who offers the licensed program as a service to third parties must release the source code of the entire stack used to run that service. In software licensing, the SSPL sits between open source and proprietary terms, because it grants broad rights to read, modify and redistribute code while placing a deliberately heavy condition on cloud providers.
The license was written in response to a commercial problem rather than a technical one. Vendors of open source infrastructure software saw large cloud platforms sell managed versions of their databases without contributing back, and the SSPL was designed to make that business model either contractually impractical or dependent on a commercial agreement with the original author.
How the SSPL modifies the GPL
The SSPL is a derivative of GPL version 3, and most of its text is copied directly from that license. The decisive difference lies in Section 13, which in the GPLv3 deals with use alongside the AGPL. The SSPL replaces it with a clause titled “Offering the Program as a Service”, which defines what a provider must disclose when third parties interact with the program over a network.
Under that clause, a provider who makes the functionality of the program available as a service must release the Service Source Code under the SSPL. This term covers the program itself and also all programs used to make it available, including management software, user interfaces, application programming interfaces, automation, monitoring, backup, storage and hosting software. The obligation therefore reaches far beyond modifications to the licensed code.
The following table summarizes the main structural elements of the license and what each one means for a licensee.
| Element | Content | Practical effect |
|---|---|---|
| Base text | GPL version 3 with edits | Familiar copyleft terms for distribution |
| Section 13 | Offering the program as a service | Triggers disclosure for hosted use |
| Service Source Code | Program plus supporting stack | Covers orchestration, monitoring and backup tools |
| License of disclosed code | Must be the SSPL | Supporting tools cannot stay proprietary |
| Internal use | Not a service to third parties | No disclosure required for in-house deployments |
The scope of the trigger is the crux. Running an SSPL database inside a company for its own applications does not count as offering the program as a service. Selling a managed instance of that database, where customers use its features directly, clearly does. Between these poles lies a gray zone that the license text does not resolve precisely.
Why the SSPL is not an open source license
The SSPL is not approved by the Open Source Initiative, and MongoDB withdrew its submission for approval in 2019 after extended debate. Critics argued that the license violates criterion 6 of the Open Source Definition, which forbids discrimination against fields of endeavor, because it singles out one form of use, service provision, for exceptional burdens.
A second objection concerns criterion 9, which prohibits a license from restricting other software distributed alongside the licensed program. Requiring that the hosting, monitoring and storage software be released under the SSPL effectively extends the license to independent programs. Major distributions such as Debian, Fedora and Red Hat Enterprise Linux declined to ship SSPL software for these reasons.
The comparison below places the SSPL next to the licenses it is most often confused with.
| License | Network trigger | Disclosure scope | OSI status |
|---|---|---|---|
| GPLv3 | No | Distributed derivative works | Approved |
| AGPLv3 | Yes, for modified versions | Modified program code | Approved |
| SSPL | Yes, for any service offering | Program plus entire service stack | Not approved |
| Business Source License | Usage limit set by licensor | Not applicable before change date | Not approved |
| Elastic License 2.0 | Prohibits managed service | No disclosure, use is barred | Not approved |
The SSPL is therefore best classified as source-available software licensing. The code can be inspected, forked and improved, yet the license does not grant the freedom to use the program for any purpose without conditions, which is the defining test of both open source and free software.
Adoption and the fork response
The SSPL has been adopted by a small number of infrastructure software vendors, usually as part of a broader move away from permissive or weak copyleft terms. Each adoption reshaped its community, and in prominent cases it prompted a permissively licensed fork maintained by cloud providers or foundations.
The table lists the best-known projects and what happened after the license change.
| Project | Year | Previous license | Community response |
|---|---|---|---|
| MongoDB | 2018 | AGPLv3 | Cloud vendors built compatible alternatives |
| Graylog | 2021 | GPLv3 | Limited friction, smaller ecosystem |
| Elasticsearch and Kibana | 2021 | Apache License 2.0 | OpenSearch fork under Apache 2.0 |
| Redis | 2024 | BSD 3-clause | Valkey fork under BSD license |
Several vendors later softened their position. Elastic added the AGPLv3 as an additional option in 2024, and Redis likewise added the AGPLv3 to its licensing choices in 2025. These reversals suggest that the SSPL succeeded at deterring free-riding but carried real costs in community trust, distribution packaging and contributor engagement.
Practical compliance for users and providers
Compliance with the SSPL depends almost entirely on how the software is deployed. Most organizations that use an SSPL database for their own products never trigger Section 13, because their customers use an application built on the database rather than the database functionality itself.
The decision table below illustrates typical deployment situations and the usual legal reading, which should always be confirmed by qualified legal counsel for a specific case.
| Situation | Section 13 triggered | Usual approach |
|---|---|---|
| Internal analytics database | No | Use under SSPL without disclosure |
| Web application storing customer data | Usually no | Document the architecture for audits |
| Managed database service for customers | Yes | Buy a commercial license from the vendor |
| Platform exposing database query APIs | Likely | Seek legal review or a commercial license |
| Redistributing modified source | Copyleft terms apply | Release modifications under the SSPL |
In practice, the SSPL works as the open half of a dual licensing model. Vendors expect service providers to buy a commercial license rather than publish their operational tooling, so the realistic compliance path for a hosting business is negotiation, not disclosure.
Risks and common misunderstandings
The SSPL is frequently misread, both by teams that overestimate its reach and by those that underestimate it. The most common errors are listed below.
- Treating the SSPL as open source: policies that permit only OSI-approved licenses usually exclude it.
- Assuming any network use triggers disclosure: internal and application-level use normally does not.
- Ignoring license compatibility: SSPL code cannot be combined with GPL code in one distributed work without conflict.
- Overlooking older releases: versions published before a license change remain under their original terms.
- Relying on untested interpretations: no major court ruling has yet defined the service boundary.
Because the license has little judicial interpretation, organizations with significant exposure often maintain an inventory of SSPL components, tracked with the SPDX identifier SSPL-1.0, and review each new deployment against it.
In plain words
The Server Side Public License lets anyone read, change and share the code of a program for free. There is one big catch. If a company takes that program and sells it to others as an online service, it must publish the code of everything it uses to run that service, not only the program itself.
Imagine a recipe that is free to cook at home or in a company canteen. A restaurant chain that wants to sell the dish, however, must also publish the plans of its kitchens, delivery system and ordering app. Most chains would rather pay the recipe author for permission, and that is exactly the outcome the license is designed to produce.
A real-world example
A mid-sized logistics company runs an SSPL-licensed document database on its own servers to store shipment records for a tracking portal. Its legal team reviews the setup and concludes that customers interact with the tracking application, not with the database features, so Section 13 does not apply and no source disclosure is needed.
Two years later, the company plans to sell a hosted database product to partner carriers, who would connect to it directly and run their own queries. This time the review finds that the plan would count as offering the program as a service, which would require releasing its provisioning scripts, monitoring dashboards and backup tooling under the SSPL. The company instead negotiates a commercial license with the database vendor and keeps its operational software private.