A motor with a stator around which a winding wire is wound, and a rotor housed in the stator and including a plurality of permanent magnets embedded along a circumferential direction, wherein: the rotor is perforated with magnet holes for embedding the permanent magnets and flux barriers that are gaps communicating with the magnet holes and extending in a rotor circumferential direction; each magnet hole includes a radially outer side surface facing an outer side surface of the permanent magnet in a rotor radial direction, a radially inner side surface facing an inner side surface of the permanent magnet in the rotor radial direction, a magnet fixing part that is a surface extending from an end part of at least one of the radially outer side surface and the radially inner side surface in the rotor circumferential direction and facing an end surface of the permanent magnet in the rotor circumferential direction, and a communicating part communicating with the flux barrier; each flux barrier includes a radially outer proximate part and a radially inner proximate part that are a rotor radially outer side surface and a rotor radially inner side surface extending from the communicating part, at least one of the radially outer proximate part and the radially inner proximate part is connected to an end part of the magnet fixing part of the magnet hole in an inward direction of the magnet hole, and a projecting part (32, 33) projecting in an inward direction of the flux barrier is provided on at least one of the radially outer proximate part and the radially inner proximate part connected to the magnet fixing part; a constricted part in which a width of the flux barrier is narrower than on a side closer to the communicating part than the projecting part (32, 33) is formed by the projecting part (32, 33); characterised in that a distance between the projecting part (32, 33) and an end part of the radially outer proximate part or the radially inner proximate part on the side of the communicating part facing the projecting part (32, 33) across the flux barrier is not shorter than a width of the flux barrier in the rotor radial direction on the communicating part. the rotor is perforated with magnet holes for embedding the permanent magnets and flux barriers that are gaps communicating with the magnet holes and extending in a rotor circumferential direction; each magnet hole includes a radially outer side surface facing an outer side surface of the permanent magnet in a rotor radial direction, a radially inner side surface facing an inner side surface of the permanent magnet in the rotor radial direction, a magnet fixing part that is a surface extending from an end part of at least one of the radially outer side surface and the radially inner side surface in the rotor circumferential direction and facing an end surface of the permanent magnet in the rotor circumferential direction, and a communicating part communicating with the flux barrier; each flux barrier includes a radially outer proximate part and a radially inner proximate part that are a rotor radially outer side surface and a rotor radially inner side surface extending from the communicating part, at least one of the radially outer proximate part and the radially inner proximate part is connected to an end part of the magnet fixing part of the magnet hole in an inward direction of the magnet hole, and a projecting part (32, 33) projecting in an inward direction of the flux barrier is provided on at least one of the radially outer proximate part and the radially inner proximate part connected to the magnet fixing part; a constricted part in which a width of the flux barrier is narrower than on a side closer to the communicating part than the projecting part (32, 33) is formed by the projecting part (32, 33); characterised in that a distance between the projecting part (32, 33) and an end part of the radially outer proximate part or the radially inner proximate part on the side of the communicating part facing the projecting part (32, 33) across the flux barrier is not shorter than a width of the flux barrier in the rotor radial direction on the communicating part.