Masværk er inden for arkitektur et kompliceret system af stave eller sprosser i sindrige mønstre i gotisk arkitektur (især i vinduer).