The invention belongs to the field of electric heating temperature control, and particularly relates to an electric heating temperature control method of the peak, valley and flat electricity price operation function. The electric heating temperature control method includes the steps that firstly, a temperature sensor collects the current room temperature; secondly, a built-in real-time clock canobtain the current time and compare the current time with the peak and valley electricity price time to determine which of the electricity utilization time periods, including the electricity utilization peak period, the electricity utilization valley period and the electricity utilization flat period, is the time period where the moment is located; thirdly, in the electricity utilization peak period, the electricity utilization flat period and the electricity utilization valley period, the current room temperature Wo in the first step is compared with the set value Wp, and when Wo is smaller than or equal to Wp-2, a temperature controller starts the heating mode, and operation of a heating device is controlled through a power module and an output control module; and fourthly, during heating, the temperature controller calculates the time consumed when the temperature rises by every 1 DEG C in a building, and the temperature rise rate delta W1 and the temperature fall rate delta W2 aredetermined. By means of the electric heating temperature control method, utilization of peak period electricity can be reduced through valley period electricity and flat period electricity, the temperature is recorded and displayed to a user, and generated electricity quantities and expenses are displayed in time.