LicensePlain 中文 visits —
Home / Compare / MIT License vs GNU GPL v3.0
MIT vs GPL-3.0Permissive · Strong copyleft

MIT License vs GNU GPL v3.0

MIT can move into GPL-3.0. Not the other way.

CompatibilityOne way

Take MIT code, put it inside a GPL-3.0 project, and the combined work goes out under GPL-3.0 — the MIT part keeps its notice. Take GPL-3.0 code and try to relicense the result as MIT and you are distributing without a licence.

Side by side

Rows that differ are marked. Everything else behaves the same in both licences.

AttributeMIT LicenseGNU GPL v3.0
OSI approvedYesYes
FSF free licenceYesYes
Commercial useYesYes
Closed-source productYesNo
Patent grantNoYes
Trademark grantNoNo
Notice requiredYesYes
Mark modified filesNoYes
Disclose sourceNothingDistribution
Same licence coversNothingThe whole work
Network clauseNoNo
Link into proprietaryYesNo
Relicense freelyYesNo

What actually differs

  • Closed-source product — Yes for MIT License, No for GNU GPL v3.0.
  • Patent grant — No for MIT License, Yes for GNU GPL v3.0.
  • Mark modified files — No for MIT License, Yes for GNU GPL v3.0.
  • Disclose source — Nothing for MIT License, Distribution for GNU GPL v3.0.
  • Same licence covers — Nothing for MIT License, The whole work for GNU GPL v3.0.
  • Link into proprietary — Yes for MIT License, No for GNU GPL v3.0.
  • Relicense freely — Yes for MIT License, No for GNU GPL v3.0.

Same in both: OSI approved, FSF free licence, Commercial use, Trademark grant, Notice required, Network clause.

Which one to pick

MIT License

Default for libraries and small tools that want maximum adoption.

Licence page

GNU GPL v3.0

New GNU projects and anything that wants patent language and Apache-2.0 compatibility.

Licence page

Can you mix them?

MIT License → GNU GPL v3.0

compatible

GNU GPL v3.0 → MIT License

not compatible

Compatibility statements are one-way and general. How you combine the code — linking, subprocess, copying files — can change the answer, so check the FSF list for anything unusual.

Questions

Can I use MIT License and GNU GPL v3.0 in the same project?

Take MIT code, put it inside a GPL-3.0 project, and the combined work goes out under GPL-3.0 — the MIT part keeps its notice.

What happens if I get the direction wrong?

You end up distributing code under terms its authors never granted — which is copyright infringement, not a technicality. The fix is usually to relicense the outbound side to the stricter licence.

Do both licences require a NOTICE file?

Apache-2.0 does when the upstream project ships one; MIT and the BSD licences have no NOTICE convention at all.