The invention relates to a stator of a wheel hub motor for an electric vehicle, which comprises an iron core and support, wherein the iron core is composed of tooth ribs, a yoke part and tooth grooves, the iron core is arranged on the outer side of the support, at least three Hall grooves are formed in the end part of the same side of the iron core, the three Hall grooves are located on the toothribs of the iron core and are distributed in a circumferential manner, the symmetrical center lines of the three Hall grooves are intersected in pairs, the symmetrical center line of the middle Hall groove in the three Hall grooves and the symmetrical center lines of the Hall grooves located on the two sides of the middle Hall groove form an included angle [alpha] and an included angle [beta] respectively, the number of tooth grooves of the iron core is 48, the included angle [alpha] ranges from 22 degrees to 26 degrees, and the included angle [beta] ranges from 36 degrees to 40 degrees. The stator has the advantages that the tooth groove structure is optimized, the position of each Hall groove is reasonably arranged, the precision of a motor commutation point is improved, the problem thata groove opening Hall is difficult to install and prone to deviation is solved, the stator adapts to a single-wire multi-turn winding process, a magnetic circuit is optimized, the motor efficiency isimproved, a groove wedge is removed, and the stator groove utilization rate is increased.