The process for producing an optical waveguide of claim 5, wherein in the step of forming the layer, the optical material is a material which is converted to a siloxane polymer having siloxane bonds by irradiation with the light having higher energy.