The optical window sub-assembly 16 is adapted to be removably snap-locked to the mouth of the optical cavity 30 of the optical module 20 of the passive infrared detector sub-assembly 12 for sealing the cavity against contamination by dirt, dust, and other substances which might impare the operation of the detector 12.