A motor device includes a motor housing, a stator core having at least two poles fixedly installed in the stator housing symmetrically, a coil winding wound around the stator core, and an insulating coil holder for insulating the stator core from the coil winding, and the motor device further includes at least two pairs of magnetic steel structures cooperating with the stator core. All of the magnetic steel structures are fixedly connected to the periphery of the shaft coupling, and the shaft coupling is fixedly connected to the motor shaft. By adopting the above structural design, the movement transmission is realized by electromagnetic effect, and elastic structures such as a torsion bar is no longer needed. Thus, on the one hand, the problem that the service life of the motor is short because the elastic structure is easily damaged during use is avoided, and on the other hand, the motor can have a greater torque per unit volume, which, on the premise of reaching the rated torque, reduces the size of the motor as much as possible and reduces the weight of the electric toothbrush as much as possible, thereby improving the user experience. An electric toothbrush having the above motor device is further provided.