This paper studies the relationship between temperature change and daily electricity consumption in Shanghai.On this basis an impact model of temperature change on daily electricity consumption is constructed.The model shows that increasing summer temperature increases electricity consumption in summer and decreases electricity consumption in winter;the impact in summer is bigger than that in winter;cooling electricity consumption concentrating in summer is larger than heating electricity consumption concentrating in winter;electricity consumption for cooling can reach 30% of the total electricity consumption in summer and electricity consumption for heating can reach 10% of the total electricity consumption in winter.