An electric starter motor and generator is integrated into the structure of an internal combustion engine by making the ferromagnetic pistons of the engine the relatively moving elements in the starter and generator. A coil is solenoidally wound around each sleeve of the engine. An electronically controlled switch sends battery current into an appropriate coil inducing a powerful magnetic field therearound. The magnetic field and piston interact resulting in a powerful magnetic force which moves the piston and thus cranks the engine. At appropriate times in the operation of the engine, fuel to the same can be shut off and the engine run as a high speed electric motor.