Yes. Window replacement is an energy conservation matter covered in the Massachusetts State Building Code and therefore requires a building permit.