A waveguide element 21 including a photonic crystal waveguide including a
core 4 that is constituted by a photonic crystal having a refractive
index periodicity at least in one direction, and that propagates an
electromagnetic wave in a direction in which the photonic crystal does
not have the refractive index periodicity. At least one of materials
forming the core 4 constituted by the photonic crystal, and at least a
portion of a cladding in contact with a side face of the core 4 are
constituted by a fluid 6. Thus, it is possible to provide a waveguide
element that can be used as a light control element, can be produced
easily and also can be applied to an optical sensor.