The invention discloses a day-to-day rolling optimization method for a comprehensive energy system. The method comprises the following steps: considering that a user can adjust an energy demand on thesame day, shortening an optimization time domain to [t, t + H), and because an indoor temperature, a hot water temperature, an energy storage electric quantity and an electric vehicle electric quantity have a time accumulation effect, obtaining a current state set of a system before optimization, and calculating a target function; calculating a time domain [t, t]; t + H), the output magnitude ofthe cooling, heating and power load equipment and an equipment operation state optimization control target value; only the optimal control target value Ct of the time period t is taken as the equipment control set value of the time period t, in the next time period t + 1, Ct + 1 is recalculated in the time domain [t + 1, t + 1 + H), the process is repeated, and the whole optimization interval rolls forwards along with time; according to the electricity price day-to-day rolling optimization method, the energy flow of the user side can be optimized according to user preferences, comprehensive benefits of economy, energy conservation, environmental protection and high user comfort are achieved, calculation is more scientific, and efficiency is higher.