A bobbin is adapted to be mounted to a projection of a stator core of a rotary electric machine and wound with a coil wire. The bobbin includes a back stress generating portion configured to generate a stress acting in a direction opposite to a stress generated when the coil wire is wound around the bobbin.