MongoDB Atlas includes a 512 MB database for small projects
Run an M0 cluster with shared RAM and CPU for development or an ongoing small project.
Verified offer specifications
- Cluster tier
- M0
- Plan price
- $0 a month, free forever
- Storage
- 512 MB
- RAM
- Shared
- vCPU
- Shared
- Throughput
- Up to 100 operations per second
- Sort memory
- 32 MB
- Backups
- None on the M0 free tier
- Clouds
- AWS, Google Cloud, Microsoft Azure
- First paid step
- Flex from $0.011 an hour ($8 to $30 a month)
- Shared clusters
- M2 $9 a month (2 GB); M5 $25 a month (5 GB)
- Dedicated from
- M10 $0.08 an hour (from $56.94 a month)
MongoDB Atlas Free gives you a fully managed MongoDB database in the cloud at $0, with no expiry date on the free tier. The M0 cluster includes 512 MB of storage with shared RAM and a shared vCPU, and MongoDB lists it as free forever on the official pricing page. The free tier also caps throughput at 100 operations per second and sort memory at 32 MB. It is aimed at learning and exploring MongoDB in a cloud environment, so it fits tutorials, side projects and early prototypes rather than production workloads. Setup is quick: create a MongoDB Atlas account, choose the free M0 cluster, pick a cloud region and connect with a connection string from your app or from MongoDB Compass. There is no card to add and no trial that turns into a subscription, because the free tier is a standing offer, not a time-limited promotion.
What the free cluster gives you
- A real MongoDB database. Connect from your code, from MongoDB Compass, or from the Atlas web interface, where you can browse collections and run queries.
- Managed operations. Patching is handled by Atlas, so you learn the database, not the operations around it.
- Atlas Charts. Included on all Atlas clusters, so you can build dashboards from your data, with automatic refreshes once every four hours on M0 and email reports limited to one a week.
- App Services free tier. One million requests or 500 hours of compute a month, plus 10 GB of data transfer, covering triggers, functions, a GraphQL API and device sync.
The M0 cluster is a real MongoDB database, hosted and managed by MongoDB on AWS, Google Cloud or Microsoft Azure, so you do not install or run a server yourself.
512 MB sounds small, and it is, but it goes further than you might expect for learning. A tutorial database, a personal project with a few thousand records, or a prototype with user accounts and a handful of collections all fit comfortably. The limit only bites when you start storing large files, logs or media in the database.
The limits that matter
The free tier is shared, so performance can vary with other users on the same hardware, and the 100 operations per second cap is the limit you will feel first if your app makes many small queries. Sort memory is capped at 32 MB, so large sorts need an index or a smaller working set. There are no backups on the M0 cluster, which is the limit that catches people out: if your data matters, export it yourself or move to a paid cluster that includes backups. The free tier is aimed at learning and exploring, not production workloads, and MongoDB says so on its own pages.
What it costs when you outgrow it
The free tier costs nothing and has no end date, so there is no renewal to watch for. When a project outgrows 512 MB, the first paid step is a Flex cluster at $0.011 an hour, priced at $8 a month in its lowest throughput band and capped at $30 a month, with 5 GB of storage and up to 500 operations per second. Flex suits development and testing with unpredictable traffic, because you pay for what you use.
The older shared clusters are still listed: M2 costs $9 a month with 2 GB of storage, and M5 costs $25 a month with 5 GB, both with shared RAM and a shared vCPU. MongoDB is phasing these out in favour of Flex, but they remain available. For production, dedicated clusters start at M10, which costs $0.08 an hour, listed from $56.94 a month, with 10 to 128 GB of storage, 2 GB of RAM and 2 vCPUs. Paid clusters are billed hourly with monthly invoices.
Setting up the free cluster
Go to the MongoDB pricing page and choose the free M0 cluster, then create a MongoDB Atlas account with an email address. No card is needed for the free tier. Create the cluster and pick a cloud region close to you or your users, on AWS, Google Cloud or Azure. Then set a database username and password, and allow network access from your IP address, or from anywhere while you are testing. Connect from your app with the connection string Atlas gives you, or from MongoDB Compass if you want a visual interface, then create your first database and collection and add a few documents to see how MongoDB stores data.
Who the free tier helps
The free tier helps most if you are learning MongoDB or building something small. Students following a course, developers trying MongoDB for the first time, and anyone building a side project or a prototype will find it covers what they need. It also helps if you want to test whether a document database fits your project before you commit to a paid plan.
It helps less if you need a database for a production app with real users. The free tier is shared, so performance can vary, 512 MB is not enough for an app with growing data, and there are no backups. It also helps less if you need charts to refresh often, since the four-hour refresh on M0 is slow for anything that needs live data. In that case, the step up to M2 at $9 a month is the cheapest fix, or Flex from $8 a month. If you want a free database from another provider, Google Cloud's free trial includes $300 in credit for 90 days plus a free tier. If you need a server to run your app alongside the database, Vultr offers new customers up to $300 in cloud credit, and DigitalOcean offers $200 in credit for 60 days for new customers.
Important limitations
- Storage is capped at 512 MB on the M0 free cluster.
- RAM and vCPU are shared with other users on the free tier.
- Throughput is capped at 100 operations per second and sort memory at 32 MB.
- There are no backups on the M0 free tier.
- Atlas Charts on M0 refreshes once every four hours and email reports are limited to one a week.
- The free tier is aimed at learning and exploring, not production workloads.
How to claim
- Go to https://www.mongodb.com/pricing and choose the free M0 cluster.
- Create a MongoDB Atlas account with an email address.
- Create the free cluster and pick a cloud region.
- Connect from your app with the connection string or from MongoDB Compass.
What you need
- A MongoDB Atlas account, created with an email address. No card is needed for the free tier.
- A database username and password, set when you create the cluster.
- Network access allowed for your IP address, or for anywhere while you are testing.
Common questions
Is the MongoDB Atlas free cluster really free?
Yes. The official pricing page lists the M0 cluster at free forever, with 512 MB of storage, shared RAM and a shared vCPU.
What is the free tier for?
The free tier is for learning and exploring MongoDB in the cloud, plus small prototypes and side projects. Production workloads need a paid cluster.
What does it cost when I outgrow the free tier?
The first paid step is Flex from $0.011 an hour, $8 to $30 a month. The shared M2 cluster costs $9 a month with 2 GB of storage, and M5 costs $25 a month with 5 GB.