---
title: How to Upgrade MongoDB Database Clusters
description: Upgrade your database to the latest version.
product: Databases
url: https://docs.digitalocean.com/products/databases/mongodb/how-to/upgrade/
last_updated: "2026-11-12"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# How to Upgrade MongoDB Database Clusters

MongoDB is a source-available cross-platform document-oriented database program for high-volume storage. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas.

To upgrade your MongoDB cluster to the latest version, go to the cluster’s [**Overview** page](https://cloud.digitalocean.com/databases?utm_source=docs-agent&utm_medium=md). Scroll down to the **Current Version** section and click the **Show Available Upgrade** button. If you do not see this button, the cluster is already on the latest version.

![The Current Version section of the Overview](https://docs.digitalocean.com/screenshots/databases/mongodb-current-version.7e86978b96ce9d8c789b762f4b9ceec4117a93a508fe222b7890dfdff7dc2c0f.png)

This opens the **Version Upgrade** menu. Select the version you want to upgrade the cluster to, then click **Upgrade Now**. Once you start an upgrade, you cannot cancel it or downgrade your cluster after upgrading it.

![The Version Upgrade pop-up menu](https://docs.digitalocean.com/screenshots/databases/mongodb-version-upgrade.f842cec852ffe4e9d99a7b64ff0596751ed35b339cd63d13162683fcefafc1c4.png)

This returns you to the **Overview** page, where under the **Current Version** section, a loading symbol appears with the text “Database cluster is upgrading.” When the upgrade finishes, the loading symbol disappears. When the cluster’s DNS record switches to the new nodes, clients must reconnect, so connections may be briefly interrupted. Clients that cache DNS records longer than the record’s time to live (TTL) can take longer to reconnect. To avoid service disruptions, configure your applications to [reconnect automatically](https://docs.digitalocean.com/products/databases/index.html.md#resilient-server-reconnection) and to respect the DNS record’s TTL.