Abstract: A rotating electric machine includes: a rotation shaft; a bearing retaining the rotation shaft; an electromagnetic brake that is provided on an outer peripheral side of the rotation shaft and is located between the bearing and a rotor, the electromagnetic brake locking the rotation shaft during non-excitation and releasing the locking during excitation; a magnetic-flux shielding unit provided on an outer peripheral side of the electromagnetic brake; and a slidable contact unit that is provided so as to be in contact with the magnetic-flux shielding unit and the rotation shaft and comes into contact with the magnetic-flux shielding unit and the rotation shaft at least at two locations on the bearing side and the rotor side, wherein a magnetic field generated from the electromagnetic brake forms a closed circuit through the rotation shaft, the magnetic-flux shielding unit, and the slidable contact unit.