A motorized bicycle shall not be operated upon any way, as defined in section one within the commonwealth by any person under sixteen years of age, nor at a speed in excess of twenty-five miles per hour. A motorized bicycle shall not be operated on any way by any person not possessing a valid driver's license or learner's permit. Every person operating a motorized bicycle upon a way shall have the right to use all public ways in the commonwealth except limited access or express state highways where signs specifically prohibiting bicycles have been posted, and shall be subject to the traffic laws and regulations of the commonwealth and the regulations contained in this section, except that:
Every person operating a motorized bicycle or riding as a passenger on a motorized bicycle shall wear protective headgear conforming with such minimum standards of construction and performance as the registrar may prescribe, and no person operating a motorized bicycle shall permit any other person to ride a passenger on such motorized bicycle unless such passenger is wearing such protective headgear.
A person convicted of a violation of this section shall be punished by a fine of not more than twenty-five dollars for the first offense, not less than twenty-five nor more than fifty dollars for a second offense, and not less than fifty nor more than one hundred dollars for subsequent offenses committed.
Mass. Gen. Laws ch. 90, § 1B