I'm Sergei Tokmakov, California attorney (Bar #279869). I'm not MA-barred but the Massachusetts Non-Competition Agreement Act (G.L. c. 149, § 24L) has clear requirements: (1) max 12 months duration, (2) must be in writing and signed at offer or 10 days before start, (3) must include garden leave OR mutually-agreed consideration, (4) must be reasonable in geographic scope and product line, (5) cannot apply to terminated-without-cause employees who are non-exempt.
Employers regularly include 2-year non-competes that are facially invalid under the Act. The right move is usually to consult with a MA employment lawyer to draft a clean letter to your current employer notifying them of departure and the basis for your view that the NCA is unenforceable. Many employers won't fight when challenged, especially if the new role is arguably non-competitive. Informational only.