MIT License vs Apache License 2.0
Same permissions, different paperwork.
Both let you ship a closed product and sell it. Apache-2.0 adds three things MIT has no concept of: an explicit patent grant, a NOTICE file convention, and the rule that modified files must be marked. MIT is shorter and needs nothing but the notice.
Side by side
Rows that differ are marked. Everything else behaves the same in both licences.
| Attribute | MIT License | Apache License 2.0 |
|---|---|---|
| OSI approved | Yes | Yes |
| FSF free licence | Yes | Yes |
| Commercial use | Yes | Yes |
| Closed-source product | Yes | Yes |
| Patent grant | No | Yes |
| Trademark grant | No | No |
| Notice required | Yes | Yes |
| Mark modified files | No | Yes |
| Disclose source | Nothing | Nothing |
| Same licence covers | Nothing | Nothing |
| Network clause | No | No |
| Link into proprietary | Yes | Yes |
| Relicense freely | Yes | Partly |
What actually differs
- Patent grant — No for MIT License, Yes for Apache License 2.0.
- Mark modified files — No for MIT License, Yes for Apache License 2.0.
- Relicense freely — Yes for MIT License, Partly for Apache License 2.0.
Same in both: OSI approved, FSF free licence, Commercial use, Closed-source product, Trademark grant, Notice required, Disclose source, Same licence covers, Network clause, Link into proprietary.
Which one to pick
Apache License 2.0
Corporate-friendly default when patents matter — infrastructure SDKs and anything a company may want to adopt.
Can you mix them?
MIT License → Apache License 2.0
compatible
Apache License 2.0 → MIT License
compatible