A physical quantity sensor includes: a semiconductor substrate; a cavity
disposed in the substrate and extending in a horizontal direction of the
substrate; a groove disposed on the substrate and reaching the cavity; a
movable portion separated by the cavity and the groove so that the
movable portion is movably supported on the substrate; and an insulation
layer disposed on a bottom of the movable portion so that the insulation
layer provides a roof of the cavity.