SPDX Pairwise Compatibility · Both Directions

MIT & MPL-2.0 License Compatibility

Directional engineering analysis comparing MIT License and Mozilla Public License 2.0 across dependency linking, patent terms, and redistribution obligations.

MIT (Dep) → MPL-2.0 (Project) COMPATIBLE

MIT dependency is compatible with MPL-2.0

MIT is a lax permissive license compatible with permissive, weak-copyleft, and strong-copyleft projects alike.

  • Retain MIT copyright and permission/disclaimer notice in source and binary distributions.
  • No copyleft propagation back onto your project.
  • Your combined MPL-2.0 distribution carries MPL-2.0 obligations for the whole work while preserving MIT notices.
MPL-2.0 (Dep) → MIT (Project) CONDITIONAL

MPL-2.0 weak file-level copyleft compatible with MIT Larger Works

MPL-2.0 (§3.3) allows combining MPL-2.0 files with MIT files in a Larger Work: new/external MIT files stay MIT, while any modified MPL-2.0 files stay MPL-2.0.

  • Keep modified MPL-2.0 source files under MPL-2.0 and disclose their source code.
  • Keep your separate MIT files distinct (do not copy-paste MPL blocks into MIT files).
  • Include MPL-2.0 license text and notice of where MPL source can be obtained.

Side-by-Side SPDX License Obligations

Attribute MIT MPL-2.0
Full Name MIT License Mozilla Public License 2.0
OSI Approved Yes Yes
Copyleft Scope None (Permissive) Weak (File-level)
Patent Terms Implied / None explicit Explicit grant + retaliation
Key Rule Short, ultra-permissive license requiring only preservation of copyright and permission notices. File-level weak copyleft allowing Larger Works with proprietary or permissive code, plus Secondary License compatibility for GPL/LGPL/AGPL.

Interactive Compatibility Explorer

Informational engineering matrix based on SPDX / FSF / OSI guidance — not formal legal advice. Consult qualified counsel for commercial license exceptions.
MIT (Dependency) → MPL-2.0 (Project) COMPATIBLE

MIT dependency is compatible with MPL-2.0

MIT is a lax permissive license compatible with permissive, weak-copyleft, and strong-copyleft projects alike.

Engineering Obligations & Actions
  • Retain MIT copyright and permission/disclaimer notice in source and binary distributions.
  • No copyleft propagation back onto your project.
  • Your combined MPL-2.0 distribution carries MPL-2.0 obligations for the whole work while preserving MIT notices.

Frequently Asked Questions

Can a MPL-2.0 project use a MIT dependency?

COMPATIBLE: MIT is a lax permissive license compatible with permissive, weak-copyleft, and strong-copyleft projects alike.

Can a MIT project use a MPL-2.0 dependency?

CONDITIONAL: MPL-2.0 (§3.3) allows combining MPL-2.0 files with MIT files in a Larger Work: new/external MIT files stay MIT, while any modified MPL-2.0 files stay MPL-2.0.

Is this matrix formal legal advice?

No. This is an informational engineering compatibility matrix based on SPDX, FSF, and OSI licensing guidance. Consult qualified legal counsel for binding commercial or dual-licensing reviews.