An electric car equipped with a battery power source, a motor and a controller and having a construction wherein a filler (15) seals a gap between a motor case (11) and a motor cover (12); a portion connecting the motor (6) with the case (10) of a power transmission mechanism (9) is sealed by a sealant (16) with the exception of an insertion portion; electronic components and cables are covered with epoxy resin; a stator (13) and the motor case (11) are engaged with each other through protuberances (13c); screws (40) of a sensor substrate (42) are caused to protrude beyond a magnetic detection element (35); a collar spline (43) is interposed between the motor shaft (31) and an input shaft (9a); resistors are disposed in parallel between contacts of a switch (44); an encoder magnet (34) is fitted to a disc (51) for preventing fall-off of a field magnet; a running inhibition circuit for inhibiting the rotation of the motor when a key switch (69) is turned on with an accelerator (61) released, and for holding a running inhibition state even when a switch (76) is released with the accelerator (61) kept released, is disposed; a capacitor (90) and a DC/DC convertor (83) are connected in parallel so as to discharge residual charge; stator winding is formed by forming a coil (92) of a predetermined number of phases and then removing the coil from a bobbin (96); a protection function for stopping the rotation of the motor when the motor (6) is overheated is provided; short-circuit between the batteries is inhibited by a key switch; regeneration device for recharging the battery (135), means for detecting a voltage and means for changing the regeneration quantity in accordance with the battery voltage are provided; semiconductor devices (152) are aligned in a longitudinal direction; and the motor shaft (31) is positioned inside the motor case (11).