In 2026, OpenTofu and Terraform are no longer the same tool with a different name on the binary — the fork has genuinely diverged. OpenTofu is the open-source (MPL 2.0), Linux Foundation–governed fork; Terraform is HashiCorp's Business Source License (BSL) tool, now owned by IBM. They still share HCL syntax and state format, so day-to-day they look alike, but OpenTofu has shipped features Terraform's open-source CLI hasn't — native state encryption chief among them.
This guide compares OpenTofu vs Terraform on the four things that actually drive the decision in 2026: licensing and governance, technical features, real-world adoption, and migration cost. The recommendations come from running both in production, not from a feature checklist — and for many teams the honest answer is "run both."
OpenTofu vs Terraform at a glance
The summary: pick by your licensing exposure and how deep your HashiCorp Cloud Platform (HCP) dependency goes. Greenfield leans OpenTofu; entrenched HCP/Sentinel setups lean stay-put.
| OpenTofu | Terraform | |
|---|---|---|
| License | MPL 2.0 (open source) | BSL 1.1 (source-available) |
| Governance | Linux Foundation | HashiCorp / IBM |
| Owner | Community | IBM (acquired HashiCorp, Dec 2024) |
| State encryption | Native (client-side) | Not supported |
| Provider-defined functions | Yes (shipped first) | Yes (later) |
| HCL syntax | Same | Same |
| State format | Compatible* | Compatible* |
| Cost (CLI) | Free | Free for internal use |
*Compatible until OpenTofu writes an encrypted state file — Terraform can't read that.
Licensing: the reason the fork exists
OpenTofu exists because HashiCorp relicensed Terraform. In August 2023, Terraform moved from the open-source MPL 2.0 to the Business Source License (BSL), which restricts commercial competing use. The community forked the last MPL-licensed code as OpenTofu and placed it under neutral Linux Foundation governance.
Two 2026 developments sharpened the split:
- IBM acquired HashiCorp for $6.4 billion, closing in December 2024. Terraform is now an IBM product. For enterprises with strained IBM relationships or vendor-lock-in policies, that alone accelerated OpenTofu evaluation.
- HCP Terraform ended its free tier in March 2026. Remote state, remote execution, and team features now require a paid plan. The open-source CLI stays free for internal use, but the managed platform got more expensive.
Here's the practitioner reality most hype pieces skip: if you're a normal internal user, the BSL doesn't affect you today. The license restricts building a product that competes with HashiCorp's offerings — it doesn't stop you running terraform apply against your own infrastructure. So "the license" is a real concern for some organizations (and a genuine principle for others), but it's not an operational emergency for the average team.
Features: where the fork diverged
Between 2025 and 2026, OpenTofu shipped capabilities Terraform's open-source CLI still lacks, while Terraform focused on AI-assisted features and deeper HCP integration. The result is two products, not one fork.
State encryption (OpenTofu's biggest win)
OpenTofu 1.7 shipped native client-side encryption for state and plan files — a feature the community requested for years and Terraform never delivered. You control the key via a key provider (AWS KMS, HashiCorp Vault, or a passphrase), and the files are encrypted before they hit the backend.
This matters because Terraform state routinely contains secrets in plaintext — database passwords, API keys, generated credentials. If your state backend is ever exposed, encrypted state is unreadable without the key. In production accounts I've worked on, locked-down state buckets were always a sharp edge; native encryption closes a real gap. The trade-off: once OpenTofu writes an encrypted state file, Terraform can no longer read it, so this is also the point of no easy return on a migration.
Provider-defined functions and other additions
OpenTofu shipped provider-defined functions before Terraform, along with early variable evaluation and loopable import blocks. Terraform later added provider-defined functions too, so the gap there has narrowed — but the pattern of OpenTofu shipping community-requested features faster has held.
For everyday work, the two remain close: same HCL, same CLI workflow (tofu plan / tofu apply mirror terraform), broad provider compatibility. OpenTofu still aims to be a near drop-in replacement while evolving independently.
Adoption: who's actually using OpenTofu
OpenTofu is past the "is it ready" stage. It's been production-ready since the 1.6 GA in January 2024 and is backed by the Linux Foundation with a dedicated engineering team.
The 2026 numbers: roughly 12% adoption among IaC practitioners, with 27% of teams planning to evaluate or expand its use; Terraform still holds the largest share (33–62% depending on measurement). The migration signal is the interesting part — a large share of Terraform users are already evaluating or migrating.
Enterprise proof points carry more weight than percentages here:
- Fidelity migrated 50,000+ state files (4M+ resources) from Terraform to OpenTofu.
- Capital One moved to avoid BSL uncertainty.
- Oracle and VMware adopted OpenTofu partly to avoid dependence on IBM.
- Boeing and AMD are cited for regulatory and large-scale use.
When companies of that size and risk-aversion run something in production, "not enterprise-ready" stops being a credible objection.
Migration: easy in code, hard in the org
Technically, migrating from Terraform to OpenTofu is close to trivial. The HCL files, module structure, and state format are compatible, so existing Terraform code runs on OpenTofu unchanged in almost all cases. The mechanical steps:
# Install OpenTofu, then in CI swap the binary
# terraform init -> tofu init
tofu init
tofu plan
tofu apply
Update your CI to install tofu instead of terraform, point it at the same state, and you're largely done. Fidelity proved this at 50,000-state-file scale.
The hard part is organizational, not technical:
- HCP Terraform and Sentinel dependency. If HCP is central and Sentinel policies are embedded in your compliance process, you're not swapping a binary — you're replacing a platform. Scope that over 12–18 months or don't start.
- The encrypted-state one-way door. Once OpenTofu encrypts your state, Terraform can't read it. Decide deliberately before enabling encryption.
- Change management. Runbooks, training, CI templates, and team habits all reference
terraform. That's the real cost.
If you're newer to infrastructure as code, get comfortable with the core workflow first — our complete Terraform on AWS guide and 3-tier Terraform deployment walkthrough both apply almost verbatim to OpenTofu, since the language and commands are shared.
So which should you use?
Work down this list and stop at the first match:
- Greenfield project, no Terraform investment yet? → OpenTofu. Identical syntax, same providers, native state encryption, open license, Linux Foundation governance, and a binary swap back to Terraform if you ever need it. The default for new work.
- State encryption or open licensing is a hard requirement? → OpenTofu. It's the only one of the two that ships native state encryption.
- Existing Terraform setup that works, light HCP usage, not building a HashiCorp competitor? → Stay on Terraform. Don't migrate on hype. The BSL doesn't affect you operationally today.
- HCP Terraform and Sentinel deeply embedded in compliance? → Stay (for now), and scope any move as a 12–18 month platform replacement — not a tool swap.
The pattern I see most among mature teams isn't either/or — it's both. Terraform for legacy environments built on HCP with existing Sentinel policies, OpenTofu for greenfield where open licensing and state encryption matter. That's a perfectly rational steady state, not a fence-sit.
One timing note worth flagging: the low-friction migration window is narrowing. Teams that delay are running into renewal cycles, deepening HCP dependency, and growing lock-in. The binary swap is easy today; it gets harder the more platform-specific features you adopt.
Build the IaC skills that transfer either way
Because OpenTofu and Terraform share HCL, the workflow, and the provider ecosystem, the skills you build transfer between them — learn one and you can run the other. The decision above is about licensing and platform strategy, not about relearning your tooling.
Get hands-on with both using CloudaQube's infrastructure and cloud labs — provision real AWS infrastructure, manage state, and practice the plan/apply loop in a live environment. If you're weighing IaC tools more broadly, our Terraform vs CloudFormation vs Pulumi comparison covers where each fits.
Sources: Spacelift — OpenTofu vs Terraform, Encore — OpenTofu vs Terraform 2026, env0 — OpenTofu enterprise guide, OpenTofu.org.