Learn · MongoDB licensing

MongoDB SSPL explained: what the licence means for self-hosting and managed services

MongoDB Community Server has been under the SSPL since October 2018. For most teams that changes nothing. For anyone who offers MongoDB to other people as a service, it changes a lot. This page uses MongoDB's own FAQ to sort out which group you are in. It is not legal advice.

45 minutes with an engineer: we review your workload and sketch the design.

  • Based on MongoDB's FAQ
  • Not legal advice

The SSPL is MongoDB's licence, adopted on 16 Oct 2018 to replace the AGPLv3 for Community Server. It adds Section 13: anyone who offers MongoDB's functionality to third parties as a service must release the source of their whole service stack. MongoDB says internal use and applications built on MongoDB are not affected. The OSI has not approved the SSPL. Checked 4 Dec 2026.

Customers

  • Microsoft logo
  • Henry Schein logo
  • Enbridge logo
  • Gojek logo

Partners

  • Broadcom logo
  • Redis logo
  • VMware Tanzu logo
  • OSSeva logo

What is the SSPL, and when did MongoDB adopt it?

MongoDB issued the Server Side Public License on 16 Oct 2018 for MongoDB Community Server. It applies to all Community Server versions and patch releases issued on or after that date, including patches to older versions. Releases before that date stay under the AGPL v3. It is based on the GNU GPL v3.

Sources: MongoDB's press release and SSPL FAQ, checked 4 Dec 2026. MongoDB says the only substantive change from the GPL is Section 13, which sets the conditions for offering the program as a service. Drivers and connectors stay under the Apache License v2.0, per the same FAQ.

Is MongoDB open source?

MongoDB's own FAQ says the SSPL has not been approved by the Open Source Initiative and that software under it is not considered open source by the OSI. MongoDB says it keeps the freedoms to use, review, modify and redistribute the source. So it is source-available, with a service-provider condition added.

AGPL v3 (before 16 Oct 2018)SSPL (from 16 Oct 2018)
Based onGNU GPL v3 plus a network-use clauseGNU GPL v3 plus a new Section 13
Source release triggerYou modify the program and let users interact with it on a serverYou make the functionality of the program available to third parties as a service
What must be releasedThe source of your modified versionThe Service Source Code: the program plus management, UI, API, automation, monitoring, backup, storage and hosting software
OSI approvalNot addressed in MongoDB's FAQNot approved, per MongoDB's FAQ
Internal useFreely allowedFreely allowed, per MongoDB's FAQ

Source: MongoDB SSPL FAQ, checked 4 Dec 2026. The table paraphrases MongoDB's description of both licences; read the licence text for the exact terms.

Whether "source-available" counts as open source for your policy is a choice your team or counsel makes. Some organisations only allow OSI-approved licences. If yours is one, the SSPL rules MongoDB Community Server out, and the options at the bottom of this page apply.

45 minutes with an engineer: we review your workload and sketch the design, then price it.

What does the SSPL mean for an internal deployment?

MongoDB's FAQ says Section 13 does not apply to providing MongoDB internally or to subsidiary companies, because that is not making it available to a third party. It also says there is no copyleft condition for other SaaS applications that merely use MongoDB as their database.

  • Self-hosting for your own company: no Section 13 obligation, per MongoDB's FAQ.
  • An application that stores data in MongoDB and is sold as SaaS: no copyleft condition on that application, per the same FAQ.
  • Modifying the server for your own use: allowed. The release condition is tied to offering it as a service to others.

These are MongoDB's statements about its own licence. If a deal, audit or procurement review depends on them, get a written opinion from your counsel.

What does the SSPL mean for a service provider?

If you offer MongoDB's functionality to third parties as a service, Section 13 requires you to release the Service Source Code under the SSPL: the server plus the software you use to run the service, such that a user could run an instance from it. MongoDB says this applies to any publicly available MongoDB service using releases from 16 Oct 2018 onward.

Section 13 as MongoDB quotes it covers management software, user interfaces, APIs, automation, monitoring, backup, storage and hosting software (FAQ). That reach is why a provider that wants to offer MongoDB itself needs either to release that stack or to hold a commercial agreement with MongoDB. Atlas users are not licensees of the database, so MongoDB says Atlas users are unaffected. A customer with a commercial licence, such as Enterprise Advanced, is also outside the SSPL for that use.

