An optical waveguide device includes a substrate with an electro-optic effect on which an optical waveguide and an electrode for controlling optical waves propagating through the optical waveguide are formed and at least one light source for irradiating ultraviolet light on the substrate.