A general method for fabricating narrowband transmission filters at optical frequencies is proposed. For fibre- or integrated-optic applications the method consists of forming a waveguide loop by connecting the output ports of a 3dB coupler to each other. A Bragg reflection grating in the loop determines the filters frequency response.