An optical filter comprising: a transparent first substrate; a transparent second substrate opposed to the first substrate; a first reflecting section disposed on a first opposed surface of the first substrate, the first opposed surface being opposed to the second substrate; a second reflecting section disposed on a second opposed surface of the second substrate, the second opposed surface being opposed to the first substrate, and the second reflecting section being opposed to the first reflecting section; a first electrode disposed on the first opposed surface of the first substrate at a peripheral position (20A2) of the first reflecting section in a plan view; and a second electrode disposed on the second opposed surface of the second substrate, and opposed to the first electrode, wherein at least one of the first opposed surface and the second opposed surface is provided with a step section, and a gap between the first reflecting section and the second reflecting section in the case of applying no voltage between the first electrode and the second electrode is smaller than a gap between the first electrode and the second electrode in the case of applying no voltage between the first electrode and the second electrode, wherein the first electrode is divided into K segment electrodes (62, 64) electrically isolated from each other, wherein K is an integer equal to or greater than 2, the second electrode is a common electrode having the same electrical potential, characterized in that the K segment electrodes (62, 64) include at least first and second segment electrodes respectively including ring-like electrode sections disposed so as to have a concentric ring shape with respect to a center of the first reflecting section, the segment electrodes (62, 64) being separately settable to independent voltages, for controlling the dimension of the gap between the first and second reflective sections (40, 50); the first segment electrode is disposed on an inner circumferential side of the second segment electrode. a transparent first substrate; a transparent second substrate opposed to the first substrate; a first reflecting section disposed on a first opposed surface of the first substrate, the first opposed surface being opposed to the second substrate; a second reflecting section disposed on a second opposed surface of the second substrate, the second opposed surface being opposed to the first substrate, and the second reflecting section being opposed to the first reflecting section; a first electrode disposed on the first opposed surface of the first substrate at a peripheral position (20A2) of the first reflecting section in a plan view; and a second electrode disposed on the second opposed surface of the second substrate, and opposed to the first electrode, wherein at least one of the first opposed surface and the second opposed surface is provided with a step section, and a gap between the first reflecting section and the second reflecting section in the case of applying no voltage between the first electrode and the second electrode is smaller than a gap between the first electrode and the second electrode in the case of applying no voltage between the first electrode and the second electrode, wherein the first electrode is divided into K segment electrodes (62, 64) electrically isolated from each other, wherein K is an integer equal to or greater than 2, the second electrode is a common electrode having the same electrical potential, characterized in that the K segment electrodes (62, 64) include at least first and second segment electrodes respectively including ring-like electrode sections disposed so as to have a concentric ring shape with respect to a center of the first reflecting section, the segment electrodes (62, 64) being separately settable to independent voltages, for controlling the dimension of the gap between the first and second reflective sections (40, 50); the first segment electrode is disposed on an inner circumferential side of the second segment electrode.