An electric rotary machine is provided with: a case comprising an internal space; a rotor that is accommodated in the internal space of the case and that is rotatably supported by the case; a stator core that is accommodated in the internal space of the case and provided around the rotor with a gap therebetween in the case; a plurality of coils wound around the stator core with a gap therebetween in the circumferential direction; and a cooling liquid sealed in the space on the interior of the case so that a part of the coils and the rotor are submerged therein.