OpenSource Risk Experts
Map your blast radius

COMPARISON . UPDATED JUNE 2026

Terraform vs OpenTofu Compared

Terraform vs OpenTofu is, at heart, a license comparison rather than a feature one. As of August 2023, Terraform moved to the Business Source License, a source available license. OpenTofu is the community fork of the last open licensed Terraform, maintained under the Linux Foundation on an open source license. The two stay broadly compatible, so for buyers the real question is which license posture and which governance model fits, and how to keep leverage while deciding.

Both tools do the same job: they define infrastructure as code and reconcile it against a state file. They share a heritage, a configuration language, and for now a large surface of compatibility. What separates them is not what they can build but the terms under which you may run them and the body that governs their future. For an enterprise weighing the two, that distinction is the whole decision, and it deserves to be made on evidence rather than on which name is more familiar.

Terraform vs OpenTofu at a glance

DimensionTerraformOpenTofu
LicenseBusiness Source License 1.1 as of August 2023. Source available, not open source. Not approved by the Open Source Initiative.Mozilla Public License 2.0, an approved open source license. Forked from the last open licensed Terraform.
GovernancePublished by HashiCorp, which IBM later acquired. Direction set by the vendor.Maintained under the Linux Foundation with open community governance.
CompatibilityThe reference implementation. Newer features may not appear in the fork.Began as a fork and stays largely compatible. Has added some features Terraform lacks. Confirm against your own configurations.
Cost postureFree to use within the license terms. A commercial license may be raised for use a vendor deems competitive or for support.No license fee. Cost is migration, testing, and ongoing maintenance against a separate roadmap.
Best fitTeams that want the vendor product, vendor support, and accept the source available terms.Teams that want an open license, community governance, and an exit from the source available restriction.

License: the difference that drives the decision

The Business Source License permits broad use, including production, and restricts one category: using the software to build a product or service that competes with HashiCorp's commercial offering. Each release converts to an open license after a delay, commonly four years. Source available is not the same as open source, and the Business Source License is not approved by the Open Source Initiative. For most enterprises the competitive use restriction does not apply, because running infrastructure for your own business is not competing with the licensor. The exposure that does arise tends to be a commercial license priced against a footprint the restriction never covered. The mechanics are set out on the HashiCorp and Terraform BSL pillar, and the wider pattern of these changes on the relicensing pillar.

OpenTofu sits on the other side of that line. It was forked from the last open licensed Terraform and is published under the Mozilla Public License 2.0, an approved open source license with file level copyleft. There is no competitive use restriction and no conversion clock. For an enterprise that wants certainty about its right to use the tool however its business evolves, that open license is the draw. The story of how the fork came to exist is told in the OpenTofu and Valkey fork story.

Compatibility and the cost of moving

Because OpenTofu began as a fork, it remains largely compatible with existing Terraform configurations, providers, and state, which keeps the migration cost low for many estates. That compatibility is real but not permanent. The two projects evolve separately, OpenTofu has added capabilities Terraform does not have, and newer Terraform features will not always appear in the fork. The practical implication is that a move should be tested against your own configurations rather than assumed. For estates that lean on the newest Terraform features the gap may matter, and for those running stable, established configurations it may not. The step by step path is covered in migrating from Terraform to OpenTofu step by step.

The cost of moving also scales with how widely the tool is embedded. A handful of configurations is a quick migration. Infrastructure as code spread across dozens of teams and pipelines is a program of work, and the version each team runs matters, since pre August 2023 Terraform releases remain under the prior open license and may not need to move at all. Sizing that footprint before committing is what separates a measured migration from a stalled one.

How to choose, and how to keep leverage

There is no single right answer, and treating the choice as binary forfeits leverage. Some buyers stay on pre change Terraform versions where those versions meet their needs. Some adopt OpenTofu to secure an open license. Some run a measured mix, holding the OpenTofu option open precisely so that any commercial conversation with the vendor happens on better terms. A buyer who can credibly move to OpenTofu negotiates from a stronger position than one who has visibly committed to staying. The credibility comes from evidence, a dependency map that proves the migration is feasible and scoped.

That is why the analysis comes before the decision. Mapping where Terraform runs, which versions and licenses are in play, and what an OpenTofu migration would require gives you both the basis to choose and the leverage to negotiate. An open source license risk assessment produces that map. We are independent and buyer side. We take no vendor fees and resell no software, and we profit from neither Terraform nor OpenTofu, so the comparison and the recommendation reflect your risk and nothing else. This is commercial and licensing risk advisory, not legal advice. For interpretation of the Business Source License or the Mozilla Public License against your use, engage your own counsel.

COMMON QUESTIONS

Questions buyers ask.

What is the main difference between Terraform and OpenTofu?

The core difference is the license. As of August 2023, Terraform moved to the Business Source License, a source available license that restricts competitive production use. OpenTofu is a community fork of the last open licensed Terraform, maintained under the Linux Foundation on an open source license. The two remain broadly compatible, so the practical choice is mostly about license posture and governance rather than capability.

Is OpenTofu a drop in replacement for Terraform?

OpenTofu began as a fork of Terraform and stays largely compatible with existing configurations and state, so for many estates it is close to a drop in replacement. Compatibility is not guaranteed forever, because the two projects evolve separately and OpenTofu has added features Terraform does not have. Testing against your own configurations is the way to confirm the fit.

Does the Terraform BSL affect ordinary enterprise use?

For most enterprises the Business Source License competitive use restriction does not bite, because running infrastructure for your own business is not competing with the licensor. The risk is more often a commercial license priced against use the restriction never covered. Pre August 2023 Terraform versions also remain under the prior open license entirely.

Should we migrate from Terraform to OpenTofu?

It depends on how you use Terraform, which versions you run, and how much certainty you want. Some buyers stay on pre change versions, some adopt OpenTofu for an open license, and some keep both options open as negotiating leverage. The right call follows from a dependency map of your estate, not from a default.

CONTAINMENT

Choose on evidence, not on the default.

A confidential open source license risk assessment. Independent, buyer side, paid only by you.

Not ready to talk? Read the free open source license risk guides first.

Map your blast radius