Massachusetts does not have a single comprehensive statute covering all homeowners associations. Instead, how a community is governed depends on its type and its recorded governing documents (the declaration or master deed, bylaws, and rules).
Condominiums are governed by the Massachusetts Condominium Act, General Laws Chapter 183A, which sets the framework for creating condominiums, common areas, unit owners' associations, assessments, and liens. Most community associations, including many non-condominium homeowners associations, are incorporated as nonprofit corporations under General Laws Chapter 180 (Corporations for Charitable and Certain Other Purposes), which governs formation, membership, boards, meetings, and dissolution. For planned communities that are not condominiums, Massachusetts has no dedicated HOA statute, so those associations are governed primarily by their recorded covenants and by general contract and property law, as interpreted by Massachusetts courts.
Federal laws such as the Fair Housing Act, the FCC OTARD rule on satellite dishes and antennas, and the Fair Debt Collection Practices Act also apply, along with local ordinances.
Official and third-party sources: Massachusetts General Laws (malegislature.gov/Laws/GeneralLaws); Massachusetts Secretary of the Commonwealth (sec.state.ma.us); HOA-USA Massachusetts summary (hoa-usa.com/state-laws/massachusetts).
This overview is general information, not legal advice; consult a Massachusetts attorney or your association's counsel about how these laws apply to your community.