Abstract: Disclosed is a &pgr;-shifted optical grating device based on electro-optically induced waveguide gratings. The waveguide has a core and a cladding where the core or the cladding is made of an electro-optic material. A plurality of electrodes are placed on one side of the waveguide and at least one electrode is placed on the other side of the waveguide. A voltage pattern is selectively applied to the electrode so that the pattern induces at least one &pgr;-shifted grating in the waveguide when the pattern is applied.