Except as hereinafter provided, a zoning ordinance or by-law shall not apply to structures or uses lawfully in existence or lawfully begun, or to a building or special permit issued before the first publication of notice of the public hearing on such ordinance or by-law required by section five, but shall apply to any change or substantial extension of such use, to a building or special permit issued after the first notice of said public hearing, to any reconstruction, extension or structural change of such structure and to any alteration of a structure begun after the first notice of said public hearing to provide for its use for a substantially different purpose or for the same purpose in a substantially different manner or to a substantially greater extent except where alteration, reconstruction, extension or structural change to a single or two-family residential structure does not increase the nonconforming nature of said structure. Pre-existing nonconforming structures or uses may be extended or altered, provided, that no such extension or alteration shall be permitted unless there is a finding by the permit granting authority or by the special permit granting authority designated by ordinance or by-law that such change, extension or alteration shall not be substantially more detrimental than the existing nonconforming use to the neighborhood. This section shall not apply to establishments which display live nudity for their patrons, as defined in section nine A, adult bookstores, adult motion picture theaters, adult paraphernalia shops, or adult video stores subject to the provisions of section nine A.
A zoning ordinance or by-law shall provide that construction or operations under a building or special permit shall conform to any subsequent amendment of the ordinance or by-law unless the use or construction is commenced within a period of not more than 12 months after the issuance of the permit and in cases involving construction, unless such construction is continued through to completion as continuously and expeditiously as is reasonable.
A zoning ordinance or by-law may define and regulate nonconforming uses and structures abandoned or not used for a period of two years or more.
Any increase in area, frontage, width, yard, or depth requirements of a zoning ordinance or by-law shall not apply to a lot for single and two-family residential use which at the time of recording or endorsement, whichever occurs sooner was not held in common ownership with any adjoining land, conformed to then existing requirements and had less than the proposed requirement but at least five thousand square feet of area and fifty feet of frontage. Any increase in area, frontage, width, yard or depth requirement of a zoning ordinance or by-law shall not apply for a period of five years from its effective date or for five years after January first, nineteen hundred and seventy-six, whichever is later, to a lot for single and two family residential use, provided the plan for such lot was recorded or endorsed and such lot was held in common ownership with any adjoining land and conformed to the existing zoning requirements as of January first, nineteen hundred and seventy-six, and had less area, frontage, width, yard or depth requirements than the newly effective zoning requirements but contained at least seven thousand five hundred square feet of area and seventy-five feet of frontage, and provided that said five year period does not commence prior to January first, nineteen hundred and seventy-six, and provided further that the provisions of this sentence shall not apply to more than three of such adjoining lots held in common ownership. The provisions of this paragraph shall not be construed to prohibit a lot being built upon, if at the time of the building, building upon such lot is not prohibited by the zoning ordinances or by-laws in effect in a city or town.
Adjacent lots under common ownership shall not be treated as a single lot for local zoning purposes if, at the time of recording or endorsement, the lots:
If a definitive plan, or a preliminary plan followed within seven months by a definitive plan, is submitted to a planning board for approval under the subdivision control law, and written notice of such submission has been given to the city or town clerk before the effective date of ordinance or by-law, the land shown on such plan shall be governed by the applicable provisions of the zoning ordinance or by-law, if any, in effect at the time of the first such submission while such plan or plans are being processed under the subdivision control law, and, if such definitive plan or an amendment thereof is finally approved, for eight years from the date of the endorsement of such approval, except in the case where such plan was submitted or submitted and approved before January first, nineteen hundred and seventy-six, for seven years from the date of the endorsement of such approval. Whether such period is eight years or seven years, it shall be extended by a period equal to the time which a city or town imposes or has imposed upon it by a state, a federal agency or a court, a moratorium on construction, the issuance of permits or utility connections.
When a plan referred to in section eighty-one P of chapter forty-one has been submitted to a planning board and written notice of such submission has been given to the city or town clerk, the use of the land shown on such plan shall be governed by applicable provisions of the zoning ordinance or by-law in effect at the time of the submission of such plan while such plan is being processed under the subdivision control law including the time required to pursue or await the determination of an appeal referred to in said section, and for a period of three years from the date of endorsement by the planning board that approval under the subdivision control law is not required, or words of similar import.
Disapproval of a plan shall not serve to terminate any rights which shall have accrued under the provisions of this section, provided an appeal from the decision disapproving said plan is made under applicable provisions of law. Such appeal shall stay, pending either (1) the conclusion of voluntary mediation proceedings and the filing of a written agreement for judgment or stipulation of dismissal, or (2) the entry of an order or decree of a court of final jurisdiction, the applicability to land shown on said plan of the provisions of any zoning ordinance or by-law which became effective after the date of submission of the plan first submitted, together with time required to comply with any such agreement or with the terms of any order or decree of the court.
In the event that any lot shown on a plan endorsed by the planning board is the subject matter of any appeal or any litigation, the exemptive provisions of this section shall be extended for a period equal to that from the date of filing of said appeal or the commencement of litigation, whichever is earlier, to the date of final disposition thereof, provided final adjudication is in favor of the owner of said lot.
The record owner of the land shall have the right, at any time, by an instrument duly recorded in the registry of deeds for the district in which the land lies, to waive the provisions of this section, in which case the ordinance or by-law then or thereafter in effect shall apply. The submission of an amended plan or of a further subdivision of all or part of the land shall not constitute such a waiver, nor shall it have the effect of further extending the applicability of the ordinance or by-law that was extended by the original submission, but, if accompanied by the waiver described above, shall have the effect of extending, but only to extent aforesaid, the ordinance or by-law made then applicable by such waiver.
Mass. Gen. Laws ch. 40A, § 40A:6