Mass. Gen. Laws ch. 62C, § 50
(a) If any person liable to pay any tax neglects or refuses to pay the same after demand, the amount, including any interest, additional amount, addition to tax, assessable penalty or forfeiture, together with any costs that may accrue in addition thereto, shall be a lien in favor of the commonwealth upon all property and rights to property, whether real or personal, belonging to such person. The lien shall also extend to property or rights to property of a trust with respect to tax amounts due from a grantor or other person treated as the owner of a portion of such trust by reason of sections 671–678 of the Code, and to property or rights to property of a disregarded entity with regard to tax amounts due from the owner of the entity, but with respect to real property and fixtures, the lien shall not be valid against a mortgagee, pledge, purchaser or judgment creditor unless the notice to be recorded pursuant to paragraph (1) of subsection (b) includes therein the names of the persons in whom the record title to the real property or fixtures stands at the time of recording the notice. The lien shall arise at the time the assessment is made or deemed to be made and shall continue until:
(b) The lien imposed by this section shall not be valid as against any mortgagee, pledgee, purchaser or judgment creditor until notice thereof has been filed by the commissioner: