A capacitive sensor 1 includes a fixed electrode 6 and a movable electrode 5 that is movably supported by an anchor portion 3 through a beam portion 4. The fixed electrode 6 and the movable electrode 5 are opposed to each other with a gap interposed therebetween, thereby constituting a detecting unit. A capacitance suitable for a size of the gap is detected to detect a predetermined physical value. At least one of an end 4a of the beam portion 4 connected to the anchor portion 3 and an end 4b of the beam portion 4 connected to the movable electrode 5 is provided with a stress moderating unit 30 that moderates a stress.