---
title: "Upgrade the YugabyteDB software"
url: "https://docs.yugabyte.com/stable/yugabyte-platform/manage-deployments/upgrade-software/"
---

# Upgrade the YugabyteDB software

Upgrade universes managed by YugabyteDB Anywhere.

Perform rolling upgrades on live universe deployments

**Upgrade YugabyteDB →**  across different products

[![YugabyteDB](/icons/database-hover.svg "YugabyteDB") YugabyteDB](/stable/manage/upgrade-deployment/ "YugabyteDB") [![YugabyteDB Anywhere](/icons/server-hover.svg "YugabyteDB Anywhere") YugabyteDB Anywhere]() [![YugabyteDB Aeon](/icons/cloud-hover.svg "YugabyteDB Aeon") YugabyteDB Aeon](/stable/yugabyte-cloud/cloud-clusters/database-upgrade/ "YugabyteDB Aeon")

You can upgrade the YugabyteDB release that is powering a universe to get new features and fixes included in the release.

For production universes, validate the upgrade on a [staging universe](/stable/yugabyte-platform/create-deployments/create-universes-overview/#staging-universe "staging universe") first.

Upgrading YugabyteDB on deprecated operating systems

If your universe is running on a [deprecated OS](/stable/reference/configuration/operating-systems/ "deprecated OS"), you will need to update your OS before you can upgrade to the next major YugabyteDB release. Refer to [Patch and upgrade the Linux operating system](/stable/yugabyte-platform/manage-deployments/upgrade-nodes/ "Patch and upgrade the Linux operating system").

Upgrading universes in xCluster deployments

When upgrading universes in [xCluster Replication](/stable/yugabyte-platform/create-deployments/xcluster-replication/xcluster-replication-setup/#upgrading-the-database-version "xCluster Replication") or [xCluster Disaster Recovery](/stable/yugabyte-platform/back-up-restore-universes/disaster-recovery/#upgrading-universes-in-dr "xCluster Disaster Recovery"):

- Use the same version of YugabyteDB on both the source/DR primary and target/DR replica.
- Upgrade and finalize the target/DR replica before upgrading and finalizing the source/DR primary.
- For some xCluster setups, before upgrading, you should run a verification script to check if the universe is affected by TA-31533. For more information, refer to [TA-31533](/stable/releases/techadvisories/ta-31533) .

YSQL major version upgrades

To upgrade YugabyteDB to a version based on a different version of PostgreSQL (for example, from v2024.2 based on PG11 to v2025.1 or later based on PG15), you need to perform additional steps. Refer to [YSQL major upgrade](/stable/yugabyte-platform/manage-deployments/ysql-major-upgrade-yba/ "YSQL major upgrade").

When performing a database upgrade, do the following:

1. [Upgrade YugabyteDB Anywhere](/stable/yugabyte-platform/upgrade/ "Upgrade YugabyteDB Anywhere"). You cannot upgrade a universe to a version of YugabyteDB that is later than the version of YugabyteDB Anywhere.
   
   For information on which versions of YugabyteDB are compatible with your version of YugabyteDB Anywhere, refer to [Compatibility with YugabyteDB](/stable/releases/yba-releases/#compatibility-with-yugabytedb "Compatibility with YugabyteDB").
2. [Prepare to upgrade a universe](/stable/yugabyte-platform/manage-deployments/upgrade-software-prepare/ "Prepare to upgrade a universe"). Depending on the upgrade you are planning, you may need to make changes to your automation or upgrade your Linux operating system.
3. [View and import releases](/stable/yugabyte-platform/manage-deployments/ybdb-releases/ "View and import releases"). Before you can upgrade your universe to a specific version of YugabyteDB, verify that the release is available in YugabyteDB Anywhere and, if necessary, import the release.
4. [Upgrade the universe](/stable/yugabyte-platform/manage-deployments/upgrade-software-install/ "Upgrade the universe"). Perform a rolling upgrade on a live universe deployment.

[Prepare to upgrade  
\
Review changes that may affect your automation.](/stable/yugabyte-platform/manage-deployments/upgrade-software-prepare/)

[Manage releases  
\
View and import the latest releases of YugabyteDB.](/stable/yugabyte-platform/manage-deployments/ybdb-releases/)

[Upgrade a universe  
\
Perform a rolling upgrade on a live universe deployment.](/stable/yugabyte-platform/manage-deployments/upgrade-software-install/)
