# Apache License 2.0

> An open source license like MIT. It adds a promise about patents.

**Field:** Software Development  
**Category:** Product & Releases  
**Also known as:** Apache License, Apache 2.0, Apache-2.0, ASL 2.0

## Think of it like

Think of it like the MIT rules with one more promise. Nobody will sue you.

## Definition

The Apache License 2.0 is an open source license much like MIT. It lets you use, change and sell the code. It adds a patent grant, a promise that the authors will not sue users over patents in the code. You must keep the notices and say which files you changed. It was published in 2004 by the Apache Software Foundation. Kubernetes and Android use it.

## Example

Emma's company picks Apache 2.0 for its new tool. Big firms feel safer adopting it, because the patent grant protects them.

## Why it matters

Companies worry about patent lawsuits. The patent grant makes Apache code easier for them to use.

## Common mistake

Treating it exactly like MIT. Apache also asks you to keep a NOTICE file and mark the files you changed.

## Three principles

- **Use, change, sell.** Like MIT.
- **Patent grant.** No suing over patents.
- **Mark your changes.** And keep the notices.

## Related terms

- [Software License](https://learn.benibix.com/term/development/software-license)
- [MIT License](https://learn.benibix.com/term/development/mit-license)
- [GNU General Public License (GPL)](https://learn.benibix.com/term/development/gnu-gpl)
- [Open Source Software](https://learn.benibix.com/term/development/open-source)
- [Permissive License](https://learn.benibix.com/term/development/permissive-license)
- [BSD License](https://learn.benibix.com/term/development/bsd-license)

## Told apart from

- [MIT License vs Apache License 2.0](https://learn.benibix.com/compare/mit-license-vs-apache-license): The MIT License and the Apache License 2.0 both let you use, change and sell code with few rules. The main gap is patents. Apache adds a written promise that the authors will not sue users over patents in the code. It also asks you to keep a NOTICE file and mark changed files. MIT is shorter; Apache gives more legal cover.

## Taught in

- [Open Model Licenses](https://learn.benibix.com/learn/ai-models-providers/open-model-licenses): AI Models and Providers, 8/13

---

Source: https://learn.benibix.com/term/development/apache-license
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
