Glossary termSoftware license

MIT License

Also known as: Expat License

Short permissive software license, originating at MIT, that allows almost any use provided the copyright and permission notice are kept.

The MIT License is a brief permissive license that grants anyone who obtains a copy of the software permission to use, copy, modify, merge, publish, distribute, sublicense and sell it without charge. Its main condition is that the copyright notice and the permission notice be included in all copies or substantial portions of the software. It also disclaims all warranties and limits liability. The license is approved by the Open Source Initiative, considered free by the Free Software Foundation and compatible with the GPL.

The license takes its name from the Massachusetts Institute of Technology, where it originated in the 1980s. Several slightly different texts have carried the name, which is why some prefer more precise labels such as Expat License. It is used by many prominent projects, including jQuery, Ruby on Rails and Node.js, and Facebook relicensed React under it in 2017 after developers objected to an earlier patent clause. Surveys of repositories on GitHub have repeatedly found it to be the most common license there.

Its popularity rests on brevity and freedom of use, including in commercial products. Practical points remain. The license contains no explicit patent grant, unlike the Apache License 2.0, although some argue a patent license is implied. Its attribution requirement is easy to overlook when code is bundled into applications, so organizations often use automated tools to collect license notices. As with any license, obligations depend on the exact text, and specific questions call for legal advice.

Key points

  • The MIT License permits nearly any use as long as the notice travels with the code.
  • It is compatible with the GPL and approved by the Open Source Initiative.
  • It contains no explicit patent grant, unlike the Apache License 2.0.
  • Surveys have found it to be the most common license on GitHub.

Related entries

Glossary term

Category of free and open-source license that allows reuse with minimal conditions, usually attribution, including in proprietary software.

Glossary term

Family of permissive licenses that began with the Berkeley Software Distribution, requiring little more than retention of copyright notices.

Glossary term

Permissive software license from the Apache Software Foundation that includes an explicit patent grant and requires notice of changes.

Glossary term

Licensing approach that grants freedom to use, modify and share a work on condition that distributed derivatives carry the same freedoms.

Organization

Nonprofit organization that maintains the Open Source Definition and reviews software licenses to certify which ones qualify as open source.

Technology

GitHub

ProgrammingFOSS

Web platform owned by Microsoft for hosting Git repositories and collaborating on software through pull requests, issues and automation.

Featured in guides

Referenced by

Other entries that discuss or point to MIT License.