If you are building a hosted database product on MongoDB, that is a legal decision to take with counsel before you build, not after. The same applies when you buy managed MongoDB from a third party: ask the provider how it handles Section 13 and get the answer in writing.

What are the alternatives if the SSPL is a problem?

Three routes avoid SSPL questions: buy MongoDB's own service or commercial licence, or move to a MongoDB-compatible engine under a permissive licence. DocumentDB, the PostgreSQL-based project that joined the Linux Foundation on 25 Aug 2025 under the MIT licence, is the main open example.

OptionLicence positionBest when
MongoDB AtlasYou are not a licensee of the database; MongoDB runs itYou want MongoDB to run everything and accept its pricing
Enterprise AdvancedCommercial licence from MongoDBYou cannot or will not work under the SSPL, or need MongoDB's own support and tools
Community Server, self-hostedSSPL, internal use unaffected per MongoDBYou run it for your own company and your policy allows source-available
DocumentDB (open source)MIT licence, hosted by the Linux Foundation (press release, checked 4 Dec 2026)Your policy requires a permissive licence and your application can live with a compatible API, not the same engine

A MongoDB-compatible engine is not MongoDB. Test your queries, indexes, transactions and driver versions before you commit.

The differences between DocumentDB, FerretDB and the cloud services that borrow the name are in our DocumentDB and FerretDB guide. What Enterprise Advanced adds beyond the licence is in MongoDB Community vs Enterprise.

Where does OSStend fit?

OSStend runs MongoDB Community Server, which MongoDB publishes under the SSPL. It runs in OSStend's cloud, in your cloud account, in your data center, on Kubernetes or OpenShift, or air-gapped. Engineers operate it 24/7. If your legal team wants a position on Section 13 for your arrangement, bring it to the design review.

OSStend in numbers
160+customers served
10+years running open source data and messaging
24/7on-call engineers, not a ticket queue

See managed MongoDB, MongoDB support and the Atlas alternatives page. Pricing is quoted per design on the pricing page.

Who is this not for?

Contact us if

  • You self-host MongoDB for your own applications and want the licence question answered plainly.
  • You are choosing between running it yourself, Atlas and a compatible engine.
  • You want an engineer to run the cluster in your own account or data center.
Talk to an engineer

Not a fit if

  • You are building a database-as-a-service product on MongoDB. That needs counsel and probably a commercial agreement with MongoDB.
  • Your policy accepts only OSI-approved licences. Pick an engine that carries one.
  • You want a legal opinion. This page is a reading of MongoDB's FAQ, not advice.

MongoDB SSPL: common questions

Is MongoDB still AGPL?

Not for new releases. MongoDB's FAQ says Community Server versions released on or after 16 Oct 2018, including patches to older versions, are under the SSPL. Releases before that date remain under the AGPL v3.

Is MongoDB free for commercial use?

MongoDB's FAQ says users are free to use, review, modify and redistribute Community Server under the SSPL. The extra condition applies to offering MongoDB as a service to third parties.

Can I use MongoDB in my SaaS product under the SSPL?

MongoDB's FAQ says there is no copyleft condition for SaaS applications that use MongoDB as a database. The condition applies only when you offer MongoDB's functionality itself as a service.

Is the SSPL approved by the OSI?

No. MongoDB's FAQ states that the SSPL has not received OSI approval and is not considered open source by the OSI.

Does the SSPL apply to MongoDB drivers?

No. MongoDB's FAQ says supported drivers and connectors are licensed under the Apache License v2.0.

Does Atlas have SSPL obligations for its users?

MongoDB says Atlas users do not run the database software and do not become licensees, so the licence change does not affect them.

Talk to an engineer

Talk to an engineer about running MongoDB in your own environment

45 minutes: your deployment target and licence constraints are reviewed, and an engineer says which options fit. Your counsel decides the legal questions.

  • A design sketch for your workload, not a plan menu
  • A zero-downtime cutover path for what you run today
  • A price for that design, after the review
See pricing →

Your request goes to the OSStend team. No newsletter sign-up.

Get a quoteTalk to an engineer
2Engines Optional
3Where should it run?
4What do you need?

Your request goes to the OSStend team. No newsletter sign-up.