Apache License 2.0and commercial use.

The Apache License 2.0 is a permissive licence published by the Apache Software Foundation. It allows use, modification and distribution, including in proprietary products, and adds an express patent licence from each contributor. Redistributors must keep notices, include the licence text and mark files they have changed.

Permissive
Licence family
Yes
OSI approved
Low
M&A risk rating
Apache-2.0
SPDX identifier

Commercial and
SaaS use.

Commercial products

Yes. Apache-2.0 code can be used, modified and sold in closed-source commercial products, provided the distribution conditions in section 4 are met.

Hosted and SaaS use

Running Apache-2.0 software as a hosted service carries no source-disclosure obligation. The section 4 conditions apply only when you redistribute the work or derivative works.

Patent grant

Explicit. Each contributor grants a royalty-free patent licence for its contributions, which terminates for anyone who files patent litigation alleging that the work infringes a patent.

Risk in an acquisition

Low risk

Apache-2.0 is generally treated as low risk. Acquirers check that NOTICE file contents and licence text are reproduced in distributed products, and that the target has not filed patent claims that would terminate its own patent licence. They also check whether Apache-2.0 code has been combined with GPL-2.0-only code, which the FSF considers incompatible.

What you must do

  • Give recipients a copy of the Apache License 2.0
  • Mark modified files with prominent notices stating that you changed them
  • Retain copyright, patent, trademark and attribution notices from the source
  • If the work includes a NOTICE file, include its attribution notices in your distribution
  • Do not use the licensor's trademarks except as needed to describe the origin of the work

Commonly combined with

MITBSD-2-ClauseBSD-3-ClauseISCMPL-2.0LGPL-3.0GPL-3.0AGPL-3.0

Well-known projects under Apache-2.0

KubernetesTensorFlowApache HTTP ServerSwift

Sources

This page is a plain-English summary for technology diligence and is not legal advice. Licence obligations depend on how the code is used and distributed; confirm specific cases with counsel.

Frequently asked
questions.

Can I use Apache License 2.0 code in a commercial SaaS product?

Yes. Apache-2.0 permits commercial use and does not require you to publish your source code when the software runs on your servers. If you distribute the software or a derivative, include the licence, keep notices, reproduce the NOTICE file and mark changed files.

Is Apache 2.0 compatible with the GPL?

The Free Software Foundation considers Apache-2.0 compatible with GPL version 3, so Apache-2.0 code can be included in a GPLv3 project. It considers Apache-2.0 incompatible with GPL version 2 because of the patent termination and indemnification provisions.

What is the NOTICE file requirement in Apache 2.0?

If the original work includes a text file named NOTICE, any derivative works you distribute must include a readable copy of the attribution notices it contains, for example in a NOTICE file, in documentation or in a display generated by the software.

Open-source risk
in a target's code?

We scan the codebase, build the SBOM and flag licence obligations that matter for the deal. We respond within one business day with a proposed scope and fee.