# OpenTofu vs Terraform

OpenTofu is the community fork of Terraform created after HashiCorp moved Terraform to the Business Source License in 2023. It is MPL-2.0 licensed under the Linux Foundation, reads the same HCL and works with the same providers and modules, and has added features such as state encryption.

Canonical: https://www.launchnests.com/compare/opentofu-vs-terraform
Facts checked on: 2026-11-24

## At a glance

| | OpenTofu | Terraform |
|---|---|---|
| Best for | The MPL-2.0 fork of Terraform under the Linux Foundation, compatible with existing providers and modules. | HashiCorp's infrastructure as code tool that provisions cloud resources from declarative HCL, with HCP Terraform for remote runs. |
| License | Open Source | Source Available |
| Pricing | Open Source | Freemium |
| Platforms | Linux, macOS, Windows | Linux, macOS, Windows |
| Website | https://opentofu.org | https://developer.hashicorp.com/terraform |

## Choose OpenTofu if

- You need an OSI open-source licence or build a product on top of the tool.
- You want community governance and features such as built-in state encryption.

## Choose Terraform if

- You use HCP Terraform, Terraform Enterprise or Sentinel policies.
- You want the vendor-supported tool from HashiCorp, now part of IBM.

## FAQ

### What is the difference between OpenTofu and Terraform?

OpenTofu is the community fork of Terraform created after HashiCorp moved Terraform to the Business Source License in 2023. It is MPL-2.0 licensed under the Linux Foundation, reads the same HCL and works with the same providers and modules, and has added features such as state encryption.

### Is OpenTofu or Terraform open source?

OpenTofu is open source, and OpenTofu is free and open source. Terraform is source-available, not OSI open source, and Terraform is free to start, with paid plans as you grow.

### When should I choose OpenTofu over Terraform?

You need an OSI open-source licence or build a product on top of the tool. You want community governance and features such as built-in state encryption.

### When is Terraform the better choice?

You use HCP Terraform, Terraform Enterprise or Sentinel policies. You want the vendor-supported tool from HashiCorp, now part of IBM.

### Which platforms do OpenTofu vs Terraform support?

OpenTofu: Linux, macOS, Windows. Terraform: Linux, macOS, Windows.